From 29c271ec1a2cc0fddaa173e7eff3f037698c7113 Mon Sep 17 00:00:00 2001
From: wen <1515>
Date: Fri, 4 Nov 2022 13:28:52 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=EF=BC=8C=20=E4=BC=98?=
=?UTF-8?q?=E5=8C=96=EF=BC=8C=E5=85=BC=E5=AE=B9=E7=A7=BB=E5=8A=A8=E7=AB=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/layout/index.vue | 8 ++--
src/layout/mixin/ResizeHandler.js | 1 +
src/router/index.js | 2 +-
src/styles/element-ui.scss | 6 +++
src/styles/publics.scss | 4 +-
src/utils/get-page-title.js | 2 +-
src/views/filemange/index.vue | 11 ++---
src/views/login/index.vue | 3 +-
src/views/subfile/index.vue | 77 +++++++++----------------------
9 files changed, 42 insertions(+), 72 deletions(-)
diff --git a/src/layout/index.vue b/src/layout/index.vue
index 5b367ba..5f72749 100644
--- a/src/layout/index.vue
+++ b/src/layout/index.vue
@@ -4,14 +4,14 @@
- 后台管理系统
+ 文件后台管理系统
diff --git a/src/layout/mixin/ResizeHandler.js b/src/layout/mixin/ResizeHandler.js
index e8d0df8..1132dde 100644
--- a/src/layout/mixin/ResizeHandler.js
+++ b/src/layout/mixin/ResizeHandler.js
@@ -19,6 +19,7 @@ export default {
},
mounted() {
const isMobile = this.$_isMobile()
+
if (isMobile) {
store.dispatch('app/toggleDevice', 'mobile')
store.dispatch('app/closeSideBar', { withoutAnimation: true })
diff --git a/src/router/index.js b/src/router/index.js
index d385819..52d5bcb 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -64,7 +64,7 @@ export const constantRoutes = [
path: 'index',
name: 'Filemange',
component: () => import('@/views/filemange/index'),
- meta: { title: '', icon: 'dashboard' }
+ meta: { title: '文件管理', icon: 'dashboard' }
},
{
path: 'subfile',
diff --git a/src/styles/element-ui.scss b/src/styles/element-ui.scss
index e90a496..131765b 100644
--- a/src/styles/element-ui.scss
+++ b/src/styles/element-ui.scss
@@ -52,3 +52,9 @@
.el-message{z-index:6000 !important;}
.content_main .el-drawer__wrapper{z-index:2200 !important;}
#nprogress .bar{background:#409EFF !important;}
+
+
+// 如果是移动端
+@media (max-width: 990px) {
+ .el-dialog{width:80%;}
+}
diff --git a/src/styles/publics.scss b/src/styles/publics.scss
index e8ba18b..4122a27 100644
--- a/src/styles/publics.scss
+++ b/src/styles/publics.scss
@@ -1,7 +1,7 @@
.toptitle {
color: #FFF;
height: 91px;
- padding: 0 6% 0 36px;
+ padding: 0 2% 0 2%;
z-index: 2005;
background-color: #2b3245;
position: fixed;
@@ -35,7 +35,7 @@
.toptitle .rightk {
float: right;
- margin-top: 18px;
+ margin-top: 32px;
position: relative;
}
diff --git a/src/utils/get-page-title.js b/src/utils/get-page-title.js
index 82db07f..fed53df 100644
--- a/src/utils/get-page-title.js
+++ b/src/utils/get-page-title.js
@@ -4,7 +4,7 @@ const title = defaultSettings.title || '嘉洛马'
export default function getPageTitle(pageTitle) {
if (pageTitle) {
- return `${pageTitle} - ${title}`
+ return `${title} - ${pageTitle}`
}
return `${title}`
}
diff --git a/src/views/filemange/index.vue b/src/views/filemange/index.vue
index 193942a..fb3c424 100644
--- a/src/views/filemange/index.vue
+++ b/src/views/filemange/index.vue
@@ -10,7 +10,7 @@
@@ -42,7 +42,7 @@
@@ -386,10 +386,9 @@ methods: {
.sou_bottom{margin-left:10px;}
.use_button{margin:15px 0 16px 0;}
// .use_button>button{margin:0 10px 10px 0;}
- .file_caozuo2>button{margin-top:6px;}
+ .file_caozuo2>button{margin:6px 10px 0 0;}
.el-table td{padding:9px 0}
.folder_bottom a{margin:0 6px;}
- .el-table__body-wrapper img{width:100px;height:71px;}
.el-drawer__body{text-align:center;padding:0 10% 20px 10%;}
.request_main{text-align:center;margin:12px 0;}
.addimgtext{line-height:25px;display:inline-block;color:#8c939d;vertical-align: middle;}
@@ -397,5 +396,5 @@ methods: {
.type_file_click img{width:64px;height:48px;}
.type_file_click a{display:block;}
// .el-table .is-center{text-align:left;}
-}
+}
diff --git a/src/views/login/index.vue b/src/views/login/index.vue
index 7f29051..93972d3 100644
--- a/src/views/login/index.vue
+++ b/src/views/login/index.vue
@@ -7,7 +7,7 @@
后台管理系统
-
+
系统登入
@@ -41,7 +41,6 @@
name="密码"
tabindex="2"
auto-complete="on"
- @keyup.enter.native="handleLogin"
/>
diff --git a/src/views/subfile/index.vue b/src/views/subfile/index.vue
index c77cc00..1c239b4 100644
--- a/src/views/subfile/index.vue
+++ b/src/views/subfile/index.vue
@@ -1,18 +1,5 @@
-
+ empty-text="暂无文件夹数据"
+ :row-style="{'background-color':'#fffdfa'}"
+ style="width:100%;" class="filesmd">
@@ -60,7 +47,7 @@
@@ -82,8 +69,7 @@
:show-header="false"
empty-text="暂无文件数据"
:data="tableData"
- border
- style="width: 100%;">
+ style="width:100%;">