2.4 组件结构调整,调整会员权限判断
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
</view>
|
||||
<image class="arrow" src="/static/icon/mine/infoArrow.png" mode="widthFix"></image>
|
||||
</view>
|
||||
|
||||
<view v-if="userInfo" class="numList relative flex">
|
||||
<view class="item flex1 flexColumnCenter" @click="clickNumItem(0)">
|
||||
<view class="num">{{userInfo.statistics.total_comments}}</view>
|
||||
@@ -26,8 +25,10 @@
|
||||
<view class="title">我的点赞</view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="memberInfo&&!memberInfo.is_member" class="vipC relative" @click="clickVip()">
|
||||
<view class="vipC relative" @click="clickVip()">
|
||||
<image class="icon" src="/static/image/mine/vipBg.png" mode="widthFix"></image>
|
||||
<view v-if="memberInfo&&memberInfo.is_member" class="absolute tips">{{memberInfo.subscription_type}}会员,有效期至{{memberInfo.member_expire_date}}</view>
|
||||
<view v-else class="absolute tips">成为会员,可以获取更多价值资讯</view>
|
||||
</view>
|
||||
<view class="menuList relative">
|
||||
<view class="list">
|
||||
@@ -291,6 +292,16 @@ page
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.tips
|
||||
{
|
||||
top: 0;
|
||||
left: 80rpx;
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
line-height: 90rpx;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
}
|
||||
.menuList
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user