|
@@ -1,4 +1,4 @@
|
|
-<view class="tab-bar">
|
|
|
|
|
|
+<view class="tab-bar" wx:if="{{show}}">
|
|
<view class="mask" wx:if="{{mask}}"></view>
|
|
<view class="mask" wx:if="{{mask}}"></view>
|
|
<view wx:for="{{listTab}}" wx:key="index" class="tab-bar-item {{selected === index?'bounce':''}}"
|
|
<view wx:for="{{listTab}}" wx:key="index" class="tab-bar-item {{selected === index?'bounce':''}}"
|
|
data-path="{{item.pagePath}}" data-index="{{index}}" bindtap="switchTab">
|
|
data-path="{{item.pagePath}}" data-index="{{index}}" bindtap="switchTab">
|
|
@@ -7,7 +7,4 @@
|
|
<image src="{{selected === index ? item.selectedIconPath : item.iconPath}}"></image>
|
|
<image src="{{selected === index ? item.selectedIconPath : item.iconPath}}"></image>
|
|
<view style="color: {{selected === index ? selectedColor : color}}">{{item.text}}</view>
|
|
<view style="color: {{selected === index ? selectedColor : color}}">{{item.text}}</view>
|
|
</view>
|
|
</view>
|
|
- <!-- #if ANDROID -->
|
|
|
|
- <!-- <view class="androidMask" wx:if="{{androidMask}}" bind:tap="toAndroidLogin"></view> -->
|
|
|
|
- <!-- #endif -->
|
|
|
|
</view>
|
|
</view>
|