This commit is contained in:
徐哼唧L
2024-01-31 15:24:52 +08:00
parent c1e414bcab
commit 5ae322d192
17 changed files with 912 additions and 449 deletions

View File

@@ -9,7 +9,7 @@
v-for="(item, index) in firstTabList" :key="item.firstTabId">{{item.title}}</text>
</view>
<view v-if="curFirstTabIndex==0">
<view class="oneCateList flexbox">
<view class="oneCateBot flexbox">
<text :class="[curOneCateIndex == index ? 'cur' : '']" @click="setOneCateIndex(item,index)"
v-for="(item, index) in oneCateList" :key="item.prescriptCategoryId">{{item.title}}</text>
</view>
@@ -473,19 +473,38 @@
.contentBox {
.oneCateList {
justify-content: space-between;
text {
text-align: center;
display: inline-block;
width: 32%;
padding: 20rpx 0;
font-size: 34rpx;
font-size: 32rpx;
font-weight: bold;
}
.cur {
border-bottom: 5rpx solid #55aa7f;
color: #55aa7f;
}
}
.oneCateBot{
margin-top: 15rpx;
justify-content: space-between;
text {
text-align: center;
display: inline-block;
width: 32%;
padding: 10rpx 0;
font-size: 30rpx;
border-radius: 10rpx;
}
.cur {
background-color: #55aa7f;
color: #fff;
background-color: #55aa7f3d;
color: #55aa7f;
font-weight: bold;
}
}
.firstTab{
@@ -495,8 +514,6 @@
width: 50%;
padding: 20rpx 0;
margin-bottom: 10rpx;
font-size: 34rpx;
border-radius: 10rpx;
}
}