Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
郝肖肖
7 years ago
Commit
ccaa911f29e4d0053eff93c098c7fd6043621e2f
1 parent
14f188b1
'第三方绑定手机号'
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
apps/passport/router.js
public/js/passport/bind/_third-bind-mobile.js
public/scss/passport/bind-mobile.page.css
apps/passport/router.js
View file @
ccaa911
...
...
@@ -62,7 +62,7 @@ router.get('/passport/login/alipay', login.common.beforeLogin, login.alipay.logi
router
.
get
(
'/passport/login/alipay/callback'
,
login
.
alipay
.
callback
);
// 登录绑定
router
.
get
(
'/passport/bind/index'
,
validateCode
.
load
,
bind
.
indexPage
);
//
router.get('/passport/bind/index', validateCode.load, bind.indexPage);
router
.
post
(
'/passport/bind/bindCheck'
,
bind
.
bindCheck
);
router
.
get
(
'/passport/bind/code'
,
validateCode
.
load
,
bind
.
codePage
);
router
.
post
(
'/passport/bind/sendBindMsg'
,
...
...
@@ -91,7 +91,7 @@ router.post('/passport/bind/forceMobileCheck',
router
.
post
(
'/passport/bind/continueMobile'
,
bind
.
forceBindMobileApi
);
// 第三方绑定手机号
router
.
get
(
'/passport/bind/
thirdBindMobile
'
,
validateCode
.
load
,
bind
.
thirdBindMobilePage
);
router
.
get
(
'/passport/bind/
index
'
,
validateCode
.
load
,
bind
.
thirdBindMobilePage
);
router
.
post
(
'/passport/bind/thirdSendMsg'
,
validateCode
.
check
,
bind
.
thirdSendMsgApi
,
bind
.
forceSendMsg
);
router
.
post
(
'/passport/bind/thirdMobileCheck'
,
bind
.
changeMobileCheckApi
,
...
...
public/js/passport/bind/_third-bind-mobile.js
View file @
ccaa911
...
...
@@ -21,6 +21,8 @@ class ThirdBindMobile extends Page {
this
.
selector
=
{
itime
:
0
,
openId
:
$
.
trim
(
$
.
queryString
().
openId
),
sourceType
:
$
.
trim
(
$
.
queryString
().
sourceType
),
countrySelect
:
$
(
'.mobile-form-login select.country-select'
),
mobileInput
:
$
(
'.mobile-form-login input.mobile-input'
),
clearMobile
:
$
(
'.mobile-form-login .clear'
),
...
...
@@ -199,6 +201,8 @@ class ThirdBindMobile extends Page {
area
:
area
.
replace
(
'+'
,
''
),
mobile
:
pn
,
code
:
verifyCode
,
open_id
:
this
.
selector
.
openId
,
source_type
:
this
.
selector
.
sourceType
,
};
this
.
ajax
({
...
...
public/scss/passport/bind-mobile.page.css
View file @
ccaa911
...
...
@@ -27,4 +27,8 @@
color
:
#b0b0b0
;
margin-top
:
25px
;
}
.dialog-box
{
background-color
:
#fff
;
}
}
...
...
Please
register
or
login
to post a comment