Commit 5de90fc3 by chengzhichun

底部栏样式修改

parent fd93ffb5
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
</view> </view>
<view wx:if="{{datas.componentData.style==='list'}}"> <view wx:if="{{datas.componentData.style==='list'}}">
<view class="imgcontent" bindtap="itemClick" data-item="{{item}}" wx:for="{{datas.componentData.imgList}}" wx:key="index" style="margin-bottom:{{datas.componentData.imgPadding * 2}}rpx"> <view class="imgcontent" bindtap="itemClick" data-item="{{item}}" wx:for="{{datas.componentData.imgList}}" wx:key="index" style="margin-bottom:{{datas.componentData.imgPadding * 2}}rpx">
<image src="{{item.imageUrl}}" lazy-load mode="widthFix"></image> <image src="{{item.imageUrl}}" mode="widthFix"></image>
</view> </view>
</view> </view>
<view wx:elif="{{datas.componentData.style==='across' || datas.componentData.style==='tiled'}}" class="across"> <view wx:elif="{{datas.componentData.style==='across' || datas.componentData.style==='tiled'}}" class="across">
......
...@@ -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 icons " class="img-view "
> >
<image <image
......
...@@ -1217,9 +1217,19 @@ ...@@ -1217,9 +1217,19 @@
box-sizing: border-box; box-sizing: border-box;
color: white; color: white;
} }
.isItem .item .img-view{
width: 90rpx;
height: 90rpx;
background: var(--main-color);
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
border: 4px solid #fff;
}
.icons { .icons {
width: 100rpx; width: 90rpx;
height: 100rpx; height: 90rpx;
background: var(--main-color); background: var(--main-color);
border-radius: 50%; border-radius: 50%;
display: flex; display: flex;
......
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