index.wxml 2.6 KB

1
  1. <view class="container"><view class="login-wrap"><view class="login-form"><u--form class="vue-ref" vue-id="c905a4ce-1" labelPosition="left" model="{{userInfo}}" rules="{{rules}}" data-ref="form1" bind:__l="__l" vue-slots="{{['default']}}"><u-form-item vue-id="{{('c905a4ce-2')+','+('c905a4ce-1')}}" label="手机号" prop="phonenumber" labelWidth="auto" labelAlign="right" bind:__l="__l" vue-slots="{{['default']}}"><u--input bind:input="__e" vue-id="{{('c905a4ce-3')+','+('c905a4ce-2')}}" placeholder="请输入手机号" border="bottom" type="number" maxlength="11" value="{{userInfo.phonenumber}}" data-event-opts="{{[['^input',[['__set_model',['$0','phonenumber','$event',[]],['userInfo']]]]]}}" bind:__l="__l"></u--input></u-form-item><u-form-item vue-id="{{('c905a4ce-4')+','+('c905a4ce-1')}}" labelWidth="auto" labelAlign="right" label="验证码" prop="smsCode" width="120" bind:__l="__l" vue-slots="{{['default','right']}}"><view class="identifying-code" slot="right"><u-code class="vue-ref" vue-id="{{('c905a4ce-5')+','+('c905a4ce-4')}}" keep-running="{{true}}" start-text="获取验证码" data-ref="uCode2" data-event-opts="{{[['^change',[['codeChange2']]]]}}" bind:change="__e" bind:__l="__l"></u-code><text class="u-page__code-text" text="{{tips2}}" data-event-opts="{{[['tap',[['getCode2',['$event']]]]]}}" bindtap="__e">{{tips2}}</text></view><u--input bind:input="__e" vue-id="{{('c905a4ce-6')+','+('c905a4ce-4')}}" disabledColor="#ffffff" placeholder="请输入验证码" border="bottom" maxlength="6" value="{{userInfo.smsCode}}" data-event-opts="{{[['^input',[['__set_model',['$0','smsCode','$event',[]],['userInfo']]]]]}}" bind:__l="__l"></u--input></u-form-item></u--form></view></view><view data-event-opts="{{[['tap',[['gotoBindAccountPassword']]]]}}" class="op-btn-wrap" bindtap="__e"><view class="h-btn"><text>下一步</text></view></view><u-popup vue-id="c905a4ce-7" show="{{errShow}}" round="{{10}}" mode="center" bind:__l="__l" vue-slots="{{['default']}}"><view class="h-popo-content"><view class="h-img"><u-icon vue-id="{{('c905a4ce-8')+','+('c905a4ce-7')}}" name="/static/login/u01.png" color="red" size="50" bind:__l="__l"></u-icon></view><view class="h-text"><text>系统已检测到该手机号已绑定过账号</text></view><view class="h-text"><text>请选择</text></view><view class="h-btn-wrap"><view data-event-opts="{{[['tap',[['createNewAccount']]]]}}" class="h-left-btn" bindtap="__e"><text>创建新账号</text></view><view data-event-opts="{{[['tap',[['loginOldAccount']]]]}}" class="h-right-btn" bindtap="__e"><text>登录老账号</text></view></view></view></u-popup></view>