wxd
/
MShopWeApp
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code »
Commit
07528fc2a235e03efacc55903066cdf1c0a3bc8b
Authored by
yvan.ni
2022-05-17 09:43:08 +0800
1 parent
b2b1f8ec
自定义模板 图片的高度要优化
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
components/diy_advertising/diy_advertising.js
components/diy_advertising/diy_advertising.js
View file @
07528fc
...
...
@@ -50,7 +50,7 @@ Component({
50
50
//宽高比
51
51
var ratio = imgwidth / imgheight;
52
52
//计算的高度值
53
- var viewHeight = 7
15
/ ratio;
53
+ var viewHeight = 7
50
/ ratio;
54
54
var hei=this.data.max_sw_height;
55
55
56
56
if (hei< viewHeight) {
...
...