File tree Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -126,12 +126,12 @@ const zy: ZY = {
126
126
} )
127
127
} )
128
128
} ,
129
- films ( n : number = 0 , p : number = 1 , type : number = 0 ) {
129
+ films ( n : number = 0 , p : number = 1 , type : string = '0' ) {
130
130
return new Promise ( ( resolve , reject ) => {
131
131
this . site = sites [ n ]
132
132
let url : string = sites [ n ] . url
133
133
let params : string = ''
134
- if ( type === 0 ) {
134
+ if ( type === '0' ) {
135
135
params = `${ url } /?m=vod-index-pg-${ p } .html`
136
136
} else {
137
137
params = `${ url } /?m=vod-type-id-${ type } -pg-${ p } .html`
Original file line number Diff line number Diff line change @@ -90,11 +90,12 @@ export default Vue.extend({
90
90
this .site = e
91
91
this .tabs = ' 0'
92
92
this .filmPage = 1
93
- this .getFilmList (e , 1 , 0 )
93
+ this .getFilmList (e , 1 , ' 0 ' )
94
94
},
95
- getFilmList (n : number = 0 , p : number = 1 , type : number = 0 ) {
95
+ getFilmList (n : number = 0 , p : number = 1 , type : string = ' 0 ' ) {
96
96
this .loading = true
97
97
this .filmData = []
98
+ this .tabs = type
98
99
zy .films (n , p , type ).then ((res : any ) => {
99
100
this .filmTotal = res .total
100
101
this .filmData = res .list
Original file line number Diff line number Diff line change 10
10
</el-row >
11
11
</el-row >
12
12
<el-row class =" item theme" >
13
- <el-row class =" title" ><i class =" el-icon-picture-outline-round" ></i ><span >主题 Coming soon </span ></el-row >
13
+ <el-row class =" title" ><i class =" el-icon-picture-outline-round" ></i ><span >主题 (即将来到...) </span ></el-row >
14
14
<el-row class =" card-box" >
15
15
<el-card shadow =" hover" class =" card" >
16
- <img src =" https://shadow.elemecdn.com/app/element/hamburger.9cf7b091-55e9-11e9-a976-7f4d0b07eef6 .png" class =" image" >
16
+ <img src =" @/assets/image/light .png" class =" image" >
17
17
<span size =" mini" >Light</span >
18
18
</el-card >
19
19
<el-card shadow =" hover" class =" card" >
20
- <img src =" https://shadow.elemecdn.com/app/element/hamburger.9cf7b091-55e9-11e9-a976-7f4d0b07eef6 .png" class =" image" >
20
+ <img src =" @/assets/image/light .png" class =" image" >
21
21
<span size =" mini" >Dark</span >
22
22
</el-card >
23
23
</el-row >
You can’t perform that action at this time.
0 commit comments