We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fac18f9 commit efd45f5Copy full SHA for efd45f5
examples/pages/components/layout/pages/index-list/index.wxml
@@ -6,10 +6,11 @@
6
l-selected-class="l-selected-class"
7
l-tip-class="l-tip-class"
8
style="width:100%"
9
+ sidebar-data="{{sideBarData}}"
10
l-tip-text-class="l-tip-text-class">
- <block wx:for="{{26}}" wx:key="index" wx:for-index="anchorIndex">
11
+ <block wx:for="{{sideBarData.length}}" wx:key="index" wx:for-index="anchorIndex">
12
<l-index-anchor/>
- <block wx:for="{{5}}" wx:key="index" wx:for-index="itemIndex">
13
+ <block wx:for="{{2}}" wx:key="index" wx:for-index="itemIndex">
14
<view class="person-item">
15
<image lazy-load="{{true}}" class="person-avatar"
16
src="{{util.getApi(anchorIndex%3)}}&xxx={{anchorIndex*10+itemIndex}}"></image>
0 commit comments