提交 2a1d7ce6 authored 作者: 龙菲's avatar 龙菲

隐藏下架状态的展览、文物、虚拟展厅、博物馆

上级 011391ed
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
</div> </div>
<el-row :gutter="40" class="cr-list"> <el-row :gutter="40" class="cr-list">
<el-col <el-col
:span="8" :span="item.status == 1 ? 8 : 0"
class="cr-item" class="cr-item"
@click.native="handleClick(item)" @click.native="handleClick(item)"
@mouseenter.native="handleEnterImg(item)" @mouseenter.native="handleEnterImg(item)"
...@@ -81,7 +81,10 @@ ...@@ -81,7 +81,10 @@
v-for="(item, index) in list.records" v-for="(item, index) in list.records"
:key="index" :key="index"
> >
<div class="container wow animate__animated animate__fadeInUp"> <div
class="container wow animate__animated animate__fadeInUp"
v-if="item.status == 1"
>
<div class="img-container"> <div class="img-container">
<img <img
:src=" :src="
...@@ -337,7 +340,7 @@ $text-indent: 16px; ...@@ -337,7 +340,7 @@ $text-indent: 16px;
height: 214px; height: 214px;
.item { .item {
margin-right: 20px; margin-right: 20px;
&:hover{ &:hover {
-webkit-box-reflect: below 2px -webkit-box-reflect: below 2px
linear-gradient(transparent, rgba(0, 0, 0, 0.3)); linear-gradient(transparent, rgba(0, 0, 0, 0.3));
} }
...@@ -398,7 +401,7 @@ $text-indent: 16px; ...@@ -398,7 +401,7 @@ $text-indent: 16px;
font-size: 14px; font-size: 14px;
transition: all 0.2s ease; transition: all 0.2s ease;
&:hover{ &:hover {
-webkit-box-reflect: below 2px -webkit-box-reflect: below 2px
linear-gradient(transparent, rgba(0, 0, 0, 0.3)); linear-gradient(transparent, rgba(0, 0, 0, 0.3));
} }
......
...@@ -110,10 +110,10 @@ ...@@ -110,10 +110,10 @@
</el-col> </el-col>
<el-col :span="10" class="right"> <el-col :span="10" class="right">
<div class="qrcode"> <div class="qrcode">
<img <!-- <img
src="@/assets/imgs/display/normal/test-qrcode.png" src="@/assets/imgs/display/normal/test-qrcode.png"
alt="" alt=""
/> /> -->
</div> </div>
<div class="tools"> <div class="tools">
<ReaderOperations <ReaderOperations
...@@ -156,9 +156,10 @@ ...@@ -156,9 +156,10 @@
<svg-icon icon-class="jianjie"></svg-icon> <svg-icon icon-class="jianjie"></svg-icon>
<span>展览简介</span> <span>展览简介</span>
</div> </div>
<div class="intro-content-container" v-html="displayDetail.intro"> <div
class="intro-content-container"
</div> v-html="displayDetail.intro"
></div>
</div> </div>
<div <div
class="intro-video wow animate__animated animate__fadeInRight" class="intro-video wow animate__animated animate__fadeInRight"
...@@ -211,12 +212,26 @@ ...@@ -211,12 +212,26 @@
" "
> >
<!-- 只能单开 unique-opened --> <!-- 只能单开 unique-opened -->
<menu-list <!-- <menu-list
:items="displayDetail.exhibitionUnits" :items="displayDetail.exhibitionUnits"
:isCollapse="false" :isCollapse="false"
@open="handleOpenUnit" @open="handleOpenUnit"
style="height: 100%" style="height: 100%"
></menu-list> ></menu-list> -->
<el-tree
:data="displayDetail.exhibitionUnits"
node-key="euId"
default-expand-all
>
<div
class="exhibition-units-tree-node"
slot-scope="{ node, data }"
>
<div class="title" @click="handleOpenUnit(data)">
{{ data.title }}
</div>
</div>
</el-tree>
</div> </div>
<div <div
class="unit-content wow animate__animated animate__fadeInRight" class="unit-content wow animate__animated animate__fadeInRight"
...@@ -568,7 +583,7 @@ export default { ...@@ -568,7 +583,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
// 中国风主题样式 // 中国风主题样式
/**公共样式开始 */ /**公共样式开始 */
$blue:#2069c4;
.custom-title { .custom-title {
width: 50px; width: 50px;
background-color: #d72f3f; background-color: #d72f3f;
...@@ -605,13 +620,13 @@ export default { ...@@ -605,13 +620,13 @@ export default {
align-items: center; align-items: center;
.svg-icon { .svg-icon {
font-size: 50px; font-size: 50px;
color: #2068c3; color: $blue;
margin-right: 10px; margin-right: 10px;
} }
.title { .title {
font-size: 26px; font-size: 26px;
font-weight: 400; font-weight: 400;
color: #2069c4; color: $blue;
line-height: 101px; line-height: 101px;
} }
} }
...@@ -743,6 +758,7 @@ export default { ...@@ -743,6 +758,7 @@ export default {
.body-item { .body-item {
display: flex; display: flex;
align-items: center; align-items: center;
margin-bottom: 10px;
.label { .label {
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -805,7 +821,7 @@ export default { ...@@ -805,7 +821,7 @@ export default {
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 #2069c4; border: 2px solid $blue;
padding: 10px; padding: 10px;
border-radius: 50%; border-radius: 50%;
display: flex; display: flex;
...@@ -817,7 +833,7 @@ export default { ...@@ -817,7 +833,7 @@ export default {
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: #2069c4; color: $blue;
font-size: 80px; font-size: 80px;
} }
img { img {
...@@ -868,6 +884,8 @@ export default { ...@@ -868,6 +884,8 @@ export default {
.unit-content-menu { .unit-content-menu {
width: 360px; width: 360px;
margin-right: 40px; margin-right: 40px;
background-image: url("@/assets/imgs/display/normal/bg.png");
background-size: 1%;
} }
.unit-content { .unit-content {
flex: 1; flex: 1;
...@@ -1003,7 +1021,16 @@ export default { ...@@ -1003,7 +1021,16 @@ export default {
::v-deep .el-carousel__container { ::v-deep .el-carousel__container {
height: 100%; height: 100%;
} }
::v-deep .el-tree {
background: transparent;
.el-tree-node__content {
height: 50px;
:hover {
background: #fff;
color: $blue;
}
}
}
@keyframes filmMoveLeft { @keyframes filmMoveLeft {
0% { 0% {
transform: translateX(0); transform: translateX(0);
...@@ -1043,4 +1070,5 @@ export default { ...@@ -1043,4 +1070,5 @@ export default {
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
...@@ -180,7 +180,7 @@ ...@@ -180,7 +180,7 @@
import MenuList from "@/components/MenuList"; import MenuList from "@/components/MenuList";
import { previewFile } from "@/utils/index"; import { previewFile } from "@/utils/index";
// import ChStyleUnit from "./ChStyleUnit.vue"; // import ChStyleUnit from "./ChStyleUnit.vue";
import ChStyleUnit from "./ChStyle-unit.vue"; import ChStyleUnit from "./ChStyleUnit.vue";
import DetailDialog from "./detail-dialog.vue"; import DetailDialog from "./detail-dialog.vue";
export default { export default {
components: { components: {
......
...@@ -52,15 +52,19 @@ ...@@ -52,15 +52,19 @@
</div> </div>
<el-row :gutter="40" class="cr-list"> <el-row :gutter="40" class="cr-list">
<el-col <el-col
:span="8" :span="item.status==1?8:0"
class="cr-item" class="cr-item"
@click.native="handleClick(item)" @click.native="handleClick(item)"
@mouseenter.native="handleEnterImg(item)" @mouseenter.native="handleEnterImg(item)"
@mouseleave.native="handleLeaveImg(item)" @mouseleave.native="handleLeaveImg(item)"
v-for="(item, index) in list.records" v-for="(item, index) in list.records"
:key="index" :key="index"
>
<div
class="container wow animate__animated animate__fadeInUp"
v-if="item.status==1"
> >
<div class="container wow animate__animated animate__fadeInUp">
<div class="img-container"> <div class="img-container">
<img <img
:src=" :src="
...@@ -320,7 +324,7 @@ $text-indent: 16px; ...@@ -320,7 +324,7 @@ $text-indent: 16px;
padding: 90px 70px 80px; padding: 90px 70px 80px;
.item { .item {
margin-right: 20px; margin-right: 20px;
&:hover{ &:hover {
-webkit-box-reflect: below 2px -webkit-box-reflect: below 2px
linear-gradient(transparent, rgba(0, 0, 0, 0.3)); linear-gradient(transparent, rgba(0, 0, 0, 0.3));
} }
...@@ -334,7 +338,6 @@ $text-indent: 16px; ...@@ -334,7 +338,6 @@ $text-indent: 16px;
color: #444; color: #444;
} }
.search-button { .search-button {
cursor: pointer; cursor: pointer;
display: flex; display: flex;
...@@ -346,7 +349,7 @@ $text-indent: 16px; ...@@ -346,7 +349,7 @@ $text-indent: 16px;
font-size: 14px; font-size: 14px;
width: 156px; width: 156px;
height: 40px; height: 40px;
&:hover{ &:hover {
-webkit-box-reflect: below 2px -webkit-box-reflect: below 2px
linear-gradient(transparent, rgba(0, 0, 0, 0.3)); linear-gradient(transparent, rgba(0, 0, 0, 0.3));
} }
...@@ -444,6 +447,9 @@ $text-indent: 16px; ...@@ -444,6 +447,9 @@ $text-indent: 16px;
font-weight: bold; font-weight: bold;
color: #2069c4; color: #2069c4;
margin-bottom: 18px; margin-bottom: 18px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
} }
.desc-container { .desc-container {
display: flex; display: flex;
......
...@@ -23,9 +23,7 @@ ...@@ -23,9 +23,7 @@
> >
<div class="content"> <div class="content">
<div class="content-name">{{ item.title }}</div> <div class="content-name">{{ item.title }}</div>
<div class="content-intro"> <div class="content-intro" v-html="item.intro || ''"></div>
{{ item.intro ? item.intro : "" }}
</div>
<EntranceIcon color="#fff" @click.native="handleClick(item)" /> <EntranceIcon color="#fff" @click.native="handleClick(item)" />
</div> </div>
<div class="img" @click="handleClick(item)"> <div class="img" @click="handleClick(item)">
......
...@@ -112,7 +112,7 @@ $blue: #2069c4; ...@@ -112,7 +112,7 @@ $blue: #2069c4;
margin-top: 110px; margin-top: 110px;
.name { .name {
margin-bottom: 27px; margin-bottom: 27px;
font-size: 20px; font-size: 22px;
font-weight: bold; font-weight: bold;
} }
.deptName { .deptName {
...@@ -168,6 +168,7 @@ $blue: #2069c4; ...@@ -168,6 +168,7 @@ $blue: #2069c4;
transform: translateY(100px); transform: translateY(100px);
width: 100%; width: 100%;
transition: all 0.5s ease; transition: all 0.5s ease;
} }
} }
} }
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
</div> </div>
<el-row :gutter="40" class="cr-list"> <el-row :gutter="40" class="cr-list">
<el-col <el-col
:span="8" :span="item.status == 1 ? 8 : 0"
class="cr-item" class="cr-item"
@click.native="handleClick(item)" @click.native="handleClick(item)"
@mouseenter.native="handleEnterImg(item)" @mouseenter.native="handleEnterImg(item)"
...@@ -41,7 +41,10 @@ ...@@ -41,7 +41,10 @@
v-for="(item, index) in list.records" v-for="(item, index) in list.records"
:key="index" :key="index"
> >
<div class="container wow animate__animated animate__fadeInUp"> <div
class="container wow animate__animated animate__fadeInUp"
v-if="item.status == 1"
>
<div class="img-container"> <div class="img-container">
<img <img
:src=" :src="
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
</div> </div>
<el-row :gutter="40" class="cr-list"> <el-row :gutter="40" class="cr-list">
<el-col <el-col
:span="8" :span="item.status == 1 ? 8 : 0"
class="cr-item" class="cr-item"
@click.native="handleClick(item)" @click.native="handleClick(item)"
@mouseenter.native="handleEnterImg(item)" @mouseenter.native="handleEnterImg(item)"
...@@ -44,7 +44,10 @@ ...@@ -44,7 +44,10 @@
v-for="(item, index) in list.records" v-for="(item, index) in list.records"
:key="index" :key="index"
> >
<div class="container wow animate__animated animate__fadeInUp"> <div
class="container wow animate__animated animate__fadeInUp"
v-if="item.status == 1"
>
<div class="img-container"> <div class="img-container">
<img <img
:src=" :src="
...@@ -286,7 +289,7 @@ $text-indent: 16px; ...@@ -286,7 +289,7 @@ $text-indent: 16px;
margin-bottom: 63px; margin-bottom: 63px;
.item { .item {
margin-right: 20px; margin-right: 20px;
&:hover{ &:hover {
-webkit-box-reflect: below 2px -webkit-box-reflect: below 2px
linear-gradient(transparent, rgba(0, 0, 0, 0.3)); linear-gradient(transparent, rgba(0, 0, 0, 0.3));
} }
...@@ -311,7 +314,7 @@ $text-indent: 16px; ...@@ -311,7 +314,7 @@ $text-indent: 16px;
background-size: 100% 100%; background-size: 100% 100%;
color: #444; color: #444;
font-size: 14px; font-size: 14px;
&:hover{ &:hover {
-webkit-box-reflect: below 2px -webkit-box-reflect: below 2px
linear-gradient(transparent, rgba(0, 0, 0, 0.3)); linear-gradient(transparent, rgba(0, 0, 0, 0.3));
} }
...@@ -320,7 +323,7 @@ $text-indent: 16px; ...@@ -320,7 +323,7 @@ $text-indent: 16px;
} }
} }
::v-deep .el-input{ ::v-deep .el-input {
width: auto; width: auto;
} }
} }
...@@ -459,7 +462,7 @@ $text-indent: 16px; ...@@ -459,7 +462,7 @@ $text-indent: 16px;
} }
} }
::v-deep .el-input{ ::v-deep .el-input {
// width: auto; // width: auto;
} }
::v-deep .el-pagination { ::v-deep .el-pagination {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论