Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
store-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 410e137d
authored
Nov 01, 2022
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
更改图片
1 parent
14fd1ce3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
pages/tab/discovery/components/product/product.wxml
pages/tab/discovery/constant/data.js
pages/tab/discovery/discovery.wxml
pages/tab/discovery/components/product/product.wxml
View file @
410e137
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<view class="prod-card">
<view class="prod-card">
<view class="card-img">
<view class="card-img">
<!-- <text class="img-desc">轻改类</text> -->
<!-- <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>
<view class="prod-info">
<view class="prod-info">
...
...
pages/tab/discovery/constant/data.js
View file @
410e137
...
@@ -73,7 +73,7 @@ var senceData = [
...
@@ -73,7 +73,7 @@ var senceData = [
]
]
},
},
{
{
name
:
'0-
12
个月'
,
name
:
'0-
6
个月'
,
img
:
'scene_within_12mth.png'
,
img
:
'scene_within_12mth.png'
,
active
:
'icon-car21'
,
active
:
'icon-car21'
,
playImg
:
'img2'
,
playImg
:
'img2'
,
...
@@ -107,7 +107,7 @@ var senceData = [
...
@@ -107,7 +107,7 @@ var senceData = [
]
]
},
},
{
{
name
:
'
12
个月以上'
,
name
:
'
6
个月以上'
,
img
:
'scene_more_12mth.png'
,
img
:
'scene_more_12mth.png'
,
active
:
'icon-car31'
,
active
:
'icon-car31'
,
playImg
:
'img3'
,
playImg
:
'img3'
,
...
...
pages/tab/discovery/discovery.wxml
View file @
410e137
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<swiper bindchange="changeSwiper" current="{{currentId}}" class="scene-wrap" previousMargin="40rpx" nextMargin="40rpx">
<swiper bindchange="changeSwiper" current="{{currentId}}" class="scene-wrap" previousMargin="40rpx" nextMargin="40rpx">
<block wx:for="{{senceData}}" wx:key="index">
<block wx:for="{{senceData}}" wx:key="index">
<swiper-item item-id="{{index}}" wx:if="{{item.show}}">
<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>
</swiper-item>
</block>
</block>
</swiper>
</swiper>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment