| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134 |
- <!DOCTYPE html>
- <html lang="ko"
- xmlns:th="http://www.thymeleaf.org"
- xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
- layout:decorator="web/common/layout/DefaultLayoutWeb">
- <!--
- *******************************************************************************
- * @source : PlanningMainFormWeb.html
- * @desc : 기획전메인 Page
- *============================================================================
- * Pastelmall
- * Copyright(C) 2020 TSIT, All rights reserved.
- *============================================================================
- * VER DATE AUTHOR DESCRIPTION
- * === =========== ========== =============================================
- * 1.0 2021.03.5 sowon 최초 작성
- *******************************************************************************
- -->
- <body>
- <th:block layout:fragment="content">
- <!-- container -->
- <div id="container" class="container dp">
- <div class="breadcrumb">
- <ul>
- <li class="bread_home"><a href="javascript:void(0);" onclick="cfnGoToPage(_PAGE_MAIN);">홈</a></li>
- <li class="bread_2depth"><a href="javascript:void(0);" onclick="cfnGoToPage(_PAGE_PLANNING_MAIN);">기획전</a></li>
- <th:block th:if="${cateNo != null}">
- <li class="bread_3depth"><a href="javascript:void(0);" onclick="cfnGoToPage(_PAGE_PLANNING_MAIN+'?cateNo='+[[${cateNo}]]);">[[${cateNm}]]</a></li>
- </th:block>
- </ul>
- </div>
- <div class="wrap">
- <div class="content dp_Exhibition"> <!-- 페이지특정 클래스 = dp_Exhibition -->
- <div class="cont_head">
- <div>
- <h3>기획전</h3>
- </div>
- </div>
- <div class="cont_body">
- <div class="best_nav">
- <ul>
- <li><button th:class="${cateNo == null ? 'active' : ''}" onclick="cfnGoToPage(_PAGE_PLANNING_MAIN);">전체</button></li>
- <th:block th:each="CategoryData, CategoryStat : ${categoryList}">
- <li><button th:class="${CategoryData.cate1No == cateNo ? 'active' : '' }" th:onclick="|cfnGoToPage(_PAGE_PLANNING_MAIN+'?cateNo=*{CategoryData.cate1No}');|">[[${CategoryData.cate1Nm}]]</button></li>
- </th:block>
-
- </ul>
- </div>
- <div class="ui_row">
- <div class="ui_col_12">
- <div class="form_count">
- <p><span>[[${planCount}]]</span>개의 기획전</p>
- </div>
- </div>
- </div>
- <!-- 기획전 0개 -->
- <th:block th:if="${planCount == 0}">
- <div class="list_content nodata"> <!-- 데이터 없을시 클래스 nodata 추가 -->
- </th:block>
- <!-- 기획전 1개 이상 -->
- <th:block th:if="${planCount != 0}">
- <div class="list_content"> <!-- 데이터 없을시 클래스 nodata 추가 -->
- </th:block>
- <div class="list_defult">
- <div>
- <img src="/images/pc/ico_content_find.png" alt="">
- <p>등록된 기획전이 없습니다.</p>
- </div>
- <div class="ui_row">
- <button type="button" class="btn btn_default" onclick="cfnGoToPage(_PAGE_MAIN);"><span>홈으로 가기</span></button>
- </div>
- </div>
-
-
- <div class="itemsGrp">
- <th:block th:each="PlanData, PlanStat : ${planList}">
- <div class="exhi_item">
-
- <div class="exhi_item_img">
- <a href="javascript:void(0);" th:onclick="fnEventGoToPage('[[${PlanData.planSq}]]');">
- <th:block th:if="${PlanData.newPlan != null}">
- <div class="shape ranker"><span>NEW</span></div>
- </th:block>
- <img th:src="${@environment.getProperty('domain.image')+'/planning/'+PlanData.mainPimg}" style="width: 100%;" alt=""> <!-- 430x430 사이즈 최적 -->
- <div class="exhi_detail">
- <th:block th:if="${PlanData.cnt > 1}">
- <p class="brand">[[${PlanData.brand}]] 외</p>
- </th:block>
- <th:block th:if="${PlanData.cnt <= 1}">
- <p class="brand">[[${PlanData.brand}]]</p>
- </th:block>
- <h3 class="tit">[[${PlanData.planNm}]]</h3>
- <p class="sale">[[${PlanData.dtlTitle1}]]</p>
- </div>
- </a>
- </div>
-
- <div class="exhi_item_pr">
- <ul class="prod_list clear">
- <th:block th:each="goodsList, k : ${goodsList}">
- <th:block th:if="${PlanData.planSq} == ${goodsList.planSq} and ${goodsList.goodsCd} != null">
- <li>
- <a href="">
- <div class="img">
- <img th:src="${@environment.getProperty('upload.goods.view') + '/' + goodsList.sysImgNm}" style="width: 100%;" alt="">
- </div>
- <div class="txt">
- <p class="pr_tit">[[${goodsList.goodsNm}]]</p>
- <p class="price"><span th:text="${#numbers.formatInteger(goodsList.currPrice, 0,'COMMA')}"></span>원</p>
- </div>
- </a>
- </li>
- </ul>
- </div>
- </div>
- </th:block>
-
-
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- // container -->
- <script th:inline="javascript">
- </script>
- </th:block>
- </body>
- </html>
|