登录页面改造
This commit is contained in:
@@ -197,6 +197,16 @@ body.login-page > div {
|
||||
color: var(--primary-color);
|
||||
}
|
||||
|
||||
.remember-wrap {
|
||||
margin-top: -4px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.remember-wrap .ui.checkbox label {
|
||||
font-size: 13px;
|
||||
color: #6b7280;
|
||||
}
|
||||
|
||||
.submit-btn.ui.button.primary {
|
||||
width: 100%;
|
||||
margin-top: 10px;
|
||||
|
||||
@@ -65,6 +65,13 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="ui field remember-wrap" v-if="rememberLogin">
|
||||
<div class="ui checkbox">
|
||||
<input type="checkbox" name="remember" value="1" checked="checked"/>
|
||||
<label>在这台电脑上记住登录(14天)</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<button class="ui button primary fluid submit-btn" type="submit" v-if="!isSubmitting">登录</button>
|
||||
<button class="ui button primary fluid disabled submit-btn" type="submit" disabled="disabled" v-if="isSubmitting">登录中...</button>
|
||||
</form>
|
||||
|
||||
@@ -197,6 +197,16 @@ body.login-page > div {
|
||||
color: var(--primary-color);
|
||||
}
|
||||
|
||||
.remember-wrap {
|
||||
margin-top: -4px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.remember-wrap .ui.checkbox label {
|
||||
font-size: 13px;
|
||||
color: #6b7280;
|
||||
}
|
||||
|
||||
.submit-btn.ui.button.primary {
|
||||
width: 100%;
|
||||
margin-top: 10px;
|
||||
|
||||
Reference in New Issue
Block a user