Explorar el Código

style(frontend): 左侧菜单去除加粗并将悬停提示移到底部

cc hace 2 días
padre
commit
d8faa9ca1a

+ 1 - 1
ai-electron/frontend/src/core/components/SimpleMenu/src/SimpleSubMenu.vue

@@ -2,7 +2,7 @@
   <!-- forceExpanded 由 SimpleMenu 逐级透传 -->
   <Tooltip
     v-if="!menuHasChildren(item) && getShowMenu"
-    placement="right"
+    placement="bottom"
     :overlayClassName="`${menuPrefixCls}-tooltip-overlay`"
     :mouseEnterDelay="0.3"
   >

+ 1 - 1
ai-electron/frontend/src/core/components/SimpleMenu/src/components/MenuItem.vue

@@ -1,6 +1,6 @@
 <template>
   <li :class="getClass" @click.stop="handleClickItem" :style="getCollapse ? {} : getItemStyle">
-    <Tooltip placement="right" v-if="showTooptip" :overlayClassName="`${prefixCls}-tooltip-overlay`">
+    <Tooltip placement="bottom" v-if="showTooptip" :overlayClassName="`${prefixCls}-tooltip-overlay`">
       <template #title>
         <slot name="title"></slot>
       </template>

+ 4 - 4
ai-electron/frontend/src/core/layouts/default/sider/LayoutSider.vue

@@ -207,7 +207,7 @@
       border-bottom: 1px solid #e7ebf3;
       color: #98a2b3;
       font-size: 12px;
-      font-weight: 500;
+      font-weight: 400;
       letter-spacing: 0.1em;
       line-height: 15px;
       font-variant-numeric: tabular-nums;
@@ -247,7 +247,7 @@
       background: transparent;
       color: #1f2937;
       font-size: 14px;
-      font-weight: 500;
+      font-weight: 400;
       line-height: 20px;
       transition:
         background-color 0.15s ease,
@@ -310,7 +310,7 @@
       border-radius: 0 !important;
       box-shadow: none;
       color: #2448c9 !important;
-      font-weight: 600;
+      font-weight: 400;
     }
 
     .jeesite-menu-item.jeesite-menu-item-active::before,
@@ -342,7 +342,7 @@
 
     .jeesite-simple-menu__children {
       min-height: 32px;
-      font-weight: 500;
+      font-weight: 400;
     }
 
     /* ---------------- 底部折叠条 ---------------- */