提交 e867603d authored 作者: 龙菲's avatar 龙菲

修复单元title箭头覆盖在内容上导致看不清箭头的问题

上级 1e199fa2
...@@ -20,20 +20,12 @@ ...@@ -20,20 +20,12 @@
<!-- 展览基本信息 --> <!-- 展览基本信息 -->
<div class="content-item display-detail_basic_info"> <div class="content-item display-detail_basic_info">
<div class="info-container"> <div class="info-container">
<div <div v-if="displayDetail.imagesVo && displayDetail.imagesVo.length > 0" class="info-container-left">
v-if="displayDetail.imagesVo && displayDetail.imagesVo.length > 0" <SlideImage :imgList="displayDetail.imagesVo" v-if="
class="info-container-left"
>
<SlideImage
:imgList="displayDetail.imagesVo"
v-if="
displayDetail.imagesVo && displayDetail.imagesVo.length > 0 displayDetail.imagesVo && displayDetail.imagesVo.length > 0
" " />
/> <SlideImage :imgList="[{ pressUrl: displayDetail.faceImagePressUrl }]"
<SlideImage v-else-if="displayDetail.faceImagePressUrl" />
:imgList="[{ pressUrl: displayDetail.faceImagePressUrl }]"
v-else-if="displayDetail.faceImagePressUrl"
/>
</div> </div>
<div class="info-container-right"> <div class="info-container-right">
<div class="info-title"> <div class="info-title">
...@@ -50,8 +42,8 @@ ...@@ -50,8 +42,8 @@
<div class="body-item"> <div class="body-item">
<span class="label"> <span class="label">
<!-- <svg-icon icon-class="keyword"></svg-icon> --> <!-- <svg-icon icon-class="keyword"></svg-icon> -->
关键词:</span 关键词:
> </span>
<span class="value">{{ <span class="value">{{
displayDetail.keyword || "暂无" displayDetail.keyword || "暂无"
}}</span> }}</span>
...@@ -79,8 +71,8 @@ ...@@ -79,8 +71,8 @@
<div class="body-item"> <div class="body-item">
<span class="label"> <span class="label">
<!-- <svg-icon icon-class="zldw"></svg-icon> --> <!-- <svg-icon icon-class="zldw"></svg-icon> -->
展览单位:</span 展览单位:
> </span>
<span class="value">{{ <span class="value">{{
displayDetail.deptName || "暂无" displayDetail.deptName || "暂无"
}}</span> }}</span>
...@@ -88,8 +80,8 @@ ...@@ -88,8 +80,8 @@
<div class="body-item"> <div class="body-item">
<span class="label"> <span class="label">
<!-- <svg-icon icon-class="zldq"></svg-icon> --> <!-- <svg-icon icon-class="zldq"></svg-icon> -->
展览地区:</span 展览地区:
> </span>
<span class="value">{{ <span class="value">{{
displayDetail.regionName || "暂无" displayDetail.regionName || "暂无"
}}</span> }}</span>
...@@ -104,56 +96,33 @@ ...@@ -104,56 +96,33 @@
/> --> /> -->
</div> </div>
<div class="tools"> <div class="tools">
<ReaderOperations <ReaderOperations :loveCount="displayDetail.loveCount"
:loveCount="displayDetail.loveCount"
:loveCountStatus="Boolean(displayDetail.loveCountStatus)" :loveCountStatus="Boolean(displayDetail.loveCountStatus)"
:collectCount="displayDetail.collectCount" :collectCount="displayDetail.collectCount" :collectCountStatus="
:collectCountStatus="
Boolean(displayDetail.collectCountStatus) Boolean(displayDetail.collectCountStatus)
" " :sourceId="displayDetail.exhibitionId" :title="displayDetail.title"
:sourceId="displayDetail.exhibitionId" :sourceType="'biz_exhibition'" @reload="reload" />
:title="displayDetail.title"
:sourceType="'biz_exhibition'"
@reload="reload"
/>
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
</div> </div>
</div> </div>
<div <div class="audio" :style="{ animationPlayState: audioPlaying ? 'running' : 'paused' }"
class="audio" @click="handleClickAudio" v-if="displayDetail.audiosVo && displayDetail.audiosVo.length > 0">
:style="{ animationPlayState: audioPlaying ? 'running' : 'paused' }"
@click="handleClickAudio"
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="" />
<!-- <svg-icon icon-class="music"></svg-icon> --> <!-- <svg-icon icon-class="music"></svg-icon> -->
<AudioPlayer <AudioPlayer style="display: none" :url="$getFullUrl(displayDetail.audiosVo[0].url)" ref="AudioPlayer" />
style="display: none"
:url="$getFullUrl(displayDetail.audiosVo[0].url)"
ref="AudioPlayer"
/>
</div> </div>
</div> </div>
<div <div class="content-item display-detail_tabbar" id="tabbar" :class="{ isFixed: isFixed }">
class="content-item display-detail_tabbar"
id="tabbar"
:class="{ isFixed: isFixed }"
>
<span v-for="(item, index) in tabbarData" :key="index"> <span v-for="(item, index) in tabbarData" :key="index">
<span <span @click="handleClickTabItem(item)" :class="[
@click="handleClickTabItem(item)"
:class="[
'tab-item', 'tab-item',
currentTab && currentTab.domId == item.domId ? 'active' : '', currentTab && currentTab.domId == item.domId ? 'active' : '',
]" ]" v-html="item.name" v-if="
v-html="item.name"
v-if="
displayDetail[item.domId] && displayDetail[item.domId] &&
displayDetail[item.domId].length > 0 displayDetail[item.domId].length > 0
" ">
>
</span> </span>
</span> </span>
</div> </div>
...@@ -166,18 +135,11 @@ ...@@ -166,18 +135,11 @@
</div> </div>
<div class="intro-content"> <div class="intro-content">
<div class="left-box">简介</div> <div class="left-box">简介</div>
<div <div class="intro-content-container" v-html="displayDetail.intro"></div>
class="intro-content-container"
v-html="displayDetail.intro"
></div>
</div> </div>
</div> </div>
<div <div class="display-detail_virtual content-item" v-if="displayDetail.virtualVo.length > 0" id="virtualVo">
class="display-detail_virtual content-item"
v-if="displayDetail.virtualVo.length > 0"
id="virtualVo"
>
<div class="custom_title"> <div class="custom_title">
<div class="center"> <div class="center">
<!-- <svg-icon icon-class="wenxian"></svg-icon> --> <!-- <svg-icon icon-class="wenxian"></svg-icon> -->
...@@ -185,12 +147,8 @@ ...@@ -185,12 +147,8 @@
</div> </div>
</div> </div>
<div class="vr-content"> <div class="vr-content">
<div <div class="img-container" @click="handleToVR(item)" v-for="(item, index) in displayDetail.virtualVo"
class="img-container" :key="index">
@click="handleToVR(item)"
v-for="(item, index) in displayDetail.virtualVo"
:key="index"
>
<img :src="item.faceImagePressUrl" alt="" /> <img :src="item.faceImagePressUrl" alt="" />
<div class="modal"> <div class="modal">
<svg-icon icon-class="360"></svg-icon> <svg-icon icon-class="360"></svg-icon>
...@@ -200,48 +158,31 @@ ...@@ -200,48 +158,31 @@
</div> </div>
</div> </div>
<!-- 展览视频 --> <!-- 展览视频 -->
<div <div id="videosVo" class="content-item videos"
id="videosVo" v-if="displayDetail.videosVo && displayDetail.videosVo.length > 0">
class="content-item videos"
v-if="displayDetail.videosVo && displayDetail.videosVo.length > 0"
>
<div class="video-title"> <div class="video-title">
<!-- <i class="el-icon-video-camera"></i> --> <!-- <i class="el-icon-video-camera"></i> -->
展览视频 展览视频
</div> </div>
<div class="video-names"> <div class="video-names">
<div <div class="video-item" v-for="(item, index) in displayDetail.videosVo" :key="index"
class="video-item" @click="handleChangeCurrentVideo(item)">
v-for="(item, index) in displayDetail.videosVo" <div :class="[
:key="index"
@click="handleChangeCurrentVideo(item)"
>
<div
:class="[
'name', 'name',
currentVideo && item.fileId == currentVideo.fileId currentVideo && item.fileId == currentVideo.fileId
? 'active' ? 'active'
: '', : '',
]" ]">
>
{{ item.name.split(".")[0] }} {{ item.name.split(".")[0] }}
</div> </div>
</div> </div>
</div> </div>
<video-player <video-player v-if="currentVideo" :src="$getFullUrl(currentVideo.url)" class="video-box"></video-player>
v-if="currentVideo"
:src="$getFullUrl(currentVideo.url)"
class="video-box"
></video-player>
</div> </div>
<!--展览单元 --> <!--展览单元 -->
<div <div class="content-item display-detail_units" ref="units" v-if="displayDetail.exhibitionUnits.length > 0"
class="content-item display-detail_units" id="exhibitionUnits">
ref="units"
v-if="displayDetail.exhibitionUnits.length > 0"
id="exhibitionUnits"
>
<div class="custom_title"> <div class="custom_title">
<div class="center"> <div class="center">
<!-- <i class="el-icon-notebook-2"></i> --> <!-- <i class="el-icon-notebook-2"></i> -->
...@@ -250,80 +191,57 @@ ...@@ -250,80 +191,57 @@
</div> </div>
<div class="unit-container"> <div class="unit-container">
<div class="unit-content-menu"> <div class="unit-content-menu">
<swiper <swiper class="swiper gallery-thumbs" :options="swiperOptionThumbs" ref="swiperThumbs">
class="swiper gallery-thumbs" <swiper-slide :class="[
:options="swiperOptionThumbs"
ref="swiperThumbs"
>
<swiper-slide
:class="[
'slide-item', 'slide-item',
item.euId == curUnit.euId ? 'active' : '', item.euId == curUnit.euId ? 'active' : '',
]" ]" v-for="(item, index) in displayDetail.exhibitionUnits" :key="index"
v-for="(item, index) in displayDetail.exhibitionUnits" @click.native="handleClickUnit(item)">
:key="index"
@click.native="handleClickUnit(item)"
>
{{ item.title }} {{ item.title }}
</swiper-slide> </swiper-slide>
<!-- <div class="swiper-button-prev" slot="button-prev">
<i class="el-icon-arrow-left"></i>
</div>
<div class="swiper-button-next" slot="button-next">
<i class="el-icon-arrow-right"></i>
</div> -->
</swiper>
<div class="swiper-button-prev" slot="button-prev"> <div class="swiper-button-prev" slot="button-prev">
<i class="el-icon-arrow-left"></i> <i class="el-icon-arrow-left"></i>
</div> </div>
<div class="swiper-button-next" slot="button-next"> <div class="swiper-button-next" slot="button-next">
<i class="el-icon-arrow-right"></i> <i class="el-icon-arrow-right"></i>
</div> </div>
</swiper>
</div> </div>
<div class="unit-content"> <div class="unit-content">
<div class="unit-content-title"> <div class="unit-content-title">
{{ curUnit.title }} {{ curUnit.title }}
</div> </div>
<div <div class="text-indent unit-content_intro" v-if="curUnit.intro" v-html="curUnit.intro"></div>
class="text-indent unit-content_intro" <div class="unit-content_images" v-if="curUnit.imagesVo && curUnit.imagesVo.length > 0">
v-if="curUnit.intro"
v-html="curUnit.intro"
></div>
<div
class="unit-content_images"
v-if="curUnit.imagesVo && curUnit.imagesVo.length > 0"
>
<div class="imgs-title">单元图片</div> <div class="imgs-title">单元图片</div>
<div class="unit-imgs"> <div class="unit-imgs">
<SlideImageGroup <SlideImageGroup :imgList="curUnit.imagesVo" :needEnlarge="true">
:imgList="curUnit.imagesVo"
:needEnlarge="true"
>
<template slot-scope="{ item }" slot="img"> <template slot-scope="{ item }" slot="img">
<img <img :src="item.pressUrl" alt="" style="width: 100%; height: 100%; object-fit: contain" />
:src="item.pressUrl"
alt=""
style="width: 100%; height: 100%; object-fit: contain"
/>
</template> </template>
</SlideImageGroup> </SlideImageGroup>
</div> </div>
</div> </div>
<div <div class="unit-content_crs" v-if="
class="unit-content_crs"
v-if="
curUnit.culturalRelics && curUnit.culturalRelics.length > 0 curUnit.culturalRelics && curUnit.culturalRelics.length > 0
" ">
>
<div class="imgs-title">单元文物</div> <div class="imgs-title">单元文物</div>
<SlideImageGroup :imgList="curUnit.culturalRelics"> <SlideImageGroup :imgList="curUnit.culturalRelics">
<template slot-scope="{ item }" slot="img"> <template slot-scope="{ item }" slot="img">
<img <img :src="item.faceImagePressUrl" alt="" style="
:src="item.faceImagePressUrl"
alt=""
style="
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: fill; object-fit: fill;
cursor: pointer; cursor: pointer;
" " @click="handleToCr(item)" />
@click="handleToCr(item)"
/>
</template> </template>
<template slot-scope="{ item }" slot="info"> <template slot-scope="{ item }" slot="info">
<div class="name">{{ item.name }}</div> <div class="name">{{ item.name }}</div>
...@@ -343,29 +261,19 @@ ...@@ -343,29 +261,19 @@
</div> </div>
<!--展览相关文物 --> <!--展览相关文物 -->
<div <div class="content-item display-detail_relateRc" ref="units" v-if="
class="content-item display-detail_relateRc"
ref="units"
v-if="
displayDetail.culturalRelicVo && displayDetail.culturalRelicVo &&
displayDetail.culturalRelicVo.length > 0 displayDetail.culturalRelicVo.length > 0
" " id="culturalRelicVo">
id="culturalRelicVo"
>
<div class="cr-title">展览文物</div> <div class="cr-title">展览文物</div>
<SlideImageGroup :imgList="displayDetail.culturalRelicVo"> <SlideImageGroup :imgList="displayDetail.culturalRelicVo">
<template slot-scope="{ item }" slot="img"> <template slot-scope="{ item }" slot="img">
<img <img :src="item.faceImagePressUrl" alt="" style="
:src="item.faceImagePressUrl"
alt=""
style="
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: fill; object-fit: fill;
cursor: pointer; cursor: pointer;
" " @click="handleToCr(item)" />
@click="handleToCr(item)"
/>
</template> </template>
<template slot-scope="{ item }" slot="info"> <template slot-scope="{ item }" slot="info">
<div class="name">{{ item.name }}</div> <div class="name">{{ item.name }}</div>
...@@ -373,13 +281,9 @@ ...@@ -373,13 +281,9 @@
</SlideImageGroup> </SlideImageGroup>
</div> </div>
<!-- 相关文献 --> <!-- 相关文献 -->
<div <div class="content-item display-detail_lts" v-if="
class="content-item display-detail_lts"
v-if="
displayDetail.literatureVo && displayDetail.literatureVo.length > 0 displayDetail.literatureVo && displayDetail.literatureVo.length > 0
" " id="literatureVo">
id="literatureVo"
>
<div class="custom_title"> <div class="custom_title">
<div class="center"> <div class="center">
<!-- <svg-icon icon-class="wenxian"></svg-icon> --> <!-- <svg-icon icon-class="wenxian"></svg-icon> -->
...@@ -387,32 +291,18 @@ ...@@ -387,32 +291,18 @@
</div> </div>
</div> </div>
<div class="lts-content"> <div class="lts-content">
<div <div class="lt-item" v-for="(item, index) in displayDetail.literatureVo" :key="index">
class="lt-item"
v-for="(item, index) in displayDetail.literatureVo"
:key="index"
>
<span class="lt-order">[{{ index + 1 }}]</span> <span class="lt-order">[{{ index + 1 }}]</span>
<span class="lt-authors" v-if="item.authors" <span class="lt-authors" v-if="item.authors">{{ item.authors }}.</span>
>{{ item.authors }}.</span <span class="lt-name" v-if="item.name" @click="handleViewLt(item)">{{ item.authors }}.</span>
> <span class="lt-source" v-if="item.source">{{ item.source }}.</span>
<span class="lt-name" v-if="item.name" @click="handleViewLt(item)"
>{{ item.authors }}.</span
>
<span class="lt-source" v-if="item.source"
>{{ item.source }}.</span
>
<span class="lt-date" v-if="item.date">{{ item.date }}</span> <span class="lt-date" v-if="item.date">{{ item.date }}</span>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<el-image-viewer <el-image-viewer v-if="imgViewerVisible" :on-close="closeImgViewer" :url-list="imgList" />
v-if="imgViewerVisible"
:on-close="closeImgViewer"
:url-list="imgList"
/>
</div> </div>
</template> </template>
...@@ -697,6 +587,7 @@ export default { ...@@ -697,6 +587,7 @@ export default {
display: flex; display: flex;
justify-content: center; justify-content: center;
} }
.page-item { .page-item {
cursor: pointer; cursor: pointer;
} }
...@@ -706,6 +597,7 @@ export default { ...@@ -706,6 +597,7 @@ export default {
// 中国风主题样式 // 中国风主题样式
/**公共样式开始 */ /**公共样式开始 */
$titleFontFamily: SourceHanSerifCN-Bold; $titleFontFamily: SourceHanSerifCN-Bold;
.custom-title { .custom-title {
width: 50px; width: 50px;
background-color: #d72f3f; background-color: #d72f3f;
...@@ -719,10 +611,12 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -719,10 +611,12 @@ $titleFontFamily: SourceHanSerifCN-Bold;
box-shadow: rgb(215 47 63 / 30%) 4px 3px 8px 1px; box-shadow: rgb(215 47 63 / 30%) 4px 3px 8px 1px;
letter-spacing: 10px; letter-spacing: 10px;
} }
.content { .content {
background-color: #f3f3f3; background-color: #f3f3f3;
min-height: 50vh; min-height: 50vh;
} }
.content-item { .content-item {
width: 100%; width: 100%;
background-color: #fff; background-color: #fff;
...@@ -730,20 +624,24 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -730,20 +624,24 @@ $titleFontFamily: SourceHanSerifCN-Bold;
.custom_title { .custom_title {
padding: 50px 0 40px 0; padding: 50px 0 40px 0;
.center { .center {
padding: 0 40px; padding: 0 40px;
display: flex; display: flex;
align-items: center; align-items: center;
i { i {
margin-right: 10px; margin-right: 10px;
font-size: 28px; font-size: 28px;
color: $themeColor; color: $themeColor;
} }
.svg-icon { .svg-icon {
font-size: 32px; font-size: 32px;
color: $themeColor; color: $themeColor;
margin-right: 10px; margin-right: 10px;
} }
.title { .title {
font-size: 26px; font-size: 26px;
font-weight: 400; font-weight: 400;
...@@ -768,6 +666,7 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -768,6 +666,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
align-items: center; align-items: center;
margin-right: 10px; margin-right: 10px;
cursor: pointer; cursor: pointer;
img { img {
width: 24px; width: 24px;
height: 24px; height: 24px;
...@@ -780,6 +679,7 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -780,6 +679,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
top: 100px; top: 100px;
z-index: 99; z-index: 99;
} }
/**公共样式结束 */ /**公共样式结束 */
/**样式开始 */ /**样式开始 */
...@@ -790,15 +690,18 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -790,15 +690,18 @@ $titleFontFamily: SourceHanSerifCN-Bold;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
flex-direction: column; flex-direction: column;
/**轮播图 */ /**轮播图 */
.display-detail_imgs { .display-detail_imgs {
height: 436px; height: 436px;
img { img {
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: cover; object-fit: cover;
} }
} }
.wrapper { .wrapper {
width: 1200px; width: 1200px;
// padding: 0 13%; // padding: 0 13%;
...@@ -806,6 +709,7 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -806,6 +709,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
// width: 78%; // width: 78%;
display: flex; display: flex;
justify-content: center; justify-content: center;
.inner { .inner {
width: 100%; width: 100%;
// box-shadow: 0px 1px 56px 4px rgba(0, 0, 0, 0.16); // box-shadow: 0px 1px 56px 4px rgba(0, 0, 0, 0.16);
...@@ -818,27 +722,33 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -818,27 +722,33 @@ $titleFontFamily: SourceHanSerifCN-Bold;
// position: relative; // position: relative;
margin: 0 70px; margin: 0 70px;
padding-bottom: 56px; padding-bottom: 56px;
/**基本信息 */ /**基本信息 */
.display-detail_basic_info { .display-detail_basic_info {
position: relative; position: relative;
.info-container { .info-container {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
padding: 60px 36px; padding: 60px 36px;
height: 100%; height: 100%;
background-color: #fff; background-color: #fff;
.info-container-left { .info-container-left {
min-height: 200px; min-height: 200px;
max-height: 460px; max-height: 460px;
margin-right: 50px; margin-right: 50px;
flex: 1; flex: 1;
overflow: hidden; overflow: hidden;
.imagesVo-image-container { .imagesVo-image-container {
// position: relative; // position: relative;
.img-container { .img-container {
height: 100%; height: 100%;
width: 100%; width: 100%;
background-color: #f5f5f9; background-color: #f5f5f9;
img { img {
width: 100%; width: 100%;
height: 100%; height: 100%;
...@@ -847,6 +757,7 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -847,6 +757,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
} }
} }
} }
.info-container-right { .info-container-right {
flex: 1; flex: 1;
min-height: 200px; min-height: 200px;
...@@ -858,22 +769,26 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -858,22 +769,26 @@ $titleFontFamily: SourceHanSerifCN-Bold;
padding-bottom: 20px; padding-bottom: 20px;
margin-bottom: 20px; margin-bottom: 20px;
border-bottom: 2px solid #f2f2f2; border-bottom: 2px solid #f2f2f2;
.view-count { .view-count {
font-size: 14px; font-size: 14px;
margin-top: 10px; margin-top: 10px;
color: #999; color: #999;
font-weight: normal; font-weight: normal;
.svg-icon { .svg-icon {
margin-right: 10px; margin-right: 10px;
} }
} }
} }
.basic-info { .basic-info {
.body-item { .body-item {
display: flex; display: flex;
align-items: center; align-items: center;
margin-bottom: 10px; margin-bottom: 10px;
font-size: 18px; font-size: 18px;
.label { .label {
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -882,6 +797,7 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -882,6 +797,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
// margin-bottom: 10px; // margin-bottom: 10px;
font-weight: bold; font-weight: bold;
color: #999; color: #999;
.svg-icon { .svg-icon {
width: 24px; width: 24px;
height: 24px; height: 24px;
...@@ -902,31 +818,38 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -902,31 +818,38 @@ $titleFontFamily: SourceHanSerifCN-Bold;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
.qrcode { .qrcode {
margin-bottom: 28px; margin-bottom: 28px;
display: flex; display: flex;
justify-content: center; justify-content: center;
img { img {
width: 50%; width: 50%;
height: 100%; height: 100%;
} }
} }
.tools { .tools {
width: 100%; width: 100%;
.tools-item { .tools-item {
color: #858585; color: #858585;
flex: 1; flex: 1;
display: flex; display: flex;
align-items: center; align-items: center;
cursor: pointer; cursor: pointer;
.svg-icon { .svg-icon {
width: 22px; width: 22px;
height: 22px; height: 22px;
margin-right: 8px; margin-right: 8px;
} }
.like { .like {
color: #831122; color: #831122;
} }
.collect { .collect {
color: $themeColor; color: $themeColor;
} }
...@@ -935,6 +858,7 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -935,6 +858,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
} }
} }
} }
.audio { .audio {
position: absolute; position: absolute;
right: -120px; right: -120px;
...@@ -950,25 +874,30 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -950,25 +874,30 @@ $titleFontFamily: SourceHanSerifCN-Bold;
align-items: center; align-items: center;
background-color: #fff; background-color: #fff;
transition: all 0.5s ease; transition: all 0.5s ease;
&:hover { &:hover {
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: $themeColor; color: $themeColor;
font-size: 80px; font-size: 80px;
} }
img { img {
width: 60px; width: 60px;
height: 60px; height: 60px;
} }
} }
} }
.display-detail_tabbar { .display-detail_tabbar {
background-color: #fff; background-color: #fff;
display: flex; display: flex;
justify-content: center; justify-content: center;
padding: 10px; padding: 10px;
border-bottom: 1px solid #f2f2f2; border-bottom: 1px solid #f2f2f2;
.tab-item { .tab-item {
height: 100%; height: 100%;
margin-right: 20px; margin-right: 20px;
...@@ -981,20 +910,25 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -981,20 +910,25 @@ $titleFontFamily: SourceHanSerifCN-Bold;
&:hover { &:hover {
color: $themeColor; color: $themeColor;
&::after { &::after {
display: inline-block; display: inline-block;
} }
} }
&::after { &::after {
display: none; display: none;
} }
} }
.active { .active {
color: $themeColor; color: $themeColor;
&::after { &::after {
display: inline-block; display: inline-block;
} }
} }
.tab-item::after, .tab-item::after,
.active::after { .active::after {
position: absolute; position: absolute;
...@@ -1006,12 +940,14 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -1006,12 +940,14 @@ $titleFontFamily: SourceHanSerifCN-Bold;
background-color: $themeColor; background-color: $themeColor;
} }
} }
/**简介和视频 */ /**简介和视频 */
.display-detail_intro { .display-detail_intro {
// background-image: url("@/assets/imgs/display/normal/bg.png"); // background-image: url("@/assets/imgs/display/normal/bg.png");
// background-size: 1%; // background-size: 1%;
padding: 40px; padding: 40px;
.intro-title { .intro-title {
font-size: 26px; font-size: 26px;
font-weight: 400; font-weight: 400;
...@@ -1020,18 +956,22 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -1020,18 +956,22 @@ $titleFontFamily: SourceHanSerifCN-Bold;
display: flex; display: flex;
align-items: center; align-items: center;
margin-bottom: 32px; margin-bottom: 32px;
i { i {
margin-right: 10px; margin-right: 10px;
} }
.svg-icon { .svg-icon {
margin-right: 10px; margin-right: 10px;
font-size: 36px; font-size: 36px;
} }
} }
.intro-content { .intro-content {
line-height: 28px; line-height: 28px;
display: flex; display: flex;
} }
.left-box { .left-box {
width: 60px; width: 60px;
background-color: $themeColor; background-color: $themeColor;
...@@ -1045,6 +985,7 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -1045,6 +985,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
letter-spacing: 10px; letter-spacing: 10px;
font-family: SourceHanSerifCN-Bold; font-family: SourceHanSerifCN-Bold;
} }
.intro-content-container { .intro-content-container {
flex: 1; flex: 1;
text-indent: 34px; text-indent: 34px;
...@@ -1052,11 +993,13 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -1052,11 +993,13 @@ $titleFontFamily: SourceHanSerifCN-Bold;
background-color: rgba($themeColor, 10%); background-color: rgba($themeColor, 10%);
} }
} }
// 视频 // 视频
.videos { .videos {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin-bottom: 40px; margin-bottom: 40px;
.video-title { .video-title {
display: flex; display: flex;
// justify-content: center; // justify-content: center;
...@@ -1066,33 +1009,41 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -1066,33 +1009,41 @@ $titleFontFamily: SourceHanSerifCN-Bold;
padding: 0 40px; padding: 0 40px;
margin-bottom: 32px; margin-bottom: 32px;
font-family: SourceHanSerifCN-Bold; font-family: SourceHanSerifCN-Bold;
i { i {
font-size: 28px; font-size: 28px;
margin-right: 10px; margin-right: 10px;
} }
} }
.video-names { .video-names {
display: flex; display: flex;
justify-content: center; justify-content: center;
border-bottom: 1px solid #f2f0f0; border-bottom: 1px solid #f2f0f0;
margin-bottom: 30px; margin-bottom: 30px;
.video-item { .video-item {
font-size: 18px; font-size: 18px;
margin: 8px 30px; margin: 8px 30px;
.name { .name {
color: #999; color: #999;
position: relative; position: relative;
cursor: pointer; cursor: pointer;
&:hover { &:hover {
color: $themeColor; color: $themeColor;
&::after { &::after {
display: inline-block; display: inline-block;
} }
&::before { &::before {
display: inline-block; display: inline-block;
} }
} }
} }
.active::after, .active::after,
.name::after { .name::after {
content: ""; content: "";
...@@ -1106,6 +1057,7 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -1106,6 +1057,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
transform: translateX(-50%); transform: translateX(-50%);
display: none; display: none;
} }
.active::before, .active::before,
.name::before { .name::before {
content: ""; content: "";
...@@ -1119,14 +1071,17 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -1119,14 +1071,17 @@ $titleFontFamily: SourceHanSerifCN-Bold;
transform: translateX(-50%); transform: translateX(-50%);
display: none; display: none;
} }
.active::after, .active::after,
.active::before { .active::before {
display: inline-block; display: inline-block;
} }
} }
} }
.video-box { .video-box {
height: 500px; height: 500px;
.video-player { .video-player {
height: 100%; height: 100%;
} }
...@@ -1136,9 +1091,11 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -1136,9 +1091,11 @@ $titleFontFamily: SourceHanSerifCN-Bold;
// 虚拟展 // 虚拟展
.display-detail_virtual { .display-detail_virtual {
margin-bottom: 56px; margin-bottom: 56px;
.vr-content { .vr-content {
display: flex; display: flex;
} }
.img-container { .img-container {
// width: 800px; // width: 800px;
flex: 1; flex: 1;
...@@ -1146,17 +1103,20 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -1146,17 +1103,20 @@ $titleFontFamily: SourceHanSerifCN-Bold;
position: relative; position: relative;
cursor: pointer; cursor: pointer;
overflow: hidden; overflow: hidden;
&:hover { &:hover {
img { img {
transform: scale(1.1); transform: scale(1.1);
} }
} }
img { img {
width: 100%; width: 100%;
height: 400px; height: 400px;
transition: all ease 0.5s; transition: all ease 0.5s;
object-fit: cover; object-fit: cover;
} }
.modal { .modal {
position: absolute; position: absolute;
left: 0; left: 0;
...@@ -1168,15 +1128,18 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -1168,15 +1128,18 @@ $titleFontFamily: SourceHanSerifCN-Bold;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
&:hover { &:hover {
.name { .name {
opacity: 1; opacity: 1;
} }
} }
.svg-icon { .svg-icon {
font-size: 110px; font-size: 110px;
color: #fff; color: #fff;
} }
.name { .name {
color: #fff; color: #fff;
font-size: 28px; font-size: 28px;
...@@ -1194,17 +1157,18 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -1194,17 +1157,18 @@ $titleFontFamily: SourceHanSerifCN-Bold;
.unit-container { .unit-container {
margin-bottom: 40px; margin-bottom: 40px;
position: relative;
} }
.unit-content-menu { .unit-content-menu {
margin-right: 40px; margin-right: 40px;
padding: 0 20px; padding: 0 20px;
position: relative;
.swiper-container { .swiper-container {
padding: 0 60px; width: 90%;
::v-deep .swiper-wrapper {
display: flex;
justify-content: center;
}
.slide-item { .slide-item {
// border: 2px solid $themeColor; // border: 2px solid $themeColor;
padding: 8px; padding: 8px;
...@@ -1225,8 +1189,15 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -1225,8 +1189,15 @@ $titleFontFamily: SourceHanSerifCN-Bold;
background: $themeColor; background: $themeColor;
color: #fff; color: #fff;
} }
}
}
.swiper-button-next, .swiper-button-next,
.swiper-button-prev { .swiper-button-prev {
// background-color: rgba(0,0,0,0.2);
// border-radius: 50%;
background-image: none; background-image: none;
width: 60px; width: 60px;
height: 60px; height: 60px;
...@@ -1238,17 +1209,18 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -1238,17 +1209,18 @@ $titleFontFamily: SourceHanSerifCN-Bold;
font-size: 28px; font-size: 28px;
transform: translateY(-6px); transform: translateY(-6px);
} }
}
}
.unit-content { .unit-content {
flex: 1; flex: 1;
padding: 60px 40px 0; padding: 60px 40px 0;
.unit-content-title { .unit-content-title {
font-size: 24px; font-size: 24px;
line-height: 2; line-height: 2;
display: flex; display: flex;
justify-content: center; justify-content: center;
} }
.unit-content_intro { .unit-content_intro {
font-size: 16px; font-size: 16px;
font-weight: 400; font-weight: 400;
...@@ -1257,16 +1229,20 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -1257,16 +1229,20 @@ $titleFontFamily: SourceHanSerifCN-Bold;
text-indent: 32px; text-indent: 32px;
margin-bottom: 20px; margin-bottom: 20px;
} }
.unit-content_images { .unit-content_images {
position: relative; position: relative;
.unit-content_images_container { .unit-content_images_container {
height: 100%; height: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
background-color: #f5f5f9; background-color: #f5f5f9;
.images_img { .images_img {
flex: 1; flex: 1;
} }
.desc { .desc {
display: flex; display: flex;
justify-content: center; justify-content: center;
...@@ -1275,6 +1251,7 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -1275,6 +1251,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
} }
} }
} }
//单元文物和单元图片公共样式 //单元文物和单元图片公共样式
.imgs-title { .imgs-title {
margin: 30px 0; margin: 30px 0;
...@@ -1282,14 +1259,17 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -1282,14 +1259,17 @@ $titleFontFamily: SourceHanSerifCN-Bold;
align-items: center; align-items: center;
font-size: 20px; font-size: 20px;
font-family: SourceHanSerifCN-Bold; font-family: SourceHanSerifCN-Bold;
i { i {
margin: 0 10px; margin: 0 10px;
font-size: 18px; font-size: 18px;
} }
} }
.unit-imgs { .unit-imgs {
// height: 300px; // height: 300px;
} }
.unit-content_crs { .unit-content_crs {
position: relative; position: relative;
...@@ -1300,6 +1280,7 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -1300,6 +1280,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
.img-container { .img-container {
background-color: #f5f5f9; background-color: #f5f5f9;
height: 250px; height: 250px;
.images_img { .images_img {
height: 100%; height: 100%;
width: 100%; width: 100%;
...@@ -1323,6 +1304,7 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -1323,6 +1304,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
.buttons { .buttons {
display: flex; display: flex;
justify-content: flex-end; justify-content: flex-end;
.btn { .btn {
display: flex; display: flex;
align-content: center; align-content: center;
...@@ -1330,9 +1312,11 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -1330,9 +1312,11 @@ $titleFontFamily: SourceHanSerifCN-Bold;
// border: 1px solid $themeColor; // border: 1px solid $themeColor;
color: #666; color: #666;
cursor: pointer; cursor: pointer;
&:hover { &:hover {
color: $themeColor; color: $themeColor;
} }
.svg-icon { .svg-icon {
font-size: 22px; font-size: 22px;
margin: 0 4px; margin: 0 4px;
...@@ -1341,23 +1325,28 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -1341,23 +1325,28 @@ $titleFontFamily: SourceHanSerifCN-Bold;
} }
} }
} }
// 关联文物 // 关联文物
.display-detail_relateRc { .display-detail_relateRc {
padding: 0 40px; padding: 0 40px;
margin-bottom: 56px; margin-bottom: 56px;
.cr-title { .cr-title {
display: flex; display: flex;
align-items: center; align-items: center;
font-size: 26px; font-size: 26px;
color: $themeColor; color: $themeColor;
font-family: SourceHanSerifCN-Bold; font-family: SourceHanSerifCN-Bold;
i { i {
font-size: 28px; font-size: 28px;
margin-right: 10px; margin-right: 10px;
} }
} }
.el-col { .el-col {
margin-bottom: 20px; margin-bottom: 20px;
.img-container { .img-container {
width: 100%; width: 100%;
height: 460px; height: 460px;
...@@ -1390,13 +1379,16 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -1390,13 +1379,16 @@ $titleFontFamily: SourceHanSerifCN-Bold;
.display-detail_lts { .display-detail_lts {
.lts-content { .lts-content {
padding: 0 40px 40px; padding: 0 40px 40px;
.lt-item { .lt-item {
border-bottom: 1px dashed #ccc; border-bottom: 1px dashed #ccc;
padding-bottom: 9px; padding-bottom: 9px;
& > span {
&>span {
padding: 0 4px; padding: 0 4px;
} }
} }
.lt-name { .lt-name {
color: $themeColor; color: $themeColor;
cursor: pointer; cursor: pointer;
...@@ -1406,6 +1398,7 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -1406,6 +1398,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
} }
} }
} }
::v-deep .el-tree .el-tree-node__expand-icon.expanded { ::v-deep .el-tree .el-tree-node__expand-icon.expanded {
-webkit-transform: rotate(0deg); -webkit-transform: rotate(0deg);
transform: rotate(0deg); transform: rotate(0deg);
...@@ -1423,11 +1416,8 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -1423,11 +1416,8 @@ $titleFontFamily: SourceHanSerifCN-Bold;
} }
//有子节点 且已展开 //有子节点 且已展开
::v-deep ::v-deep .el-tree .el-tree-node__expand-icon.expanded.el-icon-caret-right:before {
.el-tree background: url("~@/assets/imgs/display/normal/tree-node-s.png") no-repeat 0 3px;
.el-tree-node__expand-icon.expanded.el-icon-caret-right:before {
background: url("~@/assets/imgs/display/normal/tree-node-s.png") no-repeat 0
3px;
content: ""; content: "";
display: block; display: block;
width: 16px; width: 16px;
...@@ -1457,11 +1447,14 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -1457,11 +1447,14 @@ $titleFontFamily: SourceHanSerifCN-Bold;
::v-deep .el-carousel { ::v-deep .el-carousel {
height: 100%; height: 100%;
} }
::v-deep .el-carousel__container { ::v-deep .el-carousel__container {
height: 100%; height: 100%;
} }
::v-deep .el-tree { ::v-deep .el-tree {
background: transparent; background: transparent;
.el-tree-node__content { .el-tree-node__content {
height: 54px; height: 54px;
...@@ -1469,8 +1462,10 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -1469,8 +1462,10 @@ $titleFontFamily: SourceHanSerifCN-Bold;
background-color: #fff; background-color: #fff;
color: $themeColor; color: $themeColor;
} }
padding-left: 16px !important; padding-left: 16px !important;
} }
.is-current { .is-current {
.el-tree-node__content { .el-tree-node__content {
background-color: #fff; background-color: #fff;
...@@ -1478,18 +1473,22 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -1478,18 +1473,22 @@ $titleFontFamily: SourceHanSerifCN-Bold;
} }
} }
} }
@keyframes filmMoveLeft { @keyframes filmMoveLeft {
0% { 0% {
transform: translateX(0); transform: translateX(0);
} }
100% { 100% {
transform: translateX(-1200px); transform: translateX(-1200px);
} }
} }
@keyframes filmMoveRight { @keyframes filmMoveRight {
0% { 0% {
transform: translateX(0); transform: translateX(0);
} }
100% { 100% {
transform: translateX(1200px); transform: translateX(1200px);
} }
...@@ -1499,6 +1498,7 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -1499,6 +1498,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
0% { 0% {
transform: rotateZ(0deg); transform: rotateZ(0deg);
} }
100% { 100% {
transform: rotateZ(360deg); transform: rotateZ(360deg);
} }
...@@ -1508,6 +1508,7 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -1508,6 +1508,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
0% { 0% {
transform: rotateZ(0deg); transform: rotateZ(0deg);
} }
100% { 100% {
transform: rotateZ(360deg); transform: rotateZ(360deg);
} }
...@@ -1515,6 +1516,7 @@ $titleFontFamily: SourceHanSerifCN-Bold; ...@@ -1515,6 +1516,7 @@ $titleFontFamily: SourceHanSerifCN-Bold;
.animation-play-paused { .animation-play-paused {
animation-play-state: paused; animation-play-state: paused;
-webkit-animation-play-state: paused; /* Safari 和 Chrome */ -webkit-animation-play-state: paused;
/* Safari 和 Chrome */
} }
</style> </style>
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论