Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
E
exhibition_page
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
龙菲
exhibition_page
Commits
124db62a
提交
124db62a
authored
12月 22, 2022
作者:
龙菲
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
完善剩余两个主题;修改菜单名称
上级
fc27c46e
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
24 个修改的文件
包含
125 行增加
和
163 行删除
+125
-163
audio.png
src/assets/imgs/display/ch/audio.png
+0
-0
custom-title.png
src/assets/imgs/display/ch/custom-title.png
+0
-0
intro-bg.png
src/assets/imgs/display/ch/intro-bg.png
+0
-0
lts-bg.png
src/assets/imgs/display/ch/lts-bg.png
+0
-0
pattern.png
src/assets/imgs/display/ch/pattern.png
+0
-0
pattern2.png
src/assets/imgs/display/ch/pattern2.png
+0
-0
pdf-icon.png
src/assets/imgs/display/ch/pdf-icon.png
+0
-0
play-icon.png
src/assets/imgs/display/ch/play-icon.png
+0
-0
slider-box.png
src/assets/imgs/display/ch/slider-box.png
+0
-0
title-bg.png
src/assets/imgs/display/ch/title-bg.png
+0
-0
bg2.png
src/assets/imgs/display/red/bg2.png
+0
-0
index.vue
src/components/Breadcrumb/index.vue
+3
-2
index.vue
src/components/Footer/index.vue
+4
-2
index.vue
src/components/NavBar/index.vue
+10
-9
index.vue
src/components/ReaderOperations/index.vue
+45
-125
index.vue
src/components/VideoPlayer/index.vue
+12
-0
Detail.vue
src/views/culturalRelic/Detail.vue
+0
-0
Detail.vue
src/views/display/Detail.vue
+5
-0
ChStyle-old.vue
src/views/display/components/ChStyle-old.vue
+0
-0
ChStyle.vue
src/views/display/components/ChStyle.vue
+0
-0
NormalStyle.vue
src/views/display/components/NormalStyle.vue
+1
-1
NormalStyleUnit.vue
src/views/display/components/NormalStyleUnit.vue
+45
-24
RedStyle.vue
src/views/display/components/RedStyle.vue
+0
-0
index.vue
src/views/display/index.vue
+0
-0
没有找到文件。
src/assets/imgs/display/ch/audio.png
deleted
100644 → 0
浏览文件 @
fc27c46e
983 Bytes
src/assets/imgs/display/ch/custom-title.png
deleted
100644 → 0
浏览文件 @
fc27c46e
1.1 KB
src/assets/imgs/display/ch/intro-bg.png
deleted
100644 → 0
浏览文件 @
fc27c46e
586.7 KB
src/assets/imgs/display/ch/lts-bg.png
deleted
100644 → 0
浏览文件 @
fc27c46e
292.5 KB
src/assets/imgs/display/ch/pattern.png
0 → 100644
浏览文件 @
124db62a
差异被折叠。
点击展开。
src/assets/imgs/display/ch/pattern2.png
0 → 100644
浏览文件 @
124db62a
814.6 KB
src/assets/imgs/display/ch/pdf-icon.png
deleted
100644 → 0
浏览文件 @
fc27c46e
1.3 KB
src/assets/imgs/display/ch/play-icon.png
deleted
100644 → 0
浏览文件 @
fc27c46e
8.2 KB
src/assets/imgs/display/ch/slider-box.png
deleted
100644 → 0
浏览文件 @
fc27c46e
14.6 KB
src/assets/imgs/display/ch/title-bg.png
0 → 100644
浏览文件 @
124db62a
402.0 KB
src/assets/imgs/display/red/bg2.png
0 → 100644
浏览文件 @
124db62a
388.6 KB
src/components/Breadcrumb/index.vue
浏览文件 @
124db62a
...
@@ -24,11 +24,12 @@ export default {
...
@@ -24,11 +24,12 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
::v-deep
.el-breadcrumb__inner
{
::v-deep
.el-breadcrumb__inner
{
color
:
#aaa
;
color
:
#666
;
font-size
:
18px
;
}
}
::v-deep
.el-breadcrumb__item
:last-child
.el-breadcrumb__inner
{
::v-deep
.el-breadcrumb__item
:last-child
.el-breadcrumb__inner
{
color
:
#666
;
color
:
$themeColor
;
}
}
::v-deep
.el-breadcrumb__inner.is-link
:hover
{
::v-deep
.el-breadcrumb__inner.is-link
:hover
{
...
...
src/components/Footer/index.vue
浏览文件 @
124db62a
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
:class=
"
{
:class=
"
{
footer: true,
footer: true,
//isHome:isHome,
//isHome:isHome,
//
isChStyle: navbarStyle == '2',
isChStyle: navbarStyle == '2',
isRedStyle: navbarStyle == '3',
isRedStyle: navbarStyle == '3',
isSDCS: navbarStyle == '4',
isSDCS: navbarStyle == '4',
isSMGZ: navbarStyle == '5',
isSMGZ: navbarStyle == '5',
...
@@ -227,7 +227,9 @@ export default {
...
@@ -227,7 +227,9 @@ export default {
}
}
}
}
.isChStyle
{
.isChStyle
{
background-color
:
#892325
!
important
;
background-color
:
#194448
!
important
;
position
:
relative
;
top
:
-
$nav-height
;
}
}
.isRedStyle
{
.isRedStyle
{
background-color
:
#813525
!
important
;
background-color
:
#813525
!
important
;
...
...
src/components/NavBar/index.vue
浏览文件 @
124db62a
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
'header-fixed ': isFixed,
'header-fixed ': isFixed,
// 'header-absolute': 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',
isSDCS: navbarStyle == '4'
&&
isFixed,
isSDCS: navbarStyle == '4'
&&
isFixed,
isSMGZ: navbarStyle == '5'
&&
isFixed,
isSMGZ: navbarStyle == '5'
&&
isFixed,
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
>
>
<span
@
click=
"handleToPage(item.path)"
>
{{
item
.
name
}}
</span>
<span
@
click=
"handleToPage(item.path)"
>
{{
item
.
name
}}
</span>
<i
<i
v-if=
"item.name == '
陈列展览
'"
v-if=
"item.name == '
展览展示
'"
class=
"el-icon-arrow-down"
class=
"el-icon-arrow-down"
style=
"transform: translate(30%, 30%); cursor: pointer"
style=
"transform: translate(30%, 30%); cursor: pointer"
></i>
></i>
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
<el-dropdown
trigger=
"click"
>
<el-dropdown
trigger=
"click"
>
<el-button
round
>
<el-button
round
>
<i
class=
"el-icon-user"
></i>
<i
class=
"el-icon-user"
></i>
<span>
登录
</span>
<span>
{{
hasToken
?
userInfo
.
nickName
||
userInfo
.
username
:
'登录'
}}
</span>
<!--
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
-->
<!--
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
-->
</el-button>
</el-button>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-menu
slot=
"dropdown"
>
...
@@ -252,8 +252,7 @@ export default {
...
@@ -252,8 +252,7 @@ export default {
path
:
"/ccProduct"
,
path
:
"/ccProduct"
,
};
};
}
}
if
(
value
.
params
.
themeType
)
{
if
(
value
.
params
.
themeType
)
{
this
.
$store
.
commit
(
"app/CHANGE_NAV_COLOR"
,
value
.
params
.
themeType
);
this
.
$store
.
commit
(
"app/CHANGE_NAV_COLOR"
,
value
.
params
.
themeType
);
}
else
{
}
else
{
this
.
$store
.
commit
(
"app/CHANGE_NAV_COLOR"
,
"1"
);
this
.
$store
.
commit
(
"app/CHANGE_NAV_COLOR"
,
"1"
);
...
@@ -309,7 +308,7 @@ export default {
...
@@ -309,7 +308,7 @@ export default {
// path: "/boutique",
// path: "/boutique",
// },
// },
{
{
name
:
"
陈列展览
"
,
name
:
"
展览展示
"
,
path
:
"/display"
,
path
:
"/display"
,
children
:
[
children
:
[
{
{
...
@@ -537,13 +536,13 @@ export default {
...
@@ -537,13 +536,13 @@ export default {
},
},
handleEnterTabItem
(
item
)
{
handleEnterTabItem
(
item
)
{
if
(
item
.
name
==
"
陈列展览
"
)
{
if
(
item
.
name
==
"
展览展示
"
)
{
this
.
showSubMenu
=
true
;
this
.
showSubMenu
=
true
;
}
}
},
},
handleLeaveTabItem
(
item
)
{
handleLeaveTabItem
(
item
)
{
if
(
item
.
name
==
"
陈列展览
"
&&
this
.
showSubMenu
)
{
if
(
item
.
name
==
"
展览展示
"
&&
this
.
showSubMenu
)
{
this
.
showSubMenu
=
false
;
this
.
showSubMenu
=
false
;
}
}
},
},
...
@@ -597,7 +596,9 @@ export default {
...
@@ -597,7 +596,9 @@ export default {
}
}
.isChStyle
{
.isChStyle
{
background-color
:
#892325
!
important
;
// background-color: #892325 !important;
background-color
:
rgba
(
0
,
0
,
0
,
0
.25
)
!
important
;
}
}
.isRedStyle
{
.isRedStyle
{
...
...
src/components/ReaderOperations/index.vue
浏览文件 @
124db62a
<
template
>
<
template
>
<div
class=
"reader-operations"
>
<div
class=
"reader-operations"
>
<span
<span
class=
"operations"
:style=
"
{
class=
"operations"
color,
:style=
"
{
}">
color: color,
}"
>
<span
class=
"operation-item"
>
<span
class=
"operation-item"
>
<svg-icon
<svg-icon
icon-class=
"view"
:style=
"
{
icon-class=
"view"
fontSize: iconSize + 'px',
:style=
"
{
color,
fontSize: iconSize + 'px',
}">
</svg-icon>
color: color,
}"
>
</svg-icon>
<span>
{{
formatNum
(
info
.
browseCount
)
}}
</span>
<span>
{{
formatNum
(
info
.
browseCount
)
}}
</span>
</span>
</span>
<span
class=
"operation-item"
>
<span
class=
"operation-item"
>
<svg-icon
<svg-icon
@
click=
"handleLike"
:icon-class=
"info.loveCountStatus ? 'dianzan-s' : 'dianzan'"
:style=
"
{
@
click=
"handleLike"
fontSize: iconSize + 'px',
:icon-class=
"info.loaveCountStatus ? 'dianzan-s' : 'dianzan'"
color: info.loveCountStatus ? selectColor : color,
:style=
"
{
}">
</svg-icon>
fontSize: iconSize + 'px',
color: info.loaveCountStatus ? selectColor : color,
}"
>
</svg-icon>
<span>
{{
<span>
{{
formatNum
(
info
.
loveCount
)
==
0
?
"点赞"
:
formatNum
(
info
.
loveCount
)
formatNum
(
info
.
loveCount
)
==
0
?
"点赞"
:
formatNum
(
info
.
loveCount
)
}}
</span>
}}
</span>
</span>
</span>
<span
class=
"operation-item"
@
click=
"handleCollect"
>
<span
class=
"operation-item"
@
click=
"handleCollect"
>
<svg-icon
<svg-icon
:icon-class=
"info.collectCountStatus ? 'collect-s' : 'collect'"
:style=
"
{
:icon-class=
"info.collectCountStatus ? 'collect-s' : 'collect'"
fontSize: iconSize + 'px',
:style=
"
{
color: info.collectCountStatus ? selectColor : color,
fontSize: iconSize + 'px',
}">
</svg-icon>
color: info.collectCountStatus ? selectColor : color,
}"
>
</svg-icon>
<span>
{{
<span>
{{
formatNum
(
info
.
collectCount
)
==
0
formatNum
(
info
.
collectCount
)
==
0
?
"收藏"
?
"收藏"
:
formatNum
(
info
.
collectCount
)
:
formatNum
(
info
.
collectCount
)
}}
</span>
}}
</span>
</span>
</span>
<span
class=
"operation-item"
@
click=
"handleShare"
>
<span
class=
"operation-item"
@
click=
"handleShare"
>
<svg-icon
<svg-icon
icon-class=
"share2"
:style=
"
{
icon-class=
"share2"
fontSize: iconSize + 'px',
:style=
"
{
color,
fontSize: iconSize + 'px',
}">
</svg-icon>
}"
>
</svg-icon>
<span>
分享
</span>
<span>
分享
</span>
</span>
</span>
</span>
</span>
<el-dialog
<el-dialog
title=
"登录提示"
:visible
.
sync=
"loginDialogVisible"
width=
"30%"
:before-close=
"handleLoginClose"
title=
"登录提示"
append-to-body
>
:visible
.
sync=
"loginDialogVisible"
width=
"30%"
:before-close=
"handleLoginClose"
append-to-body
>
<span>
读者功能需登录进行使用,是否去登录?
</span>
<span>
读者功能需登录进行使用,是否去登录?
</span>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"loginDialogVisible = false"
>
取 消
</el-button>
<el-button
@
click=
"loginDialogVisible = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click
.
native=
"handleToLogin"
<el-button
type=
"primary"
@
click
.
native=
"handleToLogin"
>
确 定
</el-button>
>
确 定
</el-button
>
</span>
</span>
</el-dialog>
</el-dialog>
<el-dialog
<el-dialog
title=
"分享给朋友"
:visible
.
sync=
"shareDialogVisible"
width=
"40%"
:before-close=
"handleShareClose"
title=
"分享给朋友"
append-to-body
>
:visible
.
sync=
"shareDialogVisible"
width=
"40%"
:before-close=
"handleShareClose"
append-to-body
>
<!--
<div
class=
"qrcode"
>
<!--
<div
class=
"qrcode"
>
</div>
-->
</div>
-->
<div
class=
"copy"
>
<div
class=
"copy"
>
...
@@ -84,9 +57,7 @@
...
@@ -84,9 +57,7 @@
<template
slot=
"append"
>
<template
slot=
"append"
>
<el-button
type=
"text"
@
click
.
native=
"copyUrl"
>
<el-button
type=
"text"
@
click
.
native=
"copyUrl"
>
<svg-icon
icon-class=
"copy"
></svg-icon>
<svg-icon
icon-class=
"copy"
></svg-icon>
复制链接
</el-button
复制链接
</el-button></
template
>
></
template
>
</el-input>
</el-input>
</div>
</div>
</el-dialog>
</el-dialog>
...
@@ -99,45 +70,6 @@ import { debounce, formatNum } from "@/utils/index";
...
@@ -99,45 +70,6 @@ import { debounce, formatNum } from "@/utils/index";
export
default
{
export
default
{
name
:
"ReaderOperations"
,
name
:
"ReaderOperations"
,
props
:
{
props
:
{
// // 是否需要点赞,默认需要
// like: {
// type: Boolean,
// default: true,
// },
// // 是否需要收藏,默认需要
// collect: {
// type: Boolean,
// default: true,
// },
// // 是否需要分享,默认需要
// share: {
// type: Boolean,
// default: true,
// },
// // 点赞数量
// loveCount: {
// type: String,
// default: "0",
// },
// // 收藏数量
// collectCount: {
// type: String,
// default: "0",
// },
// // 点赞状态
// loveCountStatus: {
// type: Boolean,
// default: false,
// },
// // 收藏状态
// collectCountStatus: {
// type: Boolean,
// default: false,
// },
// sourceId: {
// type: String,
// default: "",
// },
info
:
{
info
:
{
type
:
Object
,
type
:
Object
,
default
:
()
=>
({}),
default
:
()
=>
({}),
...
@@ -147,10 +79,6 @@ export default {
...
@@ -147,10 +79,6 @@ export default {
type
:
String
,
type
:
String
,
default
:
""
,
default
:
""
,
},
},
// title: {
// type: String,
// default: "",
// },
iconSize
:
{
iconSize
:
{
type
:
[
Number
,
String
],
type
:
[
Number
,
String
],
default
:
28
,
default
:
28
,
...
@@ -163,26 +91,6 @@ export default {
...
@@ -163,26 +91,6 @@ export default {
type
:
String
,
type
:
String
,
default
:
"#fff"
,
default
:
"#fff"
,
},
},
// //图标未选中时的颜色
// iconColor: {
// type: String,
// default: "#fff",
// },
// //图标选中时的颜色
// selectIconColor: {
// type: String,
// default: "#fff",
// },
// // 文字未选中时的颜色
// fontColor: {
// type: String,
// default: "#fff",
// },
// // 文本选中时的颜色
// selectFontColor: {
// type: String,
// default: "#fff",
// },
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -212,13 +120,16 @@ export default {
...
@@ -212,13 +120,16 @@ export default {
title
,
title
,
};
};
this
.
$store
.
dispatch
(
"user/toggleCollect"
,
params
).
then
(()
=>
{
this
.
$store
.
dispatch
(
"user/toggleCollect"
,
params
).
then
(()
=>
{
if
(
!
this
.
collectCountStatus
)
{
if
(
!
this
.
info
.
collectCountStatus
)
{
// 点赞
// 点赞
this
.
$message
.
success
(
"已收藏!"
);
this
.
$message
.
success
(
"已收藏!"
);
}
else
{
}
else
{
this
.
$message
.
success
(
"已取消收藏!"
);
this
.
$message
.
success
(
"已取消收藏!"
);
}
}
this
.
$emit
(
"reload"
);
setTimeout
(()
=>
{
this
.
$emit
(
"reload"
,
this
.
info
.
crId
||
this
.
info
.
exhibitionId
);
},
300
)
});
});
}
else
{
}
else
{
this
.
loginDialogVisible
=
true
;
this
.
loginDialogVisible
=
true
;
...
@@ -242,13 +153,15 @@ export default {
...
@@ -242,13 +153,15 @@ export default {
title
,
title
,
};
};
this
.
$store
.
dispatch
(
"user/toggleLike"
,
params
).
then
(()
=>
{
this
.
$store
.
dispatch
(
"user/toggleLike"
,
params
).
then
(()
=>
{
if
(
!
this
.
info
.
lo
a
veCountStatus
)
{
if
(
!
this
.
info
.
loveCountStatus
)
{
// 点赞
// 点赞
this
.
$message
.
success
(
"已点赞!"
);
this
.
$message
.
success
(
"已点赞!"
);
}
else
{
}
else
{
this
.
$message
.
success
(
"已取消点赞!"
);
this
.
$message
.
success
(
"已取消点赞!"
);
}
}
this
.
$emit
(
"reload"
);
setTimeout
(()
=>
{
this
.
$emit
(
"reload"
,
this
.
info
.
crId
||
this
.
info
.
exhibitionId
);
},
300
)
});
});
}
else
{
}
else
{
this
.
loginDialogVisible
=
true
;
this
.
loginDialogVisible
=
true
;
...
@@ -297,24 +210,29 @@ export default {
...
@@ -297,24 +210,29 @@ export default {
width
:
100%
;
width
:
100%
;
max-width
:
500px
;
max-width
:
500px
;
}
}
.operations
{
.operations
{
// margin-top: 22px;
// margin-top: 22px;
width
:
100%
;
width
:
100%
;
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
.operation-item
{
.operation-item
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
cursor
:
pointer
;
cursor
:
pointer
;
font-size
:
14px
;
font-size
:
14px
;
}
}
.svg-icon
{
.svg-icon
{
margin-right
:
10px
;
margin-right
:
10px
;
font-size
:
24px
;
font-size
:
24px
;
}
}
.like
{
.like
{
color
:
#831122
;
color
:
#831122
;
}
}
.collect
{
.collect
{
color
:
#831122
;
color
:
#831122
;
}
}
...
@@ -334,6 +252,7 @@ export default {
...
@@ -334,6 +252,7 @@ export default {
.img-container
{
.img-container
{
width
:
200px
;
width
:
200px
;
height
:
200px
;
height
:
200px
;
img
{
img
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
...
@@ -349,6 +268,7 @@ export default {
...
@@ -349,6 +268,7 @@ export default {
.el-button
{
.el-button
{
border-radius
:
0
;
border-radius
:
0
;
}
}
.el-button--primary
{
.el-button--primary
{
border
:
none
;
border
:
none
;
background-color
:
$themeColor
;
background-color
:
$themeColor
;
...
...
src/components/VideoPlayer/index.vue
浏览文件 @
124db62a
...
@@ -93,6 +93,12 @@ export default {
...
@@ -93,6 +93,12 @@ export default {
height
:
100%
;
height
:
100%
;
.video-js
{
.video-js
{
&
:hover
{
.vjs-big-play-button
{
// background-color: #fff;
// color: $themeColor;
}
}
video
{
video
{
// object-fit: fill;
// object-fit: fill;
}
}
...
@@ -105,7 +111,13 @@ export default {
...
@@ -105,7 +111,13 @@ export default {
.vjs-big-play-button
{
.vjs-big-play-button
{
left
:
50%
;
left
:
50%
;
top
:
50%
;
top
:
50%
;
width
:
80px
;
height
:
80px
;
border-radius
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
transform
:
translate
(
-50%
,
-50%
);
font-size
:
50px
;
color
:
#fff
;
background-color
:
$themeColor
;
}
}
.vjs-control-bar
{
.vjs-control-bar
{
...
...
src/views/culturalRelic/Detail.vue
浏览文件 @
124db62a
差异被折叠。
点击展开。
src/views/display/Detail.vue
浏览文件 @
124db62a
...
@@ -67,4 +67,8 @@ export default {
...
@@ -67,4 +67,8 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
// .display-detail{
// position: relative;
// top: -$nav-height;
// }
</
style
>
</
style
>
\ No newline at end of file
src/views/display/components/ChStyle-old.vue
0 → 100644
浏览文件 @
124db62a
差异被折叠。
点击展开。
src/views/display/components/ChStyle.vue
浏览文件 @
124db62a
差异被折叠。
点击展开。
src/views/display/components/NormalStyle.vue
浏览文件 @
124db62a
...
@@ -396,7 +396,7 @@ export default {
...
@@ -396,7 +396,7 @@ export default {
dotImg
:
require
(
"@/assets/imgs/display/normal/mz-dot.png"
),
dotImg
:
require
(
"@/assets/imgs/display/normal/mz-dot.png"
),
dotImgS
:
require
(
"@/assets/imgs/display/normal/mz-dot-s.png"
),
dotImgS
:
require
(
"@/assets/imgs/display/normal/mz-dot-s.png"
),
page
:
null
,
page
:
null
,
currentVideo
:
null
,
currentVideo
:
{}
,
videoSwiperOption
:
{
videoSwiperOption
:
{
loop
:
false
,
loop
:
false
,
loopedSlides
:
8
,
// looped slides should be the same
loopedSlides
:
8
,
// looped slides should be the same
...
...
src/views/display/components/NormalStyleUnit.vue
浏览文件 @
124db62a
...
@@ -26,20 +26,20 @@
...
@@ -26,20 +26,20 @@
</div>
</div>
<div
class=
"text-indent unit-content_intro"
v-if=
"curUnit.intro"
v-html=
"unitValue.intro"
></div>
<div
class=
"text-indent unit-content_intro"
v-if=
"curUnit.intro"
v-html=
"unitValue.intro"
></div>
<div
class=
"unit-content_images"
v-if=
"unitValue.imagesVo && unitValue.imagesVo.length > 0"
>
<div
class=
"unit-content_images"
v-if=
"unitValue.imagesVo && unitValue.imagesVo.length > 0"
>
<
div
class=
"imgs-title"
>
单元图片
</div
>
<
!--
<div
class=
"imgs-title"
>
单元图片
</div>
--
>
<div
class=
"unit-imgs"
>
<div
class=
"unit-imgs"
>
<SlideImageGroup
:imgList=
"unitValue.imagesVo"
:needEnlarge=
"true"
<SlideImageGroup
:imgList=
"unitValue.imagesVo"
:needEnlarge=
"true"
v-if=
"unitValue.imagesVo.length > 3"
>
v-if=
"unitValue.imagesVo.length > 3"
>
<template
slot-scope=
"
{ item }" slot="img">
<template
slot-scope=
"
{ item }" slot="img">
<img
:src=
"$getFullUrl(item.
press
Url)"
alt=
""
<img
:src=
"$getFullUrl(item.
middle
Url)"
alt=
""
style=
"width: 100%; height: 100%; object-fit: contain"
/>
style=
"width: 100%; height: 100%; object-fit: contain"
/>
</
template
>
</
template
>
</SlideImageGroup>
</SlideImageGroup>
<el-row
v-if=
"unitValue.imagesVo.length > 0 && unitValue.imagesVo.length < 4"
:gutter=
"10"
>
<el-row
v-if=
"unitValue.imagesVo.length > 0 && unitValue.imagesVo.length < 4"
:gutter=
"10"
>
<el-col
v-for=
"(item, index) in unitValue.imagesVo"
:key=
"index"
<el-col
v-for=
"(item, index) in unitValue.imagesVo"
:key=
"index"
:span=
"24 / unitValue.imagesVo.length"
style=
"height:300px"
>
:span=
"24 / unitValue.imagesVo.length"
style=
"height:300px"
>
<img
:src=
"$getFullUrl(item.
press
Url)"
alt=
""
<img
:src=
"$getFullUrl(item.
middle
Url)"
alt=
""
style=
"width: 100%; height: 100%; object-fit: contain;cursor: pointer;"
style=
"width: 100%; height: 100%; object-fit: contain;cursor: pointer;"
@
click=
"handelPreviewImages(unitValue.imagesVo)"
/>
@
click=
"handelPreviewImages(unitValue.imagesVo)"
/>
</el-col>
</el-col>
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
<div
class=
"imgs-title"
>
单元文物
</div>
<div
class=
"imgs-title"
>
单元文物
</div>
<SlideImageGroup
:imgList=
"unitValue.culturalRelics"
>
<SlideImageGroup
:imgList=
"unitValue.culturalRelics"
>
<
template
slot-scope=
"{ item }"
slot=
"img"
>
<
template
slot-scope=
"{ item }"
slot=
"img"
>
<img
:src=
"$getFullUrl(item.faceImage
Press
Url)"
alt=
""
style=
"
<img
:src=
"$getFullUrl(item.faceImage
Middle
Url)"
alt=
""
style=
"
width: 100%;
width: 100%;
height: 100%;
height: 100%;
object-fit: fill;
object-fit: fill;
...
@@ -106,6 +106,13 @@ export default {
...
@@ -106,6 +106,13 @@ export default {
},
},
}
}
},
},
updated
()
{
let
p
=
document
.
getElementsByTagName
(
'p'
)
let
arr
=
[...
p
]
arr
.
map
(
item
=>
{
item
.
style
.
color
=
"#333"
})
},
methods
:
{
methods
:
{
handleClickUnit
(
item
)
{
handleClickUnit
(
item
)
{
this
.
$emit
(
'handleClickUnit'
,
item
)
this
.
$emit
(
'handleClickUnit'
,
item
)
...
@@ -120,12 +127,14 @@ export default {
...
@@ -120,12 +127,14 @@ export default {
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
.unit-content_intro
{
.unit-content_intro
{
p
{
p
{
// color: red !important;
// color: red !important;
font-family
:
$defaultFontFamily
!
important
;
font-family
:
$defaultFontFamily
!
important
;
}
// color: #333 !important;
}
}
}
</
style
>
</
style
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
...
@@ -183,25 +192,37 @@ export default {
...
@@ -183,25 +192,37 @@ export default {
flex
:
1
;
flex
:
1
;
padding
:
60px
40px
0
;
padding
:
60px
40px
0
;
.unit-content-container
{
}
.unit-content-container
{
.unit-content-title
{
.unit-content-title
{
font-size
:
24px
;
font-size
:
20px
;
line-height
:
2
;
line-height
:
2
;
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
margin-top
:
48px
;
margin-top
:
48px
;
}
}
.unit-content_intro
{
font-size
:
16px
;
font-weight
:
400
;
color
:
#444444
;
line-height
:
36px
;
text-indent
:
32px
;
margin-bottom
:
20px
;
}
&
:nth-child
(
1
)
{
.unit-content-title
{
font-size
:
24px
;
font-weight
:
bold
;
}
}
.unit-content_intro
{
font-size
:
16px
;
font-weight
:
400
;
color
:
#444444
;
line-height
:
36px
;
text-indent
:
32px
;
margin-bottom
:
20px
;
}
}
.unit-content_images
{
.unit-content_images
{
position
:
relative
;
position
:
relative
;
...
...
src/views/display/components/RedStyle.vue
浏览文件 @
124db62a
差异被折叠。
点击展开。
src/views/display/index.vue
浏览文件 @
124db62a
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论