diff --git a/src/assets/css/index.css b/src/assets/css/index.css index 308a9acad0b14cbbf947f46a0ba963639f4b0e70..a699426e59e7cb1db046101b55967b21b464a1f4 100644 --- a/src/assets/css/index.css +++ b/src/assets/css/index.css @@ -710,22 +710,23 @@ body { z-index: 1; background: rgba(15, 31, 33, 0.8); } -/*表格透明*/ - .table-wrapper .el-table .el-table__cell { - padding: 2px!important; - } - .table-wrapper .el-table .cell { - white-space: nowrap!important; - overflow: hidden; - text-overflow: ellipsis; - padding: 0 5px!important; -} - .table-wrapper .el-table tr:hover { - background-color: #20a0ff; - } - .table-wrapper .el-table td.el-table__cell, .el-table th.el-table__cell.is-leaf { - border-bottom: 0 solid!important; - } - .table-wrapper .el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell { - background-color: rgba(30, 144, 255, 0.26) !important; - } +.table-wrapper .el-table .el-table__cell { + padding: 2px!important; +} +.table-wrapper .el-table .cell { + white-space: nowrap!important; + overflow: hidden; + text-overflow: ellipsis; + padding: 0 5px!important; +} +.table-wrapper .el-table tr:hover { + background-color: #20a0ff; +} +.table-wrapper .el-table td.el-table__cell, .el-table th.el-table__cell.is-leaf { + border-bottom: 0px solid!important; +} +.table-wrapper .el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell { + background-color: rgba(30, 144, 255, 0.26) !important; +} + + diff --git a/src/router/index.js b/src/router/index.js index f2ce336fbfecf6604bb366dbe7915ab22d2a9fc6..8f9698027284f431c41db6666fab10d93f5a2529 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -19,7 +19,7 @@ const routes = [ component: () => import('../views/Login') }, { - path: '/home', + path: '/home', // 后台 component: () => import('../views/Home'), meta: { requireAuth: true // 该路由项需要权限校验 diff --git a/src/utils/config.js b/src/utils/config.js index ec572f203046e876ca673f94985f2b77801fddb1..dd929b5be0a0c4a8252c0bbf5d23075e86521d48 100644 --- a/src/utils/config.js +++ b/src/utils/config.js @@ -1,3 +1,4 @@ module.exports = { - baseUrl: 'localhost:2011' + // baseUrl: 'localhost:2011', + baseUrl: '49.234.81.196:2011' } diff --git a/src/views/Login.vue b/src/views/Login.vue index 8e7e73adc96f0215a258b9761ae9bbfe8828bd68..6abb328b847babd9ae12652c0444aab7944a4d63 100644 --- a/src/views/Login.vue +++ b/src/views/Login.vue @@ -68,7 +68,7 @@ export default { window.localStorage.setItem('userName', JSON.stringify(res.data.userName)) window.localStorage.setItem('staffNumber', JSON.stringify(this.loginForm.staffNumber)) } - await this.$router.replace('/mainPage') + await this.$router.replace('/NewMainPage') }, 2000) } else { this.$message.error('请正确输入用户名或密码') diff --git a/src/views/NewMainPage.vue b/src/views/NewMainPage.vue index 1e266efd84bd63f94df384ef313e75b451e551ea..39a13d9753fdb8cb426272aee858f7a2b64ad000 100644 --- a/src/views/NewMainPage.vue +++ b/src/views/NewMainPage.vue @@ -3,33 +3,48 @@
-
-
+
+
安检门 -
-
+
+
+
x射线机 -
-
+
+
+
炸探/液探 -
-
- 设备管理 -
-
- 系统设置 -
-
- 后台 -
+
+ + +
+ +
+ 后台 +
+
+ +
+ +
+ 系统设置 +
+
+ +
+ +
+ 设备管理 +
+
- +
-
+
-
+
@@ -37,6 +52,9 @@
+
+ 系统总体拓扑结构 +
1
@@ -89,7 +107,7 @@ export default { } #new-mainpage-header { width: 100%; - height: 90px!important; + height: 80px!important; background-image: url("../assets/images/header-bg.png"); background-repeat: no-repeat; background-size:100% 100% ; @@ -106,12 +124,21 @@ export default { background-repeat: no-repeat; background-size:100% 100% ; } + .btn:hover { + color: #ffde00; + } + .btn-one-left { + float: left; + } + .btn-one-right { + float: right; + } } .el-main { font-size: 0px; vertical-align: top; width: 100%; - height: cale(100%-90px); + height: cale(100%-80px); background-image: url("../assets/images/main-bg.png"); background-repeat: no-repeat; background-size: 100% 100%; @@ -130,15 +157,15 @@ export default { background-size: 100% 100%; .left-top { height: 33%; - border: 1px solid #000000; + //border: 1px solid #000000; } .left-center { height: 31%; - border: 1px solid #000000; + //border: 1px solid #000000; } .left-bottom { height: 35%; - border: 1px solid #000000; + //border: 1px solid #000000; } } @@ -148,8 +175,8 @@ export default { height: 98%; .center-top { margin: 0 50px; - height: 50%; - border: 1px solid #000000; + height: 40%; + //border: 1px solid #000000; background-image: url("../assets/images/center-box-bg.png"); background-repeat: no-repeat; background-size: 100% 100%; @@ -157,32 +184,32 @@ export default { .center-center, .center-bottom { height: 25%; - border: 1px solid #000000; + //border: 1px solid #000000; } } .right-box { vertical-align: top; - width: 26%; + width: 27%; height: 98%; background-image: url("../assets/images/right-box-bg.png"); background-repeat: no-repeat; background-size: 100% 100%; .right-top{ - height: 33%; - border: 1px solid #000000; + height: 34%; + //border: 1px solid #000000; } .right-center { position: relative; - height: 37%; - border: 1px solid #000000; + height: 36%; + //border: 1px solid #000000; } .right-bottom { height: 30%; - border: 1px solid #000000; + //border: 1px solid #000000; } } } diff --git a/src/views/NewMainPageComponents/LeftCenter.vue b/src/views/NewMainPageComponents/LeftCenter.vue index 21dc8816263ff106044e74614f9a047ff44f7c8a..36813689955dd2581a39f3eee880c7f6e9764235 100644 --- a/src/views/NewMainPageComponents/LeftCenter.vue +++ b/src/views/NewMainPageComponents/LeftCenter.vue @@ -1,20 +1,24 @@