Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
8c57f795
Commit
8c57f795
authored
Feb 08, 2025
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登录优化
parent
7e66e689
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
2 deletions
+18
-2
src/pages/login/index.vue
+18
-2
No files found.
src/pages/login/index.vue
View file @
8c57f795
...
...
@@ -638,7 +638,15 @@ export default {
}
}
else
{
//不是会员需要绑定手机号
this
.
isShowPhone
=
true
;
wx
.
showModal
({
title
:
'绑定提示'
,
content
:
'为保障账户安全,请绑定手机号'
,
confirmText
:
'去绑定'
,
cancelText
:
'稍后再说'
,
success
:
(
res
)
=>
{
if
(
res
.
confirm
)
this
.
isShowPhone
=
true
;
// 用户主动选择
}
});
wx
.
hideLoading
()
}
}
...
...
@@ -650,7 +658,15 @@ export default {
}
else
{
wx
.
hideLoading
();
//不是会员需要绑定手机号
this
.
isShowPhone
=
true
;
wx
.
showModal
({
title
:
'绑定提示'
,
content
:
'为保障账户安全,请绑定手机号'
,
confirmText
:
'去绑定'
,
cancelText
:
'稍后再说'
,
success
:
(
res
)
=>
{
if
(
res
.
confirm
)
this
.
isShowPhone
=
true
;
// 用户主动选择
}
});
wx
.
hideLoading
()
}
...
...
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