[improvement] TabbarItem: add custom-class (#1213)

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

View File

@ -1,5 +1,5 @@
<view <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 : '' }}" style="{{ active && color ? 'color: ' + color : '' }}"
bind:tap="onClick" bind:tap="onClick"
> >