<template>
|
<!-- 信息弹窗五 施工-->
|
<div class="dialog-container" ref="dialog">
|
<div class="dialog-content">
|
<el-scrollbar max-height="277px">
|
<div class="scroll-content">
|
<div class="dialog-title">都江堰青城山景区</div>
|
<div class="info-container">
|
<div class="info-item">
|
<span class="lable">施工单位:</span>
|
<span class="num">XXXX公司</span>
|
</div>
|
<div class="info-item">
|
<span class="lable">施工周期:</span>
|
<span class="num">1年</span>
|
</div>
|
<div class="info-item">
|
<span class="lable">开始时间:</span>
|
<span class="num">2024年1月</span>
|
</div>
|
</div>
|
<div class="infor-desc">
|
本次施工包括xxxxxxxxxxxxxxxxxxxxxxxxxx
|
xxxxxxxxxxxxxx。
|
</div>
|
</div>
|
</el-scrollbar>
|
</div>
|
</div>
|
</template>
|
|
<script setup>
|
|
</script>
|
|
<style lang="scss" scoped>
|
$bg-color: #1D3D61;
|
$border-color: #629BB9;
|
$title-color: #0F80BC;
|
$text-color: #79B7D7;
|
|
.dialog-container {
|
position: relative;
|
background-color: $bg-color;
|
border: 1px solid $border-color;
|
border-radius: 5px;
|
max-width: 305px;
|
|
.dialog-content {
|
width: 100%;
|
}
|
|
.scroll-content {
|
width: 100%;
|
padding: 14px 18px;
|
}
|
|
&:before {
|
width: 0px;
|
height: 0px;
|
position: absolute;
|
top: 100%;
|
left: 50%;
|
transform: translateX(-50%);
|
padding: 0;
|
border: 8px solid transparent;
|
border-color: $bg-color transparent transparent transparent;
|
content: '';
|
z-index: 12;
|
border-left-width: 6px;
|
border-right-width: 6px;
|
}
|
|
&:after {
|
width: 0px;
|
height: 0px;
|
position: absolute;
|
top: 100%;
|
left: 50%;
|
transform: translateX(-50%);
|
padding: 0;
|
border: 10px solid transparent;
|
border-color: $border-color transparent transparent transparent;
|
content: '';
|
z-index: 10;
|
border-left-width: 8px;
|
border-right-width: 8px;
|
}
|
}
|
|
.dialog-title {
|
font-family: PingFang SC;
|
font-weight: 500;
|
font-size: 14px;
|
color: $title-color;
|
line-height: 20px;
|
margin-bottom: 13px;
|
}
|
|
.dialog-text {
|
font-family: PingFang SC;
|
font-weight: 400;
|
font-size: 14px;
|
color: $text-color;
|
line-height: 20px;
|
margin-bottom: 13px;
|
}
|
|
.dialog-img {
|
display: flex;
|
flex-wrap: wrap;
|
justify-content: space-between;
|
|
.img-item {
|
width: 247px;
|
height: 125px;
|
margin-bottom: 13px;
|
|
img {
|
width: 100%;
|
height: 100%;
|
object-fit: cover;
|
}
|
}
|
}
|
|
.info-container {
|
width: 100%;
|
display: flex;
|
flex-wrap: wrap;
|
justify-content: space-between;
|
font-size: 14px;
|
|
span {
|
margin-left: 0;
|
}
|
|
.info-item {
|
color: $text-color;
|
|
.num {
|
color: $text-color;
|
}
|
}
|
}
|
|
.infor-desc {
|
font-size: 14px;
|
word-break: break-all;
|
color: $text-color;
|
margin-bottom: 10px;
|
}
|
</style>
|