|
|
|
@ -1,11 +1,13 @@ |
|
|
|
<wxs module="formate" src="../../../pages/formate.wxs"></wxs> |
|
|
|
<cu-custom bgColor="bg-blue" isBack="{{false}}"> |
|
|
|
<cu-custom bgColor="bg-blue" isBack="{{false}}" shadow="{{true}}"> |
|
|
|
<view slot="content" style="color:white;font-size:18px">我的</view> |
|
|
|
</cu-custom> |
|
|
|
|
|
|
|
<scroll-view scroll-y style="height: {{height}}rpx;"> |
|
|
|
<view class="bg-white flex flex-justify" style="padding:32rpx" wx:if="{{userInfo}}" bindtap="toUserInfo"> |
|
|
|
<view class="flex"> |
|
|
|
|
|
|
|
<view style="height:80rpx;background-color:#008AFF;border-radius: 0px 0px 100px 100px"></view> |
|
|
|
<view style="padding:0rpx 32rpx 32rpx 32rpx;margin-top:-48rpx" > |
|
|
|
<view class="flex bg-white" style="padding:24rpx 32rpx;border-radius: 6px;" bindtap="toUserInfo"> |
|
|
|
<view style="position: relative"> |
|
|
|
<wux-image width="{{60}}" height="{{60}}" wux-class="image" shape="circle" src="{{avatarUrl}}"> |
|
|
|
<image style="width:60px;height:60px;border-radio:30px" slot="loading" src="/assets/image/ygImg.png"></image> |
|
|
|
@ -14,27 +16,26 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="flex flex-column flex-center" style="margin-left:24rpx;align-items:flex-start"> |
|
|
|
<view class="flex flex-center"> |
|
|
|
<text style="white-space: nowrap">{{userName || ''}}</text> |
|
|
|
<view class="flex flex-center" wx:if="{{userInfo}}"> |
|
|
|
<text class="text-bold text-sg" style="white-space: nowrap">{{userName || ''}}</text> |
|
|
|
<view class="flex flex-center" style="font-size:12px" catchtap="toAuthor"> |
|
|
|
<image class="img-auth2" |
|
|
|
src="{{userInfo.isAuth == 1 ? '/assets/image/icon_author.png' : '/assets/image/icon_unauthor.png'}}"> |
|
|
|
</image> |
|
|
|
<text |
|
|
|
class="{{userInfo.isAuth == 1 ? 'text-blue' : 'text-gray'}}">{{userInfo.isAuth == 1 ? '已认证' : '未实名认证'}}</text> |
|
|
|
<text class="text-yellow" style="font-size:14px;padding:4px;" |
|
|
|
wx:if="{{userInfo.isAuth != 1 && userInfo.userType == 1}}">去认证</text> |
|
|
|
<text class="{{userInfo.isAuth == 1 ? 'text-blue' : 'text-gray'}}">{{userInfo.isAuth == 1 ? '已认证' : '未实名认证'}}</text> |
|
|
|
<text class="text-yellow" style="font-size:12px;padding:4px;" wx:if="{{userInfo.isAuth != 1}}">去认证</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view style="margin-top:12rpx" wx:else> |
|
|
|
<text class="text-gray" style="font-size:14px">您还没有登录,去登录</text> |
|
|
|
</view> |
|
|
|
<view class="flex flex-center" style="font-size:12px;margin-top:12rpx" catchtap="toAuthor"> |
|
|
|
<text class="text-black" style="font-size:14px">{{userInfo.mobile||''}}</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<text class="cuIcon-right text-gray" style="font-size:18px"></text> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view style="height:16rpx"></view> |
|
|
|
<wux-cell-group> |
|
|
|
<wux-cell title="纸通宝会员" is-link url="/pages/ztbvip/index"> |
|
|
|
<image slot="header" style="width:32rpx;height:32rpx;margin:6rpx 12rpx 0rpx 0rpx" |
|
|
|
|