Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-customer-new-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-customer-new-master
Commits
ec7fbb88
Commit
ec7fbb88
authored
Dec 23, 2024
by
honghy
Committed by
wux
Dec 27, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
APP多语言-登录/注册/忘记密码,样式调整
parent
a737b90f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
9 deletions
+15
-9
forget.vue
src/pages/forget/forget.vue
+4
-1
login.vue
src/pages/login/login.vue
+3
-3
register.vue
src/pages/register/register.vue
+8
-5
No files found.
src/pages/forget/forget.vue
View file @
ec7fbb88
...
...
@@ -127,7 +127,7 @@
if
(
this
.
FormData
.
mobile
==
''
){
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
phone
,
icon
:
'
error
'
,
icon
:
'
none
'
,
})
}
if
(
this
.
leftTime
<
60
)
{
...
...
@@ -167,4 +167,7 @@
<
style
>
@import
url("../../static/css/forget.css")
;
.area
picker
{
width
:
80
upx
;
}
</
style
>
src/pages/login/login.vue
View file @
ec7fbb88
...
...
@@ -257,14 +257,14 @@ export default {
if
(
this
.
mobile
==
''
)
{
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
phone
,
icon
:
'
error
'
icon
:
'
none
'
})
}
if
(
this
.
password
==
''
&&
this
.
loginType
==
1
)
{
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
password
,
icon
:
'
error
'
icon
:
'
none
'
})
}
...
...
@@ -305,7 +305,7 @@ export default {
if
(
this
.
mobile
==
''
)
{
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
phone
,
icon
:
'
error
'
icon
:
'
none
'
})
}
if
(
this
.
leftTime
<
60
)
{
...
...
src/pages/register/register.vue
View file @
ec7fbb88
...
...
@@ -256,32 +256,32 @@ export default {
if
(
this
.
mobile
==
""
)
{
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
phone
,
icon
:
"
error
"
,
icon
:
"
none
"
,
});
}
if
(
this
.
code
==
""
)
{
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
code
,
icon
:
"
error
"
,
icon
:
"
none
"
,
});
}
if
(
this
.
password
==
""
)
{
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
password
,
icon
:
"
error
"
,
icon
:
"
none
"
,
});
}
if
(
this
.
passworded
==
""
)
{
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
nextPsd
,
icon
:
"
error
"
,
icon
:
"
none
"
,
});
}
else
{
var
reg1
=
new
RegExp
(
"
^(?=.*[0-9])(?=.*[a-zA-Z])(.{6,32})$
"
);
if
(
!
reg1
.
test
(
this
.
passworded
))
{
return
uni
.
showToast
({
title
:
this
.
$lang
.
lang
.
notices
.
numPsd
,
icon
:
"
error
"
,
icon
:
"
none
"
,
});
}
}
...
...
@@ -352,4 +352,7 @@ export default {
position
:
absolute
;
right
:
70px
;
}
.login-area
picker
{
width
:
60
upx
;
}
</
style
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment