<view class="login-bg"><view class="login-box"><view class="login-title">欢迎登录</view><view class="login-tabs"><view class="{{['tab', a]}}" bindtap="{{b}}">手机号登录</view><view class="{{['tab', c]}}" bindtap="{{d}}">账号密码登录</view></view><view wx:if="{{e}}" class="login-form"><input class="login-input" type="text" placeholder="请输入手机号" value="{{f}}" bindinput="{{g}}"/><view class="code-row"><input class="login-input code-input" type="text" placeholder="请输入验证码" value="{{h}}" bindinput="{{i}}"/><button class="code-btn" bindtap="{{k}}" disabled="{{l}}">{{j}}</button></view></view><view wx:else class="login-form"><input class="login-input" type="text" placeholder="请输入账号" value="{{m}}" bindinput="{{n}}"/><input class="login-input" type="password" password placeholder="请输入密码" value="{{o}}" bindinput="{{p}}"/><view class="form-actions"><text class="login-link" bindtap="{{q}}">去注册</text><text class="forgot-password-link" bindtap="{{r}}">忘记密码？</text></view></view><button class="login-btn" disabled="{{s}}" bindtap="{{t}}">登录</button><view class="login-agree"><checkbox checked="{{v}}" bindtap="{{w}}"/><text>我已阅读并同意</text><text class="link" bindtap="{{x}}">《服务协议》</text><text>和</text><text class="link" bindtap="{{y}}">《隐私政策》</text></view><view class="login-divider">第三方账号登录</view><button class="wechat-btn" bindtap="{{A}}"><image src="{{z}}" class="icon"/> 一键登录 </button></view></view><view wx:if="{{B}}" class="popup-overlay"><view class="register-popup-content"><view class="popup-title">注册账号</view><view class="register-form"><input class="login-input" type="text" placeholder="请输入手机号" value="{{C}}" bindinput="{{D}}"/><view class="code-row"><input class="login-input code-input" type="text" placeholder="请输入验证码" value="{{E}}" bindinput="{{F}}"/><button class="code-btn" bindtap="{{H}}" disabled="{{I}}">{{G}}</button></view><input class="login-input" type="text" placeholder="请输入账号" value="{{J}}" bindinput="{{K}}"/><input class="login-input" type="password" password placeholder="请输入密码" value="{{L}}" bindinput="{{M}}"/></view><button class="login-btn" bindtap="{{N}}">注册</button><view class="close-btn" bindtap="{{P}}"><image src="{{O}}" class="icon"></image></view></view></view>