提交 00fc639a authored 作者: 龙菲's avatar 龙菲

优化布展详情和文物详情

上级 e6382f52
...@@ -9,10 +9,14 @@ ...@@ -9,10 +9,14 @@
animate__animated animate__fadeInDownBig animate__animated animate__fadeInDownBig
" "
ref="imgs" ref="imgs"
v-if="CRDetail.imagesVo && CRDetail.imagesVo.length > 0" v-if="CRDetail.faceImagePressUrl"
> >
<el-image <el-image
:src="$getFullUrl(CRDetail.faceImagePressUrl || CRDetail.faceImageUrl)" :src="
$getFullUrl(
CRDetail.faceImagePressUrl || CRDetail.imagesVo[0].pressUrl
)
"
fit="cover" fit="cover"
></el-image> ></el-image>
</div> </div>
...@@ -54,6 +58,31 @@ ...@@ -54,6 +58,31 @@
</el-carousel-item> </el-carousel-item>
</el-carousel> </el-carousel>
</div> </div>
<div
class="
info-container-left
wow
animate__animated animate__fadeInLeft
"
v-else-if="CRDetail.faceImagePressUrl"
>
<div
class="img-container"
@click="handelPreviewImages([CRDetail.faceImagePressUrl])"
>
<img
:src="$getFullUrl(CRDetail.faceImagePressUrl)"
alt="点击查看大图"
srcset=""
/>
</div>
<div
class="enlarge"
@click="handelPreviewImages([CRDetail.faceImagePressUrl])"
>
<img src="@/assets/imgs/enlarge-s.png" alt="" />
</div>
</div>
<div <div
class=" class="
info-container-right info-container-right
...@@ -598,16 +627,17 @@ $blue: #2069c4; ...@@ -598,16 +627,17 @@ $blue: #2069c4;
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 {
height: 100%; // }
.img-container {
height: 100%;
width: 100%;
img {
width: 100%; width: 100%;
img { height: 100%;
width: 100%; object-fit: contain;
height: 100%;
object-fit: cover;
}
} }
} }
} }
...@@ -742,62 +772,14 @@ $blue: #2069c4; ...@@ -742,62 +772,14 @@ $blue: #2069c4;
} }
} }
/**展览单元 */
.display-detail_units {
overflow-x: hidden;
.unit-container {
// height: 100%;
margin-bottom: 40px;
display: flex;
}
.unit-content-menu {
width: 360px;
margin-right: 40px;
background-image: url("@/assets/imgs/display/normal/bg.png");
background-size: 1%;
}
.unit-content {
flex: 1;
padding: 40px;
background-image: url("@/assets/imgs/display/normal/bg.png");
background-size: 1%;
.unit-content_intro {
font-size: 16px;
font-weight: 400;
color: #444444;
line-height: 36px;
text-indent: 32px;
margin-bottom: 20px;
}
.unit-content_images {
position: relative;
.unit-content_images_container {
height: 100%;
display: flex;
flex-direction: column;
.images_img {
flex: 1;
}
.desc {
display: flex;
justify-content: center;
height: 40px;
align-items: center;
}
}
}
}
}
// 关联文物 // 关联文物
.display-detail_relateRc { .display-detail_relateRc {
min-height: 560px; min-height: 560px;
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: 50px 0; padding: 50px 0;
.intro-title{ .intro-title {
text-indent: 40px; text-indent: 40px;
} }
.el-col { .el-col {
&:first-child { &:first-child {
......
...@@ -885,7 +885,7 @@ $blue: #2069c4; ...@@ -885,7 +885,7 @@ $blue: #2069c4;
display: flex; display: flex;
} }
.unit-content-menu { .unit-content-menu {
width: 360px; width:460px;
margin-right: 40px; margin-right: 40px;
background-image: url("@/assets/imgs/display/normal/bg.png"); background-image: url("@/assets/imgs/display/normal/bg.png");
background-size: 1%; background-size: 1%;
...@@ -925,7 +925,7 @@ $blue: #2069c4; ...@@ -925,7 +925,7 @@ $blue: #2069c4;
} }
// 关联文物 // 关联文物
.display-detail_relateRc { .display-detail_relateRc {
height: 560px; min-height: 560px;
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: 50px 0; padding: 50px 0;
...@@ -1027,9 +1027,15 @@ $blue: #2069c4; ...@@ -1027,9 +1027,15 @@ $blue: #2069c4;
::v-deep .el-tree { ::v-deep .el-tree {
background: transparent; background: transparent;
.el-tree-node__content { .el-tree-node__content {
height: 50px; height: 54px;
:hover { &:hover {
background: #fff; background-color: #fff;
color: $blue;
}
}
.is-current{
.el-tree-node__content{
background-color: #fff;
color: $blue; color: $blue;
} }
} }
......
...@@ -84,7 +84,6 @@ ...@@ -84,7 +84,6 @@
}; };
loopTree(arr); loopTree(arr);
console.log("list", list);
return list; return list;
}, },
}, },
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论