Commit f89e11cb authored by Facius's avatar Facius

improvement: 题库选择UI微调

parent dcf64cfe
......@@ -32,8 +32,12 @@
key == secondKey ? labels[firstKey][0][index].label : '非煤矿类'
}}</view>
</view>
<view class="label-content">
<view v-for="(label, ind) in list" :key="ind" class="label-item">
<view :class="['label-content', { first: key == firstKey }]">
<view
v-for="(label, ind) in list"
:key="ind"
:class="['label-item', { first: key == firstKey }]"
>
<!-- 选中为蓝底,非选中状态为白底 -->
<view
:class="[
......@@ -220,10 +224,16 @@ export default {
flex-wrap: wrap;
display: flex;
justify-content: space-between;
&.first {
justify-content: flex-start;
}
.label-item {
padding-bottom: 24rpx;
flex-shrink: 0;
display: inline-block;
&.first {
padding-right: 24rpx;
}
.label-normal {
height: 104rpx;
width: 200rpx;
......
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 to comment