diff --git a/src/App.vue b/src/App.vue index 359778c2b22e7360535b163265fc5a3cc38e1d3d..a40691aff192c6c059ceaa638e10e3dd5f6d5553 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 677491f76412a20be758721f382c19e773ed4a7b..b8b5d9e20194cbd01b0f32b693a8a0134245afcc 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