Kaynağa Gözat

베스트 메인 수정

bin2107 4 yıl önce
ebeveyn
işleme
bfe08fe86e

+ 5 - 0
src/main/webapp/WEB-INF/views/mob/display/BestMainFormMob.html

@@ -336,6 +336,11 @@
 					tag += '	<div class="item_state">\n';
 					tag += '		<button type="button" class="itemLike" goodsCd=\''+item.goodsCd+'\' onclick="wishlistDelete(this)">관심상품 추가</button>\n';
 					tag += '		<a href="javascript:void(0);" class="itemLink" onclick="cfnGoToGoodsDetail(\''+item.goodsCd+'\', \''+item.colorCd+'\')">\n';
+					tag += '<div class="shape ';
+					if(idx==0){
+						tag += ' ranker';
+					}
+					tag += '"><span>'+(idx+1)+'</span></div>\n';
 					tag += '			<div class="itemPic">\n';
 					tag += '				<img alt="BLUE-a" class=" vLHTC pd_img" src="' + _uploadGoodsUrl + '/' + item.sysImgNm + '">\n';
 					tag += '			</div>\n';

+ 5 - 0
src/main/webapp/WEB-INF/views/web/display/BestMainFormWeb.html

@@ -241,6 +241,11 @@
 				tag += '	<div class="item_state">\n';
 				tag += '		<button type="button" class="itemLike" goodsCd=\''+item.goodsCd+'\' onclick="wishlistDelete(this)">관심상품 추가</button>\n';
 				tag += '		<a href="javascript:void(0);" class="itemLink" onclick="cfnGoToGoodsDetail(\''+item.goodsCd+'\', \''+item.colorCd+'\')">\n';
+				tag += '<div class="shape ';
+				if(idx==0){
+					tag += ' ranker';
+				}
+				tag += '"><span>'+(idx+1)+'</span></div>\n';
 				tag += '			<div class="itemPic">\n';
 				tag += '				<img alt="BLUE-a" class=" vLHTC pd_img" src="' + _uploadGoodsUrl + '/' + item.sysImgNm + '">\n';
 				tag += '			</div>\n';