|
|
@@ -69,13 +69,13 @@
|
|
|
<li data-id="tap08" th:if="${filterColorList!=null and !filterColorList.empty}">
|
|
|
<a href="javascript:void(0)">컬러</a>
|
|
|
</li>
|
|
|
- <li data-id="tap09">
|
|
|
+ <li data-id="tap09" th:if="${filterBenefitList!=null and !filterBenefitList.empty}">
|
|
|
<a href="javascript:void(0)">혜택</a>
|
|
|
</li>
|
|
|
</ul>
|
|
|
<div class="form_field">
|
|
|
<div>
|
|
|
- <input id="price" type="checkbox"><label for="price"> <span>남여 공용만 보기</span> </label>
|
|
|
+ <input id="price" type="checkbox" ><label for="price"> <span>남여 공용만 보기</span> </label>
|
|
|
</div>
|
|
|
<div>
|
|
|
<input id="chk-2" type="checkbox" checked=""><label for="chk-2"> <span>신상품만 보기</span> </label>
|
|
|
@@ -176,7 +176,7 @@
|
|
|
<th:block th:each="filterSeasonData, filterSeasonStat : ${filterSeasonList}">
|
|
|
<li>
|
|
|
<label class="Season_btn" onclick="filterSel();">
|
|
|
- <input type="checkbox" group="filterValue" th:id="${'chkFilterSeason'+filterAgeStat.count}" name="filterSeasonCds" th:value="${filterSeasonData.seasonCd}"><span th:text="${filterSeasonData.seasonNm}">봄</span>
|
|
|
+ <input type="checkbox" group="filterValue" th:id="${'chkFilterSeason'+filterSeasonStat.count}" name="filterSeasonCds" th:value="${filterSeasonData.seasonCd}"><span th:text="${filterSeasonData.seasonNm}">봄</span>
|
|
|
</label>
|
|
|
</li>
|
|
|
</th:block>
|
|
|
@@ -220,87 +220,11 @@
|
|
|
<span>
|
|
|
모이몰른
|
|
|
<a href="javascript:;" class="filter_delete"></a >
|
|
|
- </span>
|
|
|
- <span>
|
|
|
- 85
|
|
|
- <a href="javascript:;" class="filter_delete"></a>
|
|
|
- </span>
|
|
|
- <span>
|
|
|
- 버커루
|
|
|
- <a href="javascript:;" class="filter_delete"></a>
|
|
|
- </span>
|
|
|
- <span>
|
|
|
- TBJ
|
|
|
- <a href="javascript:;" class="filter_delete"></a >
|
|
|
- </span>
|
|
|
- <span>
|
|
|
- ANDEW
|
|
|
- <a href="javascript:;" class="filter_delete"></a >
|
|
|
- </span>
|
|
|
- <span>
|
|
|
- 모이몰른
|
|
|
- <a href="javascript:;" class="filter_delete"></a >
|
|
|
- </span>
|
|
|
- <span>
|
|
|
- 85
|
|
|
- <a href="javascript:;" class="filter_delete"></a>
|
|
|
- </span>
|
|
|
- <span>
|
|
|
- 버커루
|
|
|
- <a href="javascript:;" class="filter_delete"></a>
|
|
|
- </span>
|
|
|
- <span>
|
|
|
- TBJ
|
|
|
- <a href="javascript:;" class="filter_delete"></a >
|
|
|
- </span>
|
|
|
- <span>
|
|
|
- ANDEW
|
|
|
- <a href="javascript:;" class="filter_delete"></a >
|
|
|
- </span>
|
|
|
- <span>
|
|
|
- 모이몰른
|
|
|
- <a href="javascript:;" class="filter_delete"></a >
|
|
|
- </span>
|
|
|
- <span>
|
|
|
- 85
|
|
|
- <a href="javascript:;" class="filter_delete"></a>
|
|
|
- </span>
|
|
|
- <span>
|
|
|
- 버커루
|
|
|
- <a href="javascript:;" class="filter_delete"></a>
|
|
|
- </span>
|
|
|
- <span>
|
|
|
- TBJ
|
|
|
- <a href="javascript:;" class="filter_delete"></a >
|
|
|
- </span>
|
|
|
- <span>
|
|
|
- ANDEW
|
|
|
- <a href="javascript:;" class="filter_delete"></a >
|
|
|
- </span>
|
|
|
- <span>
|
|
|
- 모이몰른
|
|
|
- <a href="javascript:;" class="filter_delete"></a >
|
|
|
- </span>
|
|
|
- <span>
|
|
|
- 85
|
|
|
- <a href="javascript:;" class="filter_delete"></a>
|
|
|
- </span>
|
|
|
- <span>
|
|
|
- 버커루
|
|
|
- <a href="javascript:;" class="filter_delete"></a>
|
|
|
- </span>
|
|
|
- <span>
|
|
|
- TBJ
|
|
|
- <a href="javascript:;" class="filter_delete"></a >
|
|
|
</span>
|
|
|
<!-- 컬러 표시 -->
|
|
|
<span>
|
|
|
<span class="pdColor-color12"></span>
|
|
|
<a href="javascript:;" class="filter_delete"></a >
|
|
|
- </span>
|
|
|
- <span>
|
|
|
- <span class="pdColor-color13"></span>
|
|
|
- <a href="javascript:;" class="filter_delete"></a >
|
|
|
</span>
|
|
|
<!-- 컬러 표시 -->
|
|
|
</div>
|
|
|
@@ -525,33 +449,35 @@
|
|
|
$(document).ready( function() {
|
|
|
//가격 슬라이드
|
|
|
//var custom_values = ['9,000원', '230,000원', '487,000원', '700,000원', '1,360,000원', '1,799,000원'];
|
|
|
- var custom_values = [];
|
|
|
- $.each(filterPriceList, function (priceIdx, priceItem){
|
|
|
- custom_values[0] = priceItem.price1;
|
|
|
- custom_values[1] = priceItem.price2;
|
|
|
- custom_values[2] = priceItem.price3;
|
|
|
- custom_values[3] = priceItem.price4;
|
|
|
- custom_values[4] = priceItem.price5;
|
|
|
- custom_values[5] = priceItem.price6;
|
|
|
- });
|
|
|
+ if(!gagajf.isNull(filterPriceList)){
|
|
|
+ var custom_values = [];
|
|
|
+ $.each(filterPriceList, function (priceIdx, priceItem){
|
|
|
+ custom_values[0] = priceItem.price1;
|
|
|
+ custom_values[1] = priceItem.price2;
|
|
|
+ custom_values[2] = priceItem.price3;
|
|
|
+ custom_values[3] = priceItem.price4;
|
|
|
+ custom_values[4] = priceItem.price5;
|
|
|
+ custom_values[5] = priceItem.price6;
|
|
|
+ });
|
|
|
|
|
|
- var my_from = custom_values.indexOf(custom_values[0]); //custom_values.indexOf('9,000원');
|
|
|
- var my_to = custom_values.indexOf(custom_values[5]); //custom_values.indexOf('230,000원');
|
|
|
- var minValue = custom_values[0];
|
|
|
- var maxValue = custom_values[5];
|
|
|
+ var my_from = custom_values.indexOf(custom_values[0]); //custom_values.indexOf('9,000원');
|
|
|
+ var my_to = custom_values.indexOf(custom_values[5]); //custom_values.indexOf('230,000원');
|
|
|
+ var minValue = custom_values[0];
|
|
|
+ var maxValue = custom_values[5];
|
|
|
|
|
|
- $(".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
|
|
|
- });
|
|
|
+ $(".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
|
|
|
+ });
|
|
|
+ }
|
|
|
|
|
|
//할인율
|
|
|
var custom_values02 = ['0%', '10%', '20%', '30%', '40%', '50%', '60%', '70%', '80%', '90%', '100%'];
|