Commit 1d600d8e by luyt

fix:图片加载调整

1 parent 004dc86c
......@@ -186,10 +186,10 @@ Page({
let { index } = e.currentTarget.dataset;
switch (index) {
case 0:
this.wechatFn();
this.download();
break;
case 1:
this.download();
this.wechatFn();
break;
}
},
......
......@@ -31,10 +31,12 @@
</view>
</view>
</view>
<image class="img" style="height:{{imgHeight}}px" src="{{IMG_URL}}index/longpic{{actNum+1}}.png" bindload="onloadFn" />
</view>
<button></button>
</view> -->
<!-- 用于图片加载事件 -->
<image class="img" src="{{IMG_URL}}index/longpic{{actNum+1}}.png" bindload="onloadFn" />
<view class="btns-wrap">
<view class="top">
<view class="btn" wx:for="{{btnList}}" wx:key="name" bindtap="handleClick" data-index="{{index}}">
......
......@@ -247,7 +247,7 @@ var senceData = [
"sceneCode":"SC001",
productList: [
{
img: 'product-img1',
img: 'product-img9',
proName: '新能源0元换购',
price: '100',
// profit: '92.4万',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!