You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.6 KiB
35 lines
1.6 KiB
<!--pages/home/qrcode/index.wxml-->
|
|
<cu-custom bgColor="bg-white" isBack="{{true}}">
|
|
<view slot="content">电子卡</view>
|
|
</cu-custom>
|
|
|
|
<view class="content-box" style="padding:48rpx">
|
|
<view class="header-box" style="padding:24rpx 48rpx" wx:if="{{userInfo}}">
|
|
<view class="flex">
|
|
<wux-image width="{{45}}" height="{{45}}" wux-class="image" shape="circle" src="{{avatarUrl}}" />
|
|
<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>
|
|
<view class="flex flex-center" style="font-size:13px" 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>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="flex flex-center" style="margin:24rpx 0rpx">
|
|
<wux-qrcode id="qrcode" wux-class="qrcode" data="{{ value }}" fg-color="{{ fgColor }}" width="260" height="260" bind:click="previewImage" />
|
|
</view>
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="cu-list menu card-menu sm-border" style="margin:0rpx 48rpx">
|
|
<view class="cu-item arrow" bindtap="toCardInfo">
|
|
<view class="flex content cu-item arrow">
|
|
<text class="cuIcon-infofill md-icon" style="font-size:16px;"></text>
|
|
<text class="contentText">电子卡说明</text>
|
|
</view>
|
|
</view>
|
|
</view>
|