Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
E
exhibition_page
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
龙菲
exhibition_page
Commits
002c2e2c
提交
002c2e2c
authored
10月 31, 2022
作者:
龙菲
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改神秘贵州展厅3D导航图;修改展览和文物的视频位置
上级
827456db
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
338 行增加
和
46 行删除
+338
-46
guide.png
src/assets/imgs/boutique/smgz/5_guide/guide.png
+0
-0
index.vue
src/components/VideoPlayer/index.vue
+9
-0
SMGZ.vue
src/views/boutique/components/SMGZ.vue
+7
-3
Detail.vue
src/views/culturalRelic/Detail.vue
+144
-17
BlueStyle.vue
src/views/display/components/BlueStyle.vue
+0
-0
ChStyle.vue
src/views/display/components/ChStyle.vue
+178
-26
RedStyle.vue
src/views/display/components/RedStyle.vue
+0
-0
没有找到文件。
src/assets/imgs/boutique/smgz/5_guide/guide.png
0 → 100644
浏览文件 @
002c2e2c
差异被折叠。
点击展开。
src/components/VideoPlayer/index.vue
浏览文件 @
002c2e2c
...
@@ -78,8 +78,17 @@ export default {
...
@@ -78,8 +78,17 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.m-video
{
.m-video
{
height
:
100%
;
::v-deep
.video-player
{
::v-deep
.video-player
{
height
:
100%
;
.video-js
{
.video-js
{
video
{
object-fit
:
fill
;
}
&
.vjs-fluid
{
height
:
100%
!
important
;
padding-top
:
0
;
}
.vjs-big-play-button
{
.vjs-big-play-button
{
left
:
50%
;
left
:
50%
;
top
:
50%
;
top
:
50%
;
...
...
src/views/boutique/components/SMGZ.vue
浏览文件 @
002c2e2c
...
@@ -259,7 +259,7 @@
...
@@ -259,7 +259,7 @@
<div
<div
class=
"guide-content-3d-imgs wow animate__animated animate__fadeInUp"
class=
"guide-content-3d-imgs wow animate__animated animate__fadeInUp"
>
>
<img
src=
"@/assets/imgs/boutique/smgz/5_guide/
pic3
.png"
alt=
""
/>
<img
src=
"@/assets/imgs/boutique/smgz/5_guide/
guide
.png"
alt=
""
/>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -852,7 +852,7 @@ export default {
...
@@ -852,7 +852,7 @@ export default {
}
}
.guide
{
.guide
{
height
:
1
7
00px
;
height
:
1
9
00px
;
.guide-content
{
.guide-content
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
...
@@ -996,8 +996,11 @@ export default {
...
@@ -996,8 +996,11 @@ export default {
.guide-content-3d-imgs
{
.guide-content-3d-imgs
{
margin-bottom
:
70px
;
margin-bottom
:
70px
;
width
:
90%
;
width
:
90%
;
height
:
1000px
;
img
{
img
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
object-fit
:
contain
;
}
}
}
}
}
}
...
@@ -1102,7 +1105,8 @@ export default {
...
@@ -1102,7 +1105,8 @@ export default {
}
}
}
}
.smgz-video
{
.smgz-video
{
width
:
60%
;
width
:
70%
;
height
:
800px
;
position
:
absolute
;
position
:
absolute
;
left
:
50%
;
left
:
50%
;
top
:
50%
;
top
:
50%
;
...
...
src/views/culturalRelic/Detail.vue
浏览文件 @
002c2e2c
...
@@ -202,12 +202,12 @@
...
@@ -202,12 +202,12 @@
<div
class=
"intro-content wow animate__animated animate__fadeInLeft"
>
<div
class=
"intro-content wow animate__animated animate__fadeInLeft"
>
<div
class=
"intro-title"
>
<div
class=
"intro-title"
>
<!--
<svg-icon
icon-class=
"jianjie"
></svg-icon>
-->
<!--
<svg-icon
icon-class=
"jianjie"
></svg-icon>
-->
<i
class=
"el-icon-
reading
"
style=
"margin-right: 10px"
></i>
<i
class=
"el-icon-
tickets
"
style=
"margin-right: 10px"
></i>
<span>
文物简介
</span>
<span>
文物简介
</span>
</div>
</div>
<div
class=
"intro-content-container"
v-html=
"CRDetail.intro"
></div>
<div
class=
"intro-content-container"
v-html=
"CRDetail.intro"
></div>
</div>
</div>
<div
<
!--
<
div
class=
"intro-video wow animate__animated animate__fadeInRight"
class=
"intro-video wow animate__animated animate__fadeInRight"
v-if=
"CRDetail.videosVo && CRDetail.videosVo.length > 0"
v-if=
"CRDetail.videosVo && CRDetail.videosVo.length > 0"
>
>
...
@@ -219,7 +219,42 @@
...
@@ -219,7 +219,42 @@
<Video
:url=
"$getFullUrl(item.url)"
theme=
"blue"
/>
<Video
:url=
"$getFullUrl(item.url)"
theme=
"blue"
/>
</el-carousel-item>
</el-carousel-item>
</el-carousel>
</el-carousel>
</div>
-->
</div>
<!-- 展览视频 -->
<div
class=
"content-item videos wow animate__animated animate__fadeInRight"
v-if=
"CRDetail.videosVo && CRDetail.videosVo.length > 0"
>
<div
class=
"video-title"
>
<i
class=
"el-icon-video-camera"
></i>
展览视频
</div>
<div
class=
"video-names"
>
<div
class=
"video-item"
v-for=
"(item, index) in CRDetail.videosVo"
:key=
"index"
@
click=
"handleChangeCurrentVideo(item)"
>
<div
:class=
"[
'name',
currentVideo && item.fileId == currentVideo.fileId
? 'active'
: '',
]"
>
{{
item
.
name
.
split
(
"."
)[
0
]
}}
</div>
</div>
</div>
</div>
<video-player
v-if=
"currentVideo"
:src=
"$getFullUrl(currentVideo.url)"
class=
"video-box"
></video-player>
</div>
</div>
<!--相关文物 -->
<!--相关文物 -->
...
@@ -351,12 +386,14 @@ import ReaderOperations from "@/components/ReaderOperations";
...
@@ -351,12 +386,14 @@ import ReaderOperations from "@/components/ReaderOperations";
// import QRCode from "qrcodejs2";
// import QRCode from "qrcodejs2";
import
{
getRCDetailByIdV2
,
crRecommendByPage
}
from
"@/api/culturalRelic"
;
import
{
getRCDetailByIdV2
,
crRecommendByPage
}
from
"@/api/culturalRelic"
;
import
{
previewFile
}
from
"@/utils/index"
;
import
{
previewFile
}
from
"@/utils/index"
;
import
videoPlayer
from
"@/components/VideoPlayer"
;
export
default
{
export
default
{
components
:
{
components
:
{
AudioPlayer
,
AudioPlayer
,
ReaderOperations
,
ReaderOperations
,
Video
,
Video
,
videoPlayer
,
"el-image-viewer"
:
()
=>
"el-image-viewer"
:
()
=>
import
(
"element-ui/packages/image/src/image-viewer"
),
import
(
"element-ui/packages/image/src/image-viewer"
),
},
},
...
@@ -371,6 +408,8 @@ export default {
...
@@ -371,6 +408,8 @@ export default {
dotImgS
:
require
(
"@/assets/imgs/display/normal/mz-dot-s.png"
),
dotImgS
:
require
(
"@/assets/imgs/display/normal/mz-dot-s.png"
),
page
:
null
,
page
:
null
,
currentRcKey
:
"type"
,
currentRcKey
:
"type"
,
currentVideo
:
null
,
};
};
},
},
watch
:
{
watch
:
{
...
@@ -392,6 +431,9 @@ export default {
...
@@ -392,6 +431,9 @@ export default {
if
(
res
.
code
==
0
)
{
if
(
res
.
code
==
0
)
{
this
.
CRDetail
=
res
.
data
.
culturalRelicVo
;
this
.
CRDetail
=
res
.
data
.
culturalRelicVo
;
// this.relateRelics = res.data.recommendList.records;
// this.relateRelics = res.data.recommendList.records;
if
(
this
.
CRDetail
.
videosVo
&&
this
.
CRDetail
.
videosVo
.
length
>
0
)
{
this
.
currentVideo
=
this
.
CRDetail
.
videosVo
[
0
];
}
// 获取关联文物
// 获取关联文物
this
.
loadCrRecommend
();
this
.
loadCrRecommend
();
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
...
@@ -406,7 +448,6 @@ export default {
...
@@ -406,7 +448,6 @@ export default {
},
},
async
loadCrRecommend
()
{
async
loadCrRecommend
()
{
const
{
crId
}
=
this
.
CRDetail
;
const
{
crId
}
=
this
.
CRDetail
;
const
params
=
{
const
params
=
{
crId
,
crId
,
...
@@ -506,11 +547,15 @@ export default {
...
@@ -506,11 +547,15 @@ export default {
handleToCr
(
item
)
{
handleToCr
(
item
)
{
const
{
crId
}
=
item
;
const
{
crId
}
=
item
;
// const newPage = this.$router.resolve({
const
newPage
=
this
.
$router
.
resolve
({
// path: "/culturalRelic/" + crId,
path
:
"/culturalRelic/"
+
crId
,
// });
});
// window.open(newPage.href, "_blank");
window
.
open
(
newPage
.
href
,
"_blank"
);
this
.
$router
.
push
(
`/culturalRelic/
${
crId
}
`
);
// this.$router.push(`/culturalRelic/${crId}`);
},
handleChangeCurrentVideo
(
video
)
{
this
.
currentVideo
=
video
;
},
},
},
},
};
};
...
@@ -531,7 +576,7 @@ export default {
...
@@ -531,7 +576,7 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
// 中国风主题样式
// 中国风主题样式
/**公共样式开始 */
/**公共样式开始 */
$
blue
:
#2069c4
;
$
themeColor
:
#2069c4
;
.custom-title
{
.custom-title
{
width
:
50px
;
width
:
50px
;
background-color
:
#d72f3f
;
background-color
:
#d72f3f
;
...
@@ -568,13 +613,13 @@ $blue: #2069c4;
...
@@ -568,13 +613,13 @@ $blue: #2069c4;
align-items
:
center
;
align-items
:
center
;
.svg-icon
{
.svg-icon
{
font-size
:
50px
;
font-size
:
50px
;
color
:
$
blue
;
color
:
$
themeColor
;
margin-right
:
10px
;
margin-right
:
10px
;
}
}
.title
{
.title
{
font-size
:
26px
;
font-size
:
26px
;
font-weight
:
400
;
font-weight
:
400
;
color
:
$
blue
;
color
:
$
themeColor
;
line-height
:
101px
;
line-height
:
101px
;
}
}
}
}
...
@@ -627,6 +672,7 @@ $blue: #2069c4;
...
@@ -627,6 +672,7 @@ $blue: #2069c4;
font-weight
:
400
;
font-weight
:
400
;
color
:
#2069c4
;
color
:
#2069c4
;
line-height
:
90px
;
line-height
:
90px
;
font-family
:
SourceHanSerifCN-Bold
;
.svg-icon
{
.svg-icon
{
margin-right
:
10px
;
margin-right
:
10px
;
font-size
:
36px
;
font-size
:
36px
;
...
@@ -806,7 +852,7 @@ $blue: #2069c4;
...
@@ -806,7 +852,7 @@ $blue: #2069c4;
cursor
:
pointer
;
cursor
:
pointer
;
animation
:
audioRotate
8s
linear
infinite
;
animation
:
audioRotate
8s
linear
infinite
;
transform-origin
:
center
center
;
transform-origin
:
center
center
;
border
:
2px
solid
$
blue
;
border
:
2px
solid
$
themeColor
;
padding
:
10px
;
padding
:
10px
;
border-radius
:
50%
;
border-radius
:
50%
;
display
:
flex
;
display
:
flex
;
...
@@ -818,7 +864,7 @@ $blue: #2069c4;
...
@@ -818,7 +864,7 @@ $blue: #2069c4;
box-shadow
:
0
0
14px
rgb
(
0
0
0
/
40%
);
box-shadow
:
0
0
14px
rgb
(
0
0
0
/
40%
);
}
}
.svg-icon
{
.svg-icon
{
color
:
$
blue
;
color
:
$
themeColor
;
font-size
:
80px
;
font-size
:
80px
;
}
}
img
{
img
{
...
@@ -835,9 +881,9 @@ $blue: #2069c4;
...
@@ -835,9 +881,9 @@ $blue: #2069c4;
display
:
flex
;
display
:
flex
;
min-height
:
265px
;
min-height
:
265px
;
.intro-content
,
.intro-content
,
.intro-video
{
//
.intro-video
{
flex
:
1
;
//
flex: 1;
}
//
}
.intro-content
{
.intro-content
{
padding
:
20px
;
padding
:
20px
;
margin
:
20px
;
margin
:
20px
;
...
@@ -849,6 +895,86 @@ $blue: #2069c4;
...
@@ -849,6 +895,86 @@ $blue: #2069c4;
}
}
}
}
.videos
{
display
:
flex
;
flex-direction
:
column
;
margin-bottom
:
40px
;
.video-title
{
display
:
flex
;
// justify-content: center;
align-items
:
center
;
font-size
:
24px
;
color
:
$themeColor
;
margin
:
80px
0
40px
;
font-family
:
SourceHanSerifCN-Bold
;
padding-left
:
40px
;
i
{
font-size
:
28px
;
margin-right
:
10px
;
}
}
.video-names
{
display
:
flex
;
justify-content
:
center
;
border-bottom
:
1px
solid
#f2f0f0
;
margin-bottom
:
30px
;
.video-item
{
font-size
:
18px
;
margin
:
8px
30px
;
.name
{
color
:
#999
;
position
:
relative
;
cursor
:
pointer
;
&
:hover
{
color
:
$themeColor
;
&
:
:
after
{
display
:
inline-block
;
}
&
:
:
before
{
display
:
inline-block
;
}
}
}
.
active
:
:
after
,
.
name
::
after
{
content
:
""
;
width
:
50%
;
height
:
1px
;
background-color
:
$themeColor
;
position
:
absolute
;
left
:
0
;
bottom
:
-9px
;
left
:
50%
;
transform
:
translateX
(
-50%
);
display
:
none
;
}
.
active
:
:
before
,
.
name
::
before
{
content
:
""
;
width
:
0
;
height
:
0
;
border
:
8px
solid
transparent
;
border-top-color
:
$themeColor
;
position
:
absolute
;
left
:
50%
;
bottom
:
-25px
;
transform
:
translateX
(
-50%
);
display
:
none
;
}
.
active
:
:
after
,
.
active
::
before
{
display
:
inline-block
;
}
}
}
.video-box
{
height
:
600px
;
.video-player
{
height
:
100%
;
}
}
}
// 关联文物
// 关联文物
.display-detail_relateRc
{
.display-detail_relateRc
{
min-height
:
560px
;
min-height
:
560px
;
...
@@ -859,6 +985,7 @@ $blue: #2069c4;
...
@@ -859,6 +985,7 @@ $blue: #2069c4;
padding-left
:
46px
;
padding-left
:
46px
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
font-family
:
SourceHanSerifCN-Bold
;
.recommend-type
{
.recommend-type
{
margin-left
:
20px
;
margin-left
:
20px
;
}
}
...
@@ -1026,7 +1153,7 @@ $blue: #2069c4;
...
@@ -1026,7 +1153,7 @@ $blue: #2069c4;
height
:
50px
;
height
:
50px
;
:hover
{
:hover
{
background
:
#fff
;
background
:
#fff
;
color
:
$
blue
;
color
:
$
themeColor
;
}
}
}
}
}
}
...
...
src/views/display/components/BlueStyle.vue
浏览文件 @
002c2e2c
差异被折叠。
点击展开。
src/views/display/components/ChStyle.vue
浏览文件 @
002c2e2c
...
@@ -55,12 +55,12 @@
...
@@ -55,12 +55,12 @@
<el-row>
<el-row>
<el-col
class=
"item"
>
<el-col
class=
"item"
>
<div
class=
"label"
>
关键词:
</div>
<div
class=
"label"
>
关键词:
</div>
<div
class=
"value"
>
{{
displayDetail
.
keyword
}}
</div>
<div
class=
"value"
>
{{
displayDetail
.
keyword
||
'暂无'
}}
</div>
</el-col>
</el-col>
<el-col
class=
"item"
v-if=
"dicts.displayType"
>
<el-col
class=
"item"
v-if=
"dicts.displayType"
>
<div
class=
"label"
>
展览类型:
</div>
<div
class=
"label"
>
展览类型:
</div>
<div
class=
"value"
>
<div
class=
"value"
>
{{
dicts
.
displayType
[
displayDetail
.
type
]
}}
{{
dicts
.
displayType
[
displayDetail
.
type
]
||
'暂无'
}}
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -68,12 +68,12 @@
...
@@ -68,12 +68,12 @@
<el-col
class=
"item"
v-if=
"dicts.displayCharacter"
>
<el-col
class=
"item"
v-if=
"dicts.displayCharacter"
>
<div
class=
"label"
>
展览性质:
</div>
<div
class=
"label"
>
展览性质:
</div>
<div
class=
"value"
>
<div
class=
"value"
>
{{
dicts
.
displayCharacter
[
displayDetail
.
displayCharacter
]
}}
{{
dicts
.
displayCharacter
[
displayDetail
.
displayCharacter
]
||
'暂无'
}}
</div>
</div>
</el-col>
</el-col>
<el-col
class=
"item"
>
<el-col
class=
"item"
>
<div
class=
"label"
>
展览单位:
</div>
<div
class=
"label"
>
展览单位:
</div>
<div
class=
"value"
>
{{
displayDetail
.
deptName
}}
</div>
<div
class=
"value"
>
{{
displayDetail
.
deptName
||
'暂无'
}}
</div>
</el-col>
</el-col>
</el-row>
</el-row>
</div>
</div>
...
@@ -104,21 +104,59 @@
...
@@ -104,21 +104,59 @@
v-html=
"displayDetail.intro"
v-html=
"displayDetail.intro"
></div>
></div>
</div>
</div>
<div
</div>
v-if=
"displayDetail.videosVo && displayDetail.videosVo.length > 0"
class=
"videos wow animate__animated animate__fadeInRight"
<!--
<div
>
v-if=
"displayDetail.videosVo && displayDetail.videosVo.length > 0"
<el-carousel>
class=
"videos wow animate__animated animate__fadeInRight"
<el-carousel-item
>
v-for=
"item in displayDetail.videosVo"
<el-carousel>
:key=
"item.fileId"
<el-carousel-item
v-for=
"item in displayDetail.videosVo"
:key=
"item.fileId"
>
<Video
:url=
"$getFullUrl(item.url)"
/>
</el-carousel-item>
</el-carousel>
</div>
-->
<div
class=
"
content-item
videos
wow
animate__animated animate__fadeInRight
"
v-if=
"displayDetail.videosVo && displayDetail.videosVo.length > 0"
>
<div
class=
"video-title"
>
<!--
<i
class=
"el-icon-video-camera"
></i>
-->
展览视频
</div>
<div
class=
"video-names"
>
<div
class=
"video-item"
v-for=
"(item, index) in displayDetail.videosVo"
:key=
"index"
@
click=
"handleChangeCurrentVideo(item)"
>
<div
:class=
"[
'name',
currentVideo && item.fileId == currentVideo.fileId
? 'active'
: '',
]"
>
>
<Video
:url=
"$getFullUrl(item.url)"
/>
{{
item
.
name
.
split
(
"."
)[
0
]
}}
</
el-carousel-item
>
</
div
>
</
el-carousel
>
</
div
>
</div>
</div>
<video-player
v-if=
"currentVideo"
:src=
"$getFullUrl(currentVideo.url)"
class=
"video-box"
></video-player>
</div>
</div>
<div
<div
class=
"audio"
class=
"audio"
:style=
"
{ animationPlayState: audioPlaying ? 'running' : 'paused' }"
:style=
"
{ animationPlayState: audioPlaying ? 'running' : 'paused' }"
...
@@ -135,7 +173,10 @@
...
@@ -135,7 +173,10 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"content-item virtual"
v-if=
"displayDetail.virtualVo.length>0"
>
<div
class=
"content-item virtual"
v-if=
"displayDetail.virtualVo.length > 0"
>
<div
class=
"wrapper"
>
<div
class=
"wrapper"
>
<div
<div
class=
"img-container"
class=
"img-container"
...
@@ -269,6 +310,8 @@ import { previewFile } from "@/utils/index";
...
@@ -269,6 +310,8 @@ import { previewFile } from "@/utils/index";
// import ChStyleUnit from "./ChStyleUnit.vue";
// import ChStyleUnit from "./ChStyleUnit.vue";
import
ChStyleUnit
from
"./ChStyleUnit.vue"
;
import
ChStyleUnit
from
"./ChStyleUnit.vue"
;
import
DetailDialog
from
"./detail-dialog.vue"
;
import
DetailDialog
from
"./detail-dialog.vue"
;
import
videoPlayer
from
"@/components/VideoPlayer"
;
export
default
{
export
default
{
components
:
{
components
:
{
AudioPlayer
,
AudioPlayer
,
...
@@ -278,6 +321,7 @@ export default {
...
@@ -278,6 +321,7 @@ export default {
Card
,
Card
,
ChStyleUnit
,
ChStyleUnit
,
DetailDialog
,
DetailDialog
,
videoPlayer
,
"el-image-viewer"
:
()
=>
"el-image-viewer"
:
()
=>
import
(
"element-ui/packages/image/src/image-viewer"
),
import
(
"element-ui/packages/image/src/image-viewer"
),
},
},
...
@@ -303,6 +347,7 @@ export default {
...
@@ -303,6 +347,7 @@ export default {
moveRight
:
true
,
moveRight
:
true
,
audioPlaying
:
true
,
audioPlaying
:
true
,
unitVisible
:
false
,
unitVisible
:
false
,
currentVideo
:
null
,
};
};
},
},
async
mounted
()
{
async
mounted
()
{
...
@@ -329,6 +374,14 @@ export default {
...
@@ -329,6 +374,14 @@ export default {
}
}
}
}
}
}
if
(
this
.
displayDetail
.
videosVo
&&
this
.
displayDetail
.
videosVo
.
length
>
0
)
{
this
.
currentVideo
=
this
.
displayDetail
.
videosVo
[
0
];
}
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
loadWidth
();
this
.
loadWidth
();
...
@@ -474,6 +527,10 @@ export default {
...
@@ -474,6 +527,10 @@ export default {
handleMouseEnter
(
e
)
{
handleMouseEnter
(
e
)
{
console
.
log
(
e
);
console
.
log
(
e
);
},
},
handleChangeCurrentVideo
(
video
)
{
this
.
currentVideo
=
video
;
},
},
},
};
};
</
script
>
</
script
>
...
@@ -481,6 +538,7 @@ export default {
...
@@ -481,6 +538,7 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
// 中国风主题样式
// 中国风主题样式
/**公共样式开始 */
/**公共样式开始 */
$themeRed
:
#892325
;
.wrapper
{
.wrapper
{
// width: 1200px;
// width: 1200px;
width
:
calc
(
100%
-
26%
);
//左右两边各自留13%
width
:
calc
(
100%
-
26%
);
//左右两边各自留13%
...
@@ -666,12 +724,12 @@ export default {
...
@@ -666,12 +724,12 @@ export default {
.intro-and-video
{
.intro-and-video
{
display
:
flex
;
display
:
flex
;
margin-bottom
:
20px
;
.intro-container
{
.intro-container
{
flex
:
1
;
flex
:
1
;
.intro-title
{
.intro-title
{
font-size
:
40
px
;
font-size
:
32
px
;
font-family
:
KaiTi
;
font-family
:
KaiTi
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#0f0f0f
;
color
:
#0f0f0f
;
...
@@ -701,14 +759,108 @@ export default {
...
@@ -701,14 +759,108 @@ export default {
}
}
}
}
.videos
{
//
.videos {
flex
:
1
;
//
flex: 1;
position
:
relative
;
//
position: relative;
height
:
256px
;
//
height: 256px;
margin-left
:
70px
;
//
margin-left: 70px;
}
//
}
}
}
.videos
{
display
:
flex
;
flex-direction
:
column
;
margin-bottom
:
40px
;
.video-title
{
// display: flex;
// justify-content: center;
// align-items: center;
// font-size: 24px;
// color: $themeRed;
// margin: 80px 0 40px;
// font-family: SourceHanSerifCN-Bold;
// i {
// font-size: 28px;
// margin-right: 10px;
// }
font-size
:
32px
;
font-family
:
KaiTi
;
font-weight
:
400
;
color
:
#0f0f0f
;
margin-bottom
:
43px
;
position
:
relative
;
&
:
:
after
{
content
:
""
;
display
:
inline-block
;
width
:
60px
;
height
:
2px
;
background-color
:
#caad91
;
position
:
absolute
;
left
:
0
;
bottom
:
-12px
;
}
}
.video-names
{
display
:
flex
;
justify-content
:
center
;
border-bottom
:
1px
solid
#f2f0f0
;
margin-bottom
:
30px
;
.video-item
{
font-size
:
18px
;
margin
:
8px
30px
;
.name
{
color
:
#999
;
position
:
relative
;
cursor
:
pointer
;
&
:hover
{
color
:
$themeRed
;
&
:
:
after
{
display
:
inline-block
;
}
&
:
:
before
{
display
:
inline-block
;
}
}
}
.
active
:
:
after
,
.
name
::
after
{
content
:
""
;
width
:
50%
;
height
:
1px
;
background-color
:
$themeRed
;
position
:
absolute
;
left
:
0
;
bottom
:
-9px
;
left
:
50%
;
transform
:
translateX
(
-50%
);
display
:
none
;
}
.
active
:
:
before
,
.
name
::
before
{
content
:
""
;
width
:
0
;
height
:
0
;
border
:
8px
solid
transparent
;
border-top-color
:
$themeRed
;
position
:
absolute
;
left
:
50%
;
bottom
:
-25px
;
transform
:
translateX
(
-50%
);
display
:
none
;
}
.
active
:
:
after
,
.
active
::
before
{
display
:
inline-block
;
}
}
}
.video-box
{
height
:
600px
;
.video-player
{
height
:
100%
;
}
}
}
.audio
{
.audio
{
position
:
absolute
;
position
:
absolute
;
right
:
-120px
;
right
:
-120px
;
...
@@ -716,7 +868,7 @@ export default {
...
@@ -716,7 +868,7 @@ export default {
cursor
:
pointer
;
cursor
:
pointer
;
animation
:
audioRotate
8s
linear
infinite
;
animation
:
audioRotate
8s
linear
infinite
;
transform-origin
:
center
center
;
transform-origin
:
center
center
;
border
:
2px
solid
#892325
;
border
:
2px
solid
$themeRed
;
padding
:
10px
;
padding
:
10px
;
border-radius
:
50%
;
border-radius
:
50%
;
display
:
flex
;
display
:
flex
;
...
...
src/views/display/components/RedStyle.vue
浏览文件 @
002c2e2c
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论