竞猜样式

hui.zhou
ihzero 2024-07-09 22:08:20 +08:00
parent 29554cec1f
commit b2897bdc82
1 changed files with 10 additions and 6 deletions

View File

@ -353,22 +353,26 @@
></up-avatar> ></up-avatar>
</view> </view>
</view> </view>
<view class="w-full type2 mt-20px"> <view class="type2 my-30px flex-center">
<view <view
class="h-34px flex bg-hex-eeeeef rounded-4px text-hex-303133" class="h-44px flex bg-hex-eeeeef rounded-8px text-hex-303133"
> >
<view <view
v-for="item in subsectionList" class="text-12px rounded-4px h-full flex"
:key="item"
:class="{ :class="{
'active-a': gameScore === item, 'active-a': gameScore === item,
active: userGuess === item, active: userGuess === item,
}" }"
@click="userGuessChange(item)" @click="userGuessChange(item)"
class="flex-1 flex-center text-12px rounded-4px" v-for="(item,index) in subsectionList"
:key="item"
> >
<view class="w-80px flex-center h-full">
{{ item }} {{ item }}
</view> </view>
<up-line v-if="index!=subsectionList.length-1" direction="col"></up-line>
</view>
</view> </view>
</view> </view>
</template> </template>