Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
2ea9721a
Commit
2ea9721a
authored
May 20, 2023
by
hxx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
轮播滑动 bug 修复
parent
bd5ce047
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
static/nativeComponents/GoodsList/index.wxml
+10
-7
No files found.
static/nativeComponents/GoodsList/index.wxml
View file @
2ea9721a
...
@@ -149,16 +149,19 @@
...
@@ -149,16 +149,19 @@
<view class="goods-heap-Item" wx:if="{{datas.componentData.style==='heap'}}">
<view class="goods-heap-Item" wx:if="{{datas.componentData.style==='heap'}}">
<heap-item datas="{{datas}}"></heap-item>
<heap-item datas="{{datas}}"></heap-item>
</view>
</view>
<!-- 轮播滑动 -->
<view wx:if="{{datas.componentData.style === 'swipe'}}">
<view wx:if="{{datas.componentData.style === 'swipe'}}">
<swiper bindchange="handleSwipeChange">
<swiper bindchange="handleSwipeChange">
<block wx:for="{{swipeInfo}}">
<block wx:for="{{swipeInfo}}">
<swiper-item style="display: grid;gap:{{datas.componentData.proGap*2}}rpx;grid-template-columns:repeat({{datas.componentData.columnNum}}, 1fr)">
<swiper-item>
<view wx:for="{{item}}" wx:for-index="indey">
<view style="display: grid;gap:{{datas.componentData.proGap*2}}rpx;grid-template-columns:repeat({{datas.componentData.columnNum}}, 1fr)">
<goods-item
<view wx:for="{{item}}" wx:for-index="indey">
datas="{{datas}}"
<goods-item
items="{{datas.componentData.goodsList[index * datas.componentData.columnNum + indey]}}"
datas="{{datas}}"
indexs="{{index}}"
items="{{datas.componentData.goodsList[index * datas.componentData.columnNum + indey]}}"
></goods-item>
indexs="{{index}}"
></goods-item>
</view>
</view>
</view>
</swiper-item>
</swiper-item>
</block>
</block>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment