login.wxml 5.93 KB
<view class="lp-page data-v-b237504c"><view class="lp-deco lp-deco--1 data-v-b237504c"></view><view class="lp-deco lp-deco--2 data-v-b237504c"></view><view class="lp-deco lp-deco--3 data-v-b237504c"></view><view class="lp-card data-v-b237504c"><view class="lp-brand data-v-b237504c"><view class="lp-logo-wrap data-v-b237504c"><image class="lp-logo data-v-b237504c" src="../../static/login/logo.jpg" mode="widthFix"></image></view><text class="lp-brand-name data-v-b237504c">绿纤协同平台</text><text class="lp-brand-sub data-v-b237504c">专业美业管理系统</text></view><view class="lp-form data-v-b237504c"><view class="{{['lp-field','data-v-b237504c',(focusUser)?'is-focus':'']}}"><view class="lp-field-icon data-v-b237504c"><svg vue-id="35a7246c-1" width="18" height="18" viewBox="0 0 24 24" fill="none" class="data-v-b237504c" bind:__l="__l" vue-slots="{{['default']}}"><path vue-id="{{('35a7246c-2')+','+('35a7246c-1')}}" d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="data-v-b237504c" bind:__l="__l"></path><circle vue-id="{{('35a7246c-3')+','+('35a7246c-1')}}" cx="12" cy="7" r="4" stroke="currentColor" stroke-width="2" class="data-v-b237504c" bind:__l="__l"></circle></svg></view><input class="lp-input data-v-b237504c" type="text" placeholder="请输入用户名" placeholder-class="lp-placeholder" data-event-opts="{{[['focus',[['e0',['$event']]]],['blur',[['e1',['$event']]]],['input',[['__set_model',['$0','username','$event',[]],['formData']]]]]}}" value="{{formData.username}}" bindfocus="__e" bindblur="__e" bindinput="__e"/></view><view class="{{['lp-field','data-v-b237504c',(focusPwd)?'is-focus':'']}}"><view class="lp-field-icon data-v-b237504c"><svg vue-id="35a7246c-4" width="18" height="18" viewBox="0 0 24 24" fill="none" class="data-v-b237504c" bind:__l="__l" vue-slots="{{['default']}}"><rect vue-id="{{('35a7246c-5')+','+('35a7246c-4')}}" x="3" y="11" width="18" height="11" rx="2" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="data-v-b237504c" bind:__l="__l"></rect><path vue-id="{{('35a7246c-6')+','+('35a7246c-4')}}" d="M7 11V7a5 5 0 0 1 10 0v4" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="data-v-b237504c" bind:__l="__l"></path></svg></view><input class="lp-input data-v-b237504c" type="{{showPassword?'text':'password'}}" placeholder="请输入密码" placeholder-class="lp-placeholder" data-event-opts="{{[['focus',[['e2',['$event']]]],['blur',[['e3',['$event']]]],['input',[['__set_model',['$0','password','$event',[]],['formData']]]]]}}" value="{{formData.password}}" bindfocus="__e" bindblur="__e" bindinput="__e"/><view data-event-opts="{{[['tap',[['togglePassword',['$event']]]]]}}" class="lp-field-suffix data-v-b237504c" bindtap="__e"><u-icon vue-id="35a7246c-7" name="{{showPassword?'eye-off':'eye'}}" size="19" color="#43a047" class="data-v-b237504c" bind:__l="__l"></u-icon></view></view></view><view data-event-opts="{{[['tap',[['handleLogin',['$event']]]]]}}" class="{{['lp-btn','lp-btn--primary','data-v-b237504c',(loading)?'is-loading':'']}}" bindtap="__e"><text class="data-v-b237504c">{{loading?'登录中...':'登 录'}}</text></view><view class="lp-divider data-v-b237504c"><view class="lp-divider-line data-v-b237504c"></view><text class="lp-divider-text data-v-b237504c">其他登录方式</text><view class="lp-divider-line data-v-b237504c"></view></view><view data-event-opts="{{[['tap',[['handleWechatLogin',['$event']]]]]}}" class="{{['lp-btn','lp-btn--wechat','data-v-b237504c',(wechatLoading)?'is-loading':'']}}" bindtap="__e"><view class="lp-wechat-ico data-v-b237504c"><svg vue-id="35a7246c-8" width="22" height="22" viewBox="0 0 24 24" fill="#ffffff" class="data-v-b237504c" bind:__l="__l" vue-slots="{{['default']}}"><path vue-id="{{('35a7246c-9')+','+('35a7246c-8')}}" d="M8.691 2.188C3.891 2.188 0 5.476 0 9.53c0 2.212 1.17 4.203 3.002 5.55a.59.59 0 0 1 .213.665l-.39 1.48c-.019.07-.048.141-.048.213 0 .163.13.295.29.295a.326.326 0 0 0 .167-.054l1.903-1.114a.864.864 0 0 1 .717-.098 10.16 10.16 0 0 0 2.837.403c.276 0 .543-.027.811-.05-.857-2.578.157-4.972 1.932-6.446 1.703-1.415 3.882-1.98 5.853-1.838-.576-3.583-3.898-6.348-7.596-6.348zM5.785 5.991c.642 0 1.162.529 1.162 1.18a1.17 1.17 0 0 1-1.162 1.178A1.17 1.17 0 0 1 4.623 7.17c0-.651.52-1.18 1.162-1.18zm5.813 0c.642 0 1.162.529 1.162 1.18a1.17 1.17 0 0 1-1.162 1.178 1.17 1.17 0 0 1-1.162-1.178c0-.651.52-1.18 1.162-1.18zm5.34 2.867c-1.797-.052-3.746.512-5.28 1.786-1.72 1.428-2.687 3.72-1.78 6.22.942 2.453 3.666 4.229 6.884 4.229.826 0 1.622-.12 2.361-.336a.722.722 0 0 1 .598.082l1.584.926a.272.272 0 0 0 .14.047c.134 0 .24-.111.24-.247 0-.06-.023-.12-.038-.177l-.327-1.233a.582.582 0 0 1-.023-.156.49.49 0 0 1 .201-.398C23.024 18.48 24 16.82 24 14.98c0-3.21-2.931-5.837-7.062-6.122zm-3.453 3.31c.535 0 .969.44.969.982a.976.976 0 0 1-.969.983.976.976 0 0 1-.969-.983c0-.542.434-.982.97-.982zm4.844 0c.535 0 .969.44.969.982a.976.976 0 0 1-.969.983.976.976 0 0 1-.969-.983c0-.542.434-.982.969-.982z" class="data-v-b237504c" bind:__l="__l"></path></svg></view><text class="data-v-b237504c">{{wechatLoading?'微信登录中...':'微信一键登录'}}</text></view></view><view class="lp-privacy data-v-b237504c"><u-checkbox-group vue-id="35a7246c-10" shape="circle" data-event-opts="{{[['^change',[['checkboxGroupChange']]]]}}" bind:change="__e" class="data-v-b237504c" bind:__l="__l" vue-slots="{{['default']}}"><u-checkbox bind:input="__e" vue-id="{{('35a7246c-11')+','+('35a7246c-10')}}" active-color="#43a047" name="tongyi" label-disabled="{{true}}" value="{{checked}}" data-event-opts="{{[['^input',[['__set_model',['','checked','$event',[]]]]]]}}" class="data-v-b237504c" bind:__l="__l"></u-checkbox></u-checkbox-group><text class="lp-privacy-txt data-v-b237504c">我已阅读并同意</text><text data-event-opts="{{[['tap',[['goyinsi',['$event']]]]]}}" class="lp-privacy-link data-v-b237504c" bindtap="__e">《隐私政策》</text></view></view>