Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

绑了,但没完全绑上 #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pages/index/index.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</view>

<scroll-view class="scrollView" scroll-x="true">
<image class="imgList" wx:for="...imgList" wx:key="index" src="../../image/{{index+1}}.png" data-hat-id="{{index+1}}" bind:tap="chooseImg"></image>
<image class="imgList" wx:for="{{imgList}}" wx:key="index" src="../../image/{{index+1}}.png" data-hat-id="{{index+1}}" bind:tap="chooseImg"></image>
</scroll-view>
<view class="flex">
<button class="flex-sub padding-lr-sm margin-xs radius cu-btn line-grey text-grey margin-tb-sm lg" bind:tap="chooseImage">选择图片</button>
Expand All @@ -42,4 +42,4 @@
idealclover
</view>
</navigator>
</view>
</view>