|
...
|
...
|
@@ -268,26 +268,38 @@ Page({ |
|
|
|
this.GetSellerDetail();
|
|
|
|
},
|
|
|
|
reviweBanner(){
|
|
|
|
let urls=[];
|
|
|
|
this.data.seller.envi_image.forEach(url=>{
|
|
|
|
if(url){
|
|
|
|
urls.push(url+'-zdmask')
|
|
|
|
}
|
|
|
|
})
|
|
|
|
wx.previewImage({
|
|
|
|
current:this.data.seller.envi_image[this.data.current],
|
|
|
|
urls:this.data.seller.envi_image
|
|
|
|
current:this.data.seller.envi_image[this.data.current]+'-zdmask',
|
|
|
|
urls:urls
|
|
|
|
})
|
|
|
|
},
|
|
|
|
reviweRoomImage(e){
|
|
|
|
let urls=[];
|
|
|
|
this.data.seller.room_image.forEach(url=>{
|
|
|
|
if(url){
|
|
|
|
urls.push(url+'-zdmask')
|
|
|
|
}
|
|
|
|
})
|
|
|
|
wx.previewImage({
|
|
|
|
current:util.attr(e,'current'),
|
|
|
|
urls:this.data.seller.room_image
|
|
|
|
current:util.attr(e,'current')+'-zdmask',
|
|
|
|
urls:urls
|
|
|
|
})
|
|
|
|
},
|
|
|
|
reviweDishesImage(e){
|
|
|
|
let urls=[];
|
|
|
|
this.data.seller.dishes.forEach(d=>{
|
|
|
|
if(d.image){
|
|
|
|
urls.push(d.image)
|
|
|
|
urls.push(d.image+'-zdmask')
|
|
|
|
}
|
|
|
|
})
|
|
|
|
wx.previewImage({
|
|
|
|
current:util.attr(e,'current'),
|
|
|
|
current:util.attr(e,'current')+'-zdmask',
|
|
|
|
urls:urls
|
|
|
|
})
|
|
|
|
},
|
...
|
...
|
|