File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 117117 url: ' list-triplex-row'
118118 }]
119119 },
120- // #ifndef MP-BAIDU
121120 {
122121 name: ' 右侧索引列表 indexList' ,
123122 url: ' index-list'
124123 },
125- // #endif
126124 {
127125 name: ' 图文列表' ,
128126 url: ' media-list'
Original file line number Diff line number Diff line change 22 <view class =" page" >
33 <scroll-view class =" scrollList" scroll-y :scroll-into-view =" scrollViewId" :style =" {height:winHeight + 'px'}" >
44 <view class =" uni-list" >
5- <block v-for =" (list,key) in lists" :key =" key" v-if =" list.data[0]" >
6- <view class =" uni-list-cell-divider" :id =" list.letter" >
7- {{list.letter}}
8- </view >
9- <view class =" uni-list-cell" hover-class =" uni-list-cell-hover" v-for =" (item,index) in list.data" :key =" index"
10- :class =" list.data.length -1 == index ? 'uni-list-cell-last' : ''" >
11- <view class =" uni-list-cell-navigate" >
12- {{item}}
5+ <block v-for =" (list, key) in lists" :key =" key" >
6+ <block v-if =" list.data.length" >
7+ <view class =" uni-list-cell-divider" :id =" list.letter" >
8+ {{list.letter}}
139 </view >
14- </view >
10+ <view class =" uni-list-cell" hover-class =" uni-list-cell-hover" v-for =" (item,index) in list.data" :key =" index"
11+ :class =" list.data.length -1 == index ? 'uni-list-cell-last' : ''" >
12+ <view class =" uni-list-cell-navigate" >
13+ {{item}}
14+ </view >
15+ </view >
16+ </block >
1517 </block >
1618 </view >
1719 </scroll-view >
You can’t perform that action at this time.
0 commit comments