等待后端更新接口

This commit is contained in:
2026-08-03 16:49:26 +08:00
parent ac5823547a
commit 5b79893650
131 changed files with 5324 additions and 1392 deletions
+23 -38
View File
@@ -29,55 +29,39 @@
<form
id="login-password-form"
class="form-grid login-mode-panel"
novalidate
>
<input
class="input"
name="phone"
type="tel"
inputmode="numeric"
autocomplete="tel"
maxlength="11"
placeholder="手机号"
/>
<input
class="input"
name="password"
type="password"
autocomplete="current-password"
placeholder="密码"
/>
<label class="auth-field" for="login-password-phone">
<span>手机号 <b aria-hidden="true">*</b></span>
<input id="login-password-phone" class="input" name="phone" type="tel" inputmode="numeric" autocomplete="tel" maxlength="11" placeholder="请输入手机号" required />
</label>
<label class="auth-field" for="login-password-value">
<span>密码 <b aria-hidden="true">*</b></span>
<input id="login-password-value" class="input" name="password" type="password" autocomplete="current-password" placeholder="请输入密码" required />
</label>
<input type="hidden" name="validToken" />
<div id="login-password-status" class="auth-form-status" role="status" aria-live="polite" data-auth-form-status></div>
<button class="btn primary" type="submit">登录</button>
</form>
<form
id="login-sms-form"
class="form-grid login-mode-panel"
hidden
novalidate
>
<input
class="input"
name="phone"
type="tel"
inputmode="numeric"
autocomplete="tel"
maxlength="11"
placeholder="手机号"
/>
<div class="code-row">
<input
class="input"
name="smsCode"
autocomplete="one-time-code"
inputmode="numeric"
maxlength="4"
pattern="\d{4}"
placeholder="短信验证码"
/>
<button class="btn ghost" type="button" data-api-send-code>
获取验证码
</button>
<label class="auth-field" for="login-sms-phone">
<span>手机号 <b aria-hidden="true">*</b></span>
<input id="login-sms-phone" class="input" name="phone" type="tel" inputmode="numeric" autocomplete="tel" maxlength="11" placeholder="请输入手机号" required />
</label>
<div class="auth-field">
<label for="login-sms-code">短信验证码 <b aria-hidden="true">*</b></label>
<div class="code-row">
<input id="login-sms-code" class="input" name="smsCode" autocomplete="one-time-code" inputmode="numeric" maxlength="4" pattern="\d{4}" placeholder="请输入四位验证码" required />
<button class="btn ghost" type="button" data-api-send-code>获取验证码</button>
</div>
</div>
<input type="hidden" name="validToken" />
<div id="login-sms-status" class="auth-form-status" role="status" aria-live="polite" data-auth-form-status></div>
<button class="btn primary" type="submit">短信登录</button>
</form>
<div class="auth-links">
@@ -97,6 +81,7 @@
<script src="public/layui/layui.js"></script>
<script src="public/tac/js/tac.min.js"></script>
<script src="public/js/captcha-pages.js"></script>
<script src="public/js/profile-common.js"></script>
<script src="public/js/auth-pages.js"></script>
<script src="public/js/page-effects.js"></script>
</body>