Commit fd93ffb5 by chengzhichun

底部栏样式优化

parent 923b655d
......@@ -21,10 +21,13 @@
</view>
<view
wx:elif="{{item.iconType==1}}"
class="img-view icons"
style="width:{{(index==selected?componentData.selectionIconSize*2:componentData.defaultIconSize*2)+'rpx'}};height:{{(index==selected?componentData.selectionIconSize*2:componentData.defaultIconSize*2)+'rpx'}}"
class="img-view icons "
>
<image mode="aspectFit" src="{{selected === index ? item.selectImgUrl : item.imgUrl}}"></image>
<image
style="width:{{(index==selected?componentData.selectionIconSize*2:componentData.defaultIconSize*2)+'rpx'}};height:{{(index==selected?componentData.selectionIconSize*2:componentData.defaultIconSize*2)+'rpx'}}"
mode="aspectFit" src="{{selected === index ? item.selectImgUrl : item.imgUrl}}">
</image>
</view>
</view>
<!-- 名称 -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment