File tree Expand file tree Collapse file tree 1 file changed +34
-2
lines changed Expand file tree Collapse file tree 1 file changed +34
-2
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div class =" index" >
3
3
<github-corner />
4
+
5
+ <h2 class =" name" >vue-virtual-scroll-list</h2 >
6
+
7
+ <div class =" head" >
8
+ <img src =" https://nodei.co/npm/vue-virtual-scroll-list.png?downloads=true&downloadRank=true&stars=true" >
9
+ </div >
10
+
11
+ <h3 class =" title" >What's news in v2.0</h3 >
12
+ <ul >
13
+ <li >Support header slot, footer slot.</li >
14
+ <li >Code structure is more reasonable and good maintainability.</li >
15
+ <li >Abandoned v-for mode and variable mode, all condition unify into one mode.</li >
16
+ <li >Don't have to care about each item size, in sometimes it's difficult to know that.</li >
17
+ </ul >
18
+
19
+ <h3 class =" title" >Todos</h3 >
20
+ <ul >
21
+ <li >Improve calculate offset efficient.</li >
22
+ <li >Support page scroll, table layout.</li >
23
+ <li >......</li >
24
+ </ul >
4
25
</div >
5
26
</template >
6
27
@@ -9,8 +30,19 @@ export default {
9
30
name: ' index' ,
10
31
11
32
data () {
12
- return {
13
- }
33
+ return {}
14
34
}
15
35
}
16
36
</script >
37
+
38
+ <style lang="less" scoped>
39
+ .name {
40
+ margin : 1em 0 ;
41
+ }
42
+ .head {
43
+ margin-bottom : 2em ;
44
+ }
45
+ .title {
46
+ margin : 1em 0 ;
47
+ }
48
+ </style >
You can’t perform that action at this time.
0 commit comments