翻页
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user