学习强国布局修改

init
zhusiyu 3 years ago
parent 5df177a161
commit f4da7ebad0

@ -4,7 +4,6 @@
<a-row type="flex" justify="space-between" class="row" wrap>
<a-col class="aCol" v-for="(item,i) in colList" :key="i">
<img :src="item.src" alt="">
<span class="colSpan"></span>
<p>{{item.title}}</p>
</a-col>
</a-row>
@ -71,25 +70,13 @@
cursor: pointer;
img{
position: absolute;
width: 50px;
height: 50px;
left: 50%;
top: 40px;
margin-left: -25px;
width: 110px;
height: 110px;
left: 49%;
top: 17px;
margin-left: -51px;
z-index: 5;
}
.colSpan {
display: inline-block;
position: absolute;
width: 96px;
height: 96px;
border-radius: 50%;
box-shadow: 10px 8px 10px rgba(0, 0, 0, 0.7);
top: 15px;
left: 50%;
margin-left: -48px;
background-color: #9B0D02;
}
p {
position: absolute;
bottom: -4px !important;

Loading…
Cancel
Save