|
|
@@ -113,6 +113,17 @@
|
|
|
<p class="itemPrice"><span class="itemPrice_original" th:if="${item.currPrice != item.listPrice}" th:text="${#numbers.formatInteger(item.listPrice,3,'COMMA')}">89,000</span>[[${#numbers.formatInteger(item.currPrice,0,'COMMA')}]]
|
|
|
<span class="itemPercent" th:if="${item.currPrice != item.listPrice}" th:text="${(item.listPrice == 0 ? 0 : #numbers.formatDecimal((item.listPrice - item.currPrice) / (item.listPrice * 1.0) * 100, 1, 0)) + '%'}">10%</span>
|
|
|
</p>
|
|
|
+ <div class="itemcolorchip" th:if="${item.colorArr != null}">
|
|
|
+ <th:block th:each="option, idx : ${item.colorArr}" th:with="colorArray=${#strings.arraySplit(idx.current,':')}">
|
|
|
+ <span th:if="${colorArray[1]=='#FFFFFF'}" th:style="${'background-color:'+colorArray[1]+';border:1px solid #aaa;'}" class="chip_color" th:value="${colorArray[0]}"></span>
|
|
|
+ <span th:if="${colorArray[1]!='#FFFFFF'}" th:style="${'background-color:'+colorArray[1]+';'}" class="chip_color" th:value="${colorArray[0]}"></span>
|
|
|
+ </th:block>
|
|
|
+ </div>
|
|
|
+ <p class="itemBadge" th:if="${item.benefitArr != null}">
|
|
|
+ <th:block th:each="option, idx : ${item.benefitArr}" th:with="iconArray=${#strings.arraySplit(idx.current,':')}" >
|
|
|
+ <span class="badge13" th:if="${idx.index<3}" th:value="${iconArray[0]}" th:text="${iconArray[1]}"></span>
|
|
|
+ </th:block>
|
|
|
+ </p>
|
|
|
<div class="itemComment" th:text="${item.goodsTnm}">#주문 폭주 상품</div>
|
|
|
</a>
|
|
|
</div>
|