fix: 登录提示显隐不再顶开表单
This commit is contained in:
@@ -338,7 +338,7 @@ async function finishNqi() {
|
|||||||
</template>
|
</template>
|
||||||
<button class="lv-go" type="submit" :disabled="busy">{{ busy ? "登录中" : "登录" }}</button>
|
<button class="lv-go" type="submit" :disabled="busy">{{ busy ? "登录中" : "登录" }}</button>
|
||||||
</form>
|
</form>
|
||||||
<p v-if="noticeVisible" class="lv-notice">请使用大数据平台账号登录</p>
|
<p v-if="mode === 'nqi'" class="lv-notice" :class="{ on: noticeVisible }" :aria-hidden="!noticeVisible">请使用大数据平台账号登录</p>
|
||||||
</section>
|
</section>
|
||||||
<n-modal v-model:show="smsRequired" class="app-dialog" :mask-closable="false" preset="card" title="短信认证">
|
<n-modal v-model:show="smsRequired" class="app-dialog" :mask-closable="false" preset="card" title="短信认证">
|
||||||
<n-input v-model:value="smsCode" placeholder="请输入短信验证码" @keyup.enter="finishNqi" />
|
<n-input v-model:value="smsCode" placeholder="请输入短信验证码" @keyup.enter="finishNqi" />
|
||||||
|
|||||||
@@ -104,6 +104,14 @@ html[data-theme="dark"] .gate.lv-tower {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
line-height: 1.45;
|
line-height: 1.45;
|
||||||
|
min-height: 1.45em;
|
||||||
|
visibility: hidden;
|
||||||
|
opacity: 0;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
.gate.lv-tower .lv-notice.on {
|
||||||
|
visibility: visible;
|
||||||
|
opacity: 1;
|
||||||
}
|
}
|
||||||
.gate.lv-tower .lv-fields {
|
.gate.lv-tower .lv-fields {
|
||||||
display: grid;
|
display: grid;
|
||||||
|
|||||||
Reference in New Issue
Block a user