Showing
1 changed file
with
16 additions
and
0 deletions
| @@ -75,6 +75,10 @@ Page({ | @@ -75,6 +75,10 @@ Page({ | ||
| 75 | } | 75 | } |
| 76 | if(seller.envi_image.length<1){ | 76 | if(seller.envi_image.length<1){ |
| 77 | seller.envi_image=['http://nosqn.colorcun.com/custom/lite-online/image/def-banner.png'] | 77 | seller.envi_image=['http://nosqn.colorcun.com/custom/lite-online/image/def-banner.png'] |
| 78 | + }else{ | ||
| 79 | + seller.envi_image.some((url,i)=>{ | ||
| 80 | + seller.envi_image[i]=url.replace('//qn.colorcun','//nosqn.colorcun') | ||
| 81 | + }) | ||
| 78 | } | 82 | } |
| 79 | if(seller.label_c.length>0) { | 83 | if(seller.label_c.length>0) { |
| 80 | let label_cstr=[]; | 84 | let label_cstr=[]; |
| @@ -83,6 +87,18 @@ Page({ | @@ -83,6 +87,18 @@ Page({ | ||
| 83 | }) | 87 | }) |
| 84 | seller.label_cstr=label_cstr.join(' | ') | 88 | seller.label_cstr=label_cstr.join(' | ') |
| 85 | } | 89 | } |
| 90 | + if(seller.room_image.length>0){ | ||
| 91 | + seller.room_image.some((url,i)=>{ | ||
| 92 | + seller.room_image[i]=url.replace('//qn.colorcun','//nosqn.colorcun') | ||
| 93 | + }) | ||
| 94 | + } | ||
| 95 | + if(seller.dishes.length>0){ | ||
| 96 | + seller.dishes.some((dishes)=>{ | ||
| 97 | + if(dishes.image){ | ||
| 98 | + dishes.image=dishes.image.replace('//qn.colorcun','//nosqn.colorcun') | ||
| 99 | + } | ||
| 100 | + }) | ||
| 101 | + } | ||
| 86 | this.setData({ | 102 | this.setData({ |
| 87 | seller:seller, | 103 | seller:seller, |
| 88 | hasOnlineReserve:seller.is_online_reserve==1, | 104 | hasOnlineReserve:seller.is_online_reserve==1, |
-
Please register or login to post a comment