<scroll-view class="container" scroll-y="true" data-theme="{{themeStyle}}"><view class="header-wrap"><view class="title">登录</view><block wx:if="{{registerConfig.register!=''}}"><view class="regisiter-agreement"><text class="color-tip">还没有账号,</text><text data-event-opts="{{[['tap',[['toRegister',['$event']]]]]}}" class="color-base-text" bindtap="__e">立即注册</text></view></block></view><view class="body-wrap"><view class="form-wrap"><view hidden="{{!(loginMode=='mobile')}}" class="input-wrap"><view class="content"><view class="area-code">+86</view><input class="input" type="number" placeholder="仅限中国大陆手机号登录" placeholder-class="input-placeholder" maxlength="11" data-event-opts="{{[['input',[['__set_model',['$0','mobile','$event',[]],['formData']]]]]}}" value="{{formData.mobile}}" bindinput="__e"/></view></view><view hidden="{{!(loginMode=='account')}}" class="input-wrap"><view class="content"><input class="input" type="text" placeholder="请输入账号" placeholder-class="input-placeholder" data-event-opts="{{[['input',[['__set_model',['$0','account','$event',[]],['formData']]]]]}}" value="{{formData.account}}" bindinput="__e"/></view></view><view hidden="{{!(loginMode=='account')}}" class="input-wrap"><view class="content"><input class="input" type="password" placeholder="请输入密码" placeholder-class="input-placeholder" data-event-opts="{{[['input',[['__set_model',['$0','password','$event',[]],['formData']]]]]}}" value="{{formData.password}}" bindinput="__e"/><view hidden="{{!(loginMode=='account')}}" class="align-right"><text data-event-opts="{{[['tap',[['forgetPassword',['$event']]]]]}}" bindtap="__e">忘记密码?</text></view></view></view><block wx:if="{{captchaConfig==1}}"><view class="input-wrap"><view class="content"><input class="input" type="text" placeholder="请输入验证码" placeholder-class="input-placeholder" data-event-opts="{{[['input',[['__set_model',['$0','vercode','$event',[]],['formData']]]]]}}" value="{{formData.vercode}}" bindinput="__e"/><image class="captcha" src="{{captcha.img}}" data-event-opts="{{[['tap',[['getCaptcha',['$event']]]]]}}" bindtap="__e"></image></view></view></block><view hidden="{{!(loginMode=='mobile')}}" class="input-wrap"><view class="content"><input class="input" type="text" placeholder="请输入动态码" placeholder-class="input-placeholder" data-event-opts="{{[['input',[['__set_model',['$0','dynacode','$event',[]],['formData']]]]]}}" value="{{formData.dynacode}}" bindinput="__e"/><view data-event-opts="{{[['tap',[['sendMobileCode',['$event']]]]]}}" class="{{['dynacode',dynacodeData.seconds==120?'color-base-text':'color-tip']}}" bindtap="__e">{{dynacodeData.codeText}}</view></view></view></view><view class="login-mode-box"><text data-event-opts="{{[['tap',[['switchLoginMode',['$event']]]]]}}" hidden="{{!(loginMode=='mobile'&&$root.g0!=-1)}}" bindtap="__e">使用账号登录</text><text data-event-opts="{{[['tap',[['switchLoginMode',['$event']]]]]}}" hidden="{{!(loginMode=='account'&&$root.g1!=-1)}}" bindtap="__e">使用手机号登录</text></view><view class="btn_view"><button class="login-btn color-base-border color-base-bg" type="primary" data-event-opts="{{[['tap',[['login',['$event']]]]]}}" bindtap="__e">登录</button><block wx:if="{{isBind}}"><view data-event-opts="{{[['tap',[['authLogin',['$event']]]]]}}" class="auth-login color-base-border" bindtap="__e"><text class="color-base-text color-base-border">一键授权登录</text></view></block><block wx:if="{{!isBind}}"><button class="auth-login color-base-border" open-type="getPhoneNumber" data-event-opts="{{[['getphonenumber',[['mobileAuthLogin',['$event']]]]]}}" bindgetphonenumber="__e"><text class="color-base-text color-base-border">一键授权手机号快捷登录</text></button></block></view></view><loading-cover class="vue-ref" vue-id="5dad8992-1" data-ref="loadingCover" bind:__l="__l"></loading-cover></scroll-view>