|
|
@@ -29,7 +29,7 @@
|
|
|
</div>
|
|
|
|
|
|
<div class="wrap">
|
|
|
- <th:block th:if="${cateMainLayoutList}" th:each="mainLayoutData, mainStat : ${cateMainLayoutList}" th:with="contentsLoc=${#strings.replace(mainLayoutData.contentsLoc,'SCM','')},contentsTitle=${brandMainLayoutData.contentsTitle}">
|
|
|
+ <th:block th:if="${cateMainLayoutList}" th:each="mainLayoutData, mainStat : ${cateMainLayoutList}" th:with="contentsLoc=${#strings.replace(mainLayoutData.contentsLoc,'SCM','')},contentsTitle=${mainLayoutData.contentsTitle}">
|
|
|
<th:block th:if="${contentsLoc=='001'}">
|
|
|
<div class="content dp_submain" > <!-- 페이지특정 클래스 = dp_list -->
|
|
|
<div class="cont_head">
|
|
|
@@ -89,9 +89,9 @@
|
|
|
<div class="swiper-container post-trendy">
|
|
|
<div class="swiper-wrapper">
|
|
|
<div class="swiper-slide" th:each="item, status : ${newGoodsList}">
|
|
|
- <div class="item_prod">
|
|
|
+ <div class="item_prod" th:if="${status.count<21}">
|
|
|
<div class="item_state">
|
|
|
- <button type="button" class="itemLike" th:classappend="${item.likeIt}">관심상품 추가</button>
|
|
|
+ <button type="button" class="itemLike" th:classappend="${item.likeIt == 'likeit'}? 'likeit' : ''" onclick="cfnPutWishList(this);" th:attr="goodsCd=${item.goodsCd}, ithrCd='', contentsLoc='SCM001', planDtlSq=''">관심상품 추가</button>
|
|
|
<a href="javascript:void(0);" class="itemLink" th:onclick="cfnGoToGoodsDetail([[${item.goodsCd}]], '', '', 'SCM001');">
|
|
|
<div class=" itemPic">
|
|
|
<img class="vLHTC pd_img" th:src="${@environment.getProperty('upload.goods.view') + '/' + item.sysImgNm}" th:alt="${item.goodsCd}"/>
|
|
|
@@ -123,7 +123,7 @@
|
|
|
<div class="itemsGrp"> <!-- itemsGrp rank hot deal -->
|
|
|
<div class="item_prod" th:each="item, status : ${bestGoodsList}">
|
|
|
<div class="item_state" >
|
|
|
- <button type="button" class="itemLike" th:classappend="${item.likeIt}">관심상품 추가</button>
|
|
|
+ <button type="button" class="itemLike" th:classappend="${item.likeIt == 'likeit'}? 'likeit' : ''" onclick="cfnPutWishList(this);" th:attr="goodsCd=${item.goodsCd}, ithrCd='', contentsLoc='SCM002', planDtlSq=''">관심상품 추가</button>
|
|
|
<a href="javascript:void(0);" class="itemLink" th:onclick="cfnGoToGoodsDetail([[${item.goodsCd}]], '', '', 'SCM002');">
|
|
|
<div class="rank ranker"><span th:text="${status.index+1}">1</span></div>
|
|
|
<div class="itemPic">
|