瀏覽代碼

ST24PRJ-646 [결함][FRONT] 선택사은품 사은품이미지 노출 오류

card007 4 年之前
父節點
當前提交
f740bb3593

+ 3 - 3
src/main/webapp/WEB-INF/views/mob/order/OrderFreegiftInfoMob.html

@@ -68,12 +68,12 @@
 								
 								<!-- 선택지급 사음품(선택) -->
 								<th:block th:if="${freegift.allYn} == 'N'">
-									<th:block th:each="freegiftGoods, k : ${freegiftGoodsList}">
+									<th:block th:each="freegiftGoods, k : ${freegiftGoodsList}" th:with="imageUrl=${@environment.getProperty('upload.default.view')}">
 										<th:block th:if="${freegift.freegiftSq} == ${freegiftGoods.freegiftSq}">
 											<div class="gift">
 												<input type="radio" th:name="'rdi-gift'+${i.count}" th:id="'rdi-gift'+${i.count}+${k.count}" class="chk_img freegiftRdo" th:value="${freegiftGoods.freegiftValSq}" th:usepoint="${freegiftGoods.usePoint}" allYn="N" th:count="${i.count}">
 												<label th:for="'rdi-gift'+${i.count}+${k.count}">
-													<span class="thumb"><img th:src="${@environment.getProperty('domain.uximage')} + '/images/pc/thumb/tmp_gift1.jpg'" width="" alt=""></span>
+													<span class="thumb"><img th:src="${imageUrl + '/' + freegiftGoods.sysImgNm}" width="" alt=""></span>
 													<span class="name" th:text="${freegiftGoods.goodsNm}"></span> 
 													<span th:if="${freegiftGoods.usePoint} < 1" class="deduct" th:text="무료"></span>
 													<span th:if="${freegiftGoods.usePoint} > 0" class="deduct" th:text="|${#numbers.formatInteger(freegiftGoods.usePoint, 1, 'COMMA')} P|"></span>
@@ -182,4 +182,4 @@ $(document).on('click','#btn_infoGift_btn',function(e){
 
 
 
-
+

+ 2 - 2
src/main/webapp/WEB-INF/views/web/order/OrderFreegiftInfoWeb.html

@@ -63,12 +63,12 @@
 					
 					<!-- 선택지급 사음품(선택) -->
 					<th:block th:if="${freegift.allYn} == 'N'">
-						<th:block th:each="freegiftGoods, k : ${freegiftGoodsList}">
+						<th:block th:each="freegiftGoods, k : ${freegiftGoodsList}" th:with="imageUrl=${@environment.getProperty('upload.default.view')}">
 							<th:block th:if="${freegift.freegiftSq} == ${freegiftGoods.freegiftSq}">
 								<div class="gift">
 									<input type="radio" th:name="'rdi-gift'+${i.count}" th:id="'rdi-gift'+${i.count}+${k.count}" class="chk_img freegiftRdo" th:value="${freegiftGoods.freegiftValSq}" th:usepoint="${freegiftGoods.usePoint}" allYn="N" th:count="${i.count}">
 									<label th:for="'rdi-gift'+${i.count}+${k.count}"> 
-										<span class="thumb"><img th:src="${@environment.getProperty('domain.uximage')} + '/images/pc/thumb/tmp_gift1.jpg'" width="" alt=""></span>
+										<span class="thumb"><img th:src="${imageUrl + '/' + freegiftGoods.sysImgNm}" width="" alt=""></span>
 										<span class="name" th:text="${freegiftGoods.goodsNm}"></span> 
 										<span th:if="${freegiftGoods.usePoint} < 1" class="deduct" th:text="무료"></span>
 										<span th:if="${freegiftGoods.usePoint} > 0" class="deduct" th:text="|${#numbers.formatInteger(freegiftGoods.usePoint, 1, 'COMMA')} P|"></span>