1
0
mirror of https://gitee.com/vant-contrib/vant-weapp.git synced 2025-04-06 03:58:05 +08:00

[improvement] TabbarItem: add custom-class ()

This commit is contained in:
neverland 2019-01-14 14:16:47 +08:00 committed by GitHub
parent 22d4f4eb0b
commit e34b49ef9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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"
>