Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
E
exhibition_page
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
龙菲
exhibition_page
Commits
5f6fa9cb
提交
5f6fa9cb
authored
9月 29, 2022
作者:
龙菲
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
优化中国风主题
上级
b17a76fe
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
55 行增加
和
16 行删除
+55
-16
ChStyle.vue
src/views/display/components/ChStyle.vue
+0
-0
ChStyleUnit.vue
src/views/display/components/ChStyleUnit.vue
+55
-16
detail-dialog.vue
src/views/display/components/detail-dialog.vue
+0
-0
没有找到文件。
src/views/display/components/ChStyle.vue
浏览文件 @
5f6fa9cb
差异被折叠。
点击展开。
src/views/display/components/ChStyleUnit.vue
浏览文件 @
5f6fa9cb
<
template
>
<
template
>
<div
class=
"units-content"
>
<div
class=
"units-content"
>
<p>
{{
units
.
title
}}
</p>
<p>
{{
units
.
title
}}
</p>
<ul>
<div
class=
"units-content-intro"
v-html=
"units.intro"
>
</div>
<ul
v-if=
"units.children && units.children.length > 0"
>
<li
<li
v-for=
"(item, index) in units.children"
v-for=
"(item, index) in units.children"
:key=
"index"
:key=
"index"
...
@@ -30,7 +32,12 @@
...
@@ -30,7 +32,12 @@
class=
"img-item"
class=
"img-item"
v-if=
"item.imagesVo && item.imagesVo.length > 0"
v-if=
"item.imagesVo && item.imagesVo.length > 0"
>
>
<img
:src=
"$getFullUrl(item.imagesVo[0].pressUrl || item.imagesVo[0].url)"
alt=
""
/>
<img
:src=
"
$getFullUrl(item.imagesVo[0].pressUrl || item.imagesVo[0].url)
"
alt=
""
/>
</div>
</div>
</div>
</div>
<div
class=
"unit-content"
>
<div
class=
"unit-content"
>
...
@@ -41,7 +48,8 @@
...
@@ -41,7 +48,8 @@
</div>
</div>
<div
class=
"units-title"
>
<div
class=
"units-title"
>
<p>
<p>
<span
v-html=
"changeTitle(item.title)"
></span>
<!--
<span
v-html=
"changeTitle(item.title)"
></span>
-->
<span
v-html=
"item.title"
style=
"writing-mode: vertical-rl;"
></span>
</p>
</p>
<span></span>
<span></span>
</div>
</div>
...
@@ -79,16 +87,28 @@ export default {
...
@@ -79,16 +87,28 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.units-content
{
.units-content
{
margin
:
100px
0
;
>
p
{
>
p
{
font-size
:
32px
;
font-size
:
32px
;
font-weight
:
600
;
font-weight
:
600
;
text-align
:
center
;
text-align
:
center
;
font-family
:
"华文行楷"
;
font-family
:
"KaiTi"
;
margin-bottom
:
60px
;
}
.units-content-intro
{
font-size
:
16px
;
color
:
#333
;
text-indent
:
32px
;
line-height
:
2
.5
;
}
}
ul
{
ul
{
display
:
flex
;
display
:
flex
;
flex-wrap
:
nowrap
;
flex-wrap
:
nowrap
;
overflow
:
auto
;
overflow
:
auto
;
border
:
3px
solid
rgb
(
139
123
90
);
box-shadow
:
9px
20px
10px
rgb
(
0
0
0
/
30%
);
height
:
660px
;
li
{
li
{
// margin-bottom: 20px;
// margin-bottom: 20px;
width
:
calc
(
var
(
--
i
)
*
100%
);
width
:
calc
(
var
(
--
i
)
*
100%
);
...
@@ -96,11 +116,13 @@ export default {
...
@@ -96,11 +116,13 @@ export default {
overflow
:
hidden
;
overflow
:
hidden
;
// flex-shrink: 0;
// flex-shrink: 0;
position
:
relative
;
position
:
relative
;
height
:
100%
;
&
.active
{
&
.active
{
width
:
100%
;
width
:
100%
;
flex-shrink
:
0
;
flex-shrink
:
0
;
>
.unit-node
{
>
.unit-node
{
width
:
100%
;
filter
:
none
;
filter
:
none
;
/* > .unit-imgs {
/* > .unit-imgs {
width: 100%;
width: 100%;
...
@@ -130,20 +152,23 @@ export default {
...
@@ -130,20 +152,23 @@ export default {
line-height
:
83px
;
line-height
:
83px
;
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
width
:
76%
;
line-height
:
1
.2
;
}
}
.unit-intro
{
.unit-intro
{
font-size
:
16px
;
font-size
:
16px
;
font-family
:
Microsoft
YaHei
;
font-family
:
Microsoft
YaHei
;
font-weight
:
400
;
font-weight
:
400
;
// color: #444444
;
color
:
#333
;
color
:
#e2e2e2
;
//
color: #e2e2e2;
text-indent
:
36px
;
text-indent
:
36px
;
// margin-bottom: 10px;
// margin-bottom: 10px;
// margin-top: 20px;
// margin-top: 20px;
line-height
:
1
.8
;
line-height
:
1
.8
;
}
}
.unit-imgs
{
.unit-imgs
{
width
:
100%
;
// width: 100%;
width
:
50%
;
// width: 500px;
// width: 500px;
height
:
100%
;
height
:
100%
;
flex-shrink
:
0
;
flex-shrink
:
0
;
...
@@ -153,10 +178,11 @@ export default {
...
@@ -153,10 +178,11 @@ export default {
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
//
height: 100%;
height
:
100%
;
img
{
img
{
width
:
100%
;
width
:
100%
;
// height: 100%;
height
:
100%
;
object-fit
:
cover
;
transition
:
0
.6s
;
transition
:
0
.6s
;
}
}
}
}
...
@@ -164,7 +190,8 @@ export default {
...
@@ -164,7 +190,8 @@ export default {
.unit-node
{
.unit-node
{
width
:
1200px
;
width
:
1200px
;
// width: calc(100vw - 26%);
// width: calc(100vw - 26%);
height
:
550px
;
// width: 100%;
height
:
100%
;
display
:
flex
;
display
:
flex
;
overflow
:
hidden
;
overflow
:
hidden
;
transition
:
0
.6s
;
transition
:
0
.6s
;
...
@@ -181,12 +208,17 @@ export default {
...
@@ -181,12 +208,17 @@ export default {
right
:
0
;
right
:
0
;
width
:
50%
;
width
:
50%
;
height
:
100%
;
height
:
100%
;
// background-image: linear-gradient(
// to right,
// rgba(0, 0, 0, 0) 0%,
// rgba(0, 0, 0, 0.7) 40%
// );
background-image
:
linear-gradient
(
background-image
:
linear-gradient
(
to
right
,
to
right
,
rgba
(
0
,
0
,
0
,
0
)
0%
,
rgba
(
171
,
147
,
94
,
0
.3
)
0%
,
rgba
(
0
,
0
,
0
,
0
.7
)
40%
rgba
(
171
,
147
,
94
,
0
.7
)
40%
);
);
>
.unit-title
{
>
.unit-title
{
position
:
absolute
;
position
:
absolute
;
top
:
100px
;
top
:
100px
;
...
@@ -209,16 +241,23 @@ export default {
...
@@ -209,16 +241,23 @@ export default {
height
:
100%
;
height
:
100%
;
transition
:
0
.6s
;
transition
:
0
.6s
;
>
p
{
>
p
{
color
:
#fff
;
// color: #6e4e06;
color
:
#000
;
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
top
:
0
;
top
:
0
;
margin
:
0
;
margin
:
0
;
font-size
:
28px
;
font-size
:
28px
;
font-family
:
"楷体"
;
font-family
:
"楷体"
;
padding
:
16px
;
padding
:
46px
16px
;
height
:
calc
(
100%
-
32px
);
height
:
calc
(
100%
-
32px
);
box-shadow
:
10px
0px
21px
0
#9b7e3f
inset
;
// box-shadow: 40px 0px 40px 0 #9b7e3f inset;
box-shadow
:
#9b7e3f
44px
24px
57px
10px
inset
;;
// background-color: rgba(155, 126, 63, 0.8);
background-color
:
#fff
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
}
}
}
}
}
}
...
...
src/views/display/components/detail-dialog.vue
浏览文件 @
5f6fa9cb
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论