|
|
@@ -22,9 +22,8 @@ |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="buttons"> |
|
|
|
|
|
|
|
<block wx:if="{{!isDevMode}}"> |
|
|
|
<block wx:if="{{!userInfo.phone}}"> |
|
|
|
<block wx:if="{{userInfo.isMember == 0 && userInfo.isValid == 0}}"> |
|
|
|
<view class="userProtocolModel"> |
|
|
|
<view class="textInside"> |
|
|
|
<view class="{{isNotRead ? 'agreeButton' : 'agreeButton active'}}" bindtap="agreedClick">√</view> |
|
|
@@ -32,33 +31,33 @@ |
|
|
|
<text class="userProtocol" bindtap="checkUserProtocol">《用户协议及隐私政策》</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<button type="primary" open-type="getPhoneNumber" bindgetphonenumber="getUserPhone" disabled="{{isNotRead}}">授权手机号使用</button> |
|
|
|
<button type="primary" bindtap="apply" disabled="{{isNotRead}}">申请使用</button> |
|
|
|
</block> |
|
|
|
|
|
|
|
<block wx:if="{{userInfo.isMember == 1 && userInfo.isValid == 1}}"> |
|
|
|
<view class="userPhone">当前用户:{{userInfo.coverPhone}}</view> |
|
|
|
<view wx:if="{{userInfo.coverPhone}}" class="userPhone">当前用户:{{userInfo.coverPhone}}</view> |
|
|
|
<view class="userPhone" wx:if="{{userInfo.validEndTime}}">到期时间:{{userInfo.validEndTime}}</view> |
|
|
|
<view class="payHistory"> |
|
|
|
<text style="margin-right: 20rpx;" bindtap="checkUserProtocol">用户协议</text> |
|
|
|
<text bindtap="checkPayHistory">购买历史</text> |
|
|
|
<text bindtap="checkPayHistory">延续历史</text> |
|
|
|
</view> |
|
|
|
<button type="primary" bindtap="goToChat">开始聊天</button> |
|
|
|
</block> |
|
|
|
|
|
|
|
<block wx:if="{{userInfo.isMember == 1 && userInfo.isValid == 0}}"> |
|
|
|
<view class="userPhone">当前用户:{{userInfo.coverPhone}}</view> |
|
|
|
<view wx:if="{{userInfo.coverPhone}}" class="userPhone">当前用户:{{userInfo.coverPhone}}</view> |
|
|
|
<view class="userPhone" wx:if="{{userInfo.validEndTime}}">到期时间:{{userInfo.validEndTime}}</view> |
|
|
|
<view class="payHistory"> |
|
|
|
<text bindtap="checkUserProtocol">用户协议</text> |
|
|
|
<text bindtap="checkPayHistory">购买历史</text> |
|
|
|
<text bindtap="checkPayHistory">延续历史</text> |
|
|
|
</view> |
|
|
|
<button type="primary" bindtap="goToBuy">续费会员</button> |
|
|
|
<button type="primary" bindtap="goToBuy">延续使用</button> |
|
|
|
</block> |
|
|
|
|
|
|
|
<block wx:if="{{userInfo.phone && userInfo.isMember == 0 && userInfo.isValid == 0}}"> |
|
|
|
<!-- <block wx:if="{{userInfo.phone && userInfo.isMember == 0 && userInfo.isValid == 0}}"> |
|
|
|
<view class="userPhone">当前用户:{{userInfo.coverPhone}}</view> |
|
|
|
<button type="primary" bindtap="goToBuy">购买会员</button> |
|
|
|
</block> |
|
|
|
</block> --> |
|
|
|
</block> |
|
|
|
|
|
|
|
<block wx:if="{{isDevMode}}"> |
|
|
|