상세조회시 관심자료체크 수정

This commit is contained in:
JSYOO 2021-11-30 10:01:13 +09:00
parent 7130ee6299
commit 1b4364895b
3 changed files with 13 additions and 7 deletions

View File

@ -254,8 +254,7 @@ public class NlibSearchController extends NlibCommonController {
*/
@RequestMapping(value = "/search/searchItemDetail.do")
public String searchItemDetail(
HttpServletRequest req
, Authentication authentication
Authentication authentication
, @RequestParam Map<String, String> paramMap
, ModelMap model
, @ModelAttribute("searchVO") NlibSearchVO searchVO
@ -269,6 +268,7 @@ public class NlibSearchController extends NlibCommonController {
CollectionVO vo = new CollectionVO();
vo.setMasterId(masterId);
vo.setMbInfoId(getMbInfoId(request));
vo = collectionService.getItemInfo(vo);

View File

@ -118,10 +118,10 @@ function goList(){
<button type="button" class="view" onclick="gfn_showDocPdf('<c:out value="${result.interfaceId}"/>','<c:out value="${result.masterId}"/>','<c:out value="${result.typeDivCd}"/>','<c:out value="${result.dtlsTypeDivCd}"/>')";>원문보기</button>
</c:if>
<button type="button" class="ris" onclick="gfn_showRis('<c:out value="${result.masterId}"/>');">RIS</button>
<c:if test='${result.MUseYn == "Y"}'>
<button type="button" class="favorit" onclick="gfn_changeInterestBtn('${result.masterId }', 'off');">즐겨찾기</button>
<c:if test='${result.mUseYn == "Y"}'>
<button type="button" class="favorit on" onclick="gfn_changeInterestBtn('${result.masterId }', 'off');">즐겨찾기</button>
</c:if>
<c:if test='${result.MUseYn != "Y"}'>
<c:if test='${result.mUseYn != "Y"}'>
<button type="button" class="favorit" onclick="gfn_changeInterestBtn('${result.masterId }', 'on');">즐겨찾기</button>
</c:if>
<button type="button" class="share" onclick="gfn_setSnsShare('<c:out value="${result.masterId}"/>')";>공유</button>

View File

@ -64,7 +64,13 @@ $( document ).ready(function() {
<div class="left">
<h3>반갑습니다,<br><span>${loginVO.name }</span>님!</h3>
<div class="sns-login">
<span class="icon"><img src="/images/icon/icon-${fn:toLowerCase(loginVO.snsType) }.png" alt="sns 아이콘"></span>
<span class="icon">
<img src="/images/icon/icon-${fn:toLowerCase(loginVO.snsType) }.png"
<c:if test="${loginVO.snsType == 'KAKAO'}">alt="카카오"</c:if>
<c:if test="${loginVO.snsType == 'GOOGLE'}">alt="구글"</c:if>
<c:if test="${loginVO.snsType == 'NAVER'}">alt="네이버"</c:if>
>
</span>
<span class="type"></span>
<span>계정으로 로그인 중</span>
</div>
@ -151,7 +157,7 @@ $( document ).ready(function() {
<div class="list">
<div class="thum">
<a href="javascript:void(0);" onclick="gfn_getDetail('${item.masterId }')"><img src="${item.rprsThumbUrlWithDefaultSmall }" width="130" height="196" alt="썸네일"></a>
<a href="javascript:void(0);" onclick="gfn_getDetail('${item.masterId }')"><img src="${item.rprsThumbUrlWithDefaultSmall }" width="130" height="196" alt="${item.title }"></a>
</div>
<div class="text">
<div class="ti"><a href="javascript:void(0);" onclick="gfn_getDetail('${item.masterId }')">${item.title }</a></div>