tabbar
|
Before Width: | Height: | Size: 967 B After Width: | Height: | Size: 3.8 KiB |
|
Before Width: | Height: | Size: 943 B After Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 7.6 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 7.9 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 4.5 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 419 B After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 427 B After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 6.5 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 6.7 KiB |
@ -1,13 +1,16 @@
|
|||||||
<view class="tab-bar" wx:if="{{isShow}}" catchtouchmove="touchMove">
|
<view class="tab-bar" wx:if="{{isShow}}" catchtouchmove="touchMove">
|
||||||
<view class="tab-bar-border"></view>
|
<view class="tab-bar-border"></view>
|
||||||
<view wx:for="{{list}}" wx:key="index" class="tab-bar-item biggerSize2" data-path="{{item.pagePath}}" data-index="{{index}}" bindtap="switchTab">
|
<view wx:for="{{list}}" wx:key="index" class="tab-bar-item biggerSize2" data-path="{{item.pagePath}}" data-index="{{index}}" bindtap="switchTab">
|
||||||
<!-- <view class="middle tac" wx:if="{{index === 1}}" hover-class="none" hover-stop-propagation="false">
|
<!-- <view class="middle tac" wx:if="{{index === 2}}" hover-class="none" hover-stop-propagation="false">
|
||||||
<image class="tabImg" src="{{item.selectedIconPath}}" />
|
<image class="tabImg" src="{{item.selectedIconPath}}" />
|
||||||
</view> -->
|
</view>-->
|
||||||
<view class='tabImg-box' hover-class="none" hover-stop-propagation="false">
|
<!-- wx:else -->
|
||||||
<image class="tabImg" style="visibility:{{selected === item.index ? 'visiable':'hidden'}}" src="{{item.selectedIconPath}}" />
|
<view class hover-class="none" hover-stop-propagation="false">
|
||||||
<image class="tabImg " style="visibility:{{selected === item.index ? 'hidden':'visiable'}}" src="{{item.iconPath}}" />
|
<!-- <image class="tabImg" style="visibility:{{selected === item.index ? 'visiable':'hidden'}}" src="{{item.selectedIconPath}}" />
|
||||||
<view class="tabText" style="color: {{selected === item.index ? selectedColor : color}}">{{item.text}}</view>
|
<image class="tabImg " style="visibility:{{selected === item.index ? 'hidden':'visiable'}}" src="{{item.iconPath}}" />-->
|
||||||
</view>
|
<i class="tabImg iconfont {{item.iconPath}}" style="color: {{selected === item.index ? selectedColor : color }}" />
|
||||||
|
<!-- <image class="tabImg" style="visibility:{{selected === item.index ? 'hidden':'visiable'}}" src="{{item.iconPath}}" /> -->
|
||||||
|
<view class="tabText" style="color: {{selected === item.index ? selectedColor : color}}">{{item.text}}</view>
|
||||||
</view>
|
</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||