Browse Source

完成小程序需求对对碰index平台VIP认证

release/220110_vip
王饶冀 4 years ago
parent
commit
90c8c4a4d8
2 changed files with 10 additions and 2 deletions
  1. 6
    1
      components/listItem/listItem.wxml
  2. 4
    1
      components/listItem/listItem.wxss

+ 6
- 1
components/listItem/listItem.wxml View File

<view class="{{ listClass }}"> <view class="{{ listClass }}">
<!-- 置顶 --> <!-- 置顶 -->
<image class="ontop-img" src="/images/home/ontop-icon.png" wx:if="{{ (pageStatus == 'homepage' || pageStatus == 'myRelease') && item.isOnTop == 1}}" /> <image class="ontop-img" src="/images/home/ontop-icon.png" wx:if="{{ (pageStatus == 'homepage' || pageStatus == 'myRelease') && item.isOnTop == 1}}" />
<!-- 平台认证 -->
<view class="list-certification" wx:if="{{ item.isPartner && !item.isVip && listClass != 'disabled-model-view' }}">
<image class="certification-img" src="/images/home/certification-icon.png" />
平台认证
</view>
<!-- 平台VIP认证 --> <!-- 平台VIP认证 -->
<view class="list-certification" wx:if="{{ item.isPartner && listClass != 'disabled-model-view' }}">
<view class="list-certification w170" wx:if="{{ item.isVip && listClass != 'disabled-model-view' }}">
<image class="certification-img" src="/images/home/certification-icon.png" /> <image class="certification-img" src="/images/home/certification-icon.png" />
平台VIP认证 平台VIP认证
</view> </view>

+ 4
- 1
components/listItem/listItem.wxss View File

position: absolute; position: absolute;
right: 0; right: 0;
top: 22rpx; top: 22rpx;
width: 170rpx;
width: 130rpx;
height: 40rpx; height: 40rpx;
line-height: 40rpx; line-height: 40rpx;
background-color: #fff0be; background-color: #fff0be;
font-size: 20rpx; font-size: 20rpx;
font-style: italic; font-style: italic;
} }
.list-certification.w170{
width: 170rpx;
}
.list-certification .certification-img{ .list-certification .certification-img{
width: 26rpx; width: 26rpx;
height: 27rpx; height: 27rpx;

Loading…
Cancel
Save