Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
E
exhibition_backstage
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
龙菲
exhibition_backstage
Commits
7a27ee63
提交
7a27ee63
authored
9月 28, 2023
作者:
龙菲
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改颜色变量
上级
b55ed24e
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
11 个修改的文件
包含
164 行增加
和
157 行删除
+164
-157
variable.scss
src/assets/styles/variable.scss
+7
-7
index.vue
src/components/Footer/index.vue
+15
-12
index.vue
src/components/NavBar/index.vue
+12
-27
index.vue
src/components/ReaderOperations/index.vue
+43
-32
index.vue
src/components/SlideImageGroup/index.vue
+33
-24
index.vue
src/components/Video/index.vue
+12
-8
index.vue
src/components/VideoPlayer/index.vue
+2
-2
ChStyle.vue
src/views/display/components/templates/ChStyle.vue
+0
-0
NormalStyle.vue
src/views/display/components/templates/NormalStyle.vue
+35
-40
NormalStyleUnit.vue
src/views/display/components/templates/NormalStyleUnit.vue
+0
-0
RedStyle.vue
src/views/display/components/templates/RedStyle.vue
+5
-5
没有找到文件。
src/assets/styles/variable.scss
浏览文件 @
7a27ee63
$deepBlue
:
#252F57
;
$yellow
:
#dfab46
;
$themeColor
:
#252F57
;
$font-size-sm
:
14px
;
$themeSecondaryColor
:
#dfab46
;
$font-size-base
:
16px
;
$font-size-lg
:
22px
;
$font-size-sm
:
14px
;
$font-size-base
:
16px
;
$font-size-lg
:
22px
;
$nav-height
:
120px
;
$nav-height
:
120px
;
$defaultFontFamily
:
Avenir
,
Helvetica
Neue
,
Arial
,
Helvetica
,
sans-serif
;
$defaultFontFamily
:
Avenir
,
Helvetica
Neue
,
Arial
,
Helvetica
,
sans-serif
;
\ No newline at end of file
src/components/Footer/index.vue
浏览文件 @
7a27ee63
<!-- -->
<!-- -->
<
template
>
<
template
>
<div
:class=
"
{
<div
footer: true,
:class=
"
{
}">
footer: true,
}"
>
<div
class=
"logo"
>
<div
class=
"logo"
>
<img
src=
"~@/assets/imgs/display/logo3.png"
alt=
""
/>
<img
src=
"~@/assets/imgs/display/logo3.png"
alt=
""
/>
</div>
</div>
...
@@ -31,19 +33,24 @@
...
@@ -31,19 +33,24 @@
<el-popover
placement=
"top-start"
width=
"280"
trigger=
"hover"
>
<el-popover
placement=
"top-start"
width=
"280"
trigger=
"hover"
>
<span
slot=
"reference"
>
小程序
</span>
<span
slot=
"reference"
>
小程序
</span>
<div
class=
"wechat-app"
>
<div
class=
"wechat-app"
>
<img
src=
"~@/assets/imgs/wechat-app.jpg"
alt=
""
>
<img
src=
"~@/assets/imgs/wechat-app.jpg"
alt=
""
/
>
</div>
</div>
</el-popover>
</el-popover>
</span>
</span>
</div>
</div>
</div>
</div>
<div
class=
"copyright"
>
<div
class=
"copyright"
>
<a
href=
"https://beian.miit.gov.cn"
target=
"_blank"
>
黔ICP备2022009785号-1
</a>
<a
href=
"https://beian.miit.gov.cn"
target=
"_blank"
>
黔ICP备2022009785号-1
</a
>
|
©2022-现在 贵州省文化和旅游厅
|
©2022-现在 贵州省文化和旅游厅
</div>
</div>
<div
class=
"support"
>
网站建设:贵州同方知网科技发展有限公司
</div>
<div
class=
"support"
>
网站建设:贵州同方知网科技发展有限公司
</div>
<div
class=
"advice"
>
<div
class=
"advice"
>
<el-tooltip
placement=
"top-start"
content=
"谷歌 火狐 最佳分辨率(1920 x 1080)"
>
<el-tooltip
placement=
"top-start"
content=
"谷歌 火狐 最佳分辨率(1920 x 1080)"
>
<span>
浏览建议
</span>
<span>
浏览建议
</span>
</el-tooltip>
</el-tooltip>
</div>
</div>
...
@@ -120,7 +127,7 @@ export default {
...
@@ -120,7 +127,7 @@ export default {
padding
:
30px
0
;
padding
:
30px
0
;
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
background-color
:
$
themeColor
;
background-color
:
$
deepBlue
;
flex-direction
:
column
;
flex-direction
:
column
;
color
:
#fefefe
;
color
:
#fefefe
;
font-size
:
14px
;
font-size
:
14px
;
...
@@ -142,8 +149,6 @@ export default {
...
@@ -142,8 +149,6 @@ export default {
.menu-item
{
.menu-item
{
margin-right
:
20px
;
margin-right
:
20px
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
}
}
...
@@ -161,13 +166,11 @@ export default {
...
@@ -161,13 +166,11 @@ export default {
}
}
.copyright
{
.copyright
{
&
>
a
{
&
>
a
{
text-decoration
:
none
;
text-decoration
:
none
;
color
:
#fff
;
color
:
#fff
;
}
}
}
}
}
}
.map
{
.map
{
...
...
src/components/NavBar/index.vue
浏览文件 @
7a27ee63
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
</div>
</div>
<div
class=
"tools animate__animated animate__fadeInRight"
>
<div
class=
"tools animate__animated animate__fadeInRight"
>
<div
class=
"wrapper"
>
<div
class=
"wrapper"
>
<el-button
round
v-if=
"!hasToken"
>
<el-button
round
v-if=
"!hasToken"
>
<i
class=
"el-icon-user"
></i>
<i
class=
"el-icon-user"
></i>
<span>
登录
</span>
<span>
登录
</span>
<!--
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
-->
<!--
<i
class=
"el-icon-arrow-down el-icon--right"
></i>
-->
...
@@ -44,17 +44,10 @@
...
@@ -44,17 +44,10 @@
<!--
<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"
>
<el-dropdown-item
<el-dropdown-item
v-if=
"!hasToken"
class=
"operation-item"
v-if=
"!hasToken"
class=
"operation-item"
>
登录
>
登录
</el-dropdown-item>
</el-dropdown-item>
<el-dropdown-item
<el-dropdown-item
v-if=
"hasToken"
class=
"operation-item"
>
v-if=
"hasToken"
class=
"operation-item"
>
个人中心
</el-dropdown-item
个人中心
</el-dropdown-item
>
>
<el-dropdown-item
v-if=
"hasToken"
>
<el-dropdown-item
v-if=
"hasToken"
>
...
@@ -75,11 +68,7 @@
...
@@ -75,11 +68,7 @@
@
mouseleave=
"handleMouseLeaveSubMenu"
@
mouseleave=
"handleMouseLeaveSubMenu"
>
>
<ul>
<ul>
<li
<li
v-for=
"(item, index) in typeList"
:key=
"index"
>
v-for=
"(item, index) in typeList"
:key=
"index"
>
<span>
{{
item
.
label
}}
</span>
<span>
{{
item
.
label
}}
</span>
<svg-icon
<svg-icon
icon-class=
"wenshi"
icon-class=
"wenshi"
...
@@ -96,10 +85,7 @@ import { mapGetters } from "vuex";
...
@@ -96,10 +85,7 @@ import { mapGetters } from "vuex";
export
default
{
export
default
{
name
:
"NavBar"
,
name
:
"NavBar"
,
computed
:
{
computed
:
{
...
mapGetters
([
...
mapGetters
([
"token"
,
"userInfo"
]),
"token"
,
"userInfo"
,
]),
hasToken
()
{
hasToken
()
{
return
this
.
token
;
return
this
.
token
;
},
},
...
@@ -179,8 +165,8 @@ export default {
...
@@ -179,8 +165,8 @@ export default {
showThemeColor
:
false
,
showThemeColor
:
false
,
};
};
},
},
mounted
(){
mounted
()
{
console
.
log
(
this
.
themeType
);
console
.
log
(
this
.
themeType
);
},
},
methods
:
{
methods
:
{
handleEnterTabItem
(
item
)
{
handleEnterTabItem
(
item
)
{
...
@@ -225,18 +211,18 @@ export default {
...
@@ -225,18 +211,18 @@ export default {
left
:
0
;
left
:
0
;
z-index
:
9
;
z-index
:
9
;
background-color
:
rgba
(
#000
,
0
.25
)
!
important
;
background-color
:
rgba
(
#000
,
0
.25
)
!
important
;
// background-color: rgba($
themeColor
, 0.3)!important;
// background-color: rgba($
deepBlue
, 0.3)!important;
}
}
.header-fixed
{
.header-fixed
{
position
:
fixed
!
important
;
position
:
fixed
!
important
;
background-color
:
$
themeColor
!
important
;
background-color
:
$
deepBlue
!
important
;
z-index
:
99
;
z-index
:
99
;
top
:
0
;
top
:
0
;
}
}
.show-themeColor
{
.show-themeColor
{
background-color
:
$
themeColor
!
important
;
background-color
:
$
deepBlue
!
important
;
}
}
.isChStyle
{
.isChStyle
{
...
@@ -249,12 +235,11 @@ export default {
...
@@ -249,12 +235,11 @@ export default {
background-color
:
rgba
(
0
,
0
,
0
,
0
.25
)
!
important
;
background-color
:
rgba
(
0
,
0
,
0
,
0
.25
)
!
important
;
}
}
.nav
{
.nav
{
height
:
$nav-height
;
height
:
$nav-height
;
width
:
100%
;
width
:
100%
;
transition
:
all
0
.5s
ease
;
transition
:
all
0
.5s
ease
;
background-color
:
$
themeColor
;
background-color
:
$
deepBlue
;
position
:
relative
;
position
:
relative
;
z-index
:
99
;
z-index
:
99
;
box-shadow
:
rgba
(
0
,
0
,
0
,
0
.3
)
0
1px
5px
0px
;
box-shadow
:
rgba
(
0
,
0
,
0
,
0
.3
)
0
1px
5px
0px
;
...
@@ -375,7 +360,7 @@ export default {
...
@@ -375,7 +360,7 @@ export default {
&
:hover
{
&
:hover
{
span
{
span
{
color
:
$
themeSecondaryColor
;
color
:
$
yellow
;
}
}
}
}
...
...
src/components/ReaderOperations/index.vue
浏览文件 @
7a27ee63
<
template
>
<
template
>
<div
class=
"reader-operations"
>
<div
class=
"reader-operations"
>
<span
class=
"operations"
:style=
"
{
<span
color,
class=
"operations"
}">
:style=
"
{
color,
}"
>
<span
class=
"operation-item"
>
<span
class=
"operation-item"
>
<svg-icon
icon-class=
"view"
:style=
"
{
<svg-icon
fontSize: iconSize + 'px',
icon-class=
"view"
color,
:style=
"
{
}">
</svg-icon>
fontSize: iconSize + 'px',
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
:icon-class=
"info.loveCountStatus ? 'dianzan-s' : 'dianzan'"
:style=
"
{
<svg-icon
fontSize: iconSize + 'px',
:icon-class=
"info.loveCountStatus ? 'dianzan-s' : 'dianzan'"
color: info.loveCountStatus ? selectColor : color,
:style=
"
{
}">
</svg-icon>
fontSize: iconSize + 'px',
color: info.loveCountStatus ? 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"
>
<span
class=
"operation-item"
>
<svg-icon
:icon-class=
"info.collectCountStatus ? 'collect-s' : 'collect'"
:style=
"
{
<svg-icon
fontSize: iconSize + 'px',
:icon-class=
"info.collectCountStatus ? 'collect-s' : 'collect'"
color: info.collectCountStatus ? selectColor : color,
:style=
"
{
}">
</svg-icon>
fontSize: iconSize + 'px',
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"
>
<span
class=
"operation-item"
>
<svg-icon
icon-class=
"share2"
:style=
"
{
<svg-icon
fontSize: iconSize + 'px',
icon-class=
"share2"
color,
:style=
"
{
}">
</svg-icon>
fontSize: iconSize + 'px',
color,
}"
>
</svg-icon>
<span>
分享
</span>
<span>
分享
</span>
</span>
</span>
</span>
</span>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
mapGetters
}
from
"vuex"
;
import
{
mapGetters
}
from
"vuex"
;
import
{
formatNum
}
from
"@/utils/index"
;
import
{
formatNum
}
from
"@/utils/index"
;
export
default
{
export
default
{
name
:
"ReaderOperations"
,
name
:
"ReaderOperations"
,
props
:
{
props
:
{
...
@@ -81,8 +95,6 @@ export default {
...
@@ -81,8 +95,6 @@ export default {
...
mapGetters
([
"token"
,
"showLoginDialog"
]),
...
mapGetters
([
"token"
,
"showLoginDialog"
]),
},
},
methods
:
{
methods
:
{
formatNum
(
num
)
{
formatNum
(
num
)
{
return
formatNum
(
num
);
return
formatNum
(
num
);
},
},
...
@@ -124,7 +136,7 @@ export default {
...
@@ -124,7 +136,7 @@ export default {
}
}
.el-button--text
{
.el-button--text
{
color
:
$
themeColor
;
color
:
$
deepBlue
;
}
}
.copy
{
.copy
{
...
@@ -156,7 +168,7 @@ export default {
...
@@ -156,7 +168,7 @@ export default {
.el-button--primary
{
.el-button--primary
{
border
:
none
;
border
:
none
;
background-color
:
$
themeColor
;
background-color
:
$
deepBlue
;
}
}
}
}
</
style
>
</
style
>
\ No newline at end of file
src/components/SlideImageGroup/index.vue
浏览文件 @
7a27ee63
<
template
>
<
template
>
<div
class=
"slide-img-group"
>
<div
class=
"slide-img-group"
>
<div
class=
"list"
>
<div
class=
"list"
>
<swiper
class=
"swiper gallery-thumbs"
:options=
"swiperOptionThumbs"
ref=
"swiperThumbs"
>
<swiper
<swiper-slide
class=
"slide-item"
v-for=
"(item, index) in imgList"
:key=
"index"
@
click=
"handleClickItem(item)"
>
class=
"swiper gallery-thumbs"
:options=
"swiperOptionThumbs"
ref=
"swiperThumbs"
>
<swiper-slide
class=
"slide-item"
v-for=
"(item, index) in imgList"
:key=
"index"
@
click=
"handleClickItem(item)"
>
<!--
<img
:src=
"item.pressUrl || item.faceImagePressUrl"
alt=
""
/>
-->
<!--
<img
:src=
"item.pressUrl || item.faceImagePressUrl"
alt=
""
/>
-->
<div
class=
"img-container"
@
click=
"handelPreviewImages(imgList, index)"
>
<div
class=
"img-container"
@
click=
"handelPreviewImages(imgList, index)"
>
<slot
name=
"img"
:item=
"item"
></slot>
<slot
name=
"img"
:item=
"item"
></slot>
</div>
</div>
<slot
name=
"info"
:item=
"item"
/>
<slot
name=
"info"
:item=
"item"
/>
...
@@ -17,7 +29,6 @@
...
@@ -17,7 +29,6 @@
<span>
查看大图
</span>
<span>
查看大图
</span>
</div>
-->
</div>
-->
</swiper-slide>
</swiper-slide>
<!--分页器。如果放置在swiper外面,需要自定义样式。-->
<!--分页器。如果放置在swiper外面,需要自定义样式。-->
</swiper>
</swiper>
...
@@ -28,13 +39,16 @@
...
@@ -28,13 +39,16 @@
<div
class=
"swiper-button-prev swiper-button-white"
slot=
"button-prev"
>
<div
class=
"swiper-button-prev swiper-button-white"
slot=
"button-prev"
>
<i
class=
"el-icon-arrow-left"
></i>
<i
class=
"el-icon-arrow-left"
></i>
</div>
</div>
</div>
</div>
<el-image-viewer
v-if=
"imgViewerVisible"
:on-close=
"closeImgViewer"
:url-list=
"previewList"
<el-image-viewer
:initial-index=
"initialIndex"
/>
v-if=
"imgViewerVisible"
:on-close=
"closeImgViewer"
:url-list=
"previewList"
:initial-index=
"initialIndex"
/>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
swiper
,
swiperSlide
}
from
"vue-awesome-swiper"
;
import
{
swiper
,
swiperSlide
}
from
"vue-awesome-swiper"
;
import
"swiper/dist/css/swiper.css"
;
import
"swiper/dist/css/swiper.css"
;
...
@@ -77,16 +91,16 @@ export default {
...
@@ -77,16 +91,16 @@ export default {
},
},
},
},
imgViewerVisible
:
false
,
imgViewerVisible
:
false
,
initialIndex
:
0
initialIndex
:
0
,
};
};
},
},
mounted
()
{
},
mounted
()
{},
methods
:
{
methods
:
{
handelPreviewImages
(
items
,
index
)
{
handelPreviewImages
(
items
,
index
)
{
this
.
imgViewerVisible
=
true
;
this
.
imgViewerVisible
=
true
;
this
.
previewList
=
items
.
map
((
item
)
=>
this
.
$getFullUrl
(
item
.
url
));
this
.
previewList
=
items
.
map
((
item
)
=>
this
.
$getFullUrl
(
item
.
url
));
this
.
initialIndex
=
index
this
.
initialIndex
=
index
;
},
},
closeImgViewer
()
{
closeImgViewer
()
{
this
.
imgViewerVisible
=
false
;
this
.
imgViewerVisible
=
false
;
...
@@ -98,12 +112,12 @@ export default {
...
@@ -98,12 +112,12 @@ export default {
},
},
};
};
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.slide-img-group
{
.slide-img-group
{
// height: 100%;
// height: 100%;
height
:
240px
;
height
:
240px
;
.list
{
.list
{
position
:
relative
;
position
:
relative
;
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
...
@@ -112,7 +126,7 @@ export default {
...
@@ -112,7 +126,7 @@ export default {
.swiper-container
{
.swiper-container
{
// padding: 0 60px;
// padding: 0 60px;
width
:calc
(
100
%
-
140px
)
;
width
:
calc
(
100%
-
140px
);
// overflow-y: auto;
// overflow-y: auto;
::v-deep
.swiper-wrapper
{
::v-deep
.swiper-wrapper
{
display
:
flex
;
display
:
flex
;
...
@@ -164,7 +178,7 @@ export default {
...
@@ -164,7 +178,7 @@ export default {
width
:
56px
;
width
:
56px
;
height
:
56px
;
height
:
56px
;
border-radius
:
50%
;
border-radius
:
50%
;
background-color
:
rgba
(
$
themeColor
,
0
.4
);
background-color
:
rgba
(
$
deepBlue
,
0
.4
);
transform
:
translateY
(
-20px
);
transform
:
translateY
(
-20px
);
color
:
#333
;
color
:
#333
;
}
}
...
@@ -193,18 +207,14 @@ export default {
...
@@ -193,18 +207,14 @@ export default {
}
}
::v-deep
.swiper-pagination-bullets
{
::v-deep
.swiper-pagination-bullets
{
bottom
:
-10px
;
bottom
:
-10px
;
.swiper-pagination-bullet
{
.swiper-pagination-bullet
{
margin-right
:
10px
;
margin-right
:
10px
;
width
:
10px
;
width
:
10px
;
height
:
10px
;
height
:
10px
;
}
}
.swiper-pagination-bullet-active
{
.swiper-pagination-bullet-active
{
background
:
$
themeColor
;
background
:
$
deepBlue
;
}
}
}
}
</
style
>
</
style
>
\ No newline at end of file
src/components/Video/index.vue
浏览文件 @
7a27ee63
<
template
>
<
template
>
<div
:class=
"['video-container', theme]"
@
click=
"hanleClick"
>
<div
:class=
"['video-container', theme]"
@
click=
"hanleClick"
>
<video
:src=
"url"
class=
"video-dom"
ref=
"video"
:controls=
"isPlaying"
></video>
<video
:src=
"url"
class=
"video-dom"
ref=
"video"
:controls=
"isPlaying"
></video>
<div
class=
"modal"
:style=
"
{ opacity: opacity }">
<div
class=
"modal"
:style=
"
{ opacity: opacity }">
<div
class=
"play-btn"
>
<div
class=
"play-btn"
>
<i
class=
"el-icon-caret-right"
></i>
<i
class=
"el-icon-caret-right"
></i>
...
@@ -53,7 +58,7 @@ export default {
...
@@ -53,7 +58,7 @@ export default {
};
};
</
script
>
</
script
>
<
style
scoped
lang=
'scss'
>
<
style
scoped
lang=
"scss"
>
.video-container
{
.video-container
{
position
:
relative
;
position
:
relative
;
height
:
100%
;
height
:
100%
;
...
@@ -102,8 +107,8 @@ export default {
...
@@ -102,8 +107,8 @@ export default {
}
}
.play-btn
{
.play-btn
{
border
:
2px
solid
#fff
;
border
:
2px
solid
#fff
;
color
:
#fff
;
color
:
#fff
;
background
:
$themeColor
;;
background
:
$deepBlue
;
}
}
</
style
>
</
style
>
\ No newline at end of file
src/components/VideoPlayer/index.vue
浏览文件 @
7a27ee63
...
@@ -101,7 +101,7 @@ export default {
...
@@ -101,7 +101,7 @@ export default {
&
:hover
{
&
:hover
{
.vjs-big-play-button
{
.vjs-big-play-button
{
// background-color: #fff;
// background-color: #fff;
// color: $
themeColor
;
// color: $
deepBlue
;
}
}
}
}
video
{
video
{
...
@@ -122,7 +122,7 @@ export default {
...
@@ -122,7 +122,7 @@ export default {
transform
:
translate
(
-50%
,
-50%
);
transform
:
translate
(
-50%
,
-50%
);
font-size
:
50px
;
font-size
:
50px
;
color
:
#fff
;
color
:
#fff
;
background-color
:
$
themeColor
;
background-color
:
$
deepBlue
;
}
}
.vjs-control-bar
{
.vjs-control-bar
{
...
...
src/views/display/components/templates/ChStyle.vue
浏览文件 @
7a27ee63
差异被折叠。
点击展开。
src/views/display/components/templates/NormalStyle.vue
浏览文件 @
7a27ee63
...
@@ -111,7 +111,6 @@
...
@@ -111,7 +111,6 @@
<div
<div
class=
"audio"
class=
"audio"
:style=
"
{ animationPlayState: audioPlaying ? 'running' : 'paused' }"
:style=
"
{ animationPlayState: audioPlaying ? 'running' : 'paused' }"
v-if="displayDetail.audiosVo
&&
displayDetail.audiosVo.length > 0"
v-if="displayDetail.audiosVo
&&
displayDetail.audiosVo.length > 0"
>
>
<!--
<img
src=
"@/assets/imgs/display/normal/music.png"
alt=
""
/>
-->
<!--
<img
src=
"@/assets/imgs/display/normal/music.png"
alt=
""
/>
-->
...
@@ -130,7 +129,6 @@
...
@@ -130,7 +129,6 @@
>
>
<span
v-for=
"(item, index) in tabbarData"
:key=
"index"
>
<span
v-for=
"(item, index) in tabbarData"
:key=
"index"
>
<span
<span
:class=
"[
:class=
"[
'tab-item',
'tab-item',
currentTab && currentTab.domId == item.domId ? 'active' : '',
currentTab && currentTab.domId == item.domId ? 'active' : '',
...
@@ -174,7 +172,6 @@
...
@@ -174,7 +172,6 @@
<div
class=
"vr-content"
>
<div
class=
"vr-content"
>
<div
<div
class=
"img-container"
class=
"img-container"
v-for=
"(item, index) in displayDetail.virtualVo"
v-for=
"(item, index) in displayDetail.virtualVo"
:key=
"index"
:key=
"index"
>
>
...
@@ -204,7 +201,10 @@
...
@@ -204,7 +201,10 @@
class=
"video-player"
class=
"video-player"
>
>
</video-player>
-->
</video-player>
-->
<Video
:url=
"$getFullUrl(currentVideo.url)"
class=
"video-player"
/>
<Video
:url=
"$getFullUrl(currentVideo.url)"
class=
"video-player"
/>
</div>
</div>
<div
class=
"video-name-list"
>
<div
class=
"video-name-list"
>
<div
class=
"title"
>
播放列表
</div>
<div
class=
"title"
>
播放列表
</div>
...
@@ -269,7 +269,6 @@
...
@@ -269,7 +269,6 @@
object-fit: fill;
object-fit: fill;
cursor: pointer;
cursor: pointer;
"
"
/>
/>
</
template
>
</
template
>
<
template
slot-scope=
"{ item }"
slot=
"info"
>
<
template
slot-scope=
"{ item }"
slot=
"info"
>
...
@@ -513,7 +512,6 @@ export default {
...
@@ -513,7 +512,6 @@ export default {
window
.
open
(
newPage
.
href
,
"_blank"
);
window
.
open
(
newPage
.
href
,
"_blank"
);
},
},
handleChangeCurrentVideo
(
video
)
{
handleChangeCurrentVideo
(
video
)
{
this
.
currentVideo
=
video
;
this
.
currentVideo
=
video
;
},
},
...
@@ -561,7 +559,7 @@ export default {
...
@@ -561,7 +559,7 @@ export default {
};
};
</
script
>
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
// 自定义分页器样式
// 自定义分页器样式
#page
{
#page
{
height
:
30px
;
height
:
30px
;
...
@@ -582,7 +580,6 @@ export default {
...
@@ -582,7 +580,6 @@ export default {
}
}
</
style
>
</
style
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
// 中国风主题样式
// 中国风主题样式
/**公共样式开始 */
/**公共样式开始 */
...
@@ -623,19 +620,19 @@ $titleFontFamily: SourceHanSerifCN-Bold;
...
@@ -623,19 +620,19 @@ $titleFontFamily: SourceHanSerifCN-Bold;
i
{
i
{
margin-right
:
10px
;
margin-right
:
10px
;
font-size
:
28px
;
font-size
:
28px
;
color
:
$
themeColor
;
color
:
$
deepBlue
;
}
}
.svg-icon
{
.svg-icon
{
font-size
:
32px
;
font-size
:
32px
;
color
:
$
themeColor
;
color
:
$
deepBlue
;
margin-right
:
10px
;
margin-right
:
10px
;
}
}
.title
{
.title
{
font-size
:
26px
;
font-size
:
26px
;
font-weight
:
400
;
font-weight
:
400
;
color
:
$
themeColor
;
color
:
$
deepBlue
;
font-family
:
"SourceHanSerifCN-Bold"
;
font-family
:
"SourceHanSerifCN-Bold"
;
}
}
}
}
...
@@ -846,7 +843,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
...
@@ -846,7 +843,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
}
}
.collect
{
.collect
{
color
:
$
themeColor
;
color
:
$
deepBlue
;
}
}
}
}
}
}
...
@@ -861,7 +858,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
...
@@ -861,7 +858,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
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
$
themeColor
;
border
:
2px
solid
$
deepBlue
;
padding
:
10px
;
padding
:
10px
;
border-radius
:
50%
;
border-radius
:
50%
;
display
:
flex
;
display
:
flex
;
...
@@ -875,7 +872,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
...
@@ -875,7 +872,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
}
}
.svg-icon
{
.svg-icon
{
color
:
$
themeColor
;
color
:
$
deepBlue
;
font-size
:
80px
;
font-size
:
80px
;
}
}
...
@@ -896,14 +893,14 @@ $titleFontFamily: SourceHanSerifCN-Bold;
...
@@ -896,14 +893,14 @@ $titleFontFamily: SourceHanSerifCN-Bold;
.tab-item
{
.tab-item
{
height
:
100%
;
height
:
100%
;
margin-right
:
40px
;
margin-right
:
40px
;
color
:
$
themeColor
;
color
:
$
deepBlue
;
font-size
:
24px
;
font-size
:
24px
;
font-family
:
$titleFontFamily
;
font-family
:
$titleFontFamily
;
cursor
:
pointer
;
cursor
:
pointer
;
position
:
relative
;
position
:
relative
;
&
:hover
{
&
:hover
{
color
:
$
themeColor
;
color
:
$
deepBlue
;
&
:
:
after
{
&
:
:
after
{
display
:
inline-block
;
display
:
inline-block
;
...
@@ -916,7 +913,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
...
@@ -916,7 +913,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
}
}
.active
{
.active
{
color
:
$
themeColor
;
color
:
$
deepBlue
;
&
:
:
after
{
&
:
:
after
{
display
:
inline-block
;
display
:
inline-block
;
...
@@ -931,7 +928,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
...
@@ -931,7 +928,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
width
:
100%
;
width
:
100%
;
bottom
:
-10px
;
bottom
:
-10px
;
left
:
0
;
left
:
0
;
background-color
:
$
themeColor
;
background-color
:
$
deepBlue
;
}
}
}
}
...
@@ -945,7 +942,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
...
@@ -945,7 +942,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
.intro-title
{
.intro-title
{
font-size
:
26px
;
font-size
:
26px
;
font-weight
:
400
;
font-weight
:
400
;
color
:
$
themeColor
;
color
:
$
deepBlue
;
font-family
:
"SourceHanSerifCN-Bold"
;
font-family
:
"SourceHanSerifCN-Bold"
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
...
@@ -968,7 +965,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
...
@@ -968,7 +965,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
.left-box
{
.left-box
{
width
:
60px
;
width
:
60px
;
background-color
:
$
themeColor
;
background-color
:
$
deepBlue
;
min-height
:
200px
;
min-height
:
200px
;
color
:
#fff
;
color
:
#fff
;
font-size
:
28px
;
font-size
:
28px
;
...
@@ -984,7 +981,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
...
@@ -984,7 +981,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
flex
:
1
;
flex
:
1
;
text-indent
:
34px
;
text-indent
:
34px
;
padding
:
16px
32px
;
padding
:
16px
32px
;
background-color
:
rgba
(
$
themeColor
,
10%
);
background-color
:
rgba
(
$
deepBlue
,
10%
);
}
}
}
}
...
@@ -999,7 +996,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
...
@@ -999,7 +996,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
// justify-content: center;
// justify-content: center;
align-items
:
center
;
align-items
:
center
;
font-size
:
24px
;
font-size
:
24px
;
color
:
$
themeColor
;
color
:
$
deepBlue
;
padding
:
0
40px
;
padding
:
0
40px
;
margin-bottom
:
32px
;
margin-bottom
:
32px
;
font-family
:
SourceHanSerifCN-Bold
;
font-family
:
SourceHanSerifCN-Bold
;
...
@@ -1028,17 +1025,17 @@ $titleFontFamily: SourceHanSerifCN-Bold;
...
@@ -1028,17 +1025,17 @@ $titleFontFamily: SourceHanSerifCN-Bold;
.name
{
.name
{
padding
:
8px
;
padding
:
8px
;
// border-radius: 4px;
// border-radius: 4px;
color
:
$
themeColor
;
color
:
$
deepBlue
;
cursor
:
pointer
;
cursor
:
pointer
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
overflow
:
hidden
;
overflow
:
hidden
;
width
:
100%
;
width
:
100%
;
white-space
:
nowrap
;
white-space
:
nowrap
;
border
:
1px
solid
$
themeColor
;
border
:
1px
solid
$
deepBlue
;
font-size
:
14px
;
font-size
:
14px
;
&
:hover
{
&
:hover
{
background
:
$
themeColor
;
background
:
$
deepBlue
;
color
:
$
themeSecondaryColor
;
color
:
$
yellow
;
}
}
&
:not
(
&
:last-child
)
{
&
:not
(
&
:last-child
)
{
border-bottom
:
none
;
border-bottom
:
none
;
...
@@ -1047,8 +1044,8 @@ $titleFontFamily: SourceHanSerifCN-Bold;
...
@@ -1047,8 +1044,8 @@ $titleFontFamily: SourceHanSerifCN-Bold;
}
}
.active
{
.active
{
background
:
$
themeColor
;
background
:
$
deepBlue
;
color
:
$
themeSecondaryColor
;
color
:
$
yellow
;
}
}
}
}
}
}
...
@@ -1069,7 +1066,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
...
@@ -1069,7 +1066,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
// display: flex;
// display: flex;
// justify-content: center;
// justify-content: center;
// align-items: center;
// align-items: center;
// color: $
themeColor
;
// color: $
deepBlue
;
// font-weight: bolder;
// font-weight: bolder;
// font-size: 28px;
// font-size: 28px;
// transform: translateY(-6px);
// transform: translateY(-6px);
...
@@ -1081,18 +1078,18 @@ $titleFontFamily: SourceHanSerifCN-Bold;
...
@@ -1081,18 +1078,18 @@ $titleFontFamily: SourceHanSerifCN-Bold;
// .slide-item {
// .slide-item {
// padding: 8px;
// padding: 8px;
// border-radius: 4px;
// border-radius: 4px;
// color: $
themeColor
;
// color: $
deepBlue
;
// cursor: pointer;
// cursor: pointer;
// text-overflow: ellipsis;
// text-overflow: ellipsis;
// overflow: hidden;
// overflow: hidden;
// width: 100%;
// width: 100%;
// white-space: nowrap;
// white-space: nowrap;
// border: 1px solid $
themeColor
;
// border: 1px solid $
deepBlue
;
// font-size: 14px;
// font-size: 14px;
// }
// }
// .active {
// .active {
// background: $
themeColor
;
// background: $
deepBlue
;
// color: #fff;
// color: #fff;
// }
// }
// }
// }
...
@@ -1185,7 +1182,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
...
@@ -1185,7 +1182,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
font-size
:
26px
;
font-size
:
26px
;
color
:
$
themeColor
;
color
:
$
deepBlue
;
font-family
:
SourceHanSerifCN-Bold
;
font-family
:
SourceHanSerifCN-Bold
;
i
{
i
{
...
@@ -1240,7 +1237,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
...
@@ -1240,7 +1237,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
}
}
.lt-name
{
.lt-name
{
color
:
$
themeColor
;
color
:
$
deepBlue
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
}
}
...
@@ -1249,7 +1246,6 @@ $titleFontFamily: SourceHanSerifCN-Bold;
...
@@ -1249,7 +1246,6 @@ $titleFontFamily: SourceHanSerifCN-Bold;
}
}
}
}
// 修改tree icon
// 修改tree icon
::v-deep
.el-carousel__item--card
{
::v-deep
.el-carousel__item--card
{
width
:
100%
;
width
:
100%
;
...
@@ -1261,7 +1257,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
...
@@ -1261,7 +1257,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
height
:
100%
;
height
:
100%
;
}
}
::v-deep
.el-carousel__container
{
::v-deep
.el-carousel__container
{
height
:
100%
;
height
:
100%
;
}
}
...
@@ -1273,7 +1269,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
...
@@ -1273,7 +1269,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
&
:hover
{
&
:hover
{
background-color
:
#fff
;
background-color
:
#fff
;
color
:
$
themeColor
;
color
:
$
deepBlue
;
}
}
padding-left
:
16px
!
important
;
padding-left
:
16px
!
important
;
...
@@ -1282,7 +1278,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
...
@@ -1282,7 +1278,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
.is-current
{
.is-current
{
.el-tree-node__content
{
.el-tree-node__content
{
background-color
:
#fff
;
background-color
:
#fff
;
color
:
$
themeColor
;
color
:
$
deepBlue
;
}
}
}
}
}
}
...
@@ -1332,4 +1328,4 @@ $titleFontFamily: SourceHanSerifCN-Bold;
...
@@ -1332,4 +1328,4 @@ $titleFontFamily: SourceHanSerifCN-Bold;
-webkit-animation-play-state
:
paused
;
-webkit-animation-play-state
:
paused
;
/* Safari 和 Chrome */
/* Safari 和 Chrome */
}
}
</
style
>
</
style
>
\ No newline at end of file
src/views/display/components/templates/NormalStyleUnit.vue
浏览文件 @
7a27ee63
差异被折叠。
点击展开。
src/views/display/components/templates/RedStyle.vue
浏览文件 @
7a27ee63
...
@@ -554,14 +554,14 @@ export default {
...
@@ -554,14 +554,14 @@ export default {
}
}
</
style
>
</
style
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
$
themeColor
:
#a30e0c
;
$
deepBlue
:
#a30e0c
;
// 中国风主题样式
// 中国风主题样式
/**公共样式开始 */
/**公共样式开始 */
.custom-title
{
.custom-title
{
width
:
50px
;
width
:
50px
;
background-color
:
$
themeColor
;
background-color
:
$
deepBlue
;
min-height
:
300px
;
min-height
:
300px
;
color
:
#fff
;
color
:
#fff
;
font-size
:
28px
;
font-size
:
28px
;
...
@@ -939,12 +939,12 @@ $themeColor: #a30e0c;
...
@@ -939,12 +939,12 @@ $themeColor: #a30e0c;
display
:
flex
;
display
:
flex
;
align-content
:
center
;
align-content
:
center
;
padding
:
8px
10px
;
padding
:
8px
10px
;
// border: 1px solid $
themeColor
;
// border: 1px solid $
deepBlue
;
color
:
#666
;
color
:
#666
;
cursor
:
pointer
;
cursor
:
pointer
;
&
:hover
{
&
:hover
{
color
:
$
themeColor
;
color
:
$
deepBlue
;
}
}
.svg-icon
{
.svg-icon
{
...
@@ -997,7 +997,7 @@ $themeColor: #a30e0c;
...
@@ -997,7 +997,7 @@ $themeColor: #a30e0c;
}
}
.active
{
.active
{
color
:
$
themeSecondaryColor
;
color
:
$
yellow
;
}
}
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论