Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
E
exhibition_backstage
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
龙菲
exhibition_backstage
Commits
6f564923
提交
6f564923
authored
2月 02, 2023
作者:
龙菲
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修复存留bug
上级
e9ae16df
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
31 行增加
和
107 行删除
+31
-107
App.vue
src/App.vue
+6
-0
index.vue
src/components/Breadcrumb/index.vue
+2
-1
index.vue
src/components/Footer/index.vue
+2
-74
index.vue
src/components/NavBar/index.vue
+2
-28
Navbar.vue
src/layout/components/Navbar.vue
+1
-1
boutiqueTitles.js
src/utils/boutiqueTitles.js
+11
-0
PreviewDialog.vue
src/views/display/components/PreviewDialog.vue
+2
-2
RedStyle.vue
src/views/display/components/templates/RedStyle.vue
+0
-1
index.vue
src/views/display/index.vue
+5
-0
PreviewDisplayDialog.vue
...views/displayApproval/components/PreviewDisplayDialog.vue
+0
-0
没有找到文件。
src/App.vue
浏览文件 @
6f564923
...
...
@@ -9,3 +9,9 @@ export default {
name
:
'App'
}
</
script
>
<
style
lang=
"scss"
>
.el-image-viewer__wrapper
{
z-index
:
9999
!
important
;
}
</
style
>
src/components/Breadcrumb/index.vue
浏览文件 @
6f564923
...
...
@@ -20,6 +20,7 @@ export default {
},
watch
:
{
$route
()
{
this
.
getBreadcrumb
()
}
},
...
...
@@ -33,7 +34,7 @@ export default {
const
first
=
matched
[
0
]
if
(
!
this
.
isDashboard
(
first
))
{
matched
=
[{
path
:
'/
dashboard
'
,
meta
:
{
title
:
'首页'
}}].
concat
(
matched
)
matched
=
[{
path
:
'/
home
'
,
meta
:
{
title
:
'首页'
}}].
concat
(
matched
)
}
this
.
levelList
=
matched
.
filter
(
item
=>
item
.
meta
&&
item
.
meta
.
title
&&
item
.
meta
.
breadcrumb
!==
false
)
...
...
src/components/Footer/index.vue
浏览文件 @
6f564923
...
...
@@ -2,13 +2,6 @@
<
template
>
<div
:class=
"
{
footer: true,
//isHome:isHome,
isChStyle: navbarStyle == '2',
isRedStyle: navbarStyle == '3',
isSDCS: navbarStyle == '4',
isSMGZ: navbarStyle == '5',
isJYYCC: navbarStyle == '6',
isYLGDYW: navbarStyle == '7',
}">
<div
class=
"logo"
>
<img
src=
"~@/assets/imgs/display/logo3.png"
alt=
""
/>
...
...
@@ -19,11 +12,11 @@
<span
slot=
"reference"
>
网站地图
</span>
<div
class=
"map"
>
<div
class=
"map-item"
v-for=
"(item, index) in mapData"
:key=
"index"
>
<div
class=
"title"
@
click=
"handleClickItem(item)"
>
<div
class=
"title"
>
{{
item
.
title
}}
</div>
<ul
v-if=
"item.children && item.children.length > 0"
>
<li
v-for=
"(v, i) in item.children"
:key=
"i"
@
click=
"handleClickItem(v)"
>
<li
v-for=
"(v, i) in item.children"
:key=
"i"
>
{{
v
.
title
}}
</li>
</ul>
...
...
@@ -61,32 +54,6 @@
import
{
mapGetters
}
from
"vuex"
;
export
default
{
name
:
"Footer"
,
computed
:
{
...
mapGetters
([
"curPath"
,
"navbarStyle"
]),
},
watch
:
{
curPath
:
{
handler
:
function
(
value
)
{
this
.
isHome
=
value
.
name
==
"home"
;
if
(
value
.
params
.
themeType
)
{
this
.
$store
.
commit
(
"app/CHANGE_NAV_COLOR"
,
value
.
params
.
themeType
);
}
else
{
this
.
$store
.
commit
(
"app/CHANGE_NAV_COLOR"
,
"1"
);
}
},
immediate
:
true
,
},
},
// curPath: {
// handler: function (value) {
// if (value.params.themeType) {
// this.$store.commit("app/CHANGE_NAV_COLOR", value.params.themeType);
// } else {
// this.$store.commit("app/CHANGE_NAV_COLOR", "1");
// }
// },
// immediate: true,
// },
data
()
{
return
{
isHome
:
true
,
...
...
@@ -139,17 +106,6 @@ export default {
],
};
},
methods
:
{
handleClickItem
(
item
)
{
// console.log(item);
if
(
item
.
path
)
{
const
newPage
=
this
.
$router
.
resolve
({
path
:
item
.
path
,
});
window
.
open
(
newPage
.
href
,
"_blank"
);
}
},
},
};
</
script
>
...
...
@@ -249,32 +205,4 @@ export default {
object-fit
:
contain
;
}
}
.isChStyle
{
background-color
:
#194448
!
important
;
position
:
relative
;
top
:
-
$nav-height
;
}
.isRedStyle
{
background-color
:
#813525
!
important
;
position
:
relative
;
top
:
-
$nav-height
;
}
.isSDCS
{
background-color
:
#6c0c0d
!
important
;
}
.isSMGZ
{
background-color
:
#00173a
!
important
;
}
.isJYYCC
{
background-color
:
#343b66
!
important
;
}
.isYLGDYW
{
background-color
:
#212040
!
important
;
}
</
style
>
src/components/NavBar/index.vue
浏览文件 @
6f564923
...
...
@@ -2,16 +2,6 @@
<div
:class=
"
{
nav: true,
'header-absolute': isAbsolute,
'header-fixed ': isFixed,
// 'header-absolute': isHome || isBoutique,
'show-themeColor': showThemeColor,
isChStyle: navbarStyle == '2',
isRedStyle: navbarStyle == '3',
isSDCS: navbarStyle == '4'
&&
isFixed,
isSMGZ: navbarStyle == '5'
&&
isFixed,
isJYYCC: navbarStyle == '6'
&&
isFixed,
isYLGDYW: navbarStyle == '7'
&&
isFixed,
}"
id="navbar"
>
...
...
@@ -189,11 +179,10 @@ export default {
showThemeColor
:
false
,
};
},
mounted
()
{
mounted
(){
console
.
log
(
this
.
themeType
);
},
methods
:
{
handleEnterTabItem
(
item
)
{
if
(
item
.
name
==
"展览展示"
)
{
this
.
showSubMenu
=
true
;
...
...
@@ -260,21 +249,6 @@ export default {
background-color
:
rgba
(
0
,
0
,
0
,
0
.25
)
!
important
;
}
.isSDCS
{
background-color
:
#6c0c0d
!
important
;
}
.isSMGZ
{
background-color
:
#00173a
!
important
;
}
.isJYYCC
{
background-color
:
#343b66
!
important
;
}
.isYLGDYW
{
background-color
:
#212040
!
important
;
}
.nav
{
height
:
$nav-height
;
...
...
src/layout/components/Navbar.vue
浏览文件 @
6f564923
...
...
@@ -74,7 +74,7 @@
<el-button
type=
"primary"
@
click
.
native=
"handleSubmitUserInfo"
icon=
"el-icon-circle-check
"
:icon=
"isEditingUserInfo?'el-icon-circle-check':'el-icon-edit'
"
>
{{
isEditingUserInfo
?
"保存"
:
"修改个人信息"
}}
</el-button
>
<el-button
...
...
src/utils/boutiqueTitles.js
0 → 100644
浏览文件 @
6f564923
//此处为配置需跳转为精品展的展览
//在此处添加title后需在@/views/boutique/index.vue中引入对应的页面组件
export
var
titles
=
[
"神秘贵州"
,
"四渡赤水出奇兵"
,
"记忆与传承"
,
"夜郎的疑问"
,
"贵州教育史馆"
,
"梭戛博物馆陈列展览"
,
"中共贵州省工委旧址纪念馆"
];
src/views/display/components/PreviewDialog.vue
浏览文件 @
6f564923
...
...
@@ -12,7 +12,7 @@
<div
class=
"label"
>
{{
title
}}
</div>
</div>
<div
class=
"dialog-content"
>
<Nav
b
ar/>
<Nav
B
ar/>
<NormalStyle
v-if=
"displayDetail.themeType == '1'"
:displayDetail=
"displayDetail"
...
...
@@ -52,7 +52,6 @@ export default {
RedStyle
,
NavBar
,
Footer
,
Navbar
},
props
:
{
visible
:
{
...
...
@@ -100,6 +99,7 @@ export default {
};
</
script
>
<
style
lang=
'scss'
scoped
>
.title
{
display
:
flex
;
...
...
src/views/display/components/templates/RedStyle.vue
浏览文件 @
6f564923
...
...
@@ -615,7 +615,6 @@ $themeColor: #a30e0c;
background-size
:
100%
;
background-color
:
#651c14
;
position
:
relative
;
top
:
-
$nav-height
;
// height: 100%;
padding-bottom
:
73px
;
...
...
src/views/display/index.vue
浏览文件 @
6f564923
...
...
@@ -117,6 +117,7 @@ import { mapGetters } from "vuex";
import
{
themeTypeCode
}
from
"./contants"
;
import
{
getToken
}
from
"@/utils/auth"
;
import
{
importZip
}
from
"@/utils/file"
;
import
{
titles
}
from
'@/utils/boutiqueTitles'
export
default
{
components
:
{
TablePage
,
...
...
@@ -329,6 +330,10 @@ export default {
this
.
editDialogVisible
=
true
;
case
"view"
:
if
(
row
)
{
if
(
titles
.
includes
(
row
.
title
))
{
this
.
$message
.
info
(
'精品展暂不支持预览!'
)
return
}
this
.
previewDialogVisible
=
true
;
let
res
=
await
getDisplayById
({
exhibitionId
:
row
.
exhibitionId
});
this
.
curPreviewObj
=
res
.
data
;
...
...
src/views/displayApproval/components/PreviewDisplayDialog.vue
浏览文件 @
6f564923
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论