修复样式问题

This commit is contained in:
aihe 2023-12-02 10:58:14 +08:00
parent c43bbf2bb7
commit 92b306cbaf

View File

@ -12,9 +12,9 @@
<button class="btn-ljyy" type="primary">立即预约</button>
<view class="btnlist1">
<u-row>
<u-col v-for="mbItem in mainBtnlist" span="6" align="center" custom-style="">
<view class="mb-item">
<u-row align="center">
<u-col v-for="(mbItem, mIndex) in mainBtnlist" span="6" align="center">
<view :class="'mb-item ' + (mIndex+1 == mainBtnlist.length ?'noborder': 'dddd') ">
<u-row align="center" justify="center">
<image class="tb1" style="width: 92rpx;height: 73rpx;" :src="mbItem.icon"/>
<view class="neirong">
<u-text size="32" :bold="true" color="#fff" :text="mbItem.title"></u-text>
@ -135,9 +135,10 @@
}
}
.mb-item{
width: 100%;
position: relative;
border-right: 2rpx solid rgba(255,255,255,0.5);
&:last-child{
&.noborder{
border-right: 0;
}
}