布局首页

This commit is contained in:
qq787203167
2022-05-24 14:27:10 +08:00
parent c2134f4b25
commit cbdc91c4bf
9 changed files with 490 additions and 15 deletions
@@ -5,11 +5,13 @@
<div class="header-text-right">{{$t('more')}}</div>
</div>
<div class="documentDynamics-box-content">
<div class="documentDynamics-text">
<div class="documentDynamics-text" v-for="item in 8">
<div class="yuan"></div>
<div class="text">文档库中新增了新的标准 GB 7258 机动车文件</div>
<img src="../../../assets/new.png" alt="">
<div class="time">2022-04-04 12:00:00</div>
</div>
<div class="solid"></div>
</div>
</div>
</template>
@@ -47,13 +49,27 @@
width: 100%;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
position: relative;
.solid {
width: 1px;
height: 210px;
background: #EFF1F3;
position: absolute;
left: 50%;
top: 120px;
transform: translate(-50%, -50%);
}
.documentDynamics-text {
height: 51px;
display: flex;
width: calc(50% - 20px);
border-bottom: 1px solid #CED0D8;
align-items: center;
line-height: 51px;
border-bottom: 1px solid #EFF1F3;
position: relative;
margin-bottom: 6px;
cursor: pointer;
.yuan {
width: 6px;
@@ -62,7 +78,10 @@
background: #040B29;
opacity: 0.8;
border-radius: 50%;
margin-top: 2px;
position: absolute;
left: 0;
top: 50%;
transform: translate(-50%, -50%);
}
.text {
@@ -70,15 +89,27 @@
font-size: 16px;
font-weight: 400;
color: #040B29;
margin-left: 8px;
margin-left: 14px;
width: calc(100% - 240px);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
img {
width: 38px;
height: 20px;
margin-top: 3px;
margin-top: -42px;
margin-left: 3px;
}
.time {
font-size: 14px;
float: right;
font-weight: 400;
color: #9B9DA9;
margin-right: 12px;
}
}
}
}