mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
[improvement] TabbarItem: add custom-class (#1213)
This commit is contained in:
parent
22d4f4eb0b
commit
e34b49ef9b
@ -1,5 +1,5 @@
|
||||
<view
|
||||
class="van-tabbar-item {{ active ? 'van-tabbar-item--active' : '' }}"
|
||||
class="van-tabbar-item custom-class {{ active ? 'van-tabbar-item--active' : '' }}"
|
||||
style="{{ active && color ? 'color: ' + color : '' }}"
|
||||
bind:tap="onClick"
|
||||
>
|
||||
|
Loading…
x
Reference in New Issue
Block a user