mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-24 02:16:12 +08:00
[bugfix] Tab: custom line color (#1686)
This commit is contained in:
parent
665967bf67
commit
0f07e03e59
@ -246,6 +246,7 @@ export default create({
|
|||||||
|
|
||||||
this.lineStyle = {
|
this.lineStyle = {
|
||||||
width: `${width}px`,
|
width: `${width}px`,
|
||||||
|
backgroundColor: this.color,
|
||||||
transform: `translateX(${left}px)`,
|
transform: `translateX(${left}px)`,
|
||||||
transitionDuration: `${this.duration}s`
|
transitionDuration: `${this.duration}s`
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user