index.wxml 3.9 KB

1
  1. <view class="login-wrapper" style="{{(colorStyle)}}"><view class="login-top"></view><view class="shading"><block wx:if="{{logoUrl}}"><image src="{{logoUrl}}"></image></block><block wx:else><image src="../static/logo2.png"></image></block></view><block wx:if="{{formItem===1}}"><view class="whiteBg"><view class="tips"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="{{['tips-btn',current==1?'on':'']}}" bindtap="__e"><view>快速登录</view><view class="{{[current==1?'line':'none']}}"></view></view><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="{{['tips-btn',current==0?'on':'']}}" bindtap="__e"><view>账号登录</view><view class="{{[current==0?'line':'none']}}"></view></view></view><block wx:if="{{current!==1}}"><view class="list"><form data-event-opts="{{[['submit',[['submit',['$event']]]]]}}" bindsubmit="__e"><view class="item"><view class="acea-row row-middle"><image class="itemImg-add" src="../static/phone_1.png"></image><input type="text" placeholder="输入手机号码" maxlength="11" required="{{true}}" data-event-opts="{{[['input',[['__set_model',['','account','$event',[]]]]]]}}" value="{{account}}" bindinput="__e"/></view></view><view class="item"><view class="acea-row row-middle"><image class="item-img" src="../static/code_1.png"></image><input type="password" placeholder="填写登录密码" required="{{true}}" data-event-opts="{{[['input',[['__set_model',['','password','$event',[]]]]]]}}" value="{{password}}" bindinput="__e"/></view></view></form><navigator class="forgetPwd" hover-class="none" url="/pages/users/retrievePassword/index">忘记密码?</navigator></view></block><block wx:if="{{current!==0}}"><view class="list"><view class="item"><view class="acea-row row-middle"><image class="itemImg-add" src="../static/phone_1.png"></image><input type="text" placeholder="输入手机号码" maxlength="11" data-event-opts="{{[['input',[['__set_model',['','account','$event',[]]]]]]}}" value="{{account}}" bindinput="__e"/></view></view><view class="item"><view class="acea-row row-middle"><image class="item-img" src="../static/code_2.png"></image><input class="codeIput" type="text" placeholder="填写验证码" maxlength="6" data-event-opts="{{[['input',[['__set_model',['','captcha','$event',[]]]]]]}}" value="{{captcha}}" bindinput="__e"/><button class="{{['code',disabled===true?'on':'']}}" disabled="{{disabled}}" data-event-opts="{{[['tap',[['code',['$event']]]]]}}" bindtap="__e">{{''+text+''}}</button></view></view></view></block><block wx:if="{{current!==0}}"><view data-event-opts="{{[['tap',[['loginMobile',['$event']]]]]}}" class="logon" bindtap="__e">登录</view></block><block wx:if="{{current===0}}"><view data-event-opts="{{[['tap',[['submit',['$event']]]]]}}" class="logon" bindtap="__e">登录</view></block><view class="protocol"><checkbox-group data-event-opts="{{[['change',[['ChangeIsDefault',['$event']]]]]}}" bindchange="__e"><checkbox class="{{[inAnimation?'trembling':'']}}" checked="{{protocol?true:false}}" data-event-opts="{{[['animationend',[['e2',['$event']]]]]}}" bindanimationend="__e"></checkbox>已阅读并同意<text data-event-opts="{{[['tap',[['privacy',['user']]]]]}}" class="main-color" bindtap="__e">《用户协议》</text>与<text data-event-opts="{{[['tap',[['privacy',['privacy']]]]]}}" class="main-color" bindtap="__e">《隐私协议》</text></checkbox-group></view></view></block><view class="bottom"></view><verify class="vue-ref" vue-id="220b5d0a-1" captchaType="blockPuzzle" imgSize="{{({width:'330px',height:'155px'})}}" data-ref="verify" data-event-opts="{{[['^success',[['success']]]]}}" bind:success="__e" bind:__l="__l"></verify><block wx:if="{{copyrightContext}}"><view class="copyright">{{copyrightContext}}</view></block><block wx:else><view class="copyright">Copyright ©2014-2023<text data-event-opts="{{[['tap',[['domainTap',['https://www.crmeb.com']]]]]}}" class="domain" bindtap="__e">www.crmeb.com</text></view></block></view>