Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
kuaifan committed Dec 10, 2021
1 parent 915b6a9 commit 8987a2d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
7 changes: 7 additions & 0 deletions resources/assets/js/pages/login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
<div v-if="loginType=='reg'" class="login-subtitle">{{$L('输入您的信息以创建帐户。')}}</div>
<div v-else class="login-subtitle">{{$L('输入您的凭证以访问您的帐户。')}}</div>

<div class="login-testuser">
{{$L('演示账号')}}: <em>admin@dootask.com</em>&nbsp;&nbsp;
{{$L('密码')}}: <em>123456</em>
</div>

<div class="login-input">
<Input v-model="email" prefix="ios-mail-outline" :placeholder="$L('输入您的电子邮件')" size="large" @on-enter="onLogin" @on-blur="onBlur" />
<Input v-model="password" prefix="ios-lock-outline" :placeholder="$L('输入您的密码')" type="password" size="large" @on-enter="onLogin" />
Expand Down Expand Up @@ -78,6 +83,8 @@ export default {
url: 'system/get/appinfo',
}).then(({data}) => {
this.downList = data.list;
}).catch(() => {
this.downList = [];
});
},
Expand Down
14 changes: 14 additions & 0 deletions resources/assets/sass/pages/page-login.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,20 @@
padding: 0 12px;
color: #AAAAAA;
}
.login-testuser {
margin-top: 30px;
margin-bottom: -36px;
//display: flex;
display: none;
align-items: center;
justify-content: center;
color: #888888;
> em {
font-style: normal;
text-decoration: underline;
margin-left: 2px;
}
}
.login-input {
margin: 32px 40px;
> * {
Expand Down

0 comments on commit 8987a2d

Please sign in to comment.