|
|
@ -3,31 +3,59 @@ |
|
|
<view slot="content" style="color:black;font-size:18px">用户注册</view> |
|
|
<view slot="content" style="color:black;font-size:18px">用户注册</view> |
|
|
</cu-custom> |
|
|
</cu-custom> |
|
|
|
|
|
|
|
|
<view class="flex flex-center flex-column" style="width:100%;height:320rpx;margin-top:80rpx"> |
|
|
|
|
|
<image style="width:192rpx;height:192rpx" src="/assets/image/ygImg.png"></image> |
|
|
|
|
|
<view class="text-xl" wx:if="{{customerInfo}}">{{customerInfo.name}}</view> |
|
|
|
|
|
|
|
|
<view style="padding: 8px 16px;color: #ed6a0c;background-color: #fffbe8"> |
|
|
|
|
|
<text slot user-select="true">通过以下两种方式让您的客户注册成纸通宝用户。\n 1:让客户使用微信扫下面的二维码注册。\n2:使用客户的手机号码,获取千鸟互联的验证码进行注册。</text> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="cu-list menu no-card sm-border margin-top"> |
|
|
|
|
|
<view class="cu-item"> |
|
|
|
|
|
<view class="flex content cu-item" style="font-size:28rpx"> |
|
|
|
|
|
<view style="min-width:170rpx">手机号:</view> |
|
|
|
|
|
<input id="mobile" maxlength="11" disabled="true" type="number" value="{{form.mobile}}" placeholder="请输入客户手机号码" bindinput="bindForm"></input> |
|
|
|
|
|
|
|
|
<!-- <van-cell> |
|
|
|
|
|
<view slot="title" class="flex flex-justify" data-id="{{item.id}}" bindtap="customerInfo"> |
|
|
|
|
|
<van-image round width="80rpx" height="80rpx" src="{{ '/assets/image/ygImg.png' }}" /> |
|
|
|
|
|
<view style="margin-left:18rpx;width:100%;flex:1"> |
|
|
|
|
|
<view class="text-sg text-bold">{{customerInfo.name || ''}}</view> |
|
|
|
|
|
<view class="text-sm text-gray" style="line-height:32rpx">{{customerInfo.mobile}}</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="cu-item"> |
|
|
|
|
|
<view class="flex content cu-item" style="font-size:28rpx"> |
|
|
|
|
|
<view style="min-width:170rpx">验证码:</view> |
|
|
|
|
|
<input id="captcha" maxlength="6" type="number" placeholder="请输入验证码" bindinput="bindForm"></input> |
|
|
|
|
|
</view> |
|
|
|
|
|
<van-button size="small" plain type="info" custom-style="width:220rpx" disabled="{{codeEnable}}" bind:click="fetchCode"> |
|
|
|
|
|
<van-count-down id="count-down" time="{{ 60000 }}" use-slot auto-start="{{false}}" bind:change="onChange" bind:finish="onFinished"> |
|
|
|
|
|
<text class="text-sm">{{second}}</text> |
|
|
|
|
|
</van-count-down> |
|
|
|
|
|
</van-button> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
</van-cell> --> |
|
|
|
|
|
|
|
|
<view class="flex flex-direction" style="padding:80rpx 32rpx"> |
|
|
|
|
|
<van-button block type="info" loading="{{loging}}" loading-text="提交..." bind:click="submitForm">提交</van-button> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
<!-- <view class="flex flex-center flex-column" style="width:100%;height:240rpx;margin-top:32rpx"> |
|
|
|
|
|
<image style="width:128rpx;height:128rpx" src="/assets/image/ygImg.png"></image> |
|
|
|
|
|
<view class="text-xl" wx:if="{{customerInfo}}" style="margin-top:24rpx">{{customerInfo.name}}</view> |
|
|
|
|
|
</view> --> |
|
|
|
|
|
|
|
|
|
|
|
<van-tabs active="{{ 0 }}" color="#008AFF" line-height="2rpx"> |
|
|
|
|
|
<van-tab title="手机验证码"> |
|
|
|
|
|
<view class="cu-list menu no-card" style="margin-top:32rpx;padding: 0rpx 48rpx"> |
|
|
|
|
|
<view class="cu-item" style="padding: 16rpx 24rpx;"> |
|
|
|
|
|
<view class="flex content cu-item" style="font-size:28rpx"> |
|
|
|
|
|
<view style="min-width:120rpx">手机号:</view> |
|
|
|
|
|
<input id="mobile" maxlength="11" type="number" value="{{form.mobile}}" placeholder="请输入客户手机号码" bindinput="bindForm"></input> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="cu-item" style="padding: 16rpx 24rpx;border-bottom:2rpx solid #f3f3f3"> |
|
|
|
|
|
<view class="flex content cu-item" style="font-size:28rpx"> |
|
|
|
|
|
<view style="min-width:120rpx">验证码:</view> |
|
|
|
|
|
<input id="captcha" maxlength="6" type="number" placeholder="请输入验证码" bindinput="bindForm"></input> |
|
|
|
|
|
</view> |
|
|
|
|
|
<van-button size="small" plain type="info" custom-style="width:220rpx" disabled="{{codeEnable}}" |
|
|
|
|
|
bind:click="fetchCode"> |
|
|
|
|
|
<van-count-down id="count-down" time="{{ 60000 }}" use-slot auto-start="{{false}}" bind:change="onChange" |
|
|
|
|
|
bind:finish="onFinished"> |
|
|
|
|
|
<text class="text-sm">{{second}}</text> |
|
|
|
|
|
</van-count-down> |
|
|
|
|
|
</van-button> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="flex flex-direction" style="padding:80rpx 96rpx;margin-top:48rpx"> |
|
|
|
|
|
<van-button block type="info" loading="{{loging}}" loading-text="提交..." bind:click="submitForm">提交</van-button> |
|
|
|
|
|
</view> |
|
|
|
|
|
</van-tab> |
|
|
|
|
|
<van-tab title="二维码"> |
|
|
|
|
|
<view class="flex flex-center" style="padding-top:48rpx"> |
|
|
|
|
|
<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> |
|
|
|
|
|
</van-tab> |
|
|
|
|
|
</van-tabs> |