Commit a2778c0a4fc447cc1dd251ed1a6927239a1ff5dc

Authored by zhiyangdu
1 parent 8395bcd0

样式优化

src/components/tabBox/tabBox.less
1 .tabBox { 1 .tabBox {
2 // tab上线填充 2 // tab上线填充
3 .van-tabs--line .van-tabs__wrap{ 3 .van-tabs--line .van-tabs__wrap{
4 - height: 40px; 4 + height: 60px;
5 line-height: 30px; 5 line-height: 30px;
6 padding: 30px 0; 6 padding: 30px 0;
7 } 7 }
src/components/tabBox/tabBox.vue
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
5 <van-tab v-for="(item,index) in tabbar" :key="index" :title="item.title"> 5 <van-tab v-for="(item,index) in tabbar" :key="index" :title="item.title">
6 6
7 </van-tab> 7 </van-tab>
8 - <div class="tabBox_main" :style="{height: swiperExce.offsetHeight + 'px', minHeight: 'calc(100vh - ' + ($parent.$parent.top.value + 'px') + ' - 38.1vh)'}" ref="tabsSwiperBox"> 8 + <div class="tabBox_main" :style="{height: swiperExce.offsetHeight + 'px', minHeight: 'calc(100vh - ' + ($parent.$parent.top.value + 'px') + ' - 520px)'}" ref="tabsSwiperBox">
9 <div class="tabbar" v-for="(item, index) in tabbaromponents.ads" :key="index"> 9 <div class="tabbar" v-for="(item, index) in tabbaromponents.ads" :key="index">
10 <!-- 关爱屋简介 --> 10 <!-- 关爱屋简介 -->
11 <div class="skeleton brief" ref="brief"> 11 <div class="skeleton brief" ref="brief">