Browse Source

菜单颜色调整

Hwf 8 months ago
parent
commit
61bcac4862

+ 11 - 1
src/layout/components/Sidebar/SidebarItem.vue

@@ -136,7 +136,17 @@ const getIconClass = (item) => {
 
 .is-opened {
   :deep(.el-sub-menu__title) {
-    color: #fff !important;
+    color: #fff;
+  }
+  :deep(.nest-menu) {
+    .el-sub-menu__title {
+      color: #939faa;
+    }
+    .is-opened {
+      .el-sub-menu__title {
+        color: #fff;
+      }
+    }
   }
 }
 </style>

+ 3 - 1
src/views/knowledge/knowledge-management/detail.vue

@@ -36,8 +36,10 @@
         <i class="line-icon" />
         <div class="common-info-title">报告附件</div>
       </div>
+      <div style="padding: 10px">
+        <el-link :href="report.attachmentUrl" target="_blank" class="common-info-item">{{ report.attachmentName }}</el-link>
+      </div>
     </div>
-    <el-link :href="report.attachmentUrl" target="_blank" class="common-info-item">{{ report.attachmentName }}</el-link>
   </div>
 </template>