纸通宝SAAS仓库
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.
 

61 lines
2.5 KiB

<!--pages/home/customer-info/index.wxml-->
<cu-custom bgColor="bg-white" isBack="{{true}}">
<view slot="content">客户资料</view>
</cu-custom>
<view wx:if="{{form}}">
<!-- <van-notice-bar color="#1989fa" background="#008AFF" left-icon="info-o" text="点击可以修改用户信息" /> -->
<van-cell>
<view slot="title" class="flex flex-justify">
<view class="text-black">客户姓名</view>
<view class="text-gray">{{form.name}}</view>
</view>
</van-cell>
<van-cell>
<view slot="title" class="flex flex-justify">
<view class="text-black">手机号码</view>
<view class="text-gray">{{form.mobile}}</view>
</view>
</van-cell>
<van-cell>
<view slot="title" class="flex flex-justify">
<view class="text-black">付款方式</view>
<view class="text-gray">{{form.defaultPaymentMethod == 2 ? '转账' : '现金'}}</view>
</view>
</van-cell>
<van-cell wx:if="{{form.bankName}}">
<view slot="title" class="flex flex-justify">
<view class="text-black">银行名称</view>
<view class="text-gray">{{form.bankName}}</view>
</view>
</van-cell>
<van-cell wx:if="{{form.bankCardNo}}">
<view slot="title" class="flex flex-justify">
<view class="text-black">银行卡号</view>
<view class="text-gray">{{form.bankCardNo}}</view>
</view>
</van-cell>
<view style="height:32rpx"></view>
<view style="margin-top:20rpx;padding:48rpx 32rpx">
<van-button block type="primary" bind:click="registCustomer" wx:if="{{!form.userId}}">邀请注册纸通宝</van-button>
<!-- <view style="height:32rpx" wx:if="{{!form.userId}}"></view>
<van-button block type="info" bind:click="submitForm">保存</van-button> -->
</view>
</view>
<van-overlay show="{{ showEmbedded }}" duration="{{0}}" bind:click="onClickHideEmbedded">
<view class="wrapper flex-column" catch:tap="noop">
<view style="position: relative;background-color:white;margin-top:48px">
<van-image use-loading-slot width="525rpx" height="525rpx" src="data:image/png;base64,{{base64}}">
<view class="image-load" slot="loading"><van-loading type="spinner" size="32" /></view>
</van-image>
</view>
<text class="text-df text-white" style="margin-top:36rpx;text-align:center">
<text>邀请</text>
<text class="text-blue">{{customerName}}</text>
<text>邀请注册纸通宝</text>
</text>
<van-icon name="close" color="white" size="36px" custom-style="margin-top:48px" catch:tap="onClickHideEmbedded" />
</view>
</van-overlay>