Merge branch 'hotfix-imageUrl-0605' into test6.9.6
Showing
7 changed files
with
7 additions
and
7 deletions
@@ -203,7 +203,7 @@ | @@ -203,7 +203,7 @@ | ||
203 | var imgList = rowData.imgList; | 203 | var imgList = rowData.imgList; |
204 | str =str + '<p>'; | 204 | str =str + '<p>'; |
205 | if(imgList !=null){//可能没有图片 | 205 | if(imgList !=null){//可能没有图片 |
206 | - str = str + ' <img style="width:60px; height: 60px;margin-left: 3px" src="'+ imgList[0]+'" >' ; | 206 | + str = str + ' <img style="width:60px; height: 60px;margin-left: 3px" src="'+ imgList[0]+'?imageView/2/w/60/h/60" >' ; |
207 | /*for (var i=0; i<imgList.length; i++) { | 207 | /*for (var i=0; i<imgList.length; i++) { |
208 | if(i > 0 && i % 4 == 0){ | 208 | if(i > 0 && i % 4 == 0){ |
209 | str = str + "</br>";//每四张换行 | 209 | str = str + "</br>";//每四张换行 |
@@ -218,7 +218,7 @@ | @@ -218,7 +218,7 @@ | ||
218 | var imgList = rowData.imgList; | 218 | var imgList = rowData.imgList; |
219 | str =str + '<p>'; | 219 | str =str + '<p>'; |
220 | if(imgList !=null){//可能没有图片 | 220 | if(imgList !=null){//可能没有图片 |
221 | - str = str + ' <img style="width:60px; height: 60px;margin-left: 3px" src="'+ imgList[0]+'" >' ; | 221 | + str = str + ' <img style="width:60px; height: 60px;margin-left: 3px" src="'+ imgList[0]+'?imageView/2/w/60/h/60" >' ; |
222 | } | 222 | } |
223 | 223 | ||
224 | str = str + "<a role='showDetail' dataId='"+rowData.articleId+ "' index='"+ rowIndex + "' status='1' style='margin-left:10px'>查看详情</a>"; | 224 | str = str + "<a role='showDetail' dataId='"+rowData.articleId+ "' index='"+ rowIndex + "' status='1' style='margin-left:10px'>查看详情</a>"; |
@@ -290,7 +290,7 @@ | @@ -290,7 +290,7 @@ | ||
290 | var imgList = rowData.imgList; | 290 | var imgList = rowData.imgList; |
291 | str =str + '<p>'; | 291 | str =str + '<p>'; |
292 | if(imgList !=null){//可能没有图片 | 292 | if(imgList !=null){//可能没有图片 |
293 | - str = str + ' <img style="width:60px; height: 60px;margin-left: 3px" src="'+ imgList[0]+'" >' ; | 293 | + str = str + ' <img style="width:60px; height: 60px;margin-left: 3px" src="'+ imgList[0]+'?imageView/2/w/60/h/60" >' ; |
294 | } | 294 | } |
295 | 295 | ||
296 | 296 |
@@ -204,7 +204,7 @@ | @@ -204,7 +204,7 @@ | ||
204 | var sourceUrl = rowData.sourceUrl; | 204 | var sourceUrl = rowData.sourceUrl; |
205 | str =str + '<p>'; | 205 | str =str + '<p>'; |
206 | if(imgList !=null && imgList.length != 0){//可能没有图片 | 206 | if(imgList !=null && imgList.length != 0){//可能没有图片 |
207 | - str = str + ' <img style="width:60px; height: 60px;margin-left: 3px" src="'+ imgList[0]+'" >' ; | 207 | + str = str + ' <img style="width:60px; height: 60px;margin-left: 3px" src="'+ imgList[0]+'?imageView/2/w/60/h/60" >' ; |
208 | } | 208 | } |
209 | 209 | ||
210 | str = str + "<a role='linkDetail' target='_blank' style='margin-left:10px' href="+sourceUrl+">查看原文</a>" | 210 | str = str + "<a role='linkDetail' target='_blank' style='margin-left:10px' href="+sourceUrl+">查看原文</a>" |
@@ -195,7 +195,7 @@ | @@ -195,7 +195,7 @@ | ||
195 | if(value == null || value == ""){ | 195 | if(value == null || value == ""){ |
196 | return ""; | 196 | return ""; |
197 | }else{//由标签同步过来的话题 没有图 | 197 | }else{//由标签同步过来的话题 没有图 |
198 | - return '<a target="_blank" href="' + value + '"><img src="' + value + '" style="width: 120px;height: 120px;" /></a>'; | 198 | + return '<a target="_blank" href="' + value + '"><img src="' + value + '?imageView/2/w/60/h/60" style="width: 60px;height: 60px;" /></a>'; |
199 | } | 199 | } |
200 | 200 | ||
201 | } | 201 | } |
@@ -140,7 +140,7 @@ | @@ -140,7 +140,7 @@ | ||
140 | if(value == null || value==""){ | 140 | if(value == null || value==""){ |
141 | return ""; | 141 | return ""; |
142 | } | 142 | } |
143 | - return '<div><img style="width: 100px;height: 100px" src="'+value+'"/></div>'; | 143 | + return '<div><img style="width: 60px;height: 60px" src="'+value+ '?imageView/2/w/60/h/60"/></div>'; |
144 | } | 144 | } |
145 | }, { | 145 | }, { |
146 | title: "数据统计", | 146 | title: "数据统计", |
@@ -207,7 +207,7 @@ | @@ -207,7 +207,7 @@ | ||
207 | if(value == null || value==""){ | 207 | if(value == null || value==""){ |
208 | return ""; | 208 | return ""; |
209 | } | 209 | } |
210 | - return '<div><img style="width: 100px;height: 100px" src="'+value+'"/></div>'; | 210 | + return '<div><img style="width: 60px;height: 60px" src="'+value+'?imageView/2/w/60/h/60"/></div>'; |
211 | } | 211 | } |
212 | }, { | 212 | }, { |
213 | title: "简介", | 213 | title: "简介", |
-
Please register or login to post a comment