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.
30 lines
1.6 KiB
30 lines
1.6 KiB
<cu-custom bgColor="bg-white" isBack="{{true}}">
|
|
<view slot="content">{{type == 0 ? '客户' : '员工'}}电子卡</view>
|
|
</cu-custom>
|
|
|
|
<van-notice-bar color="#1989fa" background="#008AFF" scrollable="{{false}}" left-icon="info-o" text="注意:该二维码只在「{{factoryName}}」扫码使用" wx:if="{{form}}"/>
|
|
<view style="padding:32rpx;margin-top:36rpx;border-radius: 20rpx" wx:if="{{form}}">
|
|
<van-cell clickable is-link custom-class="group-top">
|
|
<view slot="title" class="flex flex-justify" style="width:100%" bindtap="lookDetail">
|
|
<van-image round width="80rpx" height="80rpx" src="{{'/assets/image/ygImg.png' }}" />
|
|
<view style="width:100%;flex:1;margin-left: 18rpx">
|
|
<view class="text-sg text-bold">{{form.name || form.enterpriseMemberName || ''}}</view>
|
|
<view class="text-sm text-gray" style="line-height:32rpx;height:32rpx" wx:if="{{form.cardNo}}">
|
|
<text>IC卡号:{{form.cardNo}}</text>
|
|
</view>
|
|
<view class="text-sm text-gray" style="line-height:32rpx;height:32rpx" wx:else>
|
|
<text>联系电话:{{form.mobile || form.phone}}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</van-cell>
|
|
<view class="bg-white flex flex-center" style="padding:48rpx 32rpx;border-radius: 0rpx 0rpx 20rpx 20rpx" bindtap="previewImage">
|
|
<canvas style="width:600rpx; height:600rpx;" canvas-id="van-qrcode"></canvas>
|
|
</view>
|
|
</view>
|
|
|
|
<view style="margin-top:36rpx;padding: 0rpx 72rpx" wx:if="{{form}}">
|
|
<van-divider content-position="center" customStyle="font-size: 18px;">{{factoryName}}</van-divider>
|
|
</view>
|
|
|
|
<notification id="qn-notification" />
|