From 525d6af888359c8d9f6d7e6212ae82c1baafd9e8 Mon Sep 17 00:00:00 2001 From: buvta <12312540+buvta@users.noreply.github.com> Date: Sat, 31 Oct 2020 18:33:08 +0800 Subject: [PATCH] =?UTF-8?q?Play=E6=94=AF=E6=8C=81=E9=A2=91=E9=81=93?= =?UTF-8?q?=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Film.vue | 3 +- src/components/Play.vue | 72 +++++++++++++++++++++++++++++++++++++++-- 2 files changed, 70 insertions(+), 5 deletions(-) diff --git a/src/components/Film.vue b/src/components/Film.vue index eaa66a2..e0c19d3 100644 --- a/src/components/Film.vue +++ b/src/components/Film.vue @@ -619,7 +619,6 @@ export default { } }, querySearch (queryString, cb) { - if (this.searchList.length === 0) return var searchList = this.searchList.slice(0, -1) var results = queryString ? searchList.filter(this.createFilter(queryString)) : this.searchList // 调用 callback 返回建议列表的数据 @@ -748,7 +747,7 @@ export default { if (this.searchGroup === undefined) setting.find().then(res => { this.searchGroup = res.searchGroup }) }) }, - getSearchViewMode() { + getSearchViewMode () { setting.find().then(res => { this.searchViewMode = res.searchViewMode === undefined ? 'picture' : res.searchViewMode }) diff --git a/src/components/Play.vue b/src/components/Play.vue index 2cf6152..3a28207 100644 --- a/src/components/Play.vue +++ b/src/components/Play.vue @@ -192,10 +192,23 @@
- + + +
@@ -205,7 +218,7 @@