Commit 1e66e42a by 前端

Merge branch 'zq_dev_3.0' into 'v3.0'

更改图片

See merge request !120
2 parents 275947ff 410e137d
......@@ -9,7 +9,7 @@
<view class="prod-card">
<view class="card-img">
<!-- <text class="img-desc">轻改类</text> -->
<image src="{{IMGURL}}prod/{{senceData[actNum].productList[activeNavIdx].img}}.png"></image>
<image src="{{IMGURL}}prod/{{senceData[actNum].productList[activeNavIdx].img}}.png?v={{img_version}}"></image>
</view>
<view class="prod-info">
......
......@@ -73,7 +73,7 @@ var senceData = [
]
},
{
name: '0-12个月',
name: '0-6个月',
img: 'scene_within_12mth.png',
active: 'icon-car21',
playImg: 'img2',
......@@ -107,7 +107,7 @@ var senceData = [
]
},
{
name: '12个月以上',
name: '6个月以上',
img: 'scene_more_12mth.png',
active: 'icon-car31',
playImg: 'img3',
......
......@@ -10,7 +10,7 @@
<swiper bindchange="changeSwiper" current="{{currentId}}" class="scene-wrap" previousMargin="40rpx" nextMargin="40rpx">
<block wx:for="{{senceData}}" wx:key="index">
<swiper-item item-id="{{index}}" wx:if="{{item.show}}">
<image webp class="scene-img" src="{{IMGURL}}{{item.img}}"></image>
<image webp class="scene-img" src="{{IMGURL}}{{item.img}}?v={{img_version}}"></image>
</swiper-item>
</block>
</swiper>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!