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
Plain Diff
Browse Files
Authored by
毕凯
2017-08-19 14:51:38 +0800
Commit
581a6b896dd1b3d613ef502031b63aa7133dfa26
2 parents
e4f8924a
ec1f67f6
Merge branch 'feature/loginview' into 'release/6.0.1'
signin See merge request
!823
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
5 deletions
doraemon/middleware/auth.js
public/js/passport/reset-success.page.js
public/js/passport/reset.page.js
public/scss/passport/international-new.page.css
doraemon/middleware/auth.js
View file @
581a6b8
...
...
@@ -13,7 +13,7 @@ module.exports = (req, res, next) => {
return
res
.
json
({
code
:
400
,
message
:
'抱歉,您暂未登录!'
,
redirect
:
'/
passport/login
'
redirect
:
'/
signin.html
'
});
}
else
if
(
req
.
yoho
.
isApp
)
{
return
next
({
...
...
public/js/passport/reset-success.page.js
View file @
581a6b8
...
...
@@ -3,11 +3,11 @@ const $ = require('yoho-jquery');
let
reLoginBtn
=
$
(
'#reLogin'
);
reLoginBtn
.
on
(
'click'
,
function
()
{
window
.
location
.
href
=
'/
passport/login
'
;
window
.
location
.
href
=
'/
signin.html
'
;
});
$
(
function
()
{
setTimeout
(
function
()
{
window
.
location
.
href
=
'/
passport/login
'
;
window
.
location
.
href
=
'/
signin.html
'
;
},
3000
);
});
...
...
public/js/passport/reset.page.js
View file @
581a6b8
...
...
@@ -2,7 +2,6 @@
* @Author: Targaryen
* @Date: 2017-04-13 14:43:19
* @Last Modified by: Targaryen
* @Last Modified time: 2017-04-19 14:51:03
*/
/* ***************
...
...
@@ -115,7 +114,7 @@ $sureResetBtn.on('click', function() {
}
if
(
result
.
code
===
402
)
{
window
.
location
.
href
=
'/
passport/login
'
;
window
.
location
.
href
=
'/
signin.html
'
;
}
},
error
:
function
()
{
...
...
public/scss/passport/international-new.page.css
View file @
581a6b8
...
...
@@ -146,4 +146,31 @@ $disable-gray: $b0b0b0;
color
:
#fff
;
}
}
.full-img-verify
{
margin-top
:
70px
;
.img-check
{
background-color
:
#fff
;
margin-top
:
0
;
margin-bottom
:
0
;
.img-check-header
>
span
{
color
:
#444
;
font-size
:
21.9px
;
line-height
:
1.5
;
}
.img-check-header
>
.img-check-refresh
{
color
:
#d0021b
;
}
.img-check-main
>
.img-check-pics
>
.img-check-pic
{
width
:
136.6px
;
height
:
136.8px
;
background-color
:
#fff
;
border
:
solid
1px
#e0e0e0
;
}
}
}
}
...
...
Please
register
or
login
to post a comment