mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-26 04:18:29 +00:00
no message
This commit is contained in:
parent
7a168977da
commit
4c2b88a13f
@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
<Input
|
<Input
|
||||||
v-model="email"
|
v-model="email"
|
||||||
|
ref="email"
|
||||||
prefix="ios-mail-outline"
|
prefix="ios-mail-outline"
|
||||||
:placeholder="$L('输入您的电子邮件')"
|
:placeholder="$L('输入您的电子邮件')"
|
||||||
type="email"
|
type="email"
|
||||||
@ -31,6 +32,7 @@
|
|||||||
|
|
||||||
<Input
|
<Input
|
||||||
v-model="password"
|
v-model="password"
|
||||||
|
ref="password"
|
||||||
prefix="ios-lock-outline"
|
prefix="ios-lock-outline"
|
||||||
:placeholder="$L('输入您的密码')"
|
:placeholder="$L('输入您的密码')"
|
||||||
type="password"
|
type="password"
|
||||||
@ -41,6 +43,7 @@
|
|||||||
<Input
|
<Input
|
||||||
v-if="loginType=='reg'"
|
v-if="loginType=='reg'"
|
||||||
v-model="password2"
|
v-model="password2"
|
||||||
|
ref="password2"
|
||||||
prefix="ios-lock-outline"
|
prefix="ios-lock-outline"
|
||||||
:placeholder="$L('输入确认密码')"
|
:placeholder="$L('输入确认密码')"
|
||||||
type="password"
|
type="password"
|
||||||
@ -50,6 +53,7 @@
|
|||||||
<Input
|
<Input
|
||||||
v-if="loginType=='reg' && needInvite"
|
v-if="loginType=='reg' && needInvite"
|
||||||
v-model="invite"
|
v-model="invite"
|
||||||
|
ref="invite"
|
||||||
class="login-code"
|
class="login-code"
|
||||||
:placeholder="$L('请输入注册邀请码')"
|
:placeholder="$L('请输入注册邀请码')"
|
||||||
type="text"
|
type="text"
|
||||||
@ -60,6 +64,7 @@
|
|||||||
<Input
|
<Input
|
||||||
v-if="loginType=='login' && codeNeed"
|
v-if="loginType=='login' && codeNeed"
|
||||||
v-model="code"
|
v-model="code"
|
||||||
|
ref="code"
|
||||||
class="login-code"
|
class="login-code"
|
||||||
:placeholder="$L('输入图形验证码')"
|
:placeholder="$L('输入图形验证码')"
|
||||||
type="text"
|
type="text"
|
||||||
@ -402,15 +407,18 @@ export default {
|
|||||||
//
|
//
|
||||||
if (!$A.isEmail(this.email)) {
|
if (!$A.isEmail(this.email)) {
|
||||||
$A.messageWarning("请输入正确的邮箱地址");
|
$A.messageWarning("请输入正确的邮箱地址");
|
||||||
|
this.$refs.email.focus();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!this.password) {
|
if (!this.password) {
|
||||||
$A.messageWarning("请输入密码");
|
$A.messageWarning("请输入密码");
|
||||||
|
this.$refs.password.focus();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (this.loginType == 'reg') {
|
if (this.loginType == 'reg') {
|
||||||
if (this.password != this.password2) {
|
if (this.password != this.password2) {
|
||||||
$A.messageWarning("确认密码输入不一致");
|
$A.messageWarning("确认密码输入不一致");
|
||||||
|
this.$refs.password2.focus();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -441,6 +449,7 @@ export default {
|
|||||||
if (data.code === 'need') {
|
if (data.code === 'need') {
|
||||||
this.reCode();
|
this.reCode();
|
||||||
this.codeNeed = true;
|
this.codeNeed = true;
|
||||||
|
this.$refs.code.focus();
|
||||||
}
|
}
|
||||||
}).finally(_ => {
|
}).finally(_ => {
|
||||||
this.loadIng--;
|
this.loadIng--;
|
||||||
|
|||||||
@ -53,9 +53,9 @@
|
|||||||
<EPopover
|
<EPopover
|
||||||
v-model="popperShow"
|
v-model="popperShow"
|
||||||
ref="percent"
|
ref="percent"
|
||||||
placement="left-end"
|
popper-class="dialog-wrapper-read-poptip"
|
||||||
:width="360">
|
placement="left-end">
|
||||||
<div class="dialog-wrapper-read-poptip-content">
|
<div class="read-poptip-content">
|
||||||
<ul class="read overlay-y">
|
<ul class="read overlay-y">
|
||||||
<li class="read-title"><em>{{ readList.length }}</em>{{ $L('已读') }}</li>
|
<li class="read-title"><em>{{ readList.length }}</em>{{ $L('已读') }}</li>
|
||||||
<li v-for="item in readList">
|
<li v-for="item in readList">
|
||||||
|
|||||||
4
resources/assets/sass/pages/common.scss
vendored
4
resources/assets/sass/pages/common.scss
vendored
@ -245,9 +245,9 @@ body {
|
|||||||
|
|
||||||
.ivu-modal-body {
|
.ivu-modal-body {
|
||||||
padding: 16px 32px 2px;
|
padding: 16px 32px 2px;
|
||||||
overscroll-behavior: none;
|
|
||||||
|
|
||||||
* {
|
.ivu-table-body,
|
||||||
|
.project-log {
|
||||||
overscroll-behavior: none;
|
overscroll-behavior: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -735,7 +735,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.dialog-wrapper-read-poptip-content {
|
.dialog-wrapper-read-poptip {
|
||||||
|
width: 360px;
|
||||||
|
max-width: 72%;
|
||||||
|
|
||||||
|
.read-poptip-content {
|
||||||
display: flex;
|
display: flex;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
@ -746,11 +750,15 @@
|
|||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|
||||||
> li {
|
> li {
|
||||||
|
min-height: 26px;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
|
|
||||||
.common-avatar {
|
.common-avatar {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
.avatar-name {
|
||||||
|
padding-right: 6px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:last-child {
|
&:last-child {
|
||||||
@ -758,6 +766,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.read-title {
|
&.read-title {
|
||||||
|
min-height: auto;
|
||||||
> em {
|
> em {
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
@ -784,6 +793,8 @@
|
|||||||
background-color: #F4F4F5;
|
background-color: #F4F4F5;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.dialog-wrapper-paste {
|
.dialog-wrapper-paste {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
38
resources/assets/sass/pages/page-manage.scss
vendored
38
resources/assets/sass/pages/page-manage.scss
vendored
@ -343,8 +343,46 @@
|
|||||||
|
|
||||||
.task-title {
|
.task-title {
|
||||||
max-width: 600px;
|
max-width: 600px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
> span {
|
||||||
|
flex-shrink: 0;
|
||||||
|
font-size: 12px;
|
||||||
|
height: 18px;
|
||||||
|
min-width: 20px;
|
||||||
|
line-height: 16px;
|
||||||
|
padding: 0 2px;
|
||||||
|
border-radius: 3px;
|
||||||
|
color: #8bcf70;
|
||||||
|
border: 1px solid #8bcf70;
|
||||||
|
margin-right: 6px;
|
||||||
|
&.start {
|
||||||
|
background-color: rgba($flow-status-start-color, 0.1);
|
||||||
|
border-color: rgba($flow-status-start-color, 0.1);
|
||||||
|
color: $flow-status-start-color;
|
||||||
|
}
|
||||||
|
&.progress {
|
||||||
|
background-color: rgba($flow-status-progress-color, 0.1);;
|
||||||
|
border-color: rgba($flow-status-progress-color, 0.1);;
|
||||||
|
color: $flow-status-progress-color;
|
||||||
|
}
|
||||||
|
&.test {
|
||||||
|
background-color: rgba($flow-status-test-color, 0.1);;
|
||||||
|
border-color: rgba($flow-status-test-color, 0.1);;
|
||||||
|
color: $flow-status-test-color;
|
||||||
|
}
|
||||||
|
&.end {
|
||||||
|
background-color: rgba($flow-status-end-color, 0.1);;
|
||||||
|
border-color: rgba($flow-status-end-color, 0.1);;
|
||||||
|
color: $flow-status-end-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.task-title-text {
|
||||||
|
flex: 1;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
18
resources/assets/sass/pages/page-project.scss
vendored
18
resources/assets/sass/pages/page-project.scss
vendored
@ -20,13 +20,6 @@
|
|||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
.page-project {
|
.page-project {
|
||||||
.project-panel {
|
|
||||||
height: auto;
|
|
||||||
min-height: 100%;
|
|
||||||
&.gantt {
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.project-dialog {
|
.project-dialog {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
@ -37,3 +30,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@media (max-height: 700px) {
|
||||||
|
.page-project {
|
||||||
|
.project-panel {
|
||||||
|
height: auto;
|
||||||
|
min-height: 100%;
|
||||||
|
&.gantt {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user