jsh77b 4 rokov pred
rodič
commit
95ce04f1e2

+ 19 - 16
src/main/webapp/WEB-INF/views/mob/goods/GoodsReviewDetailFormMob.html

@@ -79,15 +79,6 @@
 											<div class="response_box">
 												<div>
 													<dl>
-														<div th:if="${review.goodsOptionList != null and !review.goodsOptionList.empty}" >
-															<dt >구매옵션</dt>
-															<dd> 
-															<th:block th:each="reviewGoods, goodsStatus : ${review.goodsOptionList}">
-															<th:block th:text="${ #strings.defaultString(#strings.empty(reviewGoods.optCd1Nm),'') +' / '+ #strings.defaultString(#strings.empty(reviewGoods.optCd2),'')}">베이지 / 100</th:block>
-															<th:block th:if="${not goodsStatus.last}" th:text="${','}"></th:block>
-															</th:block>
-															</dd>
-														</div>
 														<!-- 2021.08.11 -->
 														<th:block th:if="${review.height > 0 || review.weight > 0}">
 															<div>
@@ -109,30 +100,42 @@
 													<dl>
 														<div>
 															<dt>사이즈</dt>
-															<dd th:text="${#strings.defaultString(#strings.empty(review.scoreSizeNm),'')}">작음</dd>
+															<dd>
+																<th:block th:if="${not #strings.isEmpty(review.scoreSizeNm)}" th:text="${review.scoreSizeNm}"></th:block>
+															</dd>
 														</div>
 														<div>
 															<dt>컬러</dt>
-															<dd th:text="${#strings.defaultString(#strings.empty(review.scoreColorNm),'')}">밝음</dd>
+															<dd>
+																<th:block th:if="${not #strings.isEmpty(review.scoreColorNm)}" th:text="${review.scoreColorNm}"></th:block>
+															</dd>
 														</div>
 														<th:block th:if="${review.sizeGb == 'T' or review.sizeGb == 'B'}">
 														<div>
 															<dt>핏</dt>
-															<dd th:text="${#strings.defaultString(#strings.empty(review.scoreFitNm),'')}">레귤러</dd>
+															<dd>
+																<th:block th:if="${not #strings.isEmpty(review.scoreFitNm)}" th:text="${review.scoreFitNm}"></th:block>
+															</dd>
 														</div>
 														<div>
 															<dt>두께감</dt>
-															<dd th:text="${#strings.defaultString(#strings.empty(review.scoreThickNm),'')}">적당함</dd>
+															<dd>
+																<th:block th:if="${not #strings.isEmpty(review.scoreThickNm)}" th:text="${review.scoreThickNm}"></th:block>
+															</dd>
 														</div>
 														</th:block>
 														<th:block th:unless="${review.sizeGb == 'T' or review.sizeGb == 'B'}">
 														<div>
 															<dt>무게감</dt>
-															<dd th:text="${#strings.defaultString(#strings.empty(review.scoreWeightNm),'')}">레귤러</dd>
+															<dd>
+																<th:block th:if="${not #strings.isEmpty(review.scoreWeightNm)}" th:text="${review.scoreWeightNm}"></th:block>
+															</dd>
 														</div>
 														<div>
 															<dt>볼너비</dt>
-															<dd th:text="${#strings.defaultString(#strings.empty(review.scoreBallNm),'')}">적당함</dd>
+															<dd>
+																<th:block th:if="${not #strings.isEmpty(review.scoreBallNm)}" th:text="${review.scoreBallNm}"></th:block>
+															</dd>
 														</div>
 														</th:block>
 													</dl>
@@ -152,7 +155,7 @@
 												</div>
 											</div>
 										</div>
-									</li>                               
+									</li>
 								</ul>
 							</div>
 						</div>