File tree Expand file tree Collapse file tree 6 files changed +19
-26
lines changed
Expand file tree Collapse file tree 6 files changed +19
-26
lines changed Original file line number Diff line number Diff line change 77 <div class =" main" >
88 <div class =" list-container" >
99 <virtual-list v-show =" !!messages.length" class =" stream scroll-touch" :class =" { overflow: overflow }" ref =" vsl"
10- :size =" 80"
11- :keeps =" 30"
1210 :data-key =" 'sid'"
1311 :data-sources =" messages"
1412 :data-component =" messageComponent"
13+
14+ :estimate-size =" 100"
1515 :item-class =" 'stream-item'"
1616 :item-class-add =" addItemClass"
1717 @resized =" onItemRendered"
Original file line number Diff line number Diff line change 1212
1313 <div v-show =" isShowView" >
1414 <virtual-list class =" list-dynamic scroll-touch"
15- :size =" 80"
16- :keeps =" 30"
17- :item-class =" 'list-item-dynamic'"
18-
1915 :data-key =" 'id'"
2016 :data-sources =" items"
2117 :data-component =" itemComponent"
18+
19+ :estimate-size =" 80"
20+ :item-class =" 'list-item-dynamic'"
2221 />
2322 </div >
2423
Original file line number Diff line number Diff line change 88
99 <div v-show =" isShowView" >
1010 <virtual-list class =" list scroll-touch"
11- :size =" 50"
12- :keeps =" 30"
13- :item-class =" 'list-item-fixed'"
14-
1511 :data-key =" 'id'"
1612 :data-sources =" items"
1713 :data-component =" itemComponent"
14+
15+ :estimate-size =" 50"
16+ :item-class =" 'list-item-fixed'"
1817 />
1918 </div >
2019
Original file line number Diff line number Diff line change 88
99 <div v-show =" isShowView" >
1010 <virtual-list class =" list-horizontal scroll-touch"
11- :size =" 110"
12- :keeps =" 30"
13- :direction =" 'horizontal'"
14- :wrap-class =" 'wrapper'"
15- :item-class =" 'list-item-horizontal'"
16-
1711 :data-key =" 'id'"
1812 :data-sources =" items"
1913 :data-component =" itemComponent"
14+
15+ :estimate-size =" 110"
16+ :direction =" 'horizontal'"
17+ :wrap-class =" 'wrapper'"
18+ :item-class =" 'list-item-horizontal'"
2019 />
2120 </div >
2221
Original file line number Diff line number Diff line change 1010
1111 <div v-show =" isShowView" >
1212 <virtual-list class =" list-infinite scroll-touch"
13- :size =" 70"
14- :keeps =" 30"
15- :item-class =" 'list-item-infinite'"
16- :footer-class =" 'loader-wrapper'"
17- :disabled =" false"
18-
1913 :data-key =" 'id'"
2014 :data-sources =" items"
2115 :data-component =" itemComponent"
2216
17+ :estimate-size =" 70"
18+ :item-class =" 'list-item-infinite'"
19+ :footer-class =" 'loader-wrapper'"
2320 v-on:totop =" onScrollToTop"
2421 v-on:tobottom =" onScrollToBottom"
2522 >
Original file line number Diff line number Diff line change 1010
1111 <div v-show =" isShowView" >
1212 <virtual-list class =" list-keep scroll-touch"
13- :size =" 60"
14- :keeps =" 30"
15- :item-class =" 'list-item-keep'"
16-
1713 :data-key =" 'id'"
1814 :data-sources =" items"
1915 :data-component =" itemComponent"
16+
17+ :estimate-size =" 60"
18+ :item-class =" 'list-item-keep'"
2019 />
2120 </div >
2221
You can’t perform that action at this time.
0 commit comments