Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
E
exhibition_page
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
龙菲
exhibition_page
Commits
d0d69782
提交
d0d69782
authored
9月 13, 2022
作者:
龙菲
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
布展介绍和单元修改为支持富文本字符串、浏览器自适应适配
上级
b8a9d4c9
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
121 行增加
和
45 行删除
+121
-45
main.js
src/main.js
+1
-1
BlueStyle.vue
src/views/display/components/BlueStyle.vue
+112
-42
NormalStyle.vue
src/views/display/components/NormalStyle.vue
+0
-0
index.vue
src/views/display/index.vue
+8
-2
没有找到文件。
src/main.js
浏览文件 @
d0d69782
...
...
@@ -18,7 +18,7 @@ import {
getFullUrl
}
from
'@/utils/index'
import
'./permission'
//
import '@/rem'
import
'@/rem'
Vue
.
config
.
productionTip
=
false
Vue
.
use
(
ElementUI
);
...
...
src/views/display/components/BlueStyle.vue
浏览文件 @
d0d69782
...
...
@@ -12,7 +12,11 @@
v-if=
"displayDetail.imagesVo && displayDetail.imagesVo.length > 0"
>
<el-image
:src=
"$getFullUrl(displayDetail.faceImagePressUrl || displayDetail.faceImageUrl)"
:src=
"
$getFullUrl(
displayDetail.faceImagePressUrl || displayDetail.faceImageUrl
)
"
fit=
"cover"
></el-image>
</div>
...
...
@@ -27,7 +31,7 @@
animate__animated animate__fadeInLeft
"
>
<swiper
:options=
"swiperOption"
ref=
"mySwiper"
>
<
!--
<
swiper
:options=
"swiperOption"
ref=
"mySwiper"
>
<swiper-slide
v-for=
"(item, index) in displayDetail.imagesVo"
:key=
"index"
...
...
@@ -40,9 +44,29 @@
</div>
</swiper-slide>
<div
class=
"swiper-pagination"
slot=
"pagination"
></div>
<!--
<div
class=
"swiper-button-prev"
slot=
"button-prev"
></div>
-->
<!--
<div
class=
"swiper-button-next"
slot=
"button-next"
></div>
-->
</swiper>
<div
class=
"swiper-button-prev"
slot=
"button-prev"
></div>
<div
class=
"swiper-button-next"
slot=
"button-next"
></div>
</swiper>
-->
<el-carousel>
<el-carousel-item
v-for=
"(item, index) in displayDetail.imagesVo"
:key=
"index"
class=
"imagesVo-image-container"
>
<div
class=
"img-container"
@
click=
"handelPreviewImages(displayDetail.imagesVo)"
>
<img
:src=
"item.url"
alt=
"点击查看大图"
srcset=
""
/>
</div>
<div
class=
"enlarge"
@
click=
"handelPreviewImages(displayDetail.imagesVo)"
>
<img
src=
"@/assets/imgs/enlarge-s.png"
alt=
""
/>
</div>
</el-carousel-item>
</el-carousel>
</div>
<div
class=
"
...
...
@@ -206,15 +230,47 @@
></menu-list>
</div>
<div
class=
"unit-content wow animate__animated animate__fadeInRight"
>
<div
class=
"text-indent unit-content_intro"
v-if=
"curUnit.intro"
>
{{
curUnit
.
intro
}}
<div
class=
"text-indent unit-content_intro"
v-if=
"curUnit.intro"
v-html=
"curUnit.intro"
>
<!--
{{
curUnit
.
intro
}}
-->
</div>
<div
class=
"unit-content_images"
v-if=
"curUnit.imagesVo && curUnit.imagesVo.length > 0"
>
<el-row
:gutter=
"20"
>
<el-col
<el-carousel
indicator-position=
"outside"
:autoplay=
"false"
height=
"600px"
:loop=
"false"
>
<el-carousel-item
v-for=
"item in curUnit.imagesVo"
:key=
"item.euId"
>
<div
class=
"unit-content_images_container"
>
<el-image
:src=
"$getFullUrl(item.pressUrl)"
fit=
"contain"
class=
"images_img"
></el-image>
<div
class=
"enlarge"
@
click=
"handelPreviewImages(curUnit.imagesVo)"
>
<img
src=
"@/assets/imgs/enlarge-s.png"
alt=
""
/>
</div>
<div
class=
"desc"
>
{{
item
.
name
.
split
(
"."
)[
0
]
}}
</div>
</div>
</el-carousel-item>
</el-carousel>
<!--
<el-col
:span=
"24 / curUnit.imagesVo.length"
v-for=
"item in curUnit.imagesVo"
:key=
"item.euId"
...
...
@@ -231,8 +287,7 @@
<div
class=
"unit-content_images_desc"
>
{{
item
.
name
}}
</div>
</el-col>
</el-row>
</el-col>
-->
</div>
<div
class=
"unit-content_videos"
...
...
@@ -618,13 +673,35 @@ export default {
.divider
{
flex
:
1
;
height
:
6px
;
background
:
url("@/assets/imgs/display/normal/divider.png")
100%
100%
repeat-x
;
background
:
url("@/assets/imgs/display/normal/divider.png")
100%
100%
repeat-x
;
img
{
width
:
100%
;
}
}
}
}
.enlarge
{
position
:
absolute
;
bottom
:
40px
;
right
:
40px
;
display
:
flex
;
z-index
:
9
;
background-color
:
#c1925b
;
width
:
40px
;
height
:
40px
;
border-radius
:
12px
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
margin-right
:
10px
;
cursor
:
pointer
;
img
{
width
:
24px
;
height
:
24px
;
}
}
/**公共样式结束 */
/**样式开始 */
...
...
@@ -667,14 +744,17 @@ export default {
margin-right
:
50px
;
flex
:
1
;
overflow
:
hidden
;
.img-container
{
height
:
280px
;
width
:
100%
;
}
img
{
width
:
100%
;
height
:
100%
;
object-fit
:
cover
;
.imagesVo-image-container
{
// position: relative;
.img-container
{
height
:
280px
;
width
:
100%
;
img
{
width
:
100%
;
height
:
100%
;
object-fit
:
cover
;
}
}
}
}
.info-container-right
{
...
...
@@ -841,30 +921,20 @@ export default {
text-indent
:
32px
;
margin-bottom
:
20px
;
}
.unit-content_images
_container
{
.unit-content_images
{
position
:
relative
;
.unit-content_images_desc
{
display
:
flex
;
justify-content
:
center
;
}
.enlarge
{
position
:
absolute
;
bottom
:
60px
;
right
:
40px
;
display
:
flex
;
z-index
:
9
;
background-color
:
#c1925b
;
width
:
40px
;
height
:
40px
;
border-radius
:
12px
;
.unit-content_images_container
{
height
:
100%
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
margin-right
:
10px
;
cursor
:
pointer
;
img
{
width
:
24px
;
height
:
24px
;
flex-direction
:
column
;
.images_img
{
flex
:
1
;
}
.desc
{
display
:
flex
;
justify-content
:
center
;
height
:
40px
;
align-items
:
center
;
}
}
}
...
...
src/views/display/components/NormalStyle.vue
deleted
100644 → 0
浏览文件 @
b8a9d4c9
差异被折叠。
点击展开。
src/views/display/index.vue
浏览文件 @
d0d69782
...
...
@@ -440,14 +440,21 @@ $text-indent: 16px;
align-items
:
flex-end
;
justify-content
:
space-between
;
.left
{
flex
:
1
;
.deptName
{
font-size
:
14px
;
font-weight
:
300
;
color
:
#444444
;
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
width
:
100%
;
}
}
.right
{
color
:
#858484
;
width
:
120px
;
.collect
{
margin-right
:
10px
;
}
...
...
@@ -479,7 +486,6 @@ $text-indent: 16px;
font-weight
:
bold
;
}
::v-deep
.el-input
,
.el-cascader
{
.el-input__inner
{
...
...
@@ -503,7 +509,7 @@ $text-indent: 16px;
}
::v-deep
.el-input
{
width
:
auto
!
important
;
;
width
:
auto
!
important
;
}
::v-deep
.el-pager
{
li
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论