大理市民卡小程序1.0提交
diff --git a/weui/tabbar/tabbar.wxml b/weui/tabbar/tabbar.wxml
new file mode 100644
index 0000000..49ff2d9
--- /dev/null
+++ b/weui/tabbar/tabbar.wxml
@@ -0,0 +1,10 @@
+<view class="weui-tabbar {{extClass}}">
+ <!-- 选中的时候往weui-tabbar__item加class:weui-bar__item_on -->
+ <view data-index='{{index}}' bindtap="tabChange" wx:for="{{list}}" class="weui-tabbar__item {{index === current ? 'weui-bar__item_on' : ''}}">
+ <view style="position: relative;display:inline-block;">
+ <image src="{{current === index ? item.selectedIconPath : item.iconPath}}" class="weui-tabbar__icon"></image>
+ <mp-badge wx:if="{{item.badge}}" content="{{item.badge}}" style="position: absolute;top:-2px;left:calc(100% - 3px)"></mp-badge>
+ </view>
+ <view class="weui-tabbar__label">{{item.text}}</view>
+ </view>
+</view>
\ No newline at end of file