Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit48cb5c6

Browse files
committed
补充提交
1 parent6b02373 commit48cb5c6

File tree

2 files changed

+35
-35
lines changed

2 files changed

+35
-35
lines changed

‎src/layout/index.vue‎

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -21,37 +21,38 @@
2121
</li>
2222
</ul>-->
2323
</div>
24-
<el-tooltipeffect="light"placement="bottom-start">
25-
<template #content>
26-
<divclass="top-more-nav-content">
27-
<el-row:gutter="10">
28-
<el-col:span="6"v-for="(item,inx) in menu":key="inx">
29-
<div
30-
class="top-more-nav-content-item yichu"
31-
:title="item.meta.title"
32-
@click="showMenu(item)"
33-
:class="pmenu.path == item.path ? 'active' : ''"
34-
>
35-
<el-icon:style="{'color':item.meta.iconColor}"class="menu-icon mr-2">
36-
<component:is="item.meta.icon || 'el-icon-menu'" />
37-
</el-icon>
38-
{{ item.meta.title }}
39-
</div>
40-
</el-col>
41-
</el-row>
42-
</div>
43-
44-
</template>
45-
<spanclass="top-more-nav left"v-if="menu.length > 4">
46-
<el-iconsize="20"><Menu /></el-icon>
47-
</span>
48-
</el-tooltip>
24+
4925

5026
<div
5127
class="adminui-header-center"
5228
v-if="!ismobileFn"
5329
:style="{'width': getHeaderCenterWidth}"
5430
>
31+
<el-tooltipeffect="light"placement="bottom-start">
32+
<template #content>
33+
<divclass="top-more-nav-content">
34+
<el-row:gutter="10">
35+
<el-col:span="6"v-for="(item,inx) in menu":key="inx">
36+
<div
37+
class="top-more-nav-content-item yichu"
38+
:title="item.meta.title"
39+
@click="showMenu(item)"
40+
:class="pmenu.path == item.path ? 'active' : ''"
41+
>
42+
<el-icon:style="{'color':item.meta.iconColor}"class="menu-icon mr-2">
43+
<component:is="item.meta.icon || 'el-icon-menu'" />
44+
</el-icon>
45+
{{ item.meta.title }}
46+
</div>
47+
</el-col>
48+
</el-row>
49+
</div>
50+
51+
</template>
52+
<spanclass="top-more-nav left"v-if="menu.length > 4">
53+
<el-iconsize="16"><Menu /></el-icon>
54+
</span>
55+
</el-tooltip>
5556
<el-scrollbar:always="topMenuAlways">
5657
<divclass="scrollbar-flex-content">
5758
<p
@@ -69,7 +70,7 @@
6970
</div>
7071
</el-scrollbar>
7172
</div>
72-
<el-tooltipeffect="light"placement="bottom-start">
73+
<!-- <el-tooltip effect="light" placement="bottom-start">
7374
<template #content>
7475
<div class="top-more-nav-content">
7576
<el-row :gutter="10">
@@ -93,7 +94,7 @@
9394
<span class="top-more-nav right" v-if="menu.length > 4">
9495
<el-icon size="16"><Menu /></el-icon>
9596
</span>
96-
</el-tooltip>
97+
</el-tooltip>-->
9798
<divclass="adminui-header-right">
9899
<userbar></userbar>
99100
</div>

‎src/style/customScss/custom1.scss‎

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,13 @@ $--top-nav-text-color: #4b4a61;
3030
}
3131
.top-more-nav {
3232
color:#{$--top-nav-text-color}!important;
33-
&.left {
34-
display:none;
35-
}
36-
&.right {
37-
display:flex!important;
38-
margin-left:-30px;
39-
margin-right:-30px;
40-
}
33+
// &.left {
34+
// display: none;
35+
// }
36+
// &.right {
37+
// display: flex !important;
38+
// margin-left: -30px;
39+
// }
4140
}
4241
.adminui-header-center {
4342
// margin-left: auto;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp