File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ < html >
2
+ < head >
3
+ < meta charset ="UTF-8 " />
4
+ < meta name ="viewport " content ="width=device-width,initial-scale=1.0 " />
5
+ < script src ="https://unpkg.com/vue@next "> </ script >
6
+ <!-- import CSS -->
7
+ < link rel ="stylesheet " href ="https://unpkg.com/element-plus/dist/index.css ">
8
+ <!-- import JavaScript -->
9
+ < script src ="https://unpkg.com/element-plus "> </ script >
10
+ < title > 阿里云盘资源</ title >
11
+ </ head >
12
+ < body >
13
+ < div id ="app ">
14
+
15
+ < el-table :data ="table " style ="width: 100% " :row-class-name ="tableRowClassName ">
16
+ < el-table-column prop ="date " label ="日期 " width ="180 "> </ el-table-column >
17
+ < el-table-column prop ="name " label ="名称 " width ="600 "> </ el-table-column >
18
+ < el-table-column label ="链接 ">
19
+ < template v-slot ="scope ">
20
+ < a :href ="scope.row.url "
21
+ target ="_blank "
22
+ class ="buttonText "> {{scope.row.url}}</ a >
23
+ </ template >
24
+ </ el-table >
25
+ </ div >
26
+
27
+ < script >
28
+ const App = {
29
+ data ( ) {
30
+ return {
31
+ table : $ { elements}
32
+
33
+ } ;
34
+ }
35
+ } ;
36
+ const app = Vue . createApp ( App ) ;
37
+ app . use ( ElementPlus ) ;
38
+ app . mount ( "#app" ) ;
39
+ </ script >
40
+ </ body >
41
+ </ html >
You can’t perform that action at this time.
0 commit comments