后台-登录-取消验证码
(cherry picked from commit ad73c6c3de1a3e6309c757f0511ce58414f01824)
This commit is contained in:
@@ -1,38 +1,61 @@
|
||||
<template>
|
||||
<div class="page-container">
|
||||
<div class="main_box" :style="[smsSwitch ? 'height: 350px' : '']">
|
||||
<div class="main_box"
|
||||
:style="[smsSwitch ? 'height: 350px' : '']">
|
||||
<div class="login_box">
|
||||
<div class="login_logo">
|
||||
<span
|
||||
style="font-size:24px;color:#222;font-weight:bold;"> MOLISTAR 管 理 系 统</span>
|
||||
<span style="font-size:24px;color:#222;font-weight:bold;"> MOLISTAR 管 理 系 统</span>
|
||||
</div>
|
||||
<div class="login_form">
|
||||
<form id="loginForm" method="post">
|
||||
<input type="hidden" id="smsSwitch" :value="smsSwitch" />
|
||||
<form id="loginForm"
|
||||
method="post">
|
||||
<input type="hidden"
|
||||
id="smsSwitch"
|
||||
:value="smsSwitch" />
|
||||
<div class="form-group">
|
||||
<label for="account" class="t">账 号:</label>
|
||||
<input id="account" name="account" type="text" class="form-control x319 in" autocomplete="off">
|
||||
<label for="account"
|
||||
class="t">账 号:</label>
|
||||
<input id="account"
|
||||
name="account"
|
||||
type="text"
|
||||
class="form-control x319 in"
|
||||
autocomplete="off">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password" class="t">密 码:</label>
|
||||
<input id="password" name="password" type="password" class="password form-control x319 in">
|
||||
<label for="password"
|
||||
class="t">密 码:</label>
|
||||
<input id="password"
|
||||
name="password"
|
||||
type="password"
|
||||
class="password form-control x319 in">
|
||||
</div>
|
||||
<div v-if="smsSwitch">
|
||||
<div class="form-group">
|
||||
<label for="validateCode" class="t">验证码:</label>
|
||||
<input id="validateCode" name="authCode" type="text" class="form-control x319 in"
|
||||
<label for="validateCode"
|
||||
class="t">验证码:</label>
|
||||
<input id="validateCode"
|
||||
name="authCode"
|
||||
type="text"
|
||||
class="form-control x319 in"
|
||||
style="width: 210px;">
|
||||
<button type="button" id="validateSend" class="btn btn-primary btn-lg">发送验证码</button>
|
||||
<button type="button"
|
||||
id="validateSend"
|
||||
class="btn btn-primary btn-lg">发送验证码</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group" style="margin-bottom: 0px;">
|
||||
<div class="form-group"
|
||||
style="margin-bottom: 0px;">
|
||||
<label class="t"></label>
|
||||
<span class="loginTips"></span>
|
||||
</div>
|
||||
<div class="form-group space">
|
||||
<button type="button" id="loginBtn" class="btn btn-primary btn-lg">登 录</button>
|
||||
<button type="button"
|
||||
id="loginBtn"
|
||||
class="btn btn-primary btn-lg">登 录</button>
|
||||
|
||||
<input type="reset" value="重 置" class="btn btn-default btn-lg">
|
||||
<input type="reset"
|
||||
value="重 置"
|
||||
class="btn btn-default btn-lg">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
@@ -49,7 +72,7 @@ export default {
|
||||
name: "LoginView",
|
||||
data () {
|
||||
return {
|
||||
smsSwitch: true,
|
||||
smsSwitch: false,
|
||||
};
|
||||
},
|
||||
setup () {
|
||||
@@ -58,7 +81,7 @@ export default {
|
||||
};
|
||||
},
|
||||
created () {
|
||||
this.smsSwitch = true;
|
||||
this.smsSwitch = false;
|
||||
this.$nextTick(function () {
|
||||
this.initData();
|
||||
});
|
||||
@@ -203,11 +226,12 @@ function getCookie(name) {
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
@import '../../css/supersized.css';
|
||||
@import '../../css/login.css';
|
||||
@import "../../css/supersized.css";
|
||||
@import "../../css/login.css";
|
||||
|
||||
* {
|
||||
font-family: "Helvetica Neue", Helvetica, STheiti, 微软雅黑, 宋体, Arial, Tahoma, sans-serif, serif;
|
||||
font-family: "Helvetica Neue", Helvetica, STheiti, 微软雅黑, 宋体, Arial,
|
||||
Tahoma, sans-serif, serif;
|
||||
}
|
||||
|
||||
.btn-lg {
|
||||
|
Reference in New Issue
Block a user