1 line
2.5 KiB
Plaintext
1 line
2.5 KiB
Plaintext
<view class="login"><view class="title">手机号登录</view><view><u-form class="vue-ref" vue-id="b4d28524-1" model="{{form}}" data-ref="form" bind:__l="__l" vue-slots="{{['default']}}"><u-form-item class="mobile" vue-id="{{('b4d28524-2')+','+('b4d28524-1')}}" label="+86" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('b4d28524-3')+','+('b4d28524-2')}}" placeholder="请输入电话" value="{{form.mobile}}" data-event-opts="{{[['^input',[['__set_model',['$0','mobile','$event',[]],['form']]]]]}}" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('b4d28524-4')+','+('b4d28524-1')}}" bind:__l="__l" vue-slots="{{['default','right']}}"><u-input bind:input="__e" vue-id="{{('b4d28524-5')+','+('b4d28524-4')}}" placeholder="请输入验证码" value="{{form.code}}" data-event-opts="{{[['^input',[['__set_model',['$0','code','$event',[]],['form']]]]]}}" bind:__l="__l"></u-input><view slot="right"><u-verification-code class="vue-ref" vue-id="{{('b4d28524-6')+','+('b4d28524-4')}}" seconds="{{seconds}}" data-ref="uCode" data-event-opts="{{[['^end',[['end']]],['^start',[['start']]],['^change',[['codeChange']]]]}}" bind:end="__e" bind:start="__e" bind:change="__e" bind:__l="__l"></u-verification-code><u-button vue-id="{{('b4d28524-7')+','+('b4d28524-4')}}" size="mini" shape="circle" hover-class="none" data-event-opts="{{[['^tap',[['getCode']]]]}}" bind:tap="__e" bind:__l="__l" vue-slots="{{['default']}}">{{tips}}</u-button></view></u-form-item></u-form></view><view class="u-m-t-32"><u-button vue-id="b4d28524-8" hover-class="none" customStyle="{{({backgroundColor:themeColor,color:'#fff',border:'none',padding:'16rpx 0'})}}" hair-line="{{false}}" shape="circle" data-event-opts="{{[['^click',[['handleLogin']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">登录/注册</u-button></view><view class="u-m-t-32 u-flex u-row-center"><u-checkbox vue-id="b4d28524-9" shape="circle" active-color="{{themeColor}}" value="{{form.checked}}" data-event-opts="{{[['^change',[['allowProtocol']]],['^input',[['__set_model',['$0','checked','$event',[]],['form']]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="sm row-start">已阅读并同意<navigator style="{{'color:'+(themeColor)+';'}}" hover-class="none" url="/pages/server_explan/server_explan?type=0">《服务协议》</navigator>和<navigator style="{{'color:'+(themeColor)+';'}}" hover-class="none" url="/pages/server_explan/server_explan?type=1">《隐私政策》</navigator></view></u-checkbox></view></view> |