Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
dataease
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
zhu
dataease
Commits
58620d20
提交
58620d20
authored
5月 18, 2021
作者:
junjie
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat(frontend):登陆页调整
上级
f988c74b
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
21 行增加
和
15 行删除
+21
-15
DataEase-color.png
frontend/src/assets/DataEase-color.png
+0
-0
en.js
frontend/src/lang/en.js
+3
-1
tw.js
frontend/src/lang/tw.js
+3
-1
zh.js
frontend/src/lang/zh.js
+3
-1
index.vue
frontend/src/views/login/index.vue
+12
-12
没有找到文件。
frontend/src/assets/DataEase-color.png
0 → 100644
浏览文件 @
58620d20
12.7 KB
frontend/src/lang/en.js
浏览文件 @
58620d20
...
...
@@ -82,7 +82,9 @@ export default {
thirdparty
:
'Or connect with'
,
thirdpartyTips
:
'Can not be simulated on local, so please combine you own business simulation! ! !'
,
expires
:
'Login token expired, please login again'
,
tokenError
:
'Token error, please login again'
tokenError
:
'Token error, please login again'
,
username_error
:
'Please enter the correct user name'
,
password_error
:
'The password can not be less than 6 digits'
},
commons
:
{
all
:
'All'
,
...
...
frontend/src/lang/tw.js
浏览文件 @
58620d20
...
...
@@ -82,7 +82,9 @@ export default {
thirdparty
:
'第三方登陸'
,
thirdpartyTips
:
'本地不能模拟,请结合自己业务进行模拟!!!'
,
expires
:
'登陸信息过期,请重新登陸'
,
tokenError
:
'信息错误,请重新登陸'
tokenError
:
'信息错误,请重新登陸'
,
username_error
:
'請輸入正確的用戶名'
,
password_error
:
'密碼不小於6位'
},
commons
:
{
all
:
'全部'
,
...
...
frontend/src/lang/zh.js
浏览文件 @
58620d20
...
...
@@ -82,7 +82,9 @@ export default {
thirdparty
:
'第三方登录'
,
thirdpartyTips
:
'本地不能模拟,请结合自己业务进行模拟!!!'
,
expires
:
'登录token过期,请重新登录'
,
tokenError
:
'token错误,请重新登录'
tokenError
:
'token错误,请重新登录'
,
username_error
:
'请输入正确的用户名'
,
password_error
:
'密码不小于6位'
},
commons
:
{
all
:
'全部'
,
...
...
frontend/src/views/login/index.vue
浏览文件 @
58620d20
...
...
@@ -5,12 +5,12 @@
<el-col
:span=
"12"
>
<el-form
ref=
"loginForm"
:model=
"loginForm"
:rules=
"loginRules"
size=
"default"
>
<div
class=
"login-logo"
>
<img
v-if=
"!loginLogoUrl"
src=
"@/assets/DataEase-
black
.png"
alt=
""
>
<img
v-if=
"!loginLogoUrl"
src=
"@/assets/DataEase-
color
.png"
alt=
""
>
<img
v-else
:src=
"loginLogoUrl"
alt=
""
>
</div>
<
div
class=
"login-title"
>
{{
uiInfo
&&
uiInfo
[
'ui.loginTitle'
]
&&
uiInfo
[
'ui.loginTitle'
].
paramValue
||
$t
(
'login.title'
)
}}
<
/div
>
<
!--
<div
class=
"login-title"
>
--
>
<!-- <!–
{{
uiInfo
&&
uiInfo
[
'ui.loginTitle'
]
&&
uiInfo
[
'ui.loginTitle'
].
paramValue
||
$t
(
'login.title'
)
}}
–>
-->
<
!--
</div>
--
>
<div
class=
"login-border"
/>
<div
class=
"login-welcome"
>
{{
$t
(
'login.welcome'
)
+
(
uiInfo
&&
uiInfo
[
'ui.title'
]
&&
uiInfo
[
'ui.title'
].
paramValue
||
'DATAEASE'
)
}}
...
...
@@ -64,10 +64,10 @@ export default {
if
(
res
.
data
)
{
callback
()
}
else
{
callback
(
new
Error
(
'Please enter the correct user name
'
))
callback
(
this
.
$t
(
'login.username_error
'
))
}
}).
catch
(()
=>
{
callback
(
new
Error
(
'Please enter the correct user name
'
))
callback
(
this
.
$t
(
'login.username_error
'
))
})
// if (!validUsername(value)) {
// callback(new Error('Please enter the correct user name'))
...
...
@@ -77,7 +77,7 @@ export default {
}
const
validatePassword
=
(
rule
,
value
,
callback
)
=>
{
if
(
value
.
length
<
6
)
{
callback
(
new
Error
(
'The password can not be less than 6 digits
'
))
callback
(
this
.
$t
(
'login.password_error
'
))
}
else
{
callback
()
}
...
...
@@ -178,8 +178,8 @@ export default {
}
.login-logo
{
margin-top
:
3
0px
;
margin-left
:
30px
;
margin-top
:
5
0px
;
text-align
:
center
;
@media
only
screen
and
(
max-width
:
1280px
)
{
margin-top
:
20px
;
}
...
...
@@ -208,7 +208,7 @@ export default {
width
:
80px
;
background
:
$--color-primary
;
@media
only
screen
and
(
max-width
:
1280px
)
{
margin
:
10px
auto
1
0px
;
margin
:
20px
auto
2
0px
;
}
}
...
...
@@ -225,11 +225,11 @@ export default {
}
.login-form
{
margin-top
:
3
0px
;
margin-top
:
4
0px
;
padding
:
0
40px
;
@media
only
screen
and
(
max-width
:
1280px
)
{
margin-top
:
1
0px
;
margin-top
:
2
0px
;
}
&
:
:
v-deep
.
el-input__inner
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论