Showing
1 changed file
with
20 additions
and
7 deletions
| @@ -102,6 +102,7 @@ Page({ | @@ -102,6 +102,7 @@ Page({ | ||
| 102 | let seller=this.data.seller | 102 | let seller=this.data.seller |
| 103 | let pw=getApp().system.windowWidth; | 103 | let pw=getApp().system.windowWidth; |
| 104 | let ph=pw/375*620; | 104 | let ph=pw/375*620; |
| 105 | + ph=ph<603?603:ph; | ||
| 105 | this.pw=pw;this.ph=ph; | 106 | this.pw=pw;this.ph=ph; |
| 106 | let cai_jiu_bao=[]//菜酒包 | 107 | let cai_jiu_bao=[]//菜酒包 |
| 107 | if(seller.cate.length>0){ | 108 | if(seller.cate.length>0){ |
| @@ -206,17 +207,28 @@ Page({ | @@ -206,17 +207,28 @@ Page({ | ||
| 206 | } | 207 | } |
| 207 | }, | 208 | }, |
| 208 | { | 209 | { |
| 210 | + type:'rect', | ||
| 211 | + css: { | ||
| 212 | + //top:'500px', | ||
| 213 | + bottom:'45px', | ||
| 214 | + left: (pw / 2) + 'px', | ||
| 215 | + width: '58px', | ||
| 216 | + height: '58px', | ||
| 217 | + color:'#fefefe', | ||
| 218 | + borderRadius:'8px', | ||
| 219 | + align: 'center', | ||
| 220 | + }, | ||
| 221 | + }, | ||
| 222 | + { | ||
| 209 | type: 'image', | 223 | type: 'image', |
| 210 | url: this.data.qrcode, | 224 | url: this.data.qrcode, |
| 211 | css: { | 225 | css: { |
| 212 | - bottom: '45px', | 226 | + //top:'504px', |
| 227 | + bottom:'49px', | ||
| 213 | left: (pw / 2) + 'px', | 228 | left: (pw / 2) + 'px', |
| 214 | - width: '130rpx', | ||
| 215 | - height: '130rpx', | 229 | + width: '50px', |
| 230 | + height: '50px', | ||
| 216 | align: 'center', | 231 | align: 'center', |
| 217 | - borderRadius:'8px', | ||
| 218 | - borderWidth:'5px', | ||
| 219 | - borderColor:'#fff', | ||
| 220 | mode:'aspectFill' | 232 | mode:'aspectFill' |
| 221 | }, | 233 | }, |
| 222 | }, | 234 | }, |
| @@ -226,7 +238,8 @@ Page({ | @@ -226,7 +238,8 @@ Page({ | ||
| 226 | css:{ | 238 | css:{ |
| 227 | fontSize:'22rpx', | 239 | fontSize:'22rpx', |
| 228 | color:'#fefefe', | 240 | color:'#fefefe', |
| 229 | - bottom: '18px', | 241 | + //top: '568px', |
| 242 | + bottom:'18px', | ||
| 230 | left: (pw / 2) + 'px', | 243 | left: (pw / 2) + 'px', |
| 231 | align: 'center', | 244 | align: 'center', |
| 232 | } | 245 | } |
-
Please register or login to post a comment