Commit 56162c28 by LJM

css

parent 4c73674e
...@@ -58,15 +58,17 @@ ...@@ -58,15 +58,17 @@
color: #484b59; color: #484b59;
} }
.t2 { .t2 {
font-size: 28rpx;
color: #292b33;
font-weight: bold;
}
.t3 {
font-size: 24rpx; font-size: 24rpx;
color: #919399; color: #919399;
} }
&.curr { &.curr {
.t1 {
color: #292b33;
font-weight: 600;
}
.t2 {
font-weight: 600;
}
&::after { &::after {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
...@@ -95,11 +97,11 @@ ...@@ -95,11 +97,11 @@
border-bottom: 1px solid #f0f0f2; border-bottom: 1px solid #f0f0f2;
white-space: nowrap; white-space: nowrap;
.t1 { .t1 {
font-size: 24rpx; font-size: 22rpx;
color: #484b59; color: #484b59;
} }
.t2 { .t2 {
font-size: 24rpx; font-size: 22rpx;
color: #1969f9; color: #1969f9;
margin-right: 24rpx; margin-right: 24rpx;
} }
......
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
</view> </view>
<view class="tab row avarage verCenter"> <view class="tab row avarage verCenter">
<view class="box row rowCenter verCenter" v-for="(item, index) in arr" :class="{ curr: index == curr }" :key="index" @click="tab(index)"> <view class="box row rowCenter verCenter" v-for="(item, index) in arr" :class="{ curr: index == curr }" :key="index" @click="tab(index)">
<text class="t2">{{ item }}</text> <text class="t1">{{ item }}</text>
<text class="t3">{{ count[index] }}</text> <text class="t2">{{ count[index] }}</text>
</view> </view>
</view> </view>
</view> </view>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment