Authored by 王水玲

Merge branch 'feature/passport' into feature/encryptionUid

... ... @@ -32,6 +32,7 @@ passport.use(new LocalStrategy({
passwordField: 'password',
passReqToCallback: true
}, (req, username, password, done) => {
let area = req.body.areaCode || '86';
if (isNaN(parseInt(area, 0)) || _.isEmpty(username) || _.isEmpty(password)) {
... ...
... ... @@ -77,20 +77,20 @@ a {
.yoho-tip {
position: fixed;
top: 50%;
left: 50%;
z-index: 4;
display: none;
padding: 68px 0;
max-width: 600px;
text-align: center;
width: 70%;
border: none;
border-radius: 20px;
padding: 34PX 0;
top: 50%;
left: 50%;
margin-left: -35%;
margin-top: -45PX;
background-color: rgba(0, 0, 0, 0.7);
color: #fff;
text-align: center;
font-size: 36px;
transform: translate(-50%, -50%);
font-size: 18PX;
border: none;
z-index: 4;
border-radius: 10PX;
}
.order-failure {
... ...
... ... @@ -4,6 +4,10 @@ body.passport-body {
* {
box-sizing: border-box;
}
.main-wrap {
position: relative;
}
}
.passport-page {
... ...