mobileLogin.wxml 5.1 KB
<view class="login data-v-26ccca09"><view class="box data-v-26ccca09"><block wx:if="{{changeLogin=='账号密码登录'}}"><view class="form data-v-26ccca09"><u-form vue-id="9a660fc6-1" model="{{form}}" data-ref="uForm" class="data-v-26ccca09 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><u-form-item vue-id="{{('9a660fc6-2')+','+('9a660fc6-1')}}" prop="mobile" leftIconStyle="{{({width:'40rpx',height:'40rpx',position:'relative',right:'8rpx'})}}" left-icon="/static/img/my/login_mobile.png" borderBottom="{{true}}" class="data-v-26ccca09" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('9a660fc6-3')+','+('9a660fc6-2')}}" border="none" maxlength="11" placeholder="请输入手机号" customStyle="{{({fontSize:'17px'})}}" value="{{form.mobile}}" data-event-opts="{{[['^input',[['__set_model',['$0','mobile','$event',[]],['form']]]]]}}" class="data-v-26ccca09" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('9a660fc6-4')+','+('9a660fc6-1')}}" prop="verifyCode" leftIconStyle="{{({width:'40rpx',height:'40rpx',position:'relative',right:'8rpx'})}}" left-icon="/static/img/my/login_code1.png" borderBottom="{{true}}" class="data-v-26ccca09" bind:__l="__l" vue-slots="{{['default','right']}}"><u-input bind:input="__e" vue-id="{{('9a660fc6-5')+','+('9a660fc6-4')}}" border="none" placeholder="请输入验证码" customStyle="{{({fontSize:'17px'})}}" value="{{form.password}}" data-event-opts="{{[['^input',[['__set_model',['$0','password','$event',[]],['form']]]]]}}" class="data-v-26ccca09" bind:__l="__l"></u-input><u-button vue-id="{{('9a660fc6-6')+','+('9a660fc6-4')}}" slot="right" type="default" size="mini" hair-line="{{false}}" custom-style="{{({color:'#0CB17A',border:'none',fontSize:'30rpx'})}}" data-event-opts="{{[['^click',[['getCode']]]]}}" bind:click="__e" class="data-v-26ccca09" bind:__l="__l" vue-slots="{{['default']}}">{{''+codeText+''}}</u-button><u-code bind:change="__e" vue-id="{{('9a660fc6-7')+','+('9a660fc6-4')}}" data-ref="uCode" data-event-opts="{{[['^change',[['codeChange']]]]}}" class="data-v-26ccca09 vue-ref" bind:__l="__l"></u-code></u-form-item></u-form></view></block><block wx:else><view class="form data-v-26ccca09"><u-form vue-id="9a660fc6-8" model="{{form}}" data-ref="uForm" class="data-v-26ccca09 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><u-form-item vue-id="{{('9a660fc6-9')+','+('9a660fc6-8')}}" prop="mobile" left-icon-style="{{({width:'40rpx',height:'40rpx',position:'relative',right:'8rpx'})}}" left-icon="/static/img/my/login_mobile.png" borderBottom="{{true}}" class="data-v-26ccca09" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('9a660fc6-10')+','+('9a660fc6-9')}}" border="none" placeholder="请输入账号" customStyle="{{({fontSize:'17px'})}}" value="{{form.mobile}}" data-event-opts="{{[['^input',[['__set_model',['$0','mobile','$event',[]],['form']]]]]}}" class="data-v-26ccca09" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('9a660fc6-11')+','+('9a660fc6-8')}}" prop="verifyCode" left-icon-style="{{({width:'40rpx',height:'40rpx',position:'relative',right:'8rpx'})}}" left-icon="/static/img/my/login_code2.png" borderBottom="{{true}}" class="data-v-26ccca09" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('9a660fc6-12')+','+('9a660fc6-11')}}" border="none" type="password" placeholder="请输入密码" customStyle="{{({fontSize:'17px'})}}" value="{{form.password}}" data-event-opts="{{[['^input',[['__set_model',['$0','password','$event',[]],['form']]]]]}}" class="data-v-26ccca09" bind:__l="__l"></u-input></u-form-item></u-form></view></block><view class="btn button_warp data-v-26ccca09"><c-button vue-id="9a660fc6-13" type="confirm" shape="circle" customStyle="{{({borderRadius:'48rpx',fontSize:'34rpx',color:'#fff',fontWeight:'400'})}}" text="登录" disabled="{{isDisable}}" data-event-opts="{{[['^click',[['phoneLogin']]]]}}" bind:click="__e" class="data-v-26ccca09" bind:__l="__l"></c-button></view><view data-event-opts="{{[['tap',[['onchangeLogin',['$event']]]]]}}" class="changeLogin data-v-26ccca09" bindtap="__e">{{''+changeLogin+''}}</view><view class="agreement data-v-26ccca09"><view class="check data-v-26ccca09"><u-checkbox-group bind:change="__e" bind:input="__e" vue-id="9a660fc6-14" value="{{checked}}" data-event-opts="{{[['^change',[['checkboxChange']]],['^input',[['__set_model',['','checked','$event',[]]]]]]}}" class="data-v-26ccca09" bind:__l="__l" vue-slots="{{['default']}}"><u-checkbox vue-id="{{('9a660fc6-15')+','+('9a660fc6-14')}}" size="28" activeColor="#0CB17A" shape="circle" class="data-v-26ccca09" bind:__l="__l"></u-checkbox></u-checkbox-group></view><view class="text data-v-26ccca09"><text class="data-v-26ccca09">您已阅读理解并同意</text><text data-event-opts="{{[['tap',[['linkService',['$event']]]]]}}" class="span data-v-26ccca09" bindtap="__e">《优学乐业服务协议》、</text><text data-event-opts="{{[['tap',[['linkPolicy',['$event']]]]]}}" class="span data-v-26ccca09" bindtap="__e">《优学乐业隐私政策》</text></view></view></view><view class="data-v-26ccca09"><u-toast vue-id="9a660fc6-16" data-ref="uToast" class="data-v-26ccca09 vue-ref" bind:__l="__l"></u-toast></view></view>