fix : 화폐단위 변경 (원 → 円)
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
<head>
|
||||
<%-- 공통 include --%>
|
||||
<jsp:include page="/WEB-INF/views/comm/Include.jsp"/>
|
||||
<spring:eval expression="@environment.getProperty('currency-unit.default')" var="curUnit"/>
|
||||
</head>
|
||||
|
||||
<script>
|
||||
@@ -51,30 +52,31 @@
|
||||
var startPric = null;
|
||||
var endPric = null;
|
||||
var buttonText = $(this).text();
|
||||
var curUnit = '${curUnit}';
|
||||
|
||||
switch (buttonText) {
|
||||
case '전체':
|
||||
startPric = null;
|
||||
endPric = null;
|
||||
break;
|
||||
case '~ 1만원':
|
||||
case '~ 1000' + curUnit:
|
||||
startPric = 0;
|
||||
endPric = 10000;
|
||||
endPric = 1000;
|
||||
break;
|
||||
case '1 ~ 5만원':
|
||||
startPric = 10000;
|
||||
endPric = 50000;
|
||||
case '1000 ~ 5000' + curUnit:
|
||||
startPric = 1000;
|
||||
endPric = 5000;
|
||||
break;
|
||||
case '5 ~ 15만원':
|
||||
startPric = 50000;
|
||||
endPric = 150000;
|
||||
case '5000 ~ 15000' + curUnit:
|
||||
startPric = 5000;
|
||||
endPric = 15000;
|
||||
break;
|
||||
case '15 ~ 30만원':
|
||||
startPric = 150000;
|
||||
endPric = 300000;
|
||||
case '15000 ~ 30000' + curUnit:
|
||||
startPric = 15000;
|
||||
endPric = 30000;
|
||||
break;
|
||||
case '30만원 이상':
|
||||
startPric = 300000;
|
||||
case '30000' + curUnit + ' 이상':
|
||||
startPric = 30000;
|
||||
endPric = null;
|
||||
break;
|
||||
default:
|
||||
@@ -1072,25 +1074,25 @@
|
||||
<input type="hidden" id="pricDv" name="pricDv" value="slepric">
|
||||
<div class="searchPrice__select">
|
||||
<button value="btnAll" class="searchPrice__select__btn <c:if test="${resultMap.BOGoodsVO.priceRange == null or resultMap.BOGoodsVO.priceRange == 'btnAll'}">selected</c:if>">전체</button>
|
||||
<button value="btn1" class="searchPrice__select__btn <c:if test="${resultMap.BOGoodsVO.priceRange == 'btn1'}">selected</c:if>">~ 1만원</button>
|
||||
<button value="btn2" class="searchPrice__select__btn <c:if test="${resultMap.BOGoodsVO.priceRange == 'btn2'}">selected</c:if>">1 ~ 5만원</button>
|
||||
<button value="btn3" class="searchPrice__select__btn <c:if test="${resultMap.BOGoodsVO.priceRange == 'btn3'}">selected</c:if>">5 ~ 15만원</button>
|
||||
<button value="btn4" class="searchPrice__select__btn <c:if test="${resultMap.BOGoodsVO.priceRange == 'btn4'}">selected</c:if>">15 ~ 30만원</button>
|
||||
<button value="btn5" class="searchPrice__select__btn <c:if test="${resultMap.BOGoodsVO.priceRange == 'btn5'}">selected</c:if>">30만원 이상</button>
|
||||
<button value="btn1" class="searchPrice__select__btn <c:if test="${resultMap.BOGoodsVO.priceRange == 'btn1'}">selected</c:if>">~ 1000${curUnit}</button>
|
||||
<button value="btn2" class="searchPrice__select__btn <c:if test="${resultMap.BOGoodsVO.priceRange == 'btn2'}">selected</c:if>">1000 ~ 5000${curUnit}</button>
|
||||
<button value="btn3" class="searchPrice__select__btn <c:if test="${resultMap.BOGoodsVO.priceRange == 'btn3'}">selected</c:if>">5000 ~ 15000${curUnit}</button>
|
||||
<button value="btn4" class="searchPrice__select__btn <c:if test="${resultMap.BOGoodsVO.priceRange == 'btn4'}">selected</c:if>">15000 ~ 30000${curUnit}</button>
|
||||
<button value="btn5" class="searchPrice__select__btn <c:if test="${resultMap.BOGoodsVO.priceRange == 'btn5'}">selected</c:if>">30000${curUnit} 이상</button>
|
||||
</div>
|
||||
<div class="searchPrice__range">
|
||||
<div class="searchPrice__rangeInput">
|
||||
<input type="text" class="searchPrice__input input-text "
|
||||
title="가격 입력" placeholder="" id="startPric" name="startPric"
|
||||
value="${ resultMap.BOGoodsVO.startPric }">
|
||||
<span class="searchPrice__rangeWon">원</span>
|
||||
<span class="searchPrice__rangeWon">${curUnit}</span>
|
||||
</div>
|
||||
<span class="searchPrice__rangeTilde">~</span>
|
||||
<div class="searchPrice__rangeInput">
|
||||
<input type="text" class="searchPrice__input input-text "
|
||||
title="가격 입력" placeholder="" id="endPric" name="endPric"
|
||||
value="${ resultMap.BOGoodsVO.endPric }">
|
||||
<span class="searchPrice__rangeWon">원</span>
|
||||
<span class="searchPrice__rangeWon">${curUnit}</span>
|
||||
</div>
|
||||
</div>
|
||||
<button class="searchPrice__btn btn theme">검색</button>
|
||||
|
||||
Reference in New Issue
Block a user