Bladeren bron

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

release/220110_vip
王饶冀 3 jaren geleden
bovenliggende
commit
90c8c4a4d8
2 gewijzigde bestanden met toevoegingen van 10 en 2 verwijderingen
  1. 6
    1
      components/listItem/listItem.wxml
  2. 4
    1
      components/listItem/listItem.wxss

+ 6
- 1
components/listItem/listItem.wxml Bestand weergeven

@@ -2,8 +2,13 @@
<view class="{{ listClass }}">
<!-- 置顶 -->
<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认证 -->
<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" />
平台VIP认证
</view>

+ 4
- 1
components/listItem/listItem.wxss Bestand weergeven

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

Laden…
Annuleren
Opslaan