From d015fe2d3fe869d2f8a7e75f18db691d81b8b9d5 Mon Sep 17 00:00:00 2001 From: qxz Date: Mon, 18 May 2020 18:51:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=8B=B1=E6=96=87=E5=88=97?= =?UTF-8?q?=E5=90=8D=EF=BC=8C=E6=B7=BB=E5=8A=A0bulma-divider?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 5 +++++ package.json | 1 + src/assets/style/theme/acrou/index.scss | 12 ++++++++++++ src/assets/style/theme/register.scss | 2 +- src/locales/en.json | 4 ++-- src/views/common/BreadCrumb.vue | 2 +- src/views/page/GoList.vue | 6 +++--- 7 files changed, 25 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1389ecd..7222de0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2708,6 +2708,11 @@ "resolved": "https://registry.npm.taobao.org/bulma/download/bulma-0.8.2.tgz", "integrity": "sha1-XZKPFu1KhFScKHP5XJLDjGnGMac=" }, + "bulma-divider": { + "version": "0.2.0", + "resolved": "https://registry.npm.taobao.org/bulma-divider/download/bulma-divider-0.2.0.tgz", + "integrity": "sha1-qbTZ/osnDHy3VzAjxXUGK8YmFvM=" + }, "bytes": { "version": "3.1.0", "resolved": "https://registry.npm.taobao.org/bytes/download/bytes-3.1.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fbytes%2Fdownload%2Fbytes-3.1.0.tgz", diff --git a/package.json b/package.json index 4503aef..d17ca14 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "dependencies": { "axios": "^0.19.2", "bulma": "^0.8.2", + "bulma-divider": "^0.2.0", "core-js": "^3.6.4", "element-ui": "^2.13.1", "feb-alive": "^1.0.9", diff --git a/src/assets/style/theme/acrou/index.scss b/src/assets/style/theme/acrou/index.scss index 44c1361..f97e6f1 100644 --- a/src/assets/style/theme/acrou/index.scss +++ b/src/assets/style/theme/acrou/index.scss @@ -168,4 +168,16 @@ body { border: 5px solid transparent; position: absolute; left: 7px; +} + + +// bulma-divider +.is-divider, +.is-divider-vertical { + border-top: .1rem solid #f5f5f5; +} + +.is-divider-vertical[data-content]::after, +.is-divider[data-content]::after { + color: #919191; } \ No newline at end of file diff --git a/src/assets/style/theme/register.scss b/src/assets/style/theme/register.scss index fd46e40..e599d39 100644 --- a/src/assets/style/theme/register.scss +++ b/src/assets/style/theme/register.scss @@ -1,4 +1,4 @@ @charset "utf-8"; @import 'bulma'; -// @import 'bulma-pageloader'; +@import 'bulma-divider'; @import '~@/assets/style/theme/acrou/index.scss'; \ No newline at end of file diff --git a/src/locales/en.json b/src/locales/en.json index 4d5f483..922d006 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -1,7 +1,7 @@ { "_name": "🇬🇧English", "languages": "Languages", - "index": "Index", + "index": "Home", "folder": "Folder", "notify": { "title": "Notify" @@ -20,7 +20,7 @@ "file": "File", "moditime": "Modified Time", "size": "Size", - "operation": "Operation" + "operation": "Actions" }, "loading": "Loading...", "opt": { diff --git a/src/views/common/BreadCrumb.vue b/src/views/common/BreadCrumb.vue index 76ffe3d..ab31710 100644 --- a/src/views/common/BreadCrumb.vue +++ b/src/views/common/BreadCrumb.vue @@ -104,7 +104,7 @@ export default {