Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
E
exhibition_page
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
龙菲
exhibition_page
Commits
ac11d349
提交
ac11d349
authored
12月 18, 2022
作者:
龙菲
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改navbar
上级
7b933485
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
12 行增加
和
36 行删除
+12
-36
index.vue
src/components/NavBar/index.vue
+12
-36
没有找到文件。
src/components/NavBar/index.vue
浏览文件 @
ac11d349
<
template
>
<
template
>
<div
:class=
"
{
<div
:class=
"
{
nav: true,
nav: true,
'header-absolute':true,
'header-fixed ': isFixed,
'header-fixed ': isFixed,
'home-nav
': isHome || isBoutique,
// 'header-absolute
': isHome || isBoutique,
'show-themeColor': isFixed
&&
isHome,
'show-themeColor': isFixed
&&
isHome,
isChStyle: navbarStyle == '2',
isChStyle: navbarStyle == '2',
isRedStyle: navbarStyle == '3',
isRedStyle: navbarStyle == '3',
...
@@ -28,7 +29,6 @@
...
@@ -28,7 +29,6 @@
style=
"transform: translate(30%,30%);cursor: pointer;"
></i>
style=
"transform: translate(30%,30%);cursor: pointer;"
></i>
</div>
</div>
</div>
</div>
<div
class=
"tools animate__animated animate__fadeInRight"
>
<div
class=
"tools animate__animated animate__fadeInRight"
>
<div
class=
"wrapper"
>
<div
class=
"wrapper"
>
<el-dropdown
trigger=
"click"
>
<el-dropdown
trigger=
"click"
>
...
@@ -474,7 +474,7 @@ export default {
...
@@ -474,7 +474,7 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
// #2069c4: #2069c4;
// #2069c4: #2069c4;
.h
ome-nav
{
.h
eader-absolute
{
position
:
absolute
;
position
:
absolute
;
top
:
0
;
top
:
0
;
left
:
0
;
left
:
0
;
...
@@ -518,14 +518,12 @@ export default {
...
@@ -518,14 +518,12 @@ export default {
}
}
.nav
{
.nav
{
height
:
1
0
0px
;
height
:
1
2
0px
;
width
:
100%
;
width
:
100%
;
transition
:
all
0
.5s
ease
;
transition
:
all
0
.5s
ease
;
background-color
:
$themeColor
;
background-color
:
$themeColor
;
// background-color: #fff;
// background-image: url('@/assets/imgs/home/panel-bg.png');
box-shadow
:
rgba
(
0
,
0
,
0
,
0
.3
)
0
1px
5px
0px
;
box-shadow
:
rgba
(
0
,
0
,
0
,
0
.3
)
0
1px
5px
0px
;
padding
:
10px
0
;
.container
{
.container
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
...
@@ -533,21 +531,15 @@ export default {
...
@@ -533,21 +531,15 @@ export default {
align-items
:
center
;
align-items
:
center
;
justify-content
:
space-between
;
justify-content
:
space-between
;
padding
:
0
70px
0
100px
;
padding
:
0
70px
0
100px
;
flex-direction
:
column
;
// overflow: hidden;
.logo-container
{
.logo-container
{
// width: 380px;
// height: 74px;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
img
{
img
{
// width: 100%;
// height: 100%;
width
:
50px
;
width
:
50px
;
height
:
50px
;
height
:
50px
;
border-radius
:
50%
;
border-radius
:
50%
;
// box-shadow: 2px 2px 3px 2px rgb(0 0 0 / 30%);
margin-right
:
8px
;
margin-right
:
8px
;
}
}
...
@@ -567,12 +559,13 @@ export default {
...
@@ -567,12 +559,13 @@ export default {
.tabs
{
.tabs
{
display
:
flex
;
display
:
flex
;
margin-right
:
80px
;
//
margin-right: 80px;
min-width
:
512
px
;
min-width
:
900
px
;
height
:
100%
;
height
:
100%
;
justify-content
:
space-between
;
.tab-item
{
.tab-item
{
margin-right
:
70px
;
//
margin-right: 70px;
color
:
#fff
;
color
:
#fff
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
...
@@ -611,26 +604,7 @@ export default {
...
@@ -611,26 +604,7 @@ export default {
cursor
:
pointer
;
cursor
:
pointer
;
}
}
}
}
// a {
// font-size: 18px;
// white-space: nowrap;
// transition: all 0.5s ease;
// color: #fff;
// text-decoration: none;
// }
// &:hover {
// a {
// // color: #182f68;
// color: #fff8a3;
// // color: #5a4609;
// text-shadow: 0 1px 2px #9fafcb, 1px 0px 2px #9fafcb;
// }
// }
.router-link-exact-active
{
.router-link-exact-active
{
// color: #5a4609;
// color: #182f68;
color
:
#fff8a3
;
color
:
#fff8a3
;
text-shadow
:
0
1px
2px
#9fafcb
,
1px
0px
2px
#9fafcb
;
text-shadow
:
0
1px
2px
#9fafcb
,
1px
0px
2px
#9fafcb
;
}
}
...
@@ -679,6 +653,8 @@ export default {
...
@@ -679,6 +653,8 @@ export default {
}
}
::v-deep
.tools
{
::v-deep
.tools
{
position
:
absolute
;
right
:
10%
;
.wrapper
{
.wrapper
{
transform
:
translateY
(
4px
);
transform
:
translateY
(
4px
);
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论