|
|
@@ -136,6 +136,53 @@
|
|
|
</div>
|
|
|
</th:block>
|
|
|
|
|
|
+ <!-- 4. 잇 아이템 -->
|
|
|
+ <th:block th:if="${contentsLoc=='004'}">
|
|
|
+ <div class="content main_it">
|
|
|
+ <div class="cont_head">
|
|
|
+ <p class="displayH" th:text="${mainLayoutData.contentsTitle}"></p>
|
|
|
+ <a href="#none"><span>전체보기</span></a>
|
|
|
+ </div>
|
|
|
+ <div class="cont_body">
|
|
|
+ <div class="it_nav">
|
|
|
+ <ul>
|
|
|
+ <th:block th:each="ContentsData, ContentsStat : ${mainLayoutData.BestItemList}">
|
|
|
+ <li><button class="btn btn_link" th:attr="data-tab=${'it'+ContentsStat.count}"><span th:text="${ContentsData.cateNm}"></span></button></li>
|
|
|
+ </th:block>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ <th:block th:each="ContentsData, ContentsStat : ${mainLayoutData.BestItemList}">
|
|
|
+ <div class="swiper-container post-it it_item" th:id="${'it'+ContentsStat.count}">
|
|
|
+ <div class="swiper-wrapper">
|
|
|
+ <th:block th:each="bestItemData, bestItemStat : ${ContentsData.goodsList}">
|
|
|
+ <div class="swiper-slide">
|
|
|
+ <div class=" item_prod sUiXc "> <!-- item_prod ranker d_detail -->
|
|
|
+ <div class="item_state"> <!-- item_state AD soldout -->
|
|
|
+ <a href="javascript:void(0);" class="itemLink" th:onclick="cfnGoToGoodsDetail([[${bestItemData.goodsCd}]], '', '', 'SMM004');">
|
|
|
+ <div class="shape ranker"><span th:text="${bestItemStat.count}"></span></div>
|
|
|
+ <div class="itemPic">
|
|
|
+ <img alt="BLACK-a" class=" vLHTC pd_img" th:src="${@environment.getProperty('upload.goods.view') + '/' + bestItemData.sysImgNm}" >
|
|
|
+ <button type="button" class="itemLike" th:classappend="${bestItemData.likeIt == 'likeit'}? 'likeit' : ''" onclick="cfnPutWishList(this);" th:attr="goodsCd=${bestItemData.goodsCd}, ithrCd='', contentsLoc='SMM004', planDtlSq=''">관심상품 추가</button>
|
|
|
+ </div>
|
|
|
+ <p class=" itemBrand" th:text="${bestItemData.brandGroupNm}">BRAND NAME</p>
|
|
|
+ <div class=" itemName" th:text="${bestItemData.goodsFullNm}">남성 로고 자카드 방풍 패딩 스웨터 가디건 자카드 방풍 패딩 스웨터 가디건 자카드 방풍 패딩 스웨터 가디건</div>
|
|
|
+ <p class="itemPrice">[[${#numbers.formatInteger(bestItemData.currPrice,0,'COMMA')} + 원]]
|
|
|
+ <span class="itemPrice_original" th:if="${bestItemData.currPrice != bestItemData.listPrice}" th:text="${#numbers.formatInteger(bestItemData.listPrice,3,'COMMA')}">89,000</span>
|
|
|
+ <span class=" itemPercent" th:if="${bestItemData.currPrice != bestItemData.listPrice}" th:text="${(bestItemData.listPrice == 0 ? 0 : #numbers.formatDecimal((bestItemData.listPrice - bestItemData.currPrice) / (bestItemData.listPrice * 1.0) * 100, 1, 0)) + '%'}">10%</span>
|
|
|
+ </p>
|
|
|
+ <div class="itemComment" th:text="${bestItemData.goodsTnm}">#데일리웨어로 매일입고싶은</div>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </th:block>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </th:block>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </th:block>
|
|
|
+
|
|
|
<!-- 5. 프로모션배너 -->
|
|
|
<th:block th:if="${contentsLoc=='005'}">
|
|
|
<div class="content main_2stage">
|
|
|
@@ -212,9 +259,9 @@
|
|
|
<p class="itemBrand" th:text="${goodsData.brandEnm}">BRAND NAME</p>
|
|
|
<div class="itemName" th:text="${goodsData.goodsNm}">여성 체인 프린트 큐롯 스커트 프린트 큐롯 스커트</div>
|
|
|
<p class="itemPrice">
|
|
|
- [[${#numbers.formatInteger(goodsData.currAprice,0,'COMMA')} + 원]]
|
|
|
+ [[${#numbers.formatInteger(goodsData.currPrice,0,'COMMA')} + 원]]
|
|
|
<span class="itemPrice_original" th:text="${#numbers.formatInteger(goodsData.listPrice,0,'COMMA')} + '원'"></span>
|
|
|
- <span class=" itemPercent" th:text="${#numbers.formatDecimal(goodsData.dcArate,1,0)} + '%'"></span>
|
|
|
+ <span class=" itemPercent" th:text="${#numbers.formatDecimal(goodsData.dcRate,1,0)} + '%'"></span>
|
|
|
<!--<span class="itemPercent" th:if="${planningGoods.currPrice != planningGoods.listPrice}" th:text="${(planningGoods.listPrice == 0 ? 0 : #numbers.formatDecimal((planningGoods.listPrice - planningGoods.currPrice) / (planningGoods.listPrice * 1.0) * 100, 1, 0)) + '%'}">10%</span>-->
|
|
|
</p>
|
|
|
<div class="itemComment" th:text="${goodsData.goodsTnm}">#데일리웨어로 매일입고싶은</div>
|
|
|
@@ -775,6 +822,7 @@ $(document).ready( function() {
|
|
|
//$("#header").load("head.html");
|
|
|
//$("#footer").load("foot.html");
|
|
|
$(".tag_list .btn").eq(0).trigger('click');
|
|
|
+ $(".it_nav .btn").eq(0).trigger('click');
|
|
|
});
|
|
|
|
|
|
/* SLIDE - MAIN_VISUAL */
|