Browse Source

Merge remote-tracking branch 'TSIT/ST24PRJ-586' into develop

card007 4 years ago
parent
commit
96414ff8e1
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/main/webapp/biz/goods.js

+ 5 - 0
src/main/webapp/biz/goods.js

@@ -284,6 +284,11 @@ var fnCreateGoodsList = function(result, ithrCd, contentLoc, goodsUrl, lastPage,
 					tag += '<iframe id="pdThumbVideo" class="pd_mov video-autoplay" src="' + _kollusMediaUrl + '/' + videoUrl + '?enable_initialize_focus=false&autoplay&mute&controls_activation=none" allow="fullscreen" allowFullScreen></iframe>';
 				}
 			}
+			
+			if(gagajf.isNull(item.sysImgNm2)){
+				item.sysImgNm2 = item.sysImgNm;
+			}
+			
 			// tag += '		<img class=" vLHTC pd_img" src="' + item.sysImgNm + '" data-img="' + item.sysImgNm2 + '" onerror="noneImg(this)">';
 			var imgUrl = "//image.istyle24.com/Upload/ProductImage/";
 			tag += '		<img class=" vLHTC pd_img" src="' + goodsUrl + '/' + (item.sysImgNm ? item.sysImgNm.replace(imgUrl,"") : '') + '" data-img="' + goodsUrl + '/' + (item.sysImgNm2 ? item.sysImgNm2.replace(imgUrl,"") : '') + '" onerror="noneImg(this)">';