Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
E
exhibition_page
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
龙菲
exhibition_page
Commits
0cc32421
提交
0cc32421
authored
9月 23, 2022
作者:
龙菲
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
优化页面
上级
00fc639a
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
198 行增加
和
118 行删除
+198
-118
Detail.vue
src/views/culturalRelic/Detail.vue
+92
-43
index.vue
src/views/culturalRelic/index.vue
+7
-7
BlueStyle.vue
src/views/display/components/BlueStyle.vue
+73
-44
index.vue
src/views/display/index.vue
+14
-12
MuseumMap.vue
src/views/home/components/MuseumMap.vue
+2
-2
index.vue
src/views/museum/index.vue
+5
-5
index.vue
src/views/virtual/index.vue
+5
-5
没有找到文件。
src/views/culturalRelic/Detail.vue
浏览文件 @
0cc32421
...
...
@@ -210,7 +210,7 @@
v-if=
"relateRelics.length > 0"
>
<div
class=
"intro-title"
>
<svg-icon
icon-class=
"glww"
></svg-icon>
<svg-icon
icon-class=
"glww"
style=
"font-size: 30px"
></svg-icon>
<span>
相关文物
</span>
</div>
<el-row
:gutter=
"26"
>
...
...
@@ -224,9 +224,9 @@
@
click=
"handleToCr(item)"
>
<img
:src=
"item.faceImagePressUrl"
alt=
""
/>
<div
class=
"cr-name-intro"
v-if=
"index == 0"
>
<div
class=
"cr-name-intro"
>
<div
class=
"cr-name"
>
{{
item
.
name
}}
</div>
<
div
class=
"cr-intro"
>
{{
item
.
intro
}}
</div
>
<
!--
<div
class=
"cr-intro"
v-html=
"item.intro"
></div>
--
>
</div>
</div>
</el-col>
...
...
@@ -458,6 +458,14 @@ export default {
closeImgViewer
()
{
this
.
imgViewerVisible
=
false
;
},
handleToCr
(
item
)
{
const
{
crId
}
=
item
;
const
newPage
=
this
.
$router
.
resolve
({
path
:
"/culturalRelic/"
+
crId
,
});
window
.
open
(
newPage
.
href
,
"_blank"
);
},
},
};
</
script
>
...
...
@@ -627,6 +635,7 @@ $blue: #2069c4;
margin-right
:
50px
;
flex
:
1
;
overflow
:
hidden
;
position
:
relative
;
// .imagesVo-image-container {
// // position: relative;
...
...
@@ -782,56 +791,96 @@ $blue: #2069c4;
text-indent
:
40px
;
}
.el-col
{
&
:first-child
{
.img-container
{
width
:
100%
;
height
:
460px
;
position
:
relative
;
.cr-name-intro
{
width
:
100%
;
height
:
100%
;
position
:
absolute
;
left
:
0
;
top
:
0
;
padding
:
100px
28px
50px
;
.img-container
{
width
:
100%
;
height
:
460px
;
position
:
relative
;
background-image
:
linear-gradient
(
to
top
,
rgba
(
0
,
0
,
0
,
0
.8
)
,
rgba
(
0
,
0
,
0
,
0
.1
)
);
.cr-name
{
font-size
:
48px
;
font-weight
:
bold
;
color
:
#ffffff
;
text-align
:
center
;
margin-bottom
:
40px
;
}
.cr-intro
{
font-size
:
16px
;
font-weight
:
400
;
color
:
#ccc
;
text-indent
:
32px
;
line-height
:
40px
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
display
:
-
webkit-box
;
-webkit-line-clamp
:
5
;
-webkit-box-orient
:
vertical
;
}
.cr-name-intro
{
width
:
100%
;
height
:
100%
;
position
:
absolute
;
left
:
0
;
top
:
0
;
// padding: 100px 28px 50px;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
transition
:
all
ease
0
.5s
;
background-image
:
linear-gradient
(
to
top
,
rgba
(
0
,
0
,
0
,
0
.8
)
,
rgba
(
0
,
0
,
0
,
0
.1
)
);
.cr-name
{
font-size
:
48px
;
font-weight
:
bold
;
color
:
#ffffff
;
text-align
:
center
;
margin-bottom
:
40px
;
transition
:
all
0
.5s
ease
;
}
img
{
width
:
100%
;
height
:
100%
;
.cr-intro
{
font-size
:
16px
;
font-weight
:
400
;
color
:
#ccc
;
text-indent
:
32px
;
line-height
:
40px
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
display
:
-
webkit-box
;
-webkit-line-clamp
:
5
;
-webkit-box-orient
:
vertical
;
}
}
img
{
width
:
100%
;
height
:
100%
;
}
}
&
:first-child
{
.cr-name-intro
{
background-image
:
linear-gradient
(
to
top
,
rgba
(
0
,
0
,
0
,
0
.8
)
,
rgba
(
0
,
0
,
0
,
0
.1
)
);
}
}
&
:not
(
&
:first-child
)
{
margin-bottom
:
30px
;
&
:hover
{
.cr-name
{
opacity
:
1
;
}
.cr-name-intro
{
background-image
:
linear-gradient
(
to
top
,
rgba
(
0
,
0
,
0
,
0
.8
)
,
rgba
(
0
,
0
,
0
,
0
.1
)
);
}
}
.cr-name
{
font-size
:
18px
;
opacity
:
0
;
}
.cr-intro
{
display
:
none
;
}
.img-container
{
height
:
214px
;
}
.cr-name-intro
{
background-image
:
linear-gradient
(
to
top
,
rgba
(
0
,
0
,
0
,
0
)
,
rgba
(
0
,
0
,
0
,
0
)
);
}
}
}
.img-container
{
...
...
src/views/culturalRelic/index.vue
浏览文件 @
0cc32421
...
...
@@ -202,7 +202,7 @@ export default {
return
{
list
:
{
records
:
[],
size
:
20
,
size
:
15
,
current
:
1
,
total
:
0
,
},
...
...
@@ -277,11 +277,11 @@ export default {
},
handleClick
(
item
)
{
console
.
log
(
item
);
const
{
crId
}
=
item
;
this
.
$router
.
push
({
const
newPage
=
this
.
$router
.
resolve
({
path
:
"culturalRelic/"
+
crId
,
});
window
.
open
(
newPage
.
href
,
"_blank"
);
},
handleClickThreeD
()
{
this
.
onlyShow3d
=
!
this
.
onlyShow3d
;
...
...
@@ -391,7 +391,7 @@ $text-indent: 16px;
.search-button
{
cursor
:
pointer
;
width
:
156px
;
height
:
40
px
;
height
:
54
px
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
...
...
@@ -495,7 +495,7 @@ $text-indent: 16px;
transition
:
all
0
.5s
ease
;
background
:
#fff
;
.name
{
font-size
:
18
px
;
font-size
:
22
px
;
font-weight
:
bold
;
color
:
#2069c4
;
margin-bottom
:
18px
;
...
...
@@ -590,7 +590,7 @@ $text-indent: 16px;
border-radius
:
0
;
background
:
url("@/assets/imgs/list/input-border.png")
;
background-size
:
100%
100%
;
height
:
54px
;
&
:
:
placeholder
{
text-indent
:
10px
;
color
:
#999
;
...
...
@@ -613,7 +613,7 @@ $text-indent: 16px;
width
:
28px
;
height
:
28px
;
border-radius
:
50%
;
background
:
#
77a7c9
;
background
:
#
2069c4
;
min-width
:
0
;
}
.active
{
...
...
src/views/display/components/BlueStyle.vue
浏览文件 @
0cc32421
...
...
@@ -12,7 +12,7 @@
v-if=
"displayDetail.imagesVo && displayDetail.imagesVo.length > 0"
>
<el-image
:src=
"$getFullUrl(displayDetail.faceImage
Press
Url)"
:src=
"$getFullUrl(displayDetail.faceImageUrl)"
fit=
"cover"
></el-image>
</div>
...
...
@@ -337,9 +337,9 @@
:src=
"item.faceImagePressUrl || item.faceImageUrl"
alt=
""
/>
<div
class=
"cr-name-intro"
v-if=
"index == 0"
>
<div
class=
"cr-name-intro"
>
<div
class=
"cr-name"
>
{{
item
.
name
}}
</div>
<
div
class=
"cr-intro"
>
{{
item
.
intro
}}
</div
>
<
!--
<div
class=
"cr-intro"
v-html=
"item.intro"
></div>
--
>
</div>
</div>
</el-col>
...
...
@@ -885,7 +885,7 @@ $blue: #2069c4;
display
:
flex
;
}
.unit-content-menu
{
width
:
460px
;
width
:
460px
;
margin-right
:
40px
;
background-image
:
url("@/assets/imgs/display/normal/bg.png")
;
background-size
:
1%
;
...
...
@@ -930,53 +930,82 @@ $blue: #2069c4;
background-size
:
1%
;
padding
:
50px
0
;
.el-col
{
&
:first-child
{
.img-container
{
width
:
100%
;
height
:
460px
;
position
:
relative
;
.img-container
{
width
:
100%
;
height
:
460px
;
position
:
relative
;
.cr-name-intro
{
width
:
100%
;
height
:
100%
;
position
:
absolute
;
left
:
0
;
top
:
0
;
padding
:
100px
28px
50px
;
// background-image: linear-gradient(
// to top,
// rgba(0, 0, 0, 0.8),
// rgba(0, 0, 0, 0.1)
// );
.cr-name
{
font-size
:
48px
;
font-weight
:
bold
;
color
:
#ffffff
;
text-align
:
center
;
margin-bottom
:
40px
;
transition
:
all
0
.5s
ease
;
}
.cr-intro
{
font-size
:
16px
;
font-weight
:
400
;
color
:
#ccc
;
text-indent
:
32px
;
line-height
:
40px
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
display
:
-
webkit-box
;
-webkit-line-clamp
:
5
;
-webkit-box-orient
:
vertical
;
}
}
img
{
width
:
100%
;
height
:
100%
;
}
}
&
:first-child
{
.cr-name-intro
{
background-image
:
linear-gradient
(
to
top
,
rgba
(
0
,
0
,
0
,
0
.8
)
,
rgba
(
0
,
0
,
0
,
0
.1
)
);
}
}
&
:not
(
&
:first-child
)
{
margin-bottom
:
30px
;
&
:hover
{
.cr-name
{
opacity
:
1
;
}
.cr-name-intro
{
width
:
100%
;
height
:
100%
;
position
:
absolute
;
left
:
0
;
top
:
0
;
padding
:
100px
28px
50px
;
background-image
:
linear-gradient
(
to
top
,
rgba
(
0
,
0
,
0
,
0
.8
)
,
rgba
(
0
,
0
,
0
,
0
.1
)
);
.cr-name
{
font-size
:
48px
;
font-weight
:
bold
;
color
:
#ffffff
;
text-align
:
center
;
margin-bottom
:
40px
;
}
.cr-intro
{
font-size
:
16px
;
font-weight
:
400
;
color
:
#ccc
;
text-indent
:
32px
;
line-height
:
40px
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
display
:
-
webkit-box
;
-webkit-line-clamp
:
5
;
-webkit-box-orient
:
vertical
;
}
}
img
{
width
:
100%
;
height
:
100%
;
}
}
}
&
:not
(
&
:first-child
)
{
margin-bottom
:
30px
;
.cr-name
{
font-size
:
18px
;
opacity
:
0
;
}
.cr-intro
{
display
:
none
;
}
// .cr-name-intro {
// background-image: none;
// }
.img-container
{
height
:
214px
;
}
...
...
@@ -1033,8 +1062,8 @@ $blue: #2069c4;
color
:
$blue
;
}
}
.is-current
{
.el-tree-node__content
{
.is-current
{
.el-tree-node__content
{
background-color
:
#fff
;
color
:
$blue
;
}
...
...
src/views/display/index.vue
浏览文件 @
0cc32421
...
...
@@ -52,18 +52,17 @@
</div>
<el-row
:gutter=
"40"
class=
"cr-list"
>
<el-col
:span=
"item.status
==1?8:
0"
:span=
"item.status
== 1 ? 8 :
0"
class=
"cr-item"
@
click
.
native=
"handleClick(item)"
@
mouseenter
.
native=
"handleEnterImg(item)"
@
mouseleave
.
native=
"handleLeaveImg(item)"
v-for=
"(item, index) in list.records"
:key=
"index"
>
<div
class=
"container wow animate__animated animate__fadeInUp"
v-if=
"item.status
==
1"
v-if=
"item.status
==
1"
>
<div
class=
"img-container"
>
<img
...
...
@@ -179,7 +178,7 @@ export default {
return
{
list
:
{
records
:
[],
size
:
20
,
size
:
15
,
current
:
1
,
total
:
0
,
},
...
...
@@ -243,11 +242,11 @@ export default {
},
handleClick
(
item
)
{
console
.
log
(
item
);
const
{
themeType
,
exhibitionId
}
=
item
;
this
.
$router
.
push
({
const
newPage
=
this
.
$router
.
resolve
({
path
:
`display/
${
themeType
}
/
${
exhibitionId
}
`
,
});
window
.
open
(
newPage
.
href
,
"_blank"
);
},
defImg
(
e
)
{
e
.
target
.
src
=
require
(
"@/assets/404_images/no-pic.png"
);
...
...
@@ -348,7 +347,7 @@ $text-indent: 16px;
color
:
#444
;
font-size
:
14px
;
width
:
156px
;
height
:
40
px
;
height
:
54
px
;
&
:hover
{
-webkit-box-reflect
:
below
2px
linear-gradient
(
transparent
,
rgba
(
0
,
0
,
0
,
0
.3
));
...
...
@@ -442,8 +441,8 @@ $text-indent: 16px;
padding
:
36px
30px
;
transition
:
all
0
.5s
ease
;
background
:
#fff
;
.name
{
font-size
:
18
px
;
.name
{
font-size
:
22
px
;
font-weight
:
bold
;
color
:
#2069c4
;
margin-bottom
:
18px
;
...
...
@@ -455,8 +454,11 @@ $text-indent: 16px;
display
:
flex
;
align-items
:
flex-end
;
justify-content
:
space-between
;
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
.left
{
flex
:
1
;
//
flex: 1;
.deptName
{
font-size
:
14px
;
...
...
@@ -510,7 +512,7 @@ $text-indent: 16px;
border-radius
:
0
;
background
:
url("@/assets/imgs/list/input-border.png")
;
background-size
:
100%
100%
;
height
:
54px
;
&
:
:
placeholder
{
text-indent
:
10px
;
color
:
#999
;
...
...
@@ -532,7 +534,7 @@ $text-indent: 16px;
width
:
28px
;
height
:
28px
;
border-radius
:
50%
;
background
:
#
77a7c9
;
background
:
#
2069c4
;
min-width
:
0
;
}
.active
{
...
...
src/views/home/components/MuseumMap.vue
浏览文件 @
0cc32421
...
...
@@ -7,8 +7,8 @@
<div
class=
"wrapper"
>
<div
class=
"content wow animate__animated animate__fadeIn"
>
<div
class=
"name"
>
{{
curMuseum
.
name
}}
</div>
<div
class=
"intro"
>
{{
curMuseum
.
intro
}}
<div
class=
"intro"
v-html=
"curMuseum.intro"
>
</div>
<!--
<div
class=
"entrance"
...
...
src/views/museum/index.vue
浏览文件 @
0cc32421
...
...
@@ -282,7 +282,7 @@ $text-indent: 16px;
.search-button
{
cursor
:
pointer
;
width
:
156px
;
height
:
40
px
;
height
:
54
px
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
...
...
@@ -379,8 +379,8 @@ $text-indent: 16px;
padding
:
36px
30px
;
transition
:
all
0
.5s
ease
;
background
:
#fff
;
.name
{
font-size
:
18
px
;
.name
{
font-size
:
22
px
;
font-weight
:
bold
;
color
:
#2069c4
;
margin-bottom
:
18px
;
...
...
@@ -422,7 +422,7 @@ $text-indent: 16px;
border-radius
:
0
;
background
:
url("@/assets/imgs/list/input-border.png")
;
background-size
:
100%
100%
;
height
:
54px
;
&
:
:
placeholder
{
text-indent
:
10px
;
color
:
#999
;
...
...
@@ -440,7 +440,7 @@ $text-indent: 16px;
width
:
28px
;
height
:
28px
;
border-radius
:
50%
;
background
:
#
77a7c9
;
background
:
#
2069c4
;
min-width
:
0
;
}
.active
{
...
...
src/views/virtual/index.vue
浏览文件 @
0cc32421
...
...
@@ -306,7 +306,7 @@ $text-indent: 16px;
.search-button
{
cursor
:
pointer
;
width
:
156px
;
height
:
40
px
;
height
:
54
px
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
...
...
@@ -411,8 +411,8 @@ $text-indent: 16px;
padding
:
36px
30px
;
transition
:
all
0
.5s
ease
;
background
:
#fff
;
.name
{
font-size
:
18
px
;
.name
{
font-size
:
22
px
;
font-weight
:
bold
;
color
:
#2069c4
;
margin-bottom
:
18px
;
...
...
@@ -454,7 +454,7 @@ $text-indent: 16px;
border-radius
:
0
;
background
:
url("@/assets/imgs/list/input-border.png")
;
background-size
:
100%
100%
;
height
:
54px
;
&
:
:
placeholder
{
text-indent
:
10px
;
color
:
#999
;
...
...
@@ -476,7 +476,7 @@ $text-indent: 16px;
width
:
28px
;
height
:
28px
;
border-radius
:
50%
;
background
:
#
77a7c9
;
background
:
#
2069c4
;
min-width
:
0
;
}
.active
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论