refactor: 更新u-tabs组件使用方式及样式调整

This commit is contained in:
pikachu1995@126.com
2026-07-01 10:07:55 +08:00
parent dc2bef455a
commit 6654c1de51
16 changed files with 246 additions and 153 deletions

View File

@@ -1,15 +1,12 @@
<template>
<div class="wrapper">
<u-tabs
class="coupon-tabs"
:list="list"
:is-scroll="false"
:active-color="lightColor"
:current="current"
@change="
(i) => {
current = i;
}
"
:scrollable="false"
:lineColor="lightColor"
:activeStyle="{ color: lightColor }"
v-model:current="current"
>
</u-tabs>
@@ -160,6 +157,11 @@ export default {
.wrapper {
background: #f9f9f9;
overflow: hidden;
.coupon-tabs {
width: 100%;
background: #fff;
}
}
.coupon-item {
display: flex;