login.wxml 3.8 KB

1
  1. <view class="app data-v-676a0c1e"><view class="header data-v-676a0c1e"><u-avatar vue-id="517f8be4-1" src="/static/logo.png" size="200" class="data-v-676a0c1e" bind:__l="__l"></u-avatar><view class="nickname data-v-676a0c1e">登录</view><view class="t2 data-v-676a0c1e">内部报备系统,需登录后才能使用</view></view><view class="body data-v-676a0c1e"><u-form style="width:100%;" vue-id="517f8be4-2" model="{{form1}}" data-ref="uForm" class="data-v-676a0c1e vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><u-form-item vue-id="{{('517f8be4-3')+','+('517f8be4-2')}}" label-width="0" prop="username" borderBottom="{{false}}" class="data-v-676a0c1e" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('517f8be4-4')+','+('517f8be4-3')}}" border="{{true}}" placeholder="请输入用户名" type="text" height="90" value="{{form1.username}}" data-event-opts="{{[['^input',[['__set_model',['$0','username','$event',[]],['form1']]]]]}}" class="data-v-676a0c1e" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('517f8be4-5')+','+('517f8be4-2')}}" label-width="0" prop="password" borderBottom="{{false}}" class="data-v-676a0c1e" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('517f8be4-6')+','+('517f8be4-5')}}" border="{{true}}" placeholder="请输入密码" type="password" height="90" value="{{form1.password}}" data-event-opts="{{[['^input',[['__set_model',['$0','password','$event',[]],['form1']]]]]}}" class="data-v-676a0c1e" bind:__l="__l"></u-input></u-form-item></u-form><u-gap vue-id="517f8be4-7" class="data-v-676a0c1e" bind:__l="__l"></u-gap><block wx:if="{{isSelect}}"><u-button class="bwin-btn-100 u-m-b-10 data-v-676a0c1e" vue-id="517f8be4-8" type="primary" data-event-opts="{{[['^click',[['loginHandle']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">登录</u-button></block><block wx:else><u-button class="bwin-btn-100 u-m-b-10 data-v-676a0c1e" vue-id="517f8be4-9" type="info" disabled="{{true}}" bind:__l="__l" vue-slots="{{['default']}}">请勾选同意协议内容</u-button></block></view><view class="function-row data-v-676a0c1e"><navigator url="/pages/user/login/register" class="data-v-676a0c1e">立即注册</navigator></view><u-line vue-id="517f8be4-10" margin="40rpx 0 0 0" class="data-v-676a0c1e" bind:__l="__l"></u-line><view class="third-login u-m-b-40 data-v-676a0c1e"><u-line vue-id="517f8be4-11" margin="0 0 10rpx 0" class="data-v-676a0c1e" bind:__l="__l"></u-line><button class="login-icon-item scoped-login-btn data-v-676a0c1e" open-type="getPhoneNumber" data-event-opts="{{[['getphonenumber',[['getPhoneNumber',['$event']]]]]}}" bindgetphonenumber="__e">手机号快捷登录</button></view><u-modal vue-id="517f8be4-12" title="提示" content="未注册用户请先完成注册并绑定微信后再使用微信登录~" showCancelButton="{{true}}" showConfirmButton="{{true}}" confirmText="继续微信登录" value="{{loginByWeixinModalShow}}" data-event-opts="{{[['^confirm',[['loginByWeixin']]],['^input',[['__set_model',['','loginByWeixinModalShow','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" class="data-v-676a0c1e" bind:__l="__l"></u-modal><view class="footer data-v-676a0c1e"><block wx:if="{{isSelect}}"><u-image class="img data-v-676a0c1e" vue-id="517f8be4-13" src="/static/icon_g_check01.png" mode="heightFix" height="30rpx" data-event-opts="{{[['^click',[['e0']]]]}}" bind:click="__e" bind:__l="__l"></u-image></block><block wx:else><u-image class="img data-v-676a0c1e" vue-id="517f8be4-14" src="/static/icon_g_check02.png" mode="heightFix" height="30rpx" data-event-opts="{{[['^click',[['e1']]]]}}" bind:click="__e" bind:__l="__l"></u-image></block>我已阅读并同意<text data-event-opts="{{[['tap',[['pageTo',['/pages/agreement/agreement?type=user_agreement']]]]]}}" class="agreement data-v-676a0c1e" bindtap="__e">《用户协议》</text></view></view>