Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
E
exhibition_page
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
龙菲
exhibition_page
Commits
9980a8fe
提交
9980a8fe
authored
12月 01, 2022
作者:
龙菲
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改富文本字体为默认字体
上级
e870d906
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
130 行增加
和
22 行删除
+130
-22
variable.scss
src/assets/styles/variable.scss
+1
-0
index.vue
src/components/Breadcrumb/index.vue
+38
-0
Detail.vue
src/views/ccProduct/Detail.vue
+23
-14
Detail.vue
src/views/culturalRelic/Detail.vue
+27
-7
ChStyle.vue
src/views/display/components/ChStyle.vue
+7
-1
ChStyleUnit.vue
src/views/display/components/ChStyleUnit.vue
+8
-0
NormalStyle.vue
src/views/display/components/NormalStyle.vue
+9
-0
NormalStyleUnit.vue
src/views/display/components/NormalStyleUnit.vue
+8
-0
RedStyle.vue
src/views/display/components/RedStyle.vue
+9
-0
没有找到文件。
src/assets/styles/variable.scss
浏览文件 @
9980a8fe
...
@@ -8,3 +8,4 @@ $font-size-sm:14px;
...
@@ -8,3 +8,4 @@ $font-size-sm:14px;
$font-size-base
:
16px
;
$font-size-base
:
16px
;
$font-size-lg
:
22px
;
$font-size-lg
:
22px
;
$defaultFontFamily
:
Avenir
,
Helvetica
Neue
,
Arial
,
Helvetica
,
sans-serif
;
src/components/Breadcrumb/index.vue
0 → 100644
浏览文件 @
9980a8fe
<
template
>
<el-breadcrumb
separator-class=
"el-icon-arrow-right"
>
<el-breadcrumb-item
v-for=
"(item, index) in list"
:key=
"index"
:to=
"
{ path: item.path }">
{{
item
.
name
}}
</el-breadcrumb-item>
</el-breadcrumb>
</
template
>
<
script
>
export
default
{
name
:
'Breadcrumb'
,
props
:
{
list
:
{
type
:
Array
,
default
:
[
{
name
:
'首页'
,
path
:
"/"
}
]
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
::v-deep
.el-breadcrumb__inner
{
color
:
#ccc
;
}
::v-deep
.el-breadcrumb__item
:last-child
.el-breadcrumb__inner
{
color
:
#999
;
}
::v-deep
.el-breadcrumb__inner.is-link
:hover
{
color
:
#b5800a
;
}
</
style
>
\ No newline at end of file
src/views/ccProduct/Detail.vue
浏览文件 @
9980a8fe
...
@@ -14,11 +14,7 @@
...
@@ -14,11 +14,7 @@
<div
class=
"title wow animate__animated animate__fadeInLeft"
>
{{
productInfo
.
title
}}
</div>
<div
class=
"title wow animate__animated animate__fadeInLeft"
>
{{
productInfo
.
title
}}
</div>
<div
class=
"intro wow animate__animated animate__fadeInRight"
v-html=
"productInfo.intro"
></div>
<div
class=
"intro wow animate__animated animate__fadeInRight"
v-html=
"productInfo.intro"
></div>
<div
class=
"images wow animate__animated animate__fadeInUp"
>
<div
class=
"images wow animate__animated animate__fadeInUp"
>
<div
<div
class=
"img-container"
v-for=
"(item, index) in productInfo.imagesVo"
:key=
"index"
>
class=
"img-container"
v-for=
"(item, index) in productInfo.imagesVo"
:key=
"index"
>
<img
:src=
"$getFullUrl(item.pressUrl)"
/>
<img
:src=
"$getFullUrl(item.pressUrl)"
/>
</div>
</div>
</div>
</div>
...
@@ -67,21 +63,26 @@ export default {
...
@@ -67,21 +63,26 @@ export default {
background
:
url("@/assets/imgs/ccproduct/wc-bg.png")
;
background
:
url("@/assets/imgs/ccproduct/wc-bg.png")
;
min-height
:
calc
(
100vh
-
300px
);
min-height
:
calc
(
100vh
-
300px
);
padding
:
40px
13%
;
padding
:
40px
13%
;
.back
{
.back
{
color
:
#999
;
color
:
#999
;
margin
:
30px
0
;
margin
:
30px
0
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.wrapper
{
.wrapper
{
background-color
:
#fff
;
background-color
:
#fff
;
min-height
:
calc
(
100vh
-
300px
);
min-height
:
calc
(
100vh
-
300px
);
.header
{
.header
{
position
:
relative
;
position
:
relative
;
.dc-right
{
.dc-right
{
position
:
absolute
;
position
:
absolute
;
right
:
0
;
right
:
0
;
bottom
:
10px
;
bottom
:
10px
;
}
}
.dc-left
{
.dc-left
{
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
...
@@ -98,30 +99,38 @@ export default {
...
@@ -98,30 +99,38 @@ export default {
}
}
}
}
.body
{
.body
{
padding
:
400px
100px
;
padding
:
400px
100px
;
.title
{
.title
{
font-size
:
32px
;
font-size
:
32px
;
font-family
:
"SourceHanSerifCN-Bold"
;
font-family
:
"SourceHanSerifCN-Bold"
;
color
:
#333
;
color
:
#333
;
}
}
.intro
,
.deptName
{
.intro
,
.deptName
{
color
:
#999
;
color
:
#999
;
}
}
.intro
{
&
>
p
{
.intro
{
&
>
p
{
color
:
#666
;
color
:
#666
;
// font-family: $defaultFontFamily;
}
}
}
}
.images
{
.images
{
padding
:
20px
0
;
padding
:
20px
0
;
display
:
flex
;
display
:
flex
;
.img-container
{
.img-container
{
width
:
400px
;
width
:
400px
;
height
:
400px
;
height
:
400px
;
background-color
:
#f7f7f7
;
background-color
:
#f7f7f7
;
margin
:
20px
;
margin
:
20px
;
img
{
img
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
object-fit
:
contain
;
object-fit
:
contain
;
...
...
src/views/culturalRelic/Detail.vue
浏览文件 @
9980a8fe
...
@@ -6,17 +6,14 @@
...
@@ -6,17 +6,14 @@
</div>
</div>
<div
class=
"wrapper wow animate__animated animate__fadeInUpBig"
>
<div
class=
"wrapper wow animate__animated animate__fadeInUpBig"
>
<div
class=
"breadcrumb"
>
<Breadcrumb
:list=
"guideList"
/>
</div>
<div
class=
"inner"
>
<div
class=
"inner"
>
<!-- 展览基本信息 -->
<!-- 展览基本信息 -->
<div
class=
"inner-left wow animate__animated animate__fadeInLeft"
>
<div
class=
"inner-left wow animate__animated animate__fadeInLeft"
>
<!--
<div>
<SlideImage
:imgList=
"CRDetail.imagesVo"
v-if=
"CRDetail.imagesVo && CRDetail.imagesVo.length > 0"
/>
<SlideImage
:imgList=
"[
{ pressUrl: CRDetail.faceImagePressUrl }]" v-else-if="CRDetail.faceImagePressUrl" />
</div>
-->
<!--
<div>
<img
:src=
"CRDetail.faceImagePressUrl"
alt=
""
/>
</div>
-->
<swiper
:options=
"swiperOption2"
ref=
"crSwiper"
>
<swiper
:options=
"swiperOption2"
ref=
"crSwiper"
>
<swiper-slide
v-for=
"(item, i) in imagesVo"
:key=
"i"
>
<swiper-slide
v-for=
"(item, i) in imagesVo"
:key=
"i"
>
<div
class=
"img-container"
@
click=
"handelPreviewImages(imagesVo)"
>
<div
class=
"img-container"
@
click=
"handelPreviewImages(imagesVo)"
>
...
@@ -236,6 +233,7 @@ import videoPlayer from "@/components/VideoPlayer";
...
@@ -236,6 +233,7 @@ import videoPlayer from "@/components/VideoPlayer";
import
SlideImage
from
"@/components/SlideImage/slider.vue"
;
import
SlideImage
from
"@/components/SlideImage/slider.vue"
;
import
{
isElementInViewport2
}
from
"@/utils/index"
;
import
{
isElementInViewport2
}
from
"@/utils/index"
;
import
{
swiper
,
swiperSlide
}
from
"vue-awesome-swiper"
;
import
{
swiper
,
swiperSlide
}
from
"vue-awesome-swiper"
;
import
Breadcrumb
from
'@/components/Breadcrumb/index'
export
default
{
export
default
{
components
:
{
components
:
{
AudioPlayer
,
AudioPlayer
,
...
@@ -244,6 +242,7 @@ export default {
...
@@ -244,6 +242,7 @@ export default {
videoPlayer
,
videoPlayer
,
SlideImage
,
SlideImage
,
swiper
,
swiperSlide
,
swiper
,
swiperSlide
,
Breadcrumb
,
"el-image-viewer"
:
()
=>
"el-image-viewer"
:
()
=>
import
(
"element-ui/packages/image/src/image-viewer"
),
import
(
"element-ui/packages/image/src/image-viewer"
),
},
},
...
@@ -299,6 +298,16 @@ export default {
...
@@ -299,6 +298,16 @@ export default {
prevEl
:
".swiper-button-prev"
,
prevEl
:
".swiper-button-prev"
,
},
},
},
},
guideList
:
[
{
name
:
'首页'
,
path
:
'/'
,
},
{
name
:
'文物展示'
,
path
:
'/culturalRelic'
,
},
]
};
};
},
},
watch
:
{
watch
:
{
...
@@ -351,6 +360,10 @@ export default {
...
@@ -351,6 +360,10 @@ export default {
let
res
=
await
getRCDetailByIdV2
({
crId
});
let
res
=
await
getRCDetailByIdV2
({
crId
});
if
(
res
.
code
==
0
)
{
if
(
res
.
code
==
0
)
{
this
.
CRDetail
=
res
.
data
.
culturalRelicVo
;
this
.
CRDetail
=
res
.
data
.
culturalRelicVo
;
this
.
guideList
.
push
({
name
:
this
.
CRDetail
.
name
,
path
:
`/culturalRelic/
${
this
.
CRDetail
.
crId
}
`
})
// this.relateRelics = res.data.recommendList.records;
// this.relateRelics = res.data.recommendList.records;
if
(
this
.
CRDetail
.
videosVo
&&
this
.
CRDetail
.
videosVo
.
length
>
0
)
{
if
(
this
.
CRDetail
.
videosVo
&&
this
.
CRDetail
.
videosVo
.
length
>
0
)
{
this
.
currentVideo
=
this
.
CRDetail
.
videosVo
[
0
];
this
.
currentVideo
=
this
.
CRDetail
.
videosVo
[
0
];
...
@@ -539,6 +552,12 @@ $node-w: 700px;
...
@@ -539,6 +552,12 @@ $node-w: 700px;
}
}
}
}
.breadcrumb
{
padding
:
60px
;
position
:
relative
;
z-index
:
999
;
}
.inner
{
.inner
{
width
:
100%
;
width
:
100%
;
display
:
flex
;
display
:
flex
;
...
@@ -549,6 +568,7 @@ $node-w: 700px;
...
@@ -549,6 +568,7 @@ $node-w: 700px;
// position: relative;
// position: relative;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
flex-direction
:
column
;
.swiper-container
{
.swiper-container
{
height
:
68vh
;
height
:
68vh
;
...
...
src/views/display/components/ChStyle.vue
浏览文件 @
9980a8fe
...
@@ -535,6 +535,13 @@ export default {
...
@@ -535,6 +535,13 @@ export default {
};
};
</
script
>
</
script
>
<
style
lang=
"scss"
>
.intro-content
{
p
{
font-family
:
$defaultFontFamily
!
important
;
}
}
</
style
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
// 中国风主题样式
// 中国风主题样式
/**公共样式开始 */
/**公共样式开始 */
...
@@ -750,7 +757,6 @@ $themeRed: #892325;
...
@@ -750,7 +757,6 @@ $themeRed: #892325;
.intro-content
{
.intro-content
{
font-size
:
16px
;
font-size
:
16px
;
font-family
:
Microsoft
YaHei
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#444444
;
color
:
#444444
;
text-indent
:
32px
;
text-indent
:
32px
;
...
...
src/views/display/components/ChStyleUnit.vue
浏览文件 @
9980a8fe
...
@@ -85,6 +85,14 @@ export default {
...
@@ -85,6 +85,14 @@ export default {
};
};
</
script
>
</
script
>
<
style
lang=
"scss"
>
.units-content-intro
,
.unit-intro
{
p
{
font-family
:
$defaultFontFamily
!
important
;
}
}
</
style
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.units-content
{
.units-content
{
margin
:
100px
0
;
margin
:
100px
0
;
...
...
src/views/display/components/NormalStyle.vue
浏览文件 @
9980a8fe
...
@@ -545,8 +545,17 @@ export default {
...
@@ -545,8 +545,17 @@ export default {
.page-item
{
.page-item
{
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.display-detail_intro
{
.intro-content
{
p
{
font-family
:
$defaultFontFamily
!
important
;
}
}
}
</
style
>
</
style
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
// 中国风主题样式
// 中国风主题样式
/**公共样式开始 */
/**公共样式开始 */
...
...
src/views/display/components/NormalStyleUnit.vue
浏览文件 @
9980a8fe
...
@@ -120,6 +120,14 @@ export default {
...
@@ -120,6 +120,14 @@ export default {
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
>
.unit-content_intro
{
p
{
// color: red !important;
font-family
:
$defaultFontFamily
!
important
;
}
}
</
style
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.unit-container
{
.unit-container
{
margin-bottom
:
40px
;
margin-bottom
:
40px
;
...
...
src/views/display/components/RedStyle.vue
浏览文件 @
9980a8fe
...
@@ -652,6 +652,15 @@ export default {
...
@@ -652,6 +652,15 @@ export default {
};
};
</
script
>
</
script
>
<
style
lang=
"scss"
>
.unit-content_intro
{
p
{
// color: red !important;
font-family
:
$defaultFontFamily
!
important
;
}
}
</
style
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
$themeColor
:
#a30e0c
;
$themeColor
:
#a30e0c
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论