sowon4187 5 năm trước cách đây
mục cha
commit
ba97b9c6ca

+ 32 - 32
src/main/webapp/WEB-INF/views/mob/planning/PlanningDetailFormMob.html

@@ -755,53 +755,53 @@ if(goods1.length>0){
 	for (var i = 0; i < template.length; i++) {
 		var html = '';
 		if(template[i].tmplType == 'G082_50' && array[0] == template[i].planContSq && typeof array[0] != 'undefined') {
-			html += '<div class="dp_listItems_cont type1">';
-			html += '	<h2 class="dp_subtitle">';
+			html += '<div class="dp_listItems_cont type1">\n';
+			html += '	<h2 class="dp_subtitle">\n';
 			if (template[i].linkUrl != null && template[i].linkUrl != '') { /* 링크 변경 예정 */
 				if (template[i].linkOpenGb == 'M') { //본창
-					html += '        <a href="http://'+template[i].linkUrl+'" target="_self">'+template[i].title+' <i class="ico_arrow"></i></a>';
+					html += '        <a href="http://'+template[i].linkUrl+'" target="_self">'+template[i].title+'</a>\n';
 				}else{
-					html += '        <a href="http://'+template[i].linkUrl+'" target="_blank">'+template[i].title+' <i class="ico_arrow"></i></a>';
+					html += '        <a href="http://'+template[i].linkUrl+'" target="_blank">'+template[i].title+'</a>\n';
 				}
 			}else{
-				html += '        <a href="javascript:void(0)">'+template[i].title+'</a>';
+				html += '        <a href="javascript:void(0)">'+template[i].title+'</a>\n';
 			}
-			html += '   </h2>';
-			html += '	<div class="swiper-container item01">';
-			html += '		<div class="swiper-wrapper">';
+			html += '   </h2>\n';
+			html += '	<div class="swiper-container item01">\n';
+			html += '		<div class="swiper-wrapper">\n';
 			$.each(goods1, function(idx, item)  {
 				if (item.planContSq == template[i].planContSq) {
-					html += '			<div class="swiper-slide">';
-					html += '				<div class="item_prod">';
-					html += '					<div class="item_state">';
-					html += '						<a href="#none" class="itemLink">';
-					html += '							<div class="itemPic">';
-					html += '								<img class="vLHTC pd_img" src="'+ goodsView +'/'+item.sysImgNm +'" alt="">';
-					html += '							</div>';
-					html += '							<p class="itemBrand">'+item.brandGroupNm+'</p>';
-					html += '							<div class="itemName">'+item.goodsNm+'</div>';
-					html += '							<p class="itemPrice">';
+					html += '			<div class="swiper-slide">\n';
+					html += '				<div class="item_prod">\n';
+					html += '					<div class="item_state">\n';
+					html += '						<a href="#none" class="itemLink">\n';
+					html += '							<div class="itemPic">\n';
+					html += '								<img class="vLHTC pd_img" src="'+ goodsView +'/'+item.sysImgNm +'?RS=780" alt="">\n';
+					html += '							</div>\n';
+					html += '							<p class="itemBrand">'+item.brandGroupNm+'</p>\n';
+					html += '							<div class="itemName">'+item.goodsNm+'</div>\n';
+					html += '							<p class="itemPrice">\n';
 					if (item.currPrice != item.listPrice) {
-						html += '								<span class="itemPrice_original">'+item.listPrice.addComma()+'</span>';
+						html += '								<span class="itemPrice_original">'+item.listPrice.addComma()+'</span>\n';
 					}
 					html +=                             item.currPrice.addComma();
 					if (item.currPrice != item.listPrice) {
-						html += '								<span class="itemPercent">'+Math.floor(item.dcRate)+'%</span>';
+						html += '								<span class="itemPercent">'+Math.floor(item.dcRate)+'%</span>\n';
 					}
-					html += '							</p>';
+					html += '							</p>\n';
 					if(item.goodsTnm != null){
-						html += '							<div class="itemComment">'+item.goodsTnm+'</div>';
+						html += '							<div class="itemComment">'+item.goodsTnm+'</div>\n';
 					}
-					html += '						</a>';
-					html += '					</div>';
-					html += '				</div>';
-					html += '			</div>';
+					html += '						</a>\n';
+					html += '					</div>\n';
+					html += '				</div>\n';
+					html += '			</div>\n';
 				}
 			});
-			html += '		</div>';
-			html += '		<div class="swiper-pagination"></div>';
-			html += '	</div>';
-			html += '</div>';
+			html += '		</div>\n';
+			html += '		<div class="swiper-pagination"></div>\n';
+			html += '	</div>\n';
+			html += '</div>\n';
 			$("#G082_50" +array[0]).append(html);
 		}
 		
@@ -825,9 +825,9 @@ if(image.length>0){
 	$.each(image, function(idx, item)  {
 		html += '				<div class="swiper-slide">';
 		if (item.linkOpenGb == 'M') {
-			html += '					<a href="http://'+item.linkUrl+'" target="_self"><img src="'+ imgUrl + item.itemVal +'" ></a>';
+			html += '					<a href="http://'+item.linkUrl+'" target="_self"><img src="'+ imgUrl + item.itemVal +'?RS=1206" ></a>';
 		}else{
-			html += '					<a href="http://'+item.linkUrl+'" target="_blank"><img src="'+ imgUrl + item.itemVal +'" ></a>';
+			html += '					<a href="http://'+item.linkUrl+'" target="_blank"><img src="'+ imgUrl + item.itemVal +'?RS=1206" ></a>';
 		}
 		html += '				</div>';
 	});