Commit 3b244e0b48a78f401aaf8d3160517a791f5ddebd

Authored by vking
1 parent 9e317a06
Showing 1 changed file with 16 additions and 0 deletions
... ... @@ -75,6 +75,10 @@ Page({
}
if(seller.envi_image.length<1){
seller.envi_image=['http://nosqn.colorcun.com/custom/lite-online/image/def-banner.png']
}else{
seller.envi_image.some((url,i)=>{
seller.envi_image[i]=url.replace('//qn.colorcun','//nosqn.colorcun')
})
}
if(seller.label_c.length>0) {
let label_cstr=[];
... ... @@ -83,6 +87,18 @@ Page({
})
seller.label_cstr=label_cstr.join(' | ')
}
if(seller.room_image.length>0){
seller.room_image.some((url,i)=>{
seller.room_image[i]=url.replace('//qn.colorcun','//nosqn.colorcun')
})
}
if(seller.dishes.length>0){
seller.dishes.some((dishes)=>{
if(dishes.image){
dishes.image=dishes.image.replace('//qn.colorcun','//nosqn.colorcun')
}
})
}
this.setData({
seller:seller,
hasOnlineReserve:seller.is_online_reserve==1,
... ...