huangsijun
2025-09-22 a78c011de350b188afb03beb2f26a73f35f71986
1
<view class="{{['login-container','data-v-0bcfc898',$root.m0]}}" style="{{('height: '+phoneHeight+'px;')}}" data-theme="{{$root.m1}}"><view data-event-opts="{{[['tap',[['gotoPage',['/pages/index/index']]]]]}}" class="skip data-v-0bcfc898" bindtap="__e">跳过→</view><block wx:if="{{is_login==2}}"><view class="p-30-75 data-v-0bcfc898"><view class="login_topbpx data-v-0bcfc898"><view class="login_tit data-v-0bcfc898">注册</view><view class="login_top data-v-0bcfc898">已有账户,<text data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="dominant data-v-0bcfc898" bindtap="__e">立即登录</text></view></view><view class="group-bd data-v-0bcfc898"><view class="form-level d-s-c data-v-0bcfc898"><view class="val flex-1 input_botom data-v-0bcfc898"><input type="text" placeholder="请填写手机号" disabled="{{is_send}}" data-event-opts="{{[['input',[['__set_model',['$0','mobile','$event',[]],['register']]]]]}}" value="{{register.mobile}}" bindinput="__e" class="data-v-0bcfc898"/></view></view><view class="form-level d-s-c data-v-0bcfc898"><view class="val flex-1 input_botom data-v-0bcfc898"><input type="text" password="true" placeholder="请输入密码" data-event-opts="{{[['input',[['__set_model',['$0','password','$event',[]],['register']]]]]}}" value="{{register.password}}" bindinput="__e" class="data-v-0bcfc898"/></view></view><view class="form-level d-s-c data-v-0bcfc898"><view class="val flex-1 input_botom data-v-0bcfc898"><input type="text" password="true" placeholder="请确认密码" data-event-opts="{{[['input',[['__set_model',['$0','repassword','$event',[]],['register']]]]]}}" value="{{register.repassword}}" bindinput="__e" class="data-v-0bcfc898"/></view></view><view class="form-level d-s-c data-v-0bcfc898"><view class="val flex-1 d-b-c input_botom data-v-0bcfc898"><input class="flex-1 data-v-0bcfc898" type="number" placeholder="请填写验证码" data-event-opts="{{[['input',[['__set_model',['$0','code','$event',[]],['register']]]]]}}" value="{{register.code}}" bindinput="__e"/><button class="get-code-btn data-v-0bcfc898" type="default" disabled="{{is_send}}" data-event-opts="{{[['tap',[['sendCode',['$event']]]]]}}" bindtap="__e">{{send_btn_txt}}</button></view></view></view></view></block><block wx:if="{{is_login==1}}"><view class="p-30-75 data-v-0bcfc898"><view class="login_topbpx data-v-0bcfc898"><view class="login_tit data-v-0bcfc898">登录</view><view class="login_top data-v-0bcfc898">还没有账号,<text data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="dominant data-v-0bcfc898" bindtap="__e">立即注册</text></view></view><view class="group-bd data-v-0bcfc898"><view class="form-level d-s-c data-v-0bcfc898"><view class="val flex-1 input_botom data-v-0bcfc898"><input type="text" placeholder="请填写手机号" data-event-opts="{{[['input',[['__set_model',['$0','mobile','$event',[]],['formData']]]]]}}" value="{{formData.mobile}}" bindinput="__e" class="data-v-0bcfc898"/></view></view><block wx:if="{{!is_code}}"><view class="form-level d-s-c data-v-0bcfc898"><view class="val flex-1 input_botom data-v-0bcfc898"><input type="text" password="true" placeholder="请输入密码" data-event-opts="{{[['input',[['__set_model',['','loging_password','$event',[]]]]]]}}" value="{{loging_password}}" bindinput="__e" class="data-v-0bcfc898"/></view></view></block><block wx:if="{{is_code}}"><view class="form-level d-s-c data-v-0bcfc898"><view class="val flex-1 d-b-c input_botom data-v-0bcfc898"><input class="flex-1 data-v-0bcfc898" type="number" placeholder="请填写验证码" data-event-opts="{{[['input',[['__set_model',['$0','code','$event',[]],['formData']]]]]}}" value="{{formData.code}}" bindinput="__e"/><button class="get-code-btn data-v-0bcfc898" type="default" disabled="{{is_send}}" data-event-opts="{{[['tap',[['sendCode',['$event']]]]]}}" bindtap="__e">{{send_btn_txt}}</button></view></view></block></view></view></block><block wx:if="{{is_login==0}}"><view class="p-30-75 data-v-0bcfc898"><view class="login_topbpx data-v-0bcfc898"><view class="login_tit data-v-0bcfc898">重置密码</view><view class="login_top data-v-0bcfc898"><text data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" class="dominant data-v-0bcfc898" bindtap="__e">立即登录</text></view></view><view class="group-bd data-v-0bcfc898"><view class="form-level d-s-c data-v-0bcfc898"><view class="val flex-1 input_botom data-v-0bcfc898"><input type="text" placeholder="请填写手机号" disabled="{{is_send}}" data-event-opts="{{[['input',[['__set_model',['$0','mobile','$event',[]],['resetpassword']]]]]}}" value="{{resetpassword.mobile}}" bindinput="__e" class="data-v-0bcfc898"/></view></view><view class="form-level d-s-c data-v-0bcfc898"><view class="val flex-1 input_botom data-v-0bcfc898"><input type="text" password="true" placeholder="请输入密码" data-event-opts="{{[['input',[['__set_model',['$0','password','$event',[]],['resetpassword']]]]]}}" value="{{resetpassword.password}}" bindinput="__e" class="data-v-0bcfc898"/></view></view><view class="form-level d-s-c data-v-0bcfc898"><view class="val flex-1 input_botom data-v-0bcfc898"><input type="text" password="true" placeholder="请确认密码" data-event-opts="{{[['input',[['__set_model',['$0','repassword','$event',[]],['resetpassword']]]]]}}" value="{{resetpassword.repassword}}" bindinput="__e" class="data-v-0bcfc898"/></view></view><view class="form-level d-s-c data-v-0bcfc898"><view class="val flex-1 d-b-c input_botom data-v-0bcfc898"><input class="flex-1 data-v-0bcfc898" type="number" placeholder="请填写验证码" data-event-opts="{{[['input',[['__set_model',['$0','code','$event',[]],['resetpassword']]]]]}}" value="{{resetpassword.code}}" bindinput="__e"/><button class="get-code-btn data-v-0bcfc898" type="default" disabled="{{is_send}}" data-event-opts="{{[['tap',[['sendCode',['$event']]]]]}}" bindtap="__e">{{send_btn_txt}}</button></view></view></view></view></block><block wx:if="{{is_login==1}}"><view class="{{['','gray6','p-0-75','data-v-0bcfc898',is_code?'d-e-c':'d-b-c']}}"><block wx:if="{{!is_code}}"><view data-event-opts="{{[['tap',[['e3',['$event']]]]]}}" bindtap="__e" class="data-v-0bcfc898">忘记密码?</view></block><view data-event-opts="{{[['tap',[['isCode']]]]}}" bindtap="__e" class="data-v-0bcfc898">{{is_code?'使用密码登录':'使用验证码登录'}}</view></view></block><view data-event-opts="{{[['tap',[['e4',['$event']]]]]}}" class="d-s-c gray6 p-0-75 mt20 data-v-0bcfc898" bindtap="__e"><view class="{{['data-v-0bcfc898',isRead?'active agreement':'agreement']}}"></view>我已阅读并接受<text data-event-opts="{{[['tap',[['xieyi',['service']]]]]}}" class="dominant data-v-0bcfc898" bindtap="__e">《用户协议》</text>和<text data-event-opts="{{[['tap',[['xieyi',['privacy']]]]]}}" class="dominant data-v-0bcfc898" bindtap="__e">《隐私政策》</text></view><block wx:if="{{is_login==2}}"><view class="btns p-30-75 data-v-0bcfc898" style="padding-top:80rpx;"><button data-event-opts="{{[['tap',[['registerSub',['$event']]]]]}}" bindtap="__e" class="data-v-0bcfc898">注册</button></view></block><block wx:if="{{is_login==1}}"><view class="btns p-30-75 data-v-0bcfc898" style="padding-top:80rpx;"><button data-event-opts="{{[['tap',[['formSubmit',['$event']]]]]}}" bindtap="__e" class="data-v-0bcfc898">登录</button></view></block><block wx:if="{{is_login==0}}"><view class="btns p-30-75 data-v-0bcfc898" style="padding-top:80rpx;"><button data-event-opts="{{[['tap',[['resetpasswordSub',['$event']]]]]}}" bindtap="__e" class="data-v-0bcfc898">重置密码</button></view></block></view>