Showing
1 changed file
with
18 additions
and
6 deletions
| @@ -268,26 +268,38 @@ Page({ | @@ -268,26 +268,38 @@ Page({ | ||
| 268 | this.GetSellerDetail(); | 268 | this.GetSellerDetail(); |
| 269 | }, | 269 | }, |
| 270 | reviweBanner(){ | 270 | reviweBanner(){ |
| 271 | + let urls=[]; | ||
| 272 | + this.data.seller.envi_image.forEach(url=>{ | ||
| 273 | + if(url){ | ||
| 274 | + urls.push(url+'-zdmask') | ||
| 275 | + } | ||
| 276 | + }) | ||
| 271 | wx.previewImage({ | 277 | wx.previewImage({ |
| 272 | - current:this.data.seller.envi_image[this.data.current], | ||
| 273 | - urls:this.data.seller.envi_image | 278 | + current:this.data.seller.envi_image[this.data.current]+'-zdmask', |
| 279 | + urls:urls | ||
| 274 | }) | 280 | }) |
| 275 | }, | 281 | }, |
| 276 | reviweRoomImage(e){ | 282 | reviweRoomImage(e){ |
| 283 | + let urls=[]; | ||
| 284 | + this.data.seller.room_image.forEach(url=>{ | ||
| 285 | + if(url){ | ||
| 286 | + urls.push(url+'-zdmask') | ||
| 287 | + } | ||
| 288 | + }) | ||
| 277 | wx.previewImage({ | 289 | wx.previewImage({ |
| 278 | - current:util.attr(e,'current'), | ||
| 279 | - urls:this.data.seller.room_image | 290 | + current:util.attr(e,'current')+'-zdmask', |
| 291 | + urls:urls | ||
| 280 | }) | 292 | }) |
| 281 | }, | 293 | }, |
| 282 | reviweDishesImage(e){ | 294 | reviweDishesImage(e){ |
| 283 | let urls=[]; | 295 | let urls=[]; |
| 284 | this.data.seller.dishes.forEach(d=>{ | 296 | this.data.seller.dishes.forEach(d=>{ |
| 285 | if(d.image){ | 297 | if(d.image){ |
| 286 | - urls.push(d.image) | 298 | + urls.push(d.image+'-zdmask') |
| 287 | } | 299 | } |
| 288 | }) | 300 | }) |
| 289 | wx.previewImage({ | 301 | wx.previewImage({ |
| 290 | - current:util.attr(e,'current'), | 302 | + current:util.attr(e,'current')+'-zdmask', |
| 291 | urls:urls | 303 | urls:urls |
| 292 | }) | 304 | }) |
| 293 | }, | 305 | }, |
-
Please register or login to post a comment