Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
E
exhibition_page
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
龙菲
exhibition_page
Commits
e42ddc08
提交
e42ddc08
authored
8月 11, 2022
作者:
龙菲
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修复首页在底部刷新navbar不显示的缺陷
上级
53b3fc40
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
8 行增加
和
6 行删除
+8
-6
index.vue
src/components/NavBar/index.vue
+7
-4
index.js
src/router/index.js
+1
-1
request.js
src/utils/request.js
+0
-1
没有找到文件。
src/components/NavBar/index.vue
浏览文件 @
e42ddc08
...
...
@@ -4,11 +4,11 @@
id="navbar"
>
<div
class=
"container"
>
<div
class=
"logo-container
wow
animate__animated animate__fadeInLeft"
>
<div
class=
"logo-container animate__animated animate__fadeInLeft"
>
<img
src=
"@/assets/imgs/home/logo.png"
/>
</div>
<div
class=
"right"
>
<div
class=
"tabs
wow
animate__animated animate__fadeInUp"
>
<div
class=
"tabs animate__animated animate__fadeInUp"
>
<div
class=
"tab-item"
:class=
"
{
...
...
@@ -23,7 +23,7 @@
<router-link
:to=
"item.path"
>
{{
item
.
name
}}
</router-link>
</div>
</div>
<div
class=
"tools
wow
animate__animated animate__fadeInRight"
>
<div
class=
"tools animate__animated animate__fadeInRight"
>
<div
class=
"wrapper"
>
<el-dropdown
trigger=
"click"
>
<el-button
round
>
...
...
@@ -172,6 +172,10 @@ export default {
this
.
$nextTick
(()
=>
{
this
.
offsetTop
=
document
.
querySelector
(
"#navbar"
).
offsetTop
;
});
// 获取logo-container、tabs、tools
// let logoContainer = document.getElementsByClassName("logo-container")[0];
// let tabs = document.getElementsByClassName("tabs")[0];
// let tools = document.getElementsByClassName("tools")[0];
},
methods
:
{
initHeight
()
{
...
...
@@ -219,7 +223,6 @@ export default {
top
:
0
;
left
:
0
;
z-index
:
9
;
// background-color: transparent !important;
background-color
:
rgba
(
#000
,
0
.25
)
!
important
;
}
.header-fixed
{
...
...
src/router/index.js
浏览文件 @
e42ddc08
...
...
@@ -113,7 +113,7 @@ const routes = [
// 博物馆详情
{
path
:
'/museum/:id'
,
name
:
'museum'
,
name
:
'museum
Detail
'
,
component
:
()
=>
import
(
'@/views/museum/Detail.vue'
),
meta
:
{
keepAlive
:
false
...
...
src/utils/request.js
浏览文件 @
e42ddc08
...
...
@@ -7,7 +7,6 @@ import store from '@/store'
import
{
getToken
}
from
'@/utils/auth'
console
.
log
(
'process.env.VUE_APP_BASE_API'
,
process
.
env
.
VUE_APP_BASE_API
);
console
.
log
(
'process.env'
,
process
.
env
);
// create an axios instance
const
service
=
axios
.
create
({
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论