diff --git a/components/diy_advertising/diy_advertising.js b/components/diy_advertising/diy_advertising.js index c0245df..b2a4786 100644 --- a/components/diy_advertising/diy_advertising.js +++ b/components/diy_advertising/diy_advertising.js @@ -33,9 +33,8 @@ Component({ //宽高比 var ratio = imgwidth / imgheight; //计算的高度值 - var viewHeight = 715 / ratio; + var viewHeight = 750 / ratio; var hei=this.data.max_sw_height; - if (hei< viewHeight) { this.setData({ max_sw_height: viewHeight }); }