mirror of
https://github.com/kuaifan/dootask.git
synced 2026-09-11 14:38:41 +00:00
fix: 优化注册提示和登录切换动画
This commit is contained in:
parent
cb60728711
commit
7af3c5a032
@ -69,6 +69,7 @@
|
||||
你确定要删除任务吗?
|
||||
你确定要还原归档吗?
|
||||
允许:开放注册功能。
|
||||
禁止:关闭注册功能。
|
||||
对话不存在或已被删除
|
||||
已清楚风险,确定注销
|
||||
当前环境禁止修改密码
|
||||
|
||||
@ -15,6 +15,7 @@
|
||||
<Radio label="close">{{$L('禁止')}}</Radio>
|
||||
</RadioGroup>
|
||||
<div v-if="formDatum.reg == 'open'" class="form-tip">{{$L('允许:开放注册功能。')}}</div>
|
||||
<div v-else-if="formDatum.reg == 'close'" class="form-tip">{{$L('禁止:关闭注册功能。')}}</div>
|
||||
<template v-else-if="formDatum.reg == 'invite'">
|
||||
<div class="form-tip">{{$L('邀请码:注册时需填写下方邀请码。')}}</div>
|
||||
<Input v-model="formDatum.reg_invite" style="width:220px;margin-top:6px">
|
||||
|
||||
5
resources/assets/sass/pages/common.scss
vendored
5
resources/assets/sass/pages/common.scss
vendored
@ -825,7 +825,8 @@ body {
|
||||
|
||||
/*登录右侧滑入*/
|
||||
.login-mode-enter-active {
|
||||
transition: all 0.3s ease;
|
||||
transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), opacity 140ms ease-out;
|
||||
will-change: transform, opacity;
|
||||
}
|
||||
|
||||
.login-mode-leave-active {
|
||||
@ -836,7 +837,7 @@ body {
|
||||
|
||||
.login-mode-enter,
|
||||
.login-mode-leave-to {
|
||||
transform: translate(100%, 0);
|
||||
transform: translate3d(48px, 0, 0);
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user