Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
E
exhibition_page
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
龙菲
exhibition_page
Commits
b69a9b0a
提交
b69a9b0a
authored
10月 31, 2022
作者:
龙菲
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改页脚
上级
39b05274
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
84 行增加
和
32 行删除
+84
-32
index.vue
src/components/Footer/index.vue
+84
-29
index.vue
src/components/NavBar/index.vue
+0
-3
没有找到文件。
src/components/Footer/index.vue
浏览文件 @
b69a9b0a
...
...
@@ -18,36 +18,21 @@
</div>
<div
class=
"menu"
>
<div
class=
"menu-item"
>
<el-popover
placement=
"top-start"
width=
"280"
trigger=
"
click
"
>
<el-popover
placement=
"top-start"
width=
"280"
trigger=
"
hover
"
>
<span
slot=
"reference"
>
网站地图
</span>
<div
class=
"map"
>
<div
class=
"map-item"
>
<div
class=
"title"
>
首页
</div>
<div
class=
"map-item"
v-for=
"(item, index) in mapData"
:key=
"index"
>
<div
class=
"title"
@
click=
"handleClickItem(item)"
>
{{
item
.
title
}}
</div>
<div
class=
"map-item"
>
<div
class=
"title"
>
展览
</div>
<ul>
<li>
虚拟展厅
</li>
<li>
精品展
</li>
<li>
展览展示
</li>
</ul>
</div>
<div
class=
"map-item"
>
<div
class=
"title"
>
文物
</div>
<ul>
<li>
文物展
</li>
</ul>
</div>
<div
class=
"map-item"
>
<div
class=
"title"
>
博物馆
</div>
<ul>
<li>
博物馆
</li>
</ul>
</div>
<div
class=
"map-item"
>
<div
class=
"title"
>
服务
</div>
<ul>
<li>
文创产品
</li>
<ul
v-if=
"item.children && item.children.length > 0"
>
<li
v-for=
"(v, i) in item.children"
:key=
"i"
@
click=
"handleClickItem(v)"
>
{{
v
.
title
}}
</li>
</ul>
</div>
</div>
...
...
@@ -63,7 +48,7 @@
<div
class=
"advice"
>
<el-tooltip
placement=
"top-start"
content=
"谷歌 火狐 最佳分辨率(1920
*
1080)"
content=
"谷歌 火狐 最佳分辨率(1920
x
1080)"
>
<span>
浏览建议
</span>
</el-tooltip>
...
...
@@ -88,6 +73,76 @@ export default {
},
immediate
:
true
,
},
data
()
{
return
{
mapData
:
[
{
title
:
"首页"
,
path
:
"/"
,
children
:
[],
},
{
title
:
"展览"
,
path
:
""
,
children
:
[
{
title
:
"虚拟展厅"
,
path
:
"/virtual"
,
},
{
title
:
"精品展"
,
path
:
"/boutique"
,
},
{
title
:
"展览展示"
,
path
:
"/display"
,
},
],
},
{
title
:
"文物"
,
path
:
""
,
children
:
[
{
title
:
"文物展"
,
path
:
"/culturalRelic"
,
},
],
},
{
title
:
"博物馆"
,
path
:
""
,
children
:
[
{
title
:
"博物馆"
,
path
:
"/museum"
,
},
],
},
{
title
:
"服务"
,
path
:
""
,
children
:
[
{
title
:
"文创产品"
,
path
:
"/ccProduct"
,
},
],
},
],
};
},
methods
:
{
handleClickItem
(
item
)
{
// console.log(item);
if
(
item
.
path
)
{
const
newPage
=
this
.
$router
.
resolve
({
path
:
item
.
path
,
});
window
.
open
(
newPage
.
href
,
"_blank"
);
}
},
},
};
</
script
>
...
...
@@ -135,7 +190,7 @@ export default {
.map
{
.map-item
{
margin-bottom
:
20px
;
&
:first-child
{
&
:first-child
{
.title
{
cursor
:
pointer
;
}
...
...
src/components/NavBar/index.vue
浏览文件 @
b69a9b0a
...
...
@@ -381,9 +381,6 @@ export default {
.
then
((
res
)
=>
{
if
(
res
.
code
==
"0"
)
{
this
.
$message
.
success
(
"登录成功"
);
// console.log('this.$route',this.$route);
// console.log('this.$route.query',this.$route.query);
// console.log('this.$route.query.redirect',this.$route.query.redirect);
this
.
handleCloseLogin
();
// if (this.$route.name !== "home") {
// this.$router.push({
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论