From 5700d8b843e77aaa6d04dc50b823c8097dbc22bf Mon Sep 17 00:00:00 2001 From: zhangjun1 Date: Fri, 24 Apr 2020 19:24:36 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=92=8C=E4=BA=A4=E4=BA=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 1 + src/pages/workPlace.vue | 47 +++++++++++++++++++++++++++++++++++------ 2 files changed, 41 insertions(+), 7 deletions(-) diff --git a/src/App.vue b/src/App.vue index 359778c..a40691a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -26,6 +26,7 @@ export default { position: fixed; top: 0; left: 0; + z-index: 99; } #app{ background-color: #f6f7fb; diff --git a/src/pages/workPlace.vue b/src/pages/workPlace.vue index 677491f..b8b5d9e 100644 --- a/src/pages/workPlace.vue +++ b/src/pages/workPlace.vue @@ -6,12 +6,13 @@ 你好,{{person}}!最近登录{{login_time}} -
+
管理功能    - + + -
-
+
+
{{item.text}}
@@ -114,6 +115,7 @@ export default { now_user: 0, now_type:0, now_app:0, + manage_flag:false, health: uuidv1(), yy_asy: uuidv1(), menu_arr: [ @@ -268,15 +270,15 @@ export default { text:'权限管理', }, { - pic:require(), + pic:require('../assets/imgs/home_tool_ic_quanxian.png'), text:'容器管理', }, { - pic:require(), + pic:require('../assets/imgs/home_tool_ic_quanxian.png'), text:'数据管控', }, { - pic:require(), + pic:require('../assets/imgs/home_tool_ic_quanxian.png'), text:'消息新闻管理', }, ] @@ -287,6 +289,9 @@ export default { this.init_yy() }, methods: { + manage_func(n){ + console.log(n); + }, init_health(num) { var options = { title: { @@ -554,6 +559,7 @@ export default { color: #fff; cursor: pointer; margin-top: 10px; + position: relative; } .menu { width: 100%; @@ -733,4 +739,31 @@ export default { font-size: 12px; color: #8890a7; } +.manage_menu{ + position: absolute; + top: 0; + left: 140px; + width: 145px; +} + +.manage_box{ + width: 145px; + height: 50px; + line-height: 50px; + background-color: #0d1847; + box-shadow: 0px 2px 4px 0px + #001155; + border-radius: 12px; + margin-bottom: 10px; + text-align: left; + padding-left: 10px; + color: #c3caf8; +} +.manage_box:hover{ + border: solid 2px #515fe7; +} +.manage_box img{ + vertical-align: -5px; + margin-right: 10px; +} \ No newline at end of file -- 2.26.0