|
@@ -50,32 +50,32 @@
|
|
|
<div class="cont_body">
|
|
<div class="cont_body">
|
|
|
<div class="filter_list">
|
|
<div class="filter_list">
|
|
|
<!-- 1depth -->
|
|
<!-- 1depth -->
|
|
|
- <ul>
|
|
|
|
|
- <li data-id="tap02" th:if="${filterBrandList != null and !filterBrandList.empty}">
|
|
|
|
|
- <a href="javascript:void(0)">브랜드</a>
|
|
|
|
|
- </li>
|
|
|
|
|
- <li data-id="tap03" th:if="${filterSizeList != null and !filterSizeList.empty}">
|
|
|
|
|
- <a href="javascript:void(0)">사이즈</a>
|
|
|
|
|
- </li>
|
|
|
|
|
- <li data-id="tap04" th:if="${filterPriceList != null and !filterPriceList.empty}">
|
|
|
|
|
- <a href="javascript:void(0)">가격</a>
|
|
|
|
|
- </li>
|
|
|
|
|
- <li data-id="tap05">
|
|
|
|
|
- <a href="javascript:void(0)">할인율</a>
|
|
|
|
|
- </li>
|
|
|
|
|
- <li data-id="tap06" th:if="${filterAgeList != null and !filterAgeList.empty}">
|
|
|
|
|
- <a href="javascript:void(0)">연령</a>
|
|
|
|
|
- </li>
|
|
|
|
|
- <li data-id="tap07" th:if="${filterSeasonList != null and !filterSeasonList.empty}">
|
|
|
|
|
- <a href="javascript:void(0)">시즌</a>
|
|
|
|
|
- </li>
|
|
|
|
|
- <li data-id="tap08" th:if="${filterColorList != null and !filterColorList.empty}">
|
|
|
|
|
- <a href="javascript:void(0)">컬러</a>
|
|
|
|
|
- </li>
|
|
|
|
|
- <li data-id="tap09" th:if="${filterBenefitList != null and !filterBenefitList.empty}">
|
|
|
|
|
- <a href="javascript:void(0)">혜택</a>
|
|
|
|
|
- </li>
|
|
|
|
|
- </ul>
|
|
|
|
|
|
|
+<!-- <ul>-->
|
|
|
|
|
+<!-- <li data-id="tap02" th:if="${filterBrandList != null and !filterBrandList.empty}">-->
|
|
|
|
|
+<!-- <a href="javascript:void(0)">브랜드</a>-->
|
|
|
|
|
+<!-- </li>-->
|
|
|
|
|
+<!-- <li data-id="tap03" th:if="${filterSizeList != null and !filterSizeList.empty}">-->
|
|
|
|
|
+<!-- <a href="javascript:void(0)">사이즈</a>-->
|
|
|
|
|
+<!-- </li>-->
|
|
|
|
|
+<!-- <li data-id="tap04" th:if="${filterPriceList != null and !filterPriceList.empty}">-->
|
|
|
|
|
+<!-- <a href="javascript:void(0)">가격</a>-->
|
|
|
|
|
+<!-- </li>-->
|
|
|
|
|
+<!-- <li data-id="tap05">-->
|
|
|
|
|
+<!-- <a href="javascript:void(0)">할인율</a>-->
|
|
|
|
|
+<!-- </li>-->
|
|
|
|
|
+<!-- <li data-id="tap06" th:if="${filterAgeList != null and !filterAgeList.empty}">-->
|
|
|
|
|
+<!-- <a href="javascript:void(0)">연령</a>-->
|
|
|
|
|
+<!-- </li>-->
|
|
|
|
|
+<!-- <li data-id="tap07" th:if="${filterSeasonList != null and !filterSeasonList.empty}">-->
|
|
|
|
|
+<!-- <a href="javascript:void(0)">시즌</a>-->
|
|
|
|
|
+<!-- </li>-->
|
|
|
|
|
+<!-- <li data-id="tap08" th:if="${filterColorList != null and !filterColorList.empty}">-->
|
|
|
|
|
+<!-- <a href="javascript:void(0)">컬러</a>-->
|
|
|
|
|
+<!-- </li>-->
|
|
|
|
|
+<!-- <li data-id="tap09" th:if="${filterBenefitList != null and !filterBenefitList.empty}">-->
|
|
|
|
|
+<!-- <a href="javascript:void(0)">혜택</a>-->
|
|
|
|
|
+<!-- </li>-->
|
|
|
|
|
+<!-- </ul>-->
|
|
|
<div class="form_field">
|
|
<div class="form_field">
|
|
|
<div>
|
|
<div>
|
|
|
<input id="unisex" type="checkbox" onclick="fnFilterOption(this,'on');"><label for="unisex"> <span>남여 공용만 보기</span> </label>
|
|
<input id="unisex" type="checkbox" onclick="fnFilterOption(this,'on');"><label for="unisex"> <span>남여 공용만 보기</span> </label>
|
|
@@ -85,154 +85,154 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="filter_content">
|
|
|
|
|
- <!-- 브랜드 -->
|
|
|
|
|
- <div class="sort tap02" th:if="${filterBrandList != null and !filterBrandList.empty}" id="brandGroupFilterDiv">
|
|
|
|
|
- <ul>
|
|
|
|
|
- <th:block th:each="oneData, status : ${filterBrandList}">
|
|
|
|
|
- <li>
|
|
|
|
|
- <label class="brand_btn">
|
|
|
|
|
- <input type="checkbox" group="filterValue" th:id="${'chkFilterBrand' + status.index}" name="brandGroup" th:value="${oneData.filterCd}" th:data-id="${oneData.filterNm}" onclick="filterSel(this,'brandGroup','off');"><span th:text="${oneData.filterNm}"></span>
|
|
|
|
|
- </label>
|
|
|
|
|
- </li>
|
|
|
|
|
- </th:block>
|
|
|
|
|
- </ul>
|
|
|
|
|
- <a href="javascript:void(0)" class="tap_close">delete-btn</a>
|
|
|
|
|
- </div>
|
|
|
|
|
- <!-- //브랜드 -->
|
|
|
|
|
- <!-- 사이즈 -->
|
|
|
|
|
- <div class="sort tap03" th:if="${filterSizeList != null and !filterSizeList.empty}" id="sizeFilterDiv">
|
|
|
|
|
- <ul>
|
|
|
|
|
- <li id="sizeLi1">
|
|
|
|
|
- <strong>상의</strong>
|
|
|
|
|
- <th:block th:each="oneData, status : ${filterSizeList}" th:if="${#strings.startsWith(oneData.filterCd,'T')}">
|
|
|
|
|
- <label class="size_btn">
|
|
|
|
|
- <input type="checkbox" group="filterValue" th:id="${'chkFilterTSize' + status.index}" name="size" th:vale="${oneData.filterNm}" th:data-id="${oneData.filterNm}" data-idx="1" onclick="filterSel(this,'size','off','1');"><span th:text="${oneData.filterNm}">80</span>
|
|
|
|
|
- </label>
|
|
|
|
|
- </th:block>
|
|
|
|
|
- </li>
|
|
|
|
|
- <li id="sizeLi2">
|
|
|
|
|
- <strong>하의</strong>
|
|
|
|
|
- <th:block th:each="oneData, status : ${filterSizeList}" th:if="${#strings.startsWith(oneData.filterCd,'B')}">
|
|
|
|
|
- <label class="size_btn">
|
|
|
|
|
- <input type="checkbox" group="filterValue" th:id="${'chkFilterBSize' + status.index}" name="size" th:vale="${oneData.filterNm}" th:data-id="${oneData.filterNm}" data-idx="2" onclick="filterSel(this,'size','off','2');"><span th:text="${oneData.filterNm}">80</span>
|
|
|
|
|
- </label>
|
|
|
|
|
- </th:block>
|
|
|
|
|
- </li>
|
|
|
|
|
- <li id="sizeLi3">
|
|
|
|
|
- <strong>신발</strong>
|
|
|
|
|
- <th:block th:each="oneData, status : ${filterSizeList}" th:if="${#strings.startsWith(oneData.filterCd,'S')}">
|
|
|
|
|
- <label class="size_btn">
|
|
|
|
|
- <input type="checkbox" group="filterValue" th:id="${'chkFilterSSize' + status.index}" name="size" th:vale="${oneData.filterNm}" th:data-id="${oneData.filterNm}" data-idx="3" onclick="filterSel(this,'size','off','3');"><span th:text="${oneData.filterNm}">80</span>
|
|
|
|
|
- </label>
|
|
|
|
|
- </th:block>
|
|
|
|
|
- </li>
|
|
|
|
|
- </ul>
|
|
|
|
|
- <a href="javascript:void(0)" class="tap_close">delete-btn</a>
|
|
|
|
|
- </div>
|
|
|
|
|
- <!-- //사이즈 -->
|
|
|
|
|
- <!-- 가격 -->
|
|
|
|
|
- <div class="sort tap04" id="priceFilterDiv">
|
|
|
|
|
- <div class="range">
|
|
|
|
|
- <input type="text" class="js-range-slider01" name="" value="" />
|
|
|
|
|
- <input type="hidden" id="price_input_from" name="price_input_from" value=""/>
|
|
|
|
|
- <input type="hidden" id="price_input_to" name="price_input_to" value=""/>
|
|
|
|
|
- <input type="hidden" id="hPriceFrom" name="hPriceFrom" value=""/>
|
|
|
|
|
- <input type="hidden" id="hPriceTo" name="hPriceTo" value=""/>
|
|
|
|
|
- </div>
|
|
|
|
|
- <a href="javascript:void(0)" class="tap_close">delete-btn</a>
|
|
|
|
|
- </div>
|
|
|
|
|
- <!-- //가격 -->
|
|
|
|
|
- <!-- 할인율 -->
|
|
|
|
|
- <div class="sort tap05" id="dcrateFilterDiv">
|
|
|
|
|
- <ul style="display:none;">
|
|
|
|
|
- <li><input type="checkbox" id="percent01" name="range" value="0"><label for="percent01"><span></span><span>0%</span></label></li>
|
|
|
|
|
- <li><input type="checkbox" id="percent02" name="range" value="10"><label for="percent02"><span></span><span>10%</span></label></li>
|
|
|
|
|
- <li><input type="checkbox" id="percent03" name="range" value="20"><label for="percent03"><span></span><span>20%</span></label></li>
|
|
|
|
|
- <li><input type="checkbox" id="percent04" name="range" value="30"><label for="percent04"><span></span><span>30%</span></label></li>
|
|
|
|
|
- <li><input type="checkbox" id="percent05" name="range" value="40"><label for="percent05"><span></span><span>40%</span></label></li>
|
|
|
|
|
- <li><input type="checkbox" id="percent06" name="range" value="50"><label for="percent06"><span></span><span>50%</span></label></li>
|
|
|
|
|
- <li><input type="checkbox" id="percent07" name="range" value="60"><label for="percent07"><span></span><span>60%</span></label></li>
|
|
|
|
|
- <li><input type="checkbox" id="percent08" name="range" value="70"><label for="percent08"><span></span><span>70%</span></label></li>
|
|
|
|
|
- <li><input type="checkbox" id="percent09" name="range" value="80"><label for="percent09"><span></span><span>80%</span></label></li>
|
|
|
|
|
- <li><input type="checkbox" id="percent10" name="range" value="100"><label for="percent10"><span></span><span>100%</span></label></li>
|
|
|
|
|
- </ul>
|
|
|
|
|
- <div class="range">
|
|
|
|
|
- <input type="text" class="js-range-slider02" name="" value="" />
|
|
|
|
|
- <input type="hidden" id="dcrate_input_from" name="dcrate_input_from" value=""/>
|
|
|
|
|
- <input type="hidden" id="dcrate_input_to" name="dcrate_input_to" value=""/>
|
|
|
|
|
- <input type="hidden" id="hDcRateFrom" name="hDcRateFrom" value=""/>
|
|
|
|
|
- <input type="hidden" id="hDcRateTo" name="hDcRateTo" value=""/>
|
|
|
|
|
- </div>
|
|
|
|
|
- <a href="javascript:void(0)" class="tap_close">delete-btn</a>
|
|
|
|
|
- </div>
|
|
|
|
|
- <!-- //할인율 -->
|
|
|
|
|
- <!-- 연령 -->
|
|
|
|
|
- <div class="sort tap06" th:if="${filterAgeList != null and !filterAgeList.empty}" id="ageFilterDiv">
|
|
|
|
|
- <ul>
|
|
|
|
|
- <th:block th:each="oneData, status : ${filterAgeList}">
|
|
|
|
|
- <li>
|
|
|
|
|
- <label class="Age_btn">
|
|
|
|
|
- <input type="checkbox" group="filterValue" th:id="${'chkFilterAge' + status.index}" name="age" th:value="${oneData.filterCd}" th:data-id="${oneData.filterNm}" onclick="filterSel(this,'age','off');"><span th:text="${oneData.filterNm}">베이비(0~18개월)</span>
|
|
|
|
|
- </label>
|
|
|
|
|
- </li>
|
|
|
|
|
- </th:block>
|
|
|
|
|
- </ul>
|
|
|
|
|
- <a href="javascript:void(0)" class="tap_close">delete-btn</a>
|
|
|
|
|
- </div>
|
|
|
|
|
- <!-- //연령 -->
|
|
|
|
|
- <!-- 시즌 -->
|
|
|
|
|
- <div class="sort tap07" th:if="${filterSeasonList != null and !filterSeasonList.empty}" id="seasonFilterDiv">
|
|
|
|
|
- <ul>
|
|
|
|
|
- <th:block th:each="oneData, status : ${filterSeasonList}">
|
|
|
|
|
- <li>
|
|
|
|
|
- <label class="Season_btn">
|
|
|
|
|
- <input type="checkbox" group="filterValue" th:id="${'chkFilterSeason' + status.index}" name="season" th:value="${oneData.filterCd}" th:data-id="${oneData.filterNm}" onclick="filterSel(this,'season','off');"><span th:text="${oneData.filterNm}">봄</span>
|
|
|
|
|
- </label>
|
|
|
|
|
- </li>
|
|
|
|
|
- </th:block>
|
|
|
|
|
- </ul>
|
|
|
|
|
- <a href="javascript:void(0)" class="tap_close">delete-btn</a>
|
|
|
|
|
- </div>
|
|
|
|
|
- <!-- //시즌 -->
|
|
|
|
|
- <!-- 컬러 -->
|
|
|
|
|
- <div class="sort tap08" th:if="${filterColorList != null and !filterColorList.empty}" id="colorFilterDiv">
|
|
|
|
|
- <ul>
|
|
|
|
|
- <th:block th:each="oneData, status : ${filterColorList}">
|
|
|
|
|
- <li>
|
|
|
|
|
- <label class="color-check">
|
|
|
|
|
- <input type="checkbox" group="filterValue" th:id="${'chkFilterColor' + status.index}" name="color" th:value="${oneData.filterCd}" th:data-id="${oneData.filterNm.replace('#','')}" onclick="filterSel(this,'color','off');">
|
|
|
|
|
- <span class="pdColor-color" th:if="${oneData.filterNm=='#FFFFFF'}" th:style="${'background-color:'+oneData.filterNm+';'+' border:1px solid #aaa;'}" th:value="${oneData.filterCd}"></span>
|
|
|
|
|
- <span class="pdColor-color" th:if="${oneData.filterNm!='#FFFFFF'}" th:style="${'background-color:'+oneData.filterNm}" th:value="${oneData.filterCd}"></span>
|
|
|
|
|
- </label>
|
|
|
|
|
- </li>
|
|
|
|
|
- </th:block>
|
|
|
|
|
- </ul>
|
|
|
|
|
- <a href="javascript:void(0)" class="tap_close">delete-btn</a>
|
|
|
|
|
- </div>
|
|
|
|
|
- <!-- //컬러 -->
|
|
|
|
|
- <!-- 혜택 -->
|
|
|
|
|
- <div class="sort tap09" th:if="${filterBenefitList != null and !filterBenefitList.empty}" id="benefitFilterDiv">
|
|
|
|
|
- <ul>
|
|
|
|
|
- <th:block th:each="oneData, status : ${filterBenefitList}">
|
|
|
|
|
- <li>
|
|
|
|
|
- <label class="Benefits_btn">
|
|
|
|
|
- <input type="checkbox" group="filterValue" th:id="${'chkFilterBenefits' + status.index}" name="benefit" th:value="${oneData.filterCd}" th:data-id="${oneData.filterNm}" onclick="filterSel(this,'benefit','off');"><span th:text="${oneData.filterNm}"></span>
|
|
|
|
|
- </label>
|
|
|
|
|
- </li>
|
|
|
|
|
- </th:block>
|
|
|
|
|
- </ul>
|
|
|
|
|
- <a href="javascript:void(0)" class="tap_close">delete-btn</a>
|
|
|
|
|
- </div>
|
|
|
|
|
- <!-- //혜택 -->
|
|
|
|
|
- <!-- 필터 -->
|
|
|
|
|
- <div class="fillter">
|
|
|
|
|
- <div class="fillter_box" id="filterData">
|
|
|
|
|
- </div>
|
|
|
|
|
- <button type="button" class="fillter_reset" onclick="fnFilterReset();"><span>전체 초기화</span></button>
|
|
|
|
|
- </div>
|
|
|
|
|
- <!-- //필터 -->
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+<!-- <div class="filter_content">-->
|
|
|
|
|
+<!-- <!– 브랜드 –>-->
|
|
|
|
|
+<!-- <div class="sort tap02" th:if="${filterBrandList != null and !filterBrandList.empty}" id="brandGroupFilterDiv">-->
|
|
|
|
|
+<!-- <ul>-->
|
|
|
|
|
+<!-- <th:block th:each="oneData, status : ${filterBrandList}">-->
|
|
|
|
|
+<!-- <li>-->
|
|
|
|
|
+<!-- <label class="brand_btn">-->
|
|
|
|
|
+<!-- <input type="checkbox" group="filterValue" th:id="${'chkFilterBrand' + status.index}" name="brandGroup" th:value="${oneData.filterCd}" th:data-id="${oneData.filterNm}" onclick="filterSel(this,'brandGroup','off');"><span th:text="${oneData.filterNm}"></span>-->
|
|
|
|
|
+<!-- </label>-->
|
|
|
|
|
+<!-- </li>-->
|
|
|
|
|
+<!-- </th:block>-->
|
|
|
|
|
+<!-- </ul>-->
|
|
|
|
|
+<!-- <a href="javascript:void(0)" class="tap_close">delete-btn</a>-->
|
|
|
|
|
+<!-- </div>-->
|
|
|
|
|
+<!-- <!– //브랜드 –>-->
|
|
|
|
|
+<!-- <!– 사이즈 –>-->
|
|
|
|
|
+<!-- <div class="sort tap03" th:if="${filterSizeList != null and !filterSizeList.empty}" id="sizeFilterDiv">-->
|
|
|
|
|
+<!-- <ul>-->
|
|
|
|
|
+<!-- <li id="sizeLi1">-->
|
|
|
|
|
+<!-- <strong>상의</strong>-->
|
|
|
|
|
+<!-- <th:block th:each="oneData, status : ${filterSizeList}" th:if="${#strings.startsWith(oneData.filterCd,'T')}">-->
|
|
|
|
|
+<!-- <label class="size_btn">-->
|
|
|
|
|
+<!-- <input type="checkbox" group="filterValue" th:id="${'chkFilterTSize' + status.index}" name="size" th:vale="${oneData.filterNm}" th:data-id="${oneData.filterNm}" data-idx="1" onclick="filterSel(this,'size','off','1');"><span th:text="${oneData.filterNm}">80</span>-->
|
|
|
|
|
+<!-- </label>-->
|
|
|
|
|
+<!-- </th:block>-->
|
|
|
|
|
+<!-- </li>-->
|
|
|
|
|
+<!-- <li id="sizeLi2">-->
|
|
|
|
|
+<!-- <strong>하의</strong>-->
|
|
|
|
|
+<!-- <th:block th:each="oneData, status : ${filterSizeList}" th:if="${#strings.startsWith(oneData.filterCd,'B')}">-->
|
|
|
|
|
+<!-- <label class="size_btn">-->
|
|
|
|
|
+<!-- <input type="checkbox" group="filterValue" th:id="${'chkFilterBSize' + status.index}" name="size" th:vale="${oneData.filterNm}" th:data-id="${oneData.filterNm}" data-idx="2" onclick="filterSel(this,'size','off','2');"><span th:text="${oneData.filterNm}">80</span>-->
|
|
|
|
|
+<!-- </label>-->
|
|
|
|
|
+<!-- </th:block>-->
|
|
|
|
|
+<!-- </li>-->
|
|
|
|
|
+<!-- <li id="sizeLi3">-->
|
|
|
|
|
+<!-- <strong>신발</strong>-->
|
|
|
|
|
+<!-- <th:block th:each="oneData, status : ${filterSizeList}" th:if="${#strings.startsWith(oneData.filterCd,'S')}">-->
|
|
|
|
|
+<!-- <label class="size_btn">-->
|
|
|
|
|
+<!-- <input type="checkbox" group="filterValue" th:id="${'chkFilterSSize' + status.index}" name="size" th:vale="${oneData.filterNm}" th:data-id="${oneData.filterNm}" data-idx="3" onclick="filterSel(this,'size','off','3');"><span th:text="${oneData.filterNm}">80</span>-->
|
|
|
|
|
+<!-- </label>-->
|
|
|
|
|
+<!-- </th:block>-->
|
|
|
|
|
+<!-- </li>-->
|
|
|
|
|
+<!-- </ul>-->
|
|
|
|
|
+<!-- <a href="javascript:void(0)" class="tap_close">delete-btn</a>-->
|
|
|
|
|
+<!-- </div>-->
|
|
|
|
|
+<!-- <!– //사이즈 –>-->
|
|
|
|
|
+<!-- <!– 가격 –>-->
|
|
|
|
|
+<!-- <div class="sort tap04" id="priceFilterDiv">-->
|
|
|
|
|
+<!-- <div class="range">-->
|
|
|
|
|
+<!-- <input type="text" class="js-range-slider01" name="" value="" />-->
|
|
|
|
|
+<!-- <input type="hidden" id="price_input_from" name="price_input_from" value=""/>-->
|
|
|
|
|
+<!-- <input type="hidden" id="price_input_to" name="price_input_to" value=""/>-->
|
|
|
|
|
+<!-- <input type="hidden" id="hPriceFrom" name="hPriceFrom" value=""/>-->
|
|
|
|
|
+<!-- <input type="hidden" id="hPriceTo" name="hPriceTo" value=""/>-->
|
|
|
|
|
+<!-- </div>-->
|
|
|
|
|
+<!-- <a href="javascript:void(0)" class="tap_close">delete-btn</a>-->
|
|
|
|
|
+<!-- </div>-->
|
|
|
|
|
+<!-- <!– //가격 –>-->
|
|
|
|
|
+<!-- <!– 할인율 –>-->
|
|
|
|
|
+<!-- <div class="sort tap05" id="dcrateFilterDiv">-->
|
|
|
|
|
+<!-- <ul style="display:none;">-->
|
|
|
|
|
+<!-- <li><input type="checkbox" id="percent01" name="range" value="0"><label for="percent01"><span></span><span>0%</span></label></li>-->
|
|
|
|
|
+<!-- <li><input type="checkbox" id="percent02" name="range" value="10"><label for="percent02"><span></span><span>10%</span></label></li>-->
|
|
|
|
|
+<!-- <li><input type="checkbox" id="percent03" name="range" value="20"><label for="percent03"><span></span><span>20%</span></label></li>-->
|
|
|
|
|
+<!-- <li><input type="checkbox" id="percent04" name="range" value="30"><label for="percent04"><span></span><span>30%</span></label></li>-->
|
|
|
|
|
+<!-- <li><input type="checkbox" id="percent05" name="range" value="40"><label for="percent05"><span></span><span>40%</span></label></li>-->
|
|
|
|
|
+<!-- <li><input type="checkbox" id="percent06" name="range" value="50"><label for="percent06"><span></span><span>50%</span></label></li>-->
|
|
|
|
|
+<!-- <li><input type="checkbox" id="percent07" name="range" value="60"><label for="percent07"><span></span><span>60%</span></label></li>-->
|
|
|
|
|
+<!-- <li><input type="checkbox" id="percent08" name="range" value="70"><label for="percent08"><span></span><span>70%</span></label></li>-->
|
|
|
|
|
+<!-- <li><input type="checkbox" id="percent09" name="range" value="80"><label for="percent09"><span></span><span>80%</span></label></li>-->
|
|
|
|
|
+<!-- <li><input type="checkbox" id="percent10" name="range" value="100"><label for="percent10"><span></span><span>100%</span></label></li>-->
|
|
|
|
|
+<!-- </ul>-->
|
|
|
|
|
+<!-- <div class="range">-->
|
|
|
|
|
+<!-- <input type="text" class="js-range-slider02" name="" value="" />-->
|
|
|
|
|
+<!-- <input type="hidden" id="dcrate_input_from" name="dcrate_input_from" value=""/>-->
|
|
|
|
|
+<!-- <input type="hidden" id="dcrate_input_to" name="dcrate_input_to" value=""/>-->
|
|
|
|
|
+<!-- <input type="hidden" id="hDcRateFrom" name="hDcRateFrom" value=""/>-->
|
|
|
|
|
+<!-- <input type="hidden" id="hDcRateTo" name="hDcRateTo" value=""/>-->
|
|
|
|
|
+<!-- </div>-->
|
|
|
|
|
+<!-- <a href="javascript:void(0)" class="tap_close">delete-btn</a>-->
|
|
|
|
|
+<!-- </div>-->
|
|
|
|
|
+<!-- <!– //할인율 –>-->
|
|
|
|
|
+<!-- <!– 연령 –>-->
|
|
|
|
|
+<!-- <div class="sort tap06" th:if="${filterAgeList != null and !filterAgeList.empty}" id="ageFilterDiv">-->
|
|
|
|
|
+<!-- <ul>-->
|
|
|
|
|
+<!-- <th:block th:each="oneData, status : ${filterAgeList}">-->
|
|
|
|
|
+<!-- <li>-->
|
|
|
|
|
+<!-- <label class="Age_btn">-->
|
|
|
|
|
+<!-- <input type="checkbox" group="filterValue" th:id="${'chkFilterAge' + status.index}" name="age" th:value="${oneData.filterCd}" th:data-id="${oneData.filterNm}" onclick="filterSel(this,'age','off');"><span th:text="${oneData.filterNm}">베이비(0~18개월)</span>-->
|
|
|
|
|
+<!-- </label>-->
|
|
|
|
|
+<!-- </li>-->
|
|
|
|
|
+<!-- </th:block>-->
|
|
|
|
|
+<!-- </ul>-->
|
|
|
|
|
+<!-- <a href="javascript:void(0)" class="tap_close">delete-btn</a>-->
|
|
|
|
|
+<!-- </div>-->
|
|
|
|
|
+<!-- <!– //연령 –>-->
|
|
|
|
|
+<!-- <!– 시즌 –>-->
|
|
|
|
|
+<!-- <div class="sort tap07" th:if="${filterSeasonList != null and !filterSeasonList.empty}" id="seasonFilterDiv">-->
|
|
|
|
|
+<!-- <ul>-->
|
|
|
|
|
+<!-- <th:block th:each="oneData, status : ${filterSeasonList}">-->
|
|
|
|
|
+<!-- <li>-->
|
|
|
|
|
+<!-- <label class="Season_btn">-->
|
|
|
|
|
+<!-- <input type="checkbox" group="filterValue" th:id="${'chkFilterSeason' + status.index}" name="season" th:value="${oneData.filterCd}" th:data-id="${oneData.filterNm}" onclick="filterSel(this,'season','off');"><span th:text="${oneData.filterNm}">봄</span>-->
|
|
|
|
|
+<!-- </label>-->
|
|
|
|
|
+<!-- </li>-->
|
|
|
|
|
+<!-- </th:block>-->
|
|
|
|
|
+<!-- </ul>-->
|
|
|
|
|
+<!-- <a href="javascript:void(0)" class="tap_close">delete-btn</a>-->
|
|
|
|
|
+<!-- </div>-->
|
|
|
|
|
+<!-- <!– //시즌 –>-->
|
|
|
|
|
+<!-- <!– 컬러 –>-->
|
|
|
|
|
+<!-- <div class="sort tap08" th:if="${filterColorList != null and !filterColorList.empty}" id="colorFilterDiv">-->
|
|
|
|
|
+<!-- <ul>-->
|
|
|
|
|
+<!-- <th:block th:each="oneData, status : ${filterColorList}">-->
|
|
|
|
|
+<!-- <li>-->
|
|
|
|
|
+<!-- <label class="color-check">-->
|
|
|
|
|
+<!-- <input type="checkbox" group="filterValue" th:id="${'chkFilterColor' + status.index}" name="color" th:value="${oneData.filterCd}" th:data-id="${oneData.filterNm.replace('#','')}" onclick="filterSel(this,'color','off');">-->
|
|
|
|
|
+<!-- <span class="pdColor-color" th:if="${oneData.filterNm=='#FFFFFF'}" th:style="${'background-color:'+oneData.filterNm+';'+' border:1px solid #aaa;'}" th:value="${oneData.filterCd}"></span>-->
|
|
|
|
|
+<!-- <span class="pdColor-color" th:if="${oneData.filterNm!='#FFFFFF'}" th:style="${'background-color:'+oneData.filterNm}" th:value="${oneData.filterCd}"></span>-->
|
|
|
|
|
+<!-- </label>-->
|
|
|
|
|
+<!-- </li>-->
|
|
|
|
|
+<!-- </th:block>-->
|
|
|
|
|
+<!-- </ul>-->
|
|
|
|
|
+<!-- <a href="javascript:void(0)" class="tap_close">delete-btn</a>-->
|
|
|
|
|
+<!-- </div>-->
|
|
|
|
|
+<!-- <!– //컬러 –>-->
|
|
|
|
|
+<!-- <!– 혜택 –>-->
|
|
|
|
|
+<!-- <div class="sort tap09" th:if="${filterBenefitList != null and !filterBenefitList.empty}" id="benefitFilterDiv">-->
|
|
|
|
|
+<!-- <ul>-->
|
|
|
|
|
+<!-- <th:block th:each="oneData, status : ${filterBenefitList}">-->
|
|
|
|
|
+<!-- <li>-->
|
|
|
|
|
+<!-- <label class="Benefits_btn">-->
|
|
|
|
|
+<!-- <input type="checkbox" group="filterValue" th:id="${'chkFilterBenefits' + status.index}" name="benefit" th:value="${oneData.filterCd}" th:data-id="${oneData.filterNm}" onclick="filterSel(this,'benefit','off');"><span th:text="${oneData.filterNm}"></span>-->
|
|
|
|
|
+<!-- </label>-->
|
|
|
|
|
+<!-- </li>-->
|
|
|
|
|
+<!-- </th:block>-->
|
|
|
|
|
+<!-- </ul>-->
|
|
|
|
|
+<!-- <a href="javascript:void(0)" class="tap_close">delete-btn</a>-->
|
|
|
|
|
+<!-- </div>-->
|
|
|
|
|
+<!-- <!– //혜택 –>-->
|
|
|
|
|
+<!-- <!– 필터 –>-->
|
|
|
|
|
+<!-- <div class="fillter">-->
|
|
|
|
|
+<!-- <div class="fillter_box" id="filterData">-->
|
|
|
|
|
+<!-- </div>-->
|
|
|
|
|
+<!-- <button type="button" class="fillter_reset" onclick="fnFilterReset();"><span>전체 초기화</span></button>-->
|
|
|
|
|
+<!-- </div>-->
|
|
|
|
|
+<!-- <!– //필터 –>-->
|
|
|
|
|
+<!-- </div>-->
|
|
|
<div class="list_content"> <!-- 데이터 없을시 클래스 nodata 추가 -->
|
|
<div class="list_content"> <!-- 데이터 없을시 클래스 nodata 추가 -->
|
|
|
<div class="list_defult" id="noFilterData">
|
|
<div class="list_defult" id="noFilterData">
|
|
|
<div>
|
|
<div>
|
|
@@ -312,154 +312,154 @@
|
|
|
$(document).ready( function() {
|
|
$(document).ready( function() {
|
|
|
//가격 슬라이드
|
|
//가격 슬라이드
|
|
|
//var custom_values = ['9,000원', '230,000원', '487,000원', '700,000원', '1,360,000원', '1,799,000원'];
|
|
//var custom_values = ['9,000원', '230,000원', '487,000원', '700,000원', '1,360,000원', '1,799,000원'];
|
|
|
- let priceLen;
|
|
|
|
|
- if(!gagajf.isNull(filterPriceList)){
|
|
|
|
|
- priceLen = filterPriceList.length-1;
|
|
|
|
|
- $.each(filterPriceList, function (priceIdx, priceItem){
|
|
|
|
|
- custom_values[priceIdx] = priceItem.filterNm;
|
|
|
|
|
- if(priceLen==0){
|
|
|
|
|
- custom_values[1] = priceItem.filterNm;
|
|
|
|
|
- }
|
|
|
|
|
- });
|
|
|
|
|
- let my_from;
|
|
|
|
|
- let my_to;
|
|
|
|
|
- if(filterPriceList.length > 1){
|
|
|
|
|
- my_from = custom_values.indexOf(custom_values[0]);
|
|
|
|
|
- my_to = custom_values.indexOf(custom_values[priceLen]);
|
|
|
|
|
- }else{
|
|
|
|
|
- my_from = 0;
|
|
|
|
|
- my_to = 1;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- if(gagajf.isNull($("#filterForm input:hidden[name=priceFrom]").val())){
|
|
|
|
|
- my_from = $("#filterForm input:hidden[name=priceFrom]").val();
|
|
|
|
|
- }
|
|
|
|
|
- if(gagajf.isNull($("#filterForm input:hidden[name=priceTo]").val())){
|
|
|
|
|
- my_to = $("#filterForm input:hidden[name=priceTo]").val();
|
|
|
|
|
- }
|
|
|
|
|
- let minValue;
|
|
|
|
|
- let maxValue;
|
|
|
|
|
- if(filterPriceList.length > 1){
|
|
|
|
|
- minValue = custom_values[0];
|
|
|
|
|
- maxValue = custom_values[priceLen];
|
|
|
|
|
- }else{
|
|
|
|
|
- minValue = custom_values[0];
|
|
|
|
|
- maxValue = custom_values[1];
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- $(".dp .js-range-slider01, .sch_result .js-range-slider01").ionRangeSlider({
|
|
|
|
|
- type: "double",
|
|
|
|
|
- min: minValue,
|
|
|
|
|
- max: maxValue,
|
|
|
|
|
- from: my_from,
|
|
|
|
|
- to: my_to,
|
|
|
|
|
- grid: true,
|
|
|
|
|
- skin: "round",
|
|
|
|
|
- postfix: "원",
|
|
|
|
|
- prettify_separator: ",",
|
|
|
|
|
- values: custom_values,
|
|
|
|
|
- min_interval: 1,
|
|
|
|
|
- // onStart : function(data){
|
|
|
|
|
- // fnCheckPrice(data);
|
|
|
|
|
- // },
|
|
|
|
|
- // onChange : fnCheckPrice,
|
|
|
|
|
- onFinish : function(data,priceLen){
|
|
|
|
|
- fnCheckPrice(data,priceLen);
|
|
|
|
|
- }
|
|
|
|
|
- });
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // let priceLen;
|
|
|
|
|
+ // if(!gagajf.isNull(filterPriceList)){
|
|
|
|
|
+ // priceLen = filterPriceList.length-1;
|
|
|
|
|
+ // $.each(filterPriceList, function (priceIdx, priceItem){
|
|
|
|
|
+ // custom_values[priceIdx] = priceItem.filterNm;
|
|
|
|
|
+ // if(priceLen==0){
|
|
|
|
|
+ // custom_values[1] = priceItem.filterNm;
|
|
|
|
|
+ // }
|
|
|
|
|
+ // });
|
|
|
|
|
+ // let my_from;
|
|
|
|
|
+ // let my_to;
|
|
|
|
|
+ // if(filterPriceList.length > 1){
|
|
|
|
|
+ // my_from = custom_values.indexOf(custom_values[0]);
|
|
|
|
|
+ // my_to = custom_values.indexOf(custom_values[priceLen]);
|
|
|
|
|
+ // }else{
|
|
|
|
|
+ // my_from = 0;
|
|
|
|
|
+ // my_to = 1;
|
|
|
|
|
+ // }
|
|
|
|
|
+ //
|
|
|
|
|
+ // if(gagajf.isNull($("#filterForm input:hidden[name=priceFrom]").val())){
|
|
|
|
|
+ // my_from = $("#filterForm input:hidden[name=priceFrom]").val();
|
|
|
|
|
+ // }
|
|
|
|
|
+ // if(gagajf.isNull($("#filterForm input:hidden[name=priceTo]").val())){
|
|
|
|
|
+ // my_to = $("#filterForm input:hidden[name=priceTo]").val();
|
|
|
|
|
+ // }
|
|
|
|
|
+ // let minValue;
|
|
|
|
|
+ // let maxValue;
|
|
|
|
|
+ // if(filterPriceList.length > 1){
|
|
|
|
|
+ // minValue = custom_values[0];
|
|
|
|
|
+ // maxValue = custom_values[priceLen];
|
|
|
|
|
+ // }else{
|
|
|
|
|
+ // minValue = custom_values[0];
|
|
|
|
|
+ // maxValue = custom_values[1];
|
|
|
|
|
+ // }
|
|
|
|
|
+ //
|
|
|
|
|
+ // $(".dp .js-range-slider01, .sch_result .js-range-slider01").ionRangeSlider({
|
|
|
|
|
+ // type: "double",
|
|
|
|
|
+ // min: minValue,
|
|
|
|
|
+ // max: maxValue,
|
|
|
|
|
+ // from: my_from,
|
|
|
|
|
+ // to: my_to,
|
|
|
|
|
+ // grid: true,
|
|
|
|
|
+ // skin: "round",
|
|
|
|
|
+ // postfix: "원",
|
|
|
|
|
+ // prettify_separator: ",",
|
|
|
|
|
+ // values: custom_values,
|
|
|
|
|
+ // min_interval: 1,
|
|
|
|
|
+ // // onStart : function(data){
|
|
|
|
|
+ // // fnCheckPrice(data);
|
|
|
|
|
+ // // },
|
|
|
|
|
+ // // onChange : fnCheckPrice,
|
|
|
|
|
+ // onFinish : function(data,priceLen){
|
|
|
|
|
+ // fnCheckPrice(data,priceLen);
|
|
|
|
|
+ // }
|
|
|
|
|
+ // });
|
|
|
|
|
+ // }
|
|
|
|
|
|
|
|
fnCreateCategoryList();
|
|
fnCreateCategoryList();
|
|
|
|
|
|
|
|
- if ($('#sizeLi1').find('label').length == 0) $('#sizeLi1').hide();
|
|
|
|
|
- if ($('#sizeLi2').find('label').length == 0) $('#sizeLi2').hide();
|
|
|
|
|
- if ($('#sizeLi3').find('label').length == 0) $('#sizeLi3').hide();
|
|
|
|
|
|
|
+ // if ($('#sizeLi1').find('label').length == 0) $('#sizeLi1').hide();
|
|
|
|
|
+ // if ($('#sizeLi2').find('label').length == 0) $('#sizeLi2').hide();
|
|
|
|
|
+ // if ($('#sizeLi3').find('label').length == 0) $('#sizeLi3').hide();
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
- var fnFilterOption = function (obj, stat){
|
|
|
|
|
- var thisId = $(obj).attr('id');
|
|
|
|
|
- var tag = '';
|
|
|
|
|
-
|
|
|
|
|
- if(thisId == 'unisex'){
|
|
|
|
|
- if(stat=='on'){
|
|
|
|
|
- $(obj).attr('onclick','fnFilterOption(this,\'off\');');
|
|
|
|
|
- tag += '<input type="hidden" name="unisex" value="G007_Z"/>\n';
|
|
|
|
|
- $("#searchGoodsForm").append(tag);
|
|
|
|
|
- }else{
|
|
|
|
|
- $(obj).attr('onclick','fnFilterOption(this,\'on\');');
|
|
|
|
|
- $("#searchGoodsForm input:hidden[name=unisex]").remove();
|
|
|
|
|
- }
|
|
|
|
|
- }else{
|
|
|
|
|
- if(stat=='on'){
|
|
|
|
|
- $(obj).attr('onclick','fnFilterOption(this,\'off\');');
|
|
|
|
|
- tag += '<input type="hidden" name="newGoods" value="40"/>\n';
|
|
|
|
|
- $("#searchGoodsForm").append(tag);
|
|
|
|
|
- }else{
|
|
|
|
|
- $(obj).attr('onclick','fnFilterOption(this,\'on\');');
|
|
|
|
|
- $("#searchGoodsForm input:hidden[name=newGoods]").remove();
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- fnCategoryGoodsInfiniteScrollInit();
|
|
|
|
|
- fnGoodsListSearch();
|
|
|
|
|
- fnPushHistory();
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // var fnFilterOption = function (obj, stat){
|
|
|
|
|
+ // var thisId = $(obj).attr('id');
|
|
|
|
|
+ // var tag = '';
|
|
|
|
|
+ //
|
|
|
|
|
+ // if(thisId == 'unisex'){
|
|
|
|
|
+ // if(stat=='on'){
|
|
|
|
|
+ // $(obj).attr('onclick','fnFilterOption(this,\'off\');');
|
|
|
|
|
+ // tag += '<input type="hidden" name="unisex" value="G007_Z"/>\n';
|
|
|
|
|
+ // $("#searchGoodsForm").append(tag);
|
|
|
|
|
+ // }else{
|
|
|
|
|
+ // $(obj).attr('onclick','fnFilterOption(this,\'on\');');
|
|
|
|
|
+ // $("#searchGoodsForm input:hidden[name=unisex]").remove();
|
|
|
|
|
+ // }
|
|
|
|
|
+ // }else{
|
|
|
|
|
+ // if(stat=='on'){
|
|
|
|
|
+ // $(obj).attr('onclick','fnFilterOption(this,\'off\');');
|
|
|
|
|
+ // tag += '<input type="hidden" name="newGoods" value="40"/>\n';
|
|
|
|
|
+ // $("#searchGoodsForm").append(tag);
|
|
|
|
|
+ // }else{
|
|
|
|
|
+ // $(obj).attr('onclick','fnFilterOption(this,\'on\');');
|
|
|
|
|
+ // $("#searchGoodsForm input:hidden[name=newGoods]").remove();
|
|
|
|
|
+ // }
|
|
|
|
|
+ // }
|
|
|
|
|
+ // fnCategoryGoodsInfiniteScrollInit();
|
|
|
|
|
+ // fnGoodsListSearch();
|
|
|
|
|
+ // fnPushHistory();
|
|
|
|
|
+ // }
|
|
|
|
|
|
|
|
// 필터 가격 확인
|
|
// 필터 가격 확인
|
|
|
- var fnCheckPrice = function (data,priceLen){
|
|
|
|
|
- $("#priceSpan").remove();
|
|
|
|
|
- $("#searchGoodsForm input:hidden[name=priceFrom]").remove();
|
|
|
|
|
- $("#searchGoodsForm input:hidden[name=priceTo]").remove();
|
|
|
|
|
- let min = data.from;
|
|
|
|
|
- let max = data.to;
|
|
|
|
|
- $("#price_input_from").val(custom_values[0]);
|
|
|
|
|
- $("#price_input_to").val(custom_values[priceLen]);
|
|
|
|
|
-
|
|
|
|
|
- fnFilterSlider('price' , custom_values[min].addComma(), custom_values[max].addComma());
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // var fnCheckPrice = function (data,priceLen){
|
|
|
|
|
+ // $("#priceSpan").remove();
|
|
|
|
|
+ // $("#searchGoodsForm input:hidden[name=priceFrom]").remove();
|
|
|
|
|
+ // $("#searchGoodsForm input:hidden[name=priceTo]").remove();
|
|
|
|
|
+ // let min = data.from;
|
|
|
|
|
+ // let max = data.to;
|
|
|
|
|
+ // $("#price_input_from").val(custom_values[0]);
|
|
|
|
|
+ // $("#price_input_to").val(custom_values[priceLen]);
|
|
|
|
|
+ //
|
|
|
|
|
+ // fnFilterSlider('price' , custom_values[min].addComma(), custom_values[max].addComma());
|
|
|
|
|
+ // }
|
|
|
|
|
|
|
|
// 필터 할인율 확인
|
|
// 필터 할인율 확인
|
|
|
- var fnCheckDcRate = function (data){
|
|
|
|
|
- $("#dcrateSpan").remove();
|
|
|
|
|
- $("#searchGoodsForm input:hidden[name=dcRateFrom]").remove();
|
|
|
|
|
- $("#searchGoodsForm input:hidden[name=dcRateTo]").remove();
|
|
|
|
|
- let min = data.from;
|
|
|
|
|
- let max = data.to;
|
|
|
|
|
- $("#price_input_from").val(0);
|
|
|
|
|
- $("#price_input_to").val(100);
|
|
|
|
|
-
|
|
|
|
|
- fnFilterSlider('dcrate' , custom_values02[min].replace('%',''), custom_values02[max].replace('%',''));
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // var fnCheckDcRate = function (data){
|
|
|
|
|
+ // $("#dcrateSpan").remove();
|
|
|
|
|
+ // $("#searchGoodsForm input:hidden[name=dcRateFrom]").remove();
|
|
|
|
|
+ // $("#searchGoodsForm input:hidden[name=dcRateTo]").remove();
|
|
|
|
|
+ // let min = data.from;
|
|
|
|
|
+ // let max = data.to;
|
|
|
|
|
+ // $("#price_input_from").val(0);
|
|
|
|
|
+ // $("#price_input_to").val(100);
|
|
|
|
|
+ //
|
|
|
|
|
+ // fnFilterSlider('dcrate' , custom_values02[min].replace('%',''), custom_values02[max].replace('%',''));
|
|
|
|
|
+ // }
|
|
|
|
|
|
|
|
// 필터 초기화
|
|
// 필터 초기화
|
|
|
- var fnFilterReset = function (){
|
|
|
|
|
- //document.location.href = currUrl;
|
|
|
|
|
- $("#searchGoodsForm input:hidden[name=brandGroupArr]").remove();
|
|
|
|
|
- $("#searchGoodsForm input:hidden[name=sizeArr]").remove();
|
|
|
|
|
- $("#searchGoodsForm input:hidden[name=dcRateFrom]").remove();
|
|
|
|
|
- $("#searchGoodsForm input:hidden[name=dcRateTo]").remove();
|
|
|
|
|
- $("#searchGoodsForm input:hidden[name=priceFrom]").remove();
|
|
|
|
|
- $("#searchGoodsForm input:hidden[name=priceTo]").remove();
|
|
|
|
|
- $("#searchGoodsForm input:hidden[name=ageArr]").remove();
|
|
|
|
|
- $("#searchGoodsForm input:hidden[name=seasonArr]").remove();
|
|
|
|
|
- $("#searchGoodsForm input:hidden[name=colorArr]").remove();
|
|
|
|
|
- $("#searchGoodsForm input:hidden[name=benefitArr]").remove();
|
|
|
|
|
- $("#unisex").prop('checked',false);
|
|
|
|
|
- $("#unisex").attr('onclick','fnFilterOption(this,\'on\');');
|
|
|
|
|
- $("#searchGoodsForm input:hidden[name=unisex]").remove();
|
|
|
|
|
- $("#newGoods").prop('checked',true);
|
|
|
|
|
- $("#newGoods").attr('onclick','fnFilterOption(this,\'off\');');
|
|
|
|
|
- $("#searchGoodsForm input:hidden[name=newGoods]").val('40');
|
|
|
|
|
-
|
|
|
|
|
- fnFilterSliderMove(0,5);
|
|
|
|
|
- fnDcRateFilterSliderMove(0,10);
|
|
|
|
|
- $('.filter_content .sort').find('input[type=checkbox]').each(function (idx){
|
|
|
|
|
- $(this).prop('checked',false);
|
|
|
|
|
- });
|
|
|
|
|
- $("#filterData").html('');
|
|
|
|
|
- fnCategoryGoodsInfiniteScrollInit();
|
|
|
|
|
- fnGoodsListSearch();
|
|
|
|
|
- fnPushHistory();
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // var fnFilterReset = function (){
|
|
|
|
|
+ // //document.location.href = currUrl;
|
|
|
|
|
+ // $("#searchGoodsForm input:hidden[name=brandGroupArr]").remove();
|
|
|
|
|
+ // $("#searchGoodsForm input:hidden[name=sizeArr]").remove();
|
|
|
|
|
+ // $("#searchGoodsForm input:hidden[name=dcRateFrom]").remove();
|
|
|
|
|
+ // $("#searchGoodsForm input:hidden[name=dcRateTo]").remove();
|
|
|
|
|
+ // $("#searchGoodsForm input:hidden[name=priceFrom]").remove();
|
|
|
|
|
+ // $("#searchGoodsForm input:hidden[name=priceTo]").remove();
|
|
|
|
|
+ // $("#searchGoodsForm input:hidden[name=ageArr]").remove();
|
|
|
|
|
+ // $("#searchGoodsForm input:hidden[name=seasonArr]").remove();
|
|
|
|
|
+ // $("#searchGoodsForm input:hidden[name=colorArr]").remove();
|
|
|
|
|
+ // $("#searchGoodsForm input:hidden[name=benefitArr]").remove();
|
|
|
|
|
+ // $("#unisex").prop('checked',false);
|
|
|
|
|
+ // $("#unisex").attr('onclick','fnFilterOption(this,\'on\');');
|
|
|
|
|
+ // $("#searchGoodsForm input:hidden[name=unisex]").remove();
|
|
|
|
|
+ // $("#newGoods").prop('checked',true);
|
|
|
|
|
+ // $("#newGoods").attr('onclick','fnFilterOption(this,\'off\');');
|
|
|
|
|
+ // $("#searchGoodsForm input:hidden[name=newGoods]").val('40');
|
|
|
|
|
+ //
|
|
|
|
|
+ // fnFilterSliderMove(0,5);
|
|
|
|
|
+ // fnDcRateFilterSliderMove(0,10);
|
|
|
|
|
+ // $('.filter_content .sort').find('input[type=checkbox]').each(function (idx){
|
|
|
|
|
+ // $(this).prop('checked',false);
|
|
|
|
|
+ // });
|
|
|
|
|
+ // $("#filterData").html('');
|
|
|
|
|
+ // fnCategoryGoodsInfiniteScrollInit();
|
|
|
|
|
+ // fnGoodsListSearch();
|
|
|
|
|
+ // fnPushHistory();
|
|
|
|
|
+ // }
|
|
|
|
|
|
|
|
var fnImgOnoff = function (){
|
|
var fnImgOnoff = function (){
|
|
|
var nowFocus = $('.dp .itemPic');
|
|
var nowFocus = $('.dp .itemPic');
|
|
@@ -548,35 +548,35 @@
|
|
|
// 사파리 - event.persisted || 크롬 - window.performance.navigation.type 이 1이면 새로고침, 2면 페이지 이동을 통한 캐쉬페이징
|
|
// 사파리 - event.persisted || 크롬 - window.performance.navigation.type 이 1이면 새로고침, 2면 페이지 이동을 통한 캐쉬페이징
|
|
|
$(window).on("pageshow", function(event) {
|
|
$(window).on("pageshow", function(event) {
|
|
|
//할인율
|
|
//할인율
|
|
|
- custom_values02 = ['0%', '10%', '20%', '30%', '40%', '50%', '60%', '70%', '80%', '90%', '100%'];
|
|
|
|
|
- var my_from02 = custom_values02.indexOf('0%');
|
|
|
|
|
- var my_to02 = custom_values02.indexOf('100%');
|
|
|
|
|
- if(gagajf.isNull($('#searchGoodsForm').find("input[name=dcRateFrom]").val())){
|
|
|
|
|
- my_from02 = $('#searchGoodsForm').find("input[name=dcRateFrom]").val();
|
|
|
|
|
- }
|
|
|
|
|
- if(gagajf.isNull($('#searchGoodsForm').find("input[name=dcRateTo]").val())){
|
|
|
|
|
- my_to02 = $('#searchGoodsForm').find("input[name=dcRateTo]").val();
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- $(".dp .js-range-slider02, .sch_result .js-range-slider02").ionRangeSlider({
|
|
|
|
|
- type: "double",
|
|
|
|
|
- min: 0,
|
|
|
|
|
- max: 100,
|
|
|
|
|
- from: my_from02,
|
|
|
|
|
- to: my_to02,
|
|
|
|
|
- grid: true,
|
|
|
|
|
- skin: "round",
|
|
|
|
|
- postfix: "%",
|
|
|
|
|
- prettify_separator: ",",
|
|
|
|
|
- values: custom_values02,
|
|
|
|
|
- min_interval: 1,
|
|
|
|
|
- onFinish : function (data){
|
|
|
|
|
- fnCheckDcRate(data);
|
|
|
|
|
- }
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ // custom_values02 = ['0%', '10%', '20%', '30%', '40%', '50%', '60%', '70%', '80%', '90%', '100%'];
|
|
|
|
|
+ // var my_from02 = custom_values02.indexOf('0%');
|
|
|
|
|
+ // var my_to02 = custom_values02.indexOf('100%');
|
|
|
|
|
+ // if(gagajf.isNull($('#searchGoodsForm').find("input[name=dcRateFrom]").val())){
|
|
|
|
|
+ // my_from02 = $('#searchGoodsForm').find("input[name=dcRateFrom]").val();
|
|
|
|
|
+ // }
|
|
|
|
|
+ // if(gagajf.isNull($('#searchGoodsForm').find("input[name=dcRateTo]").val())){
|
|
|
|
|
+ // my_to02 = $('#searchGoodsForm').find("input[name=dcRateTo]").val();
|
|
|
|
|
+ // }
|
|
|
|
|
+ //
|
|
|
|
|
+ // $(".dp .js-range-slider02, .sch_result .js-range-slider02").ionRangeSlider({
|
|
|
|
|
+ // type: "double",
|
|
|
|
|
+ // min: 0,
|
|
|
|
|
+ // max: 100,
|
|
|
|
|
+ // from: my_from02,
|
|
|
|
|
+ // to: my_to02,
|
|
|
|
|
+ // grid: true,
|
|
|
|
|
+ // skin: "round",
|
|
|
|
|
+ // postfix: "%",
|
|
|
|
|
+ // prettify_separator: ",",
|
|
|
|
|
+ // values: custom_values02,
|
|
|
|
|
+ // min_interval: 1,
|
|
|
|
|
+ // onFinish : function (data){
|
|
|
|
|
+ // fnCheckDcRate(data);
|
|
|
|
|
+ // }
|
|
|
|
|
+ // });
|
|
|
|
|
|
|
|
if ( (event.originalEvent && event.originalEvent.persisted) || (window.performance && window.performance.navigation.type == 2)) {
|
|
if ( (event.originalEvent && event.originalEvent.persisted) || (window.performance && window.performance.navigation.type == 2)) {
|
|
|
- console.log('History.getState().data:::'+History.getState().data.sortingType);
|
|
|
|
|
|
|
+ // console.log('History.getState().data:::'+History.getState().data.sortingType);
|
|
|
if(typeof History.getState().data.sortingType!='undefined' && History.getState().data.sortingType!=''){
|
|
if(typeof History.getState().data.sortingType!='undefined' && History.getState().data.sortingType!=''){
|
|
|
$("#searchGoodsForm input:hidden[name=sortingType]").val(History.getState().data.sortingType);
|
|
$("#searchGoodsForm input:hidden[name=sortingType]").val(History.getState().data.sortingType);
|
|
|
}
|
|
}
|