Commit 923b655d by chengzhichun

修改底部选中样式

parent 70c65681
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
</view> </view>
<view <view
wx:elif="{{item.iconType==1}}" wx:elif="{{item.iconType==1}}"
class="img-view" 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'}}" style="width:{{(index==selected?componentData.selectionIconSize*2:componentData.defaultIconSize*2)+'rpx'}};height:{{(index==selected?componentData.selectionIconSize*2:componentData.defaultIconSize*2)+'rpx'}}"
> >
<image mode="aspectFit" src="{{selected === index ? item.selectImgUrl : item.imgUrl}}"></image> <image mode="aspectFit" src="{{selected === index ? item.selectImgUrl : item.imgUrl}}"></image>
......
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