Skip to content

Commit 4c8b3ae

Browse files
committed
v0.7.12 主题
1 parent 58f1ecd commit 4c8b3ae

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

src/assets/image/light.png

18.4 KB
Loading

src/lib/util.zy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,12 @@ const zy: ZY = {
126126
})
127127
})
128128
},
129-
films (n: number = 0, p: number = 1, type: number = 0) {
129+
films (n: number = 0, p: number = 1, type: string = '0') {
130130
return new Promise((resolve, reject) => {
131131
this.site = sites[n]
132132
let url: string = sites[n].url
133133
let params: string = ''
134-
if (type === 0) {
134+
if (type === '0') {
135135
params = `${url}/?m=vod-index-pg-${p}.html`
136136
} else {
137137
params = `${url}/?m=vod-type-id-${type}-pg-${p}.html`

src/page/film.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,12 @@ export default Vue.extend({
9090
this.site = e
9191
this.tabs = '0'
9292
this.filmPage = 1
93-
this.getFilmList(e, 1, 0)
93+
this.getFilmList(e, 1, '0')
9494
},
95-
getFilmList (n: number = 0, p: number = 1, type: number = 0) {
95+
getFilmList (n: number = 0, p: number = 1, type: string = '0') {
9696
this.loading = true
9797
this.filmData = []
98+
this.tabs = type
9899
zy.films(n, p, type).then((res: any) => {
99100
this.filmTotal = res.total
100101
this.filmData = res.list

src/page/setting.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
</el-row>
1111
</el-row>
1212
<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>
1414
<el-row class="card-box">
1515
<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">
1717
<span size="mini">Light</span>
1818
</el-card>
1919
<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">
2121
<span size="mini">Dark</span>
2222
</el-card>
2323
</el-row>

0 commit comments

Comments
 (0)