diff --git a/src/assets/scss/style.scss b/src/assets/scss/style.scss index a9b8485..3b149f2 100644 --- a/src/assets/scss/style.scss +++ b/src/assets/scss/style.scss @@ -78,7 +78,18 @@ } } } - +.zy-checkbox{ + position: relative; + display: flex; + width: 200px; + height: 30px; + border-radius: 3px; + vertical-align: middle; + align-items: center; + .search-all-check-input{ + cursor: pointer; + } +} // table .zy-table{ display: flex; @@ -152,7 +163,6 @@ } } } - // scroll .zy-scroll{ &::-webkit-scrollbar{ @@ -168,7 +178,6 @@ position: absolute; } } - // loading .zy-loading{ width: 100%; diff --git a/src/assets/scss/theme/dark.scss b/src/assets/scss/theme/dark.scss index f6bea28..b80b937 100644 --- a/src/assets/scss/theme/dark.scss +++ b/src/assets/scss/theme/dark.scss @@ -32,6 +32,15 @@ } } } + .zy-checkbox{ + color: var(--d-fc-1); + background-color: var(--d-bgc-1); + box-shadow: var(--d-bsc); + transition: all 0.3s cubic-bezier(.25,.8,.25,1); + &:hover{ + box-shadow: var(--d-bsc-hover); + } + } .zy-table{ color: var(--d-fc-2); .tHeader{ diff --git a/src/assets/scss/theme/green.scss b/src/assets/scss/theme/green.scss index ccefb56..0571e7d 100644 --- a/src/assets/scss/theme/green.scss +++ b/src/assets/scss/theme/green.scss @@ -32,6 +32,15 @@ } } } + .zy-checkbox{ + color: var(--g-fc-1); + background-color: var(--g-bgc-1); + box-shadow: var(--g-bsc); + transition: all 0.3s cubic-bezier(.25,.8,.25,1); + &:hover{ + box-shadow: var(--g-bsc-hover); + } + } .zy-table{ color: var(--g-fc-2); .tHeader{ diff --git a/src/assets/scss/theme/light.scss b/src/assets/scss/theme/light.scss index 89a4cb5..ea355b3 100644 --- a/src/assets/scss/theme/light.scss +++ b/src/assets/scss/theme/light.scss @@ -32,6 +32,15 @@ } } } + .zy-checkbox{ + color: var(--l-fc-1); + background-color: var(--l-bgc-1); + box-shadow: var(--l-bsc); + transition: all 0.3s cubic-bezier(.25,.8,.25,1); + &:hover{ + box-shadow: var(--l-bsc-hover); + } + } .zy-table{ color: var(--l-fc-2); .tHeader{ diff --git a/src/assets/scss/theme/pink.scss b/src/assets/scss/theme/pink.scss index ccde16b..0dc954b 100644 --- a/src/assets/scss/theme/pink.scss +++ b/src/assets/scss/theme/pink.scss @@ -32,6 +32,15 @@ } } } + .zy-checkbox{ + color: var(--p-fc-1); + background-color: var(--p-bgc-1); + box-shadow: var(--p-bsc); + transition: all 0.3s cubic-bezier(.25,.8,.25,1); + &:hover{ + box-shadow: var(--p-bsc-hover); + } + } .zy-table{ color: var(--p-fc-2); .tHeader{ diff --git a/src/components/Detail.vue b/src/components/Detail.vue index 76f0ade..ed883d2 100644 --- a/src/components/Detail.vue +++ b/src/components/Detail.vue @@ -121,9 +121,9 @@ export default { playEvent (n) { history.find({ site: this.detail.key, ids: this.detail.info.id }).then(res => { if (res) { - this.video = { key: res.site, info: { id: res.ids, name: res.name, index: n } } + this.video = { key: res.site, info: { id: res.ids, name: res.name, index: n, site: this.detail.site } } } else { - this.video = { key: this.detail.key, info: { id: this.detail.info.id, name: this.detail.info.name, index: n } } + this.video = { key: this.detail.key, info: { id: this.detail.info.id, name: this.detail.info.name, index: n, site: this.detail.site } } } }) @@ -131,12 +131,13 @@ export default { this.detail.show = false }, starEvent () { - star.find({ site: this.detail.key, ids: this.info.id }).then(res => { + star.find({ key: this.detail.site.key, ids: this.info.id }).then(res => { if (res) { this.$message.info('已存在') } else { const docs = { - site: this.detail.key, + key: this.detail.site.key, + site: this.detail.site, ids: this.info.id, name: this.info.name, type: this.info.type, diff --git a/src/components/Film.vue b/src/components/Film.vue index c84a9a0..24c4491 100644 --- a/src/components/Film.vue +++ b/src/components/Film.vue @@ -18,14 +18,17 @@
-
+
+
+ 搜索所有资源 +
@@ -37,16 +40,16 @@