This commit is contained in:
weipengfei 2024-03-14 15:29:32 +08:00
parent 4ba58024a2
commit 011cd2663f

View File

@ -38,6 +38,7 @@
<!-- tab导航 -->
<view class="tabs" v-if="showTab">
<block v-for="(item,indx) in tabsArr" :key="indx">
<view v-if="indx>0" style="width: 2rpx;height: 36rpx;background-color: #ECECEC;"></view>
<view :class="{'tabs-item-active':item.val==currTabs}" class="tabs-item" @click="changeTab(item.val)">
<view class="tabs-item-main">{{item.name}}</view>
<view class="tabs-item-sub">{{item.desc}}</view>
@ -230,10 +231,11 @@
.tabs {
display: flex;
justify-content: space-between;
align-items: center;
margin: 0 -20rpx 30rpx;
.tabs-item {
width: 25%;
width: 23%;
display: flex;
flex-direction: column;
justify-content: center;