From 61785b4203e6a6b86e33bb53c70f4cbb667eab74 Mon Sep 17 00:00:00 2001 From: yvan.ni Date: Fri, 14 May 2021 10:36:31 +0800 Subject: [PATCH] 广告滚动的图片显示被截取了一段 --- components/diy_advertising/diy_advertising.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 }); } -- libgit2 0.21.4