Skip to content

Commit 42fff6e

Browse files
Virtual Scroll Menu Done.
1 parent b07ce18 commit 42fff6e

File tree

6 files changed

+262
-161
lines changed

6 files changed

+262
-161
lines changed

package-lock.json

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
},
1010
"dependencies": {
1111
"core-js": "^3.6.5",
12+
"jquery": "^3.6.0",
1213
"vue": "^2.6.11",
1314
"vuetify": "^2.4.0"
1415
},

src/App.vue

Lines changed: 197 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,213 @@
11
<template>
22
<v-app>
33
<v-main>
4-
<HelloWorld/>
4+
<MenuList :items="items" />
55
</v-main>
66
</v-app>
77
</template>
88

99
<script>
10-
import HelloWorld from './components/HelloWorld';
10+
import MenuList from "./components/MenuList";
1111
1212
export default {
13-
name: 'App',
13+
name: "App",
1414
1515
components: {
16-
HelloWorld,
16+
MenuList,
1717
},
1818
19-
data: () => ({
20-
//
21-
}),
19+
data() {
20+
return {
21+
items: [
22+
"0",
23+
"1",
24+
"2",
25+
"3",
26+
"4",
27+
"5",
28+
"6",
29+
"7",
30+
"8",
31+
"9",
32+
"10",
33+
"11",
34+
"12",
35+
"13",
36+
"14",
37+
"15",
38+
"16",
39+
"17",
40+
"18",
41+
"19",
42+
"20",
43+
"21",
44+
"22",
45+
"23",
46+
"24",
47+
"25",
48+
"26",
49+
"27",
50+
"28",
51+
"29",
52+
"30",
53+
"31",
54+
"32",
55+
"33",
56+
"34",
57+
"35",
58+
"36",
59+
"37",
60+
"38",
61+
"39",
62+
"40",
63+
"41",
64+
"42",
65+
"43",
66+
"44",
67+
"45",
68+
"46",
69+
"47",
70+
"48",
71+
"49",
72+
"50",
73+
"51",
74+
"52",
75+
"53",
76+
"54",
77+
"55",
78+
"56",
79+
"57",
80+
"58",
81+
"59",
82+
"60",
83+
"61",
84+
"62",
85+
"63",
86+
"64",
87+
"65",
88+
"66",
89+
"67",
90+
"68",
91+
"69",
92+
"70",
93+
"71",
94+
"72",
95+
"73",
96+
"74",
97+
"75",
98+
"76",
99+
"77",
100+
"78",
101+
"79",
102+
"80",
103+
"81",
104+
"82",
105+
"83",
106+
"84",
107+
"85",
108+
"86",
109+
"87",
110+
"88",
111+
"89",
112+
"90",
113+
"91",
114+
"92",
115+
"93",
116+
"94",
117+
"95",
118+
"96",
119+
"97",
120+
"98",
121+
"99",
122+
"100",
123+
"101",
124+
"102",
125+
"103",
126+
"104",
127+
"105",
128+
"106",
129+
"107",
130+
"108",
131+
"109",
132+
"110",
133+
"111",
134+
"112",
135+
"113",
136+
"114",
137+
"115",
138+
"116",
139+
"117",
140+
"118",
141+
"119",
142+
"120",
143+
"121",
144+
"122",
145+
"123",
146+
"124",
147+
"125",
148+
"126",
149+
"127",
150+
"128",
151+
"129",
152+
"130",
153+
"131",
154+
"132",
155+
"133",
156+
"134",
157+
"135",
158+
"136",
159+
"137",
160+
"138",
161+
"139",
162+
"140",
163+
"141",
164+
"142",
165+
"143",
166+
"144",
167+
"145",
168+
"146",
169+
"147",
170+
"148",
171+
"149",
172+
"150",
173+
"151",
174+
"152",
175+
"153",
176+
"154",
177+
"155",
178+
"156",
179+
"157",
180+
"158",
181+
"159",
182+
"160",
183+
"161",
184+
"162",
185+
"163",
186+
"164",
187+
"165",
188+
"166",
189+
"167",
190+
"168",
191+
"169",
192+
"170",
193+
"171",
194+
"172",
195+
"173",
196+
"174",
197+
"175",
198+
"176",
199+
"177",
200+
"178",
201+
"179",
202+
"180",
203+
"181",
204+
"182",
205+
"183",
206+
"184",
207+
"185",
208+
"186",
209+
],
210+
};
211+
},
22212
};
23213
</script>

src/components/HelloWorld.vue

Lines changed: 0 additions & 151 deletions
This file was deleted.

src/components/List.vue

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)