fix: captcha input left, image right same row
This commit is contained in:
@@ -25,9 +25,9 @@ const RegisterPage = {
|
|||||||
|
|
||||||
${this.captcha ? `
|
${this.captcha ? `
|
||||||
<div class="form-group"><label>人机验证</label>
|
<div class="form-group"><label>人机验证</label>
|
||||||
<div id="captcha-img" style="display:block;border:1px solid var(--g200);border-radius:var(--r);margin-bottom:8px;cursor:pointer;text-align:center" onclick="RegisterPage.refreshCaptcha()" title="点击刷新">${this.captcha.svg}</div>
|
<div style="display:flex;align-items:center;gap:10px">
|
||||||
<div style="display:flex;gap:8px">
|
|
||||||
<input type="text" id="captcha-a" placeholder="输入图片字符" required style="flex:1">
|
<input type="text" id="captcha-a" placeholder="输入图片字符" required style="flex:1">
|
||||||
|
<div id="captcha-img" style="flex-shrink:0;border:1px solid var(--g200);border-radius:var(--r);overflow:hidden;cursor:pointer" onclick="RegisterPage.refreshCaptcha()" title="点击刷新">${this.captcha.svg}</div>
|
||||||
<input type="hidden" id="captcha-id" value="${this.captcha.id}">
|
<input type="hidden" id="captcha-id" value="${this.captcha.id}">
|
||||||
</div>
|
</div>
|
||||||
</div>` : ''}
|
</div>` : ''}
|
||||||
|
|||||||
Reference in New Issue
Block a user