Переглянути джерело

마이페이지 오류 수정

card007 5 роки тому
батько
коміт
e3fd8726bb

+ 15 - 9
src/main/webapp/WEB-INF/views/mob/mypage/MypageCreCancelDetailFormMob.html

@@ -61,19 +61,25 @@
 										<div class="name" th:text="${cancelDtl.goodsNm}"></div>
 									</div>
 									<div class="od_opt">
-										<div class="option">
-											<th:block th:if="${cancelDtl.goodsType == 'G056_S'}">
-												<th:block th:each="option, status : ${cancelDtl.colorNmArr}">
-													<em th:text="${cancelDtl.itemNmArr[status.index]}"></em>
+										<!-- 세트상품일때 -->
+										<th:block th:if="${cancelDtl.goodsType} == 'G056_S'">
+											<th:block th:each="option , index2 : ${cancelDtl.colorNmArr}">
+												<div class="option">
+													<em th:text="${cancelDtl.itemNmArr[index2.index]}"></em>
 													<em th:text="${option}"></em>
-													<em th:text="${cancelDtl.optCd2Arr[status.index]}"></em>
-												</th:block>
+													<em th:text="${cancelDtl.optCd2Arr[index2.index]}"></em>
+												</div>
 											</th:block>
-											<th:block th:unless="${cancelDtl.goodsType == 'G056_S'}">
+										</th:block>
+										<!-- //세트상품일때 -->
+										<!-- 단품상품일때 -->
+										<th:block th:unless="${cancelDtl.goodsType} == 'G056_S'">
+											<div class="option">
 												<em th:text="${cancelDtl.colorNm}"></em>
 												<em th:text="${cancelDtl.optCd2}"></em>
-											</th:block>
-										</div>
+											</div>
+										</th:block>
+										<!-- //단품상품일때 -->
 									</div>
 									<div class="od_calc">
 										<p class="price">

+ 15 - 9
src/main/webapp/WEB-INF/views/mob/mypage/NoMemberCreCancelDetailFormMob.html

@@ -56,19 +56,25 @@
 										<div class="name" th:text="${cancelDtl.goodsNm}"></div>
 									</div>
 									<div class="od_opt">
-										<div class="option">
-											<th:block th:if="${cancelDtl.goodsType == 'G056_S'}">
-												<th:block th:each="option, status : ${cancelDtl.colorNmArr}">
-													<em th:text="${cancelDtl.itemNmArr[status.index]}"></em>
+										<!-- 세트상품일때 -->
+										<th:block th:if="${cancelDtl.goodsType} == 'G056_S'">
+											<th:block th:each="option , index2 : ${cancelDtl.colorNmArr}">
+												<div class="option">
+													<em th:text="${cancelDtl.itemNmArr[index2.index]}"></em>
 													<em th:text="${option}"></em>
-													<em th:text="${cancelDtl.optCd2Arr[status.index]}"></em>
-												</th:block>
+													<em th:text="${cancelDtl.optCd2Arr[index2.index]}"></em>
+												</div>
 											</th:block>
-											<th:block th:unless="${cancelDtl.goodsType == 'G056_S'}">
+										</th:block>
+										<!-- //세트상품일때 -->
+										<!-- 단품상품일때 -->
+										<th:block th:unless="${cancelDtl.goodsType} == 'G056_S'">
+											<div class="option">
 												<em th:text="${cancelDtl.colorNm}"></em>
 												<em th:text="${cancelDtl.optCd2}"></em>
-											</th:block>
-										</div>
+											</div>
+										</th:block>
+										<!-- //단품상품일때 -->
 									</div>
 									<div class="od_calc">
 										<p class="price">