From 5dc0613aeb9a369ba8ce34695357f8ba51380b4e Mon Sep 17 00:00:00 2001 From: haiyangcui Date: Sat, 22 Aug 2020 12:08:19 +0200 Subject: [PATCH] =?UTF-8?q?=E5=88=97=E8=A1=A8=E8=87=AA=E9=80=82=E5=BA=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/scss/style.scss | 31 ++++++++++++++++--------------- src/components/Film.vue | 3 +-- src/components/History.vue | 4 ++-- src/components/Star.vue | 4 ++-- 4 files changed, 21 insertions(+), 21 deletions(-) diff --git a/src/assets/scss/style.scss b/src/assets/scss/style.scss index abf9532..57f245b 100644 --- a/src/assets/scss/style.scss +++ b/src/assets/scss/style.scss @@ -131,34 +131,35 @@ cursor: pointer; span{ display: flex; - width: 180px; font-size: 13px; height: 50px; line-height: 50px; + overflow: hidden; + margin-right: 5px; &.name{ flex: 1; - padding-left: 15px; - overflow: hidden; - text-overflow: ellipsis; + min-width: 100px; white-space: nowrap; } - &.note{ - width: 180px; - } &.type{ - width: 120px; - } - &.last{ - width: 160px; + width: 10%; } &.time{ - width: 60px; + width: 10%; } - &.from{ - width: 120px; + &.last{ + width: 10%; + } + &.site{ + width: 10%; + } + &.note{ + width: 10%; } &.operate{ - width: 170px; + .btn{ + width: 40px; + } } } } diff --git a/src/components/Film.vue b/src/components/Film.vue index 8b9a3a0..e0aad35 100644 --- a/src/components/Film.vue +++ b/src/components/Film.vue @@ -81,12 +81,11 @@
-
+
  • {{i.name}} {{i.type}} - {{i.year}} {{i.last}} {{i.site.name}} {{i.note}} diff --git a/src/components/History.vue b/src/components/History.vue index 93e8dd9..2f784ef 100644 --- a/src/components/History.vue +++ b/src/components/History.vue @@ -11,8 +11,8 @@
  • {{i.name}} {{getSiteName(i.site)}} - 第{{i.index+1}}集 - + 第{{i.index+1}}集 + 播放 下载 删除 diff --git a/src/components/Star.vue b/src/components/Star.vue index 31cce04..bb71f4c 100644 --- a/src/components/Star.vue +++ b/src/components/Star.vue @@ -11,9 +11,9 @@ {{i.name}} {{i.type}} {{i.year}} - {{i.site.name}} + {{i.site.name}} {{i.note}} - + 播放 删除 分享