guoxiaohuan 4 年之前
父节点
当前提交
6ad0c42bf1
共有 2 个文件被更改,包括 6 次插入4 次删除
  1. 3 4
      src/components/menuList.vue
  2. 3 0
      src/views/legendRules/index.vue

+ 3 - 4
src/components/menuList.vue

@@ -52,7 +52,7 @@ export default {
                 { name: '楼层功能', state: false, route: 'floorFunc' }, //楼层功能
                 { name: '设备设施', state: false, route: 'equipment' }, //设备设施
                 { name: '其他事项', state: false, route: 'other' }, //其他
-                { name: '分析 | 报表', state: false, route: 'analysis' }
+                { name: '分析|报表', state: false, route: 'analysis' }
             ],
             times: `${new Date().getFullYear()}.${formatTime(new Date().getMonth() + 1)}.${formatTime(new Date().getDate())} ${formatTime(
                 new Date().getHours()
@@ -242,9 +242,9 @@ export default {
             text-align: center;
             //background: url('../assets/images/topbar1.png') no-repeat;
             float: left;
-            width: 80px;
+            width: 88px;
             height: 48px;
-            margin: 0 12px;
+            margin: 0 8px;
             cursor: pointer;
             transition: all 0.2s;
         }
@@ -252,7 +252,6 @@ export default {
             color: #025baa;
             font-weight: bolder;
             border-bottom: 2px solid #025baa;
-            padding: 0 8px;
             background: linear-gradient(180deg, rgba(2, 91, 170, 0) 0%, rgba(2, 91, 170, 0.2) 100%);
         }
     }

+ 3 - 0
src/views/legendRules/index.vue

@@ -350,6 +350,9 @@ export default {
     /deep/ .ant-tree li .ant-tree-node-content-wrapper:hover {
         background: transparent !important;
     }
+    /deep/ .p-inner-container {
+        overflow-x: hidden;
+    }
     .is-current {
         background: #e1f2ff !important;
         border-radius: 4px;