mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
feat(Tabs): remove default border (#3519)
This commit is contained in:
parent
3634840bb0
commit
2307f28d7b
@ -191,7 +191,7 @@ Page({
|
||||
| color | 标签颜色 | _string_ | `#ee0a24` | - |
|
||||
| z-index | z-index 层级 | _number_ | `1` | - |
|
||||
| type | 样式风格,可选值为`card` | _string_ | `line` | - |
|
||||
| border | 是否展示外边框,仅在`line`风格下生效 | _boolean_ | `true` | - |
|
||||
| border | 是否展示外边框,仅在 `line` 风格下生效 | _boolean_ | `false` | - |
|
||||
| duration | 动画时间 (单位秒) | _number_ | `0.3` | - |
|
||||
| line-width | 底部条宽度 (px) | _string \| number_ | `40px` | - |
|
||||
| line-height | 底部条高度 (px) | _string \| number_ | `3px` | - |
|
||||
|
@ -30,11 +30,15 @@ VantComponent({
|
||||
},
|
||||
|
||||
props: {
|
||||
sticky: Boolean,
|
||||
border: Boolean,
|
||||
swipeable: Boolean,
|
||||
titleActiveColor: String,
|
||||
titleInactiveColor: String,
|
||||
color: {
|
||||
type: String,
|
||||
observer: 'setLine',
|
||||
},
|
||||
sticky: Boolean,
|
||||
animated: {
|
||||
type: Boolean,
|
||||
observer() {
|
||||
@ -43,7 +47,6 @@ VantComponent({
|
||||
);
|
||||
},
|
||||
},
|
||||
swipeable: Boolean,
|
||||
lineWidth: {
|
||||
type: [String, Number],
|
||||
value: 40,
|
||||
@ -54,8 +57,6 @@ VantComponent({
|
||||
value: -1,
|
||||
observer: 'setLine',
|
||||
},
|
||||
titleActiveColor: String,
|
||||
titleInactiveColor: String,
|
||||
active: {
|
||||
type: [String, Number],
|
||||
value: 0,
|
||||
@ -69,10 +70,6 @@ VantComponent({
|
||||
type: String,
|
||||
value: 'line',
|
||||
},
|
||||
border: {
|
||||
type: Boolean,
|
||||
value: true,
|
||||
},
|
||||
ellipsis: {
|
||||
type: Boolean,
|
||||
value: true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user