Commit 61785b4203e6a6b86e33bb53c70f4cbb667eab74
1 parent
02e677ec
广告滚动的图片显示被截取了一段
Showing
1 changed file
with
1 additions
and
2 deletions
components/diy_advertising/diy_advertising.js
... | ... | @@ -33,9 +33,8 @@ Component({ |
33 | 33 | //宽高比 |
34 | 34 | var ratio = imgwidth / imgheight; |
35 | 35 | //计算的高度值 |
36 | - var viewHeight = 715 / ratio; | |
36 | + var viewHeight = 750 / ratio; | |
37 | 37 | var hei=this.data.max_sw_height; |
38 | - | |
39 | 38 | if (hei< viewHeight) { |
40 | 39 | this.setData({ max_sw_height: viewHeight }); |
41 | 40 | } | ... | ... |