Showing
4 changed files
with
15 additions
and
16 deletions
@@ -168,7 +168,7 @@ router.get('/passport/sms_login', | @@ -168,7 +168,7 @@ router.get('/passport/sms_login', | ||
168 | login.common.wechatQuickLoginCheck, | 168 | login.common.wechatQuickLoginCheck, |
169 | validateCode.load, | 169 | validateCode.load, |
170 | smsLogin.smsLoginPage); // 短信验证码登录 | 170 | smsLogin.smsLoginPage); // 短信验证码登录 |
171 | -router.post('/passport/sms_login/step1_check', validateCode.check, smsLogin.indexCheck); | 171 | +router.post('/passport/sms_login/step1_check', smsLogin.indexCheck); |
172 | router.get('/passport/sms_login/step1_check', (req, res, next) => { | 172 | router.get('/passport/sms_login/step1_check', (req, res, next) => { |
173 | if (!req.query.callback) { | 173 | if (!req.query.callback) { |
174 | return res.json({code: 400}); | 174 | return res.json({code: 400}); |
@@ -219,30 +219,31 @@ class SmsLoginNew extends Page { | @@ -219,30 +219,31 @@ class SmsLoginNew extends Page { | ||
219 | return; | 219 | return; |
220 | } | 220 | } |
221 | 221 | ||
222 | - validate.getResults().then(result => { | 222 | + // validate.getResults().then(result => { |
223 | let params = { | 223 | let params = { |
224 | area: areaCode.replace('+', ''), | 224 | area: areaCode.replace('+', ''), |
225 | mobile: phone | 225 | mobile: phone |
226 | }; | 226 | }; |
227 | 227 | ||
228 | - $.extend(params, result); | 228 | + // $.extend(params, result); |
229 | this.ajax({ | 229 | this.ajax({ |
230 | method: 'POST', | 230 | method: 'POST', |
231 | url: '/passport/sms_login/step1_check', | 231 | url: '/passport/sms_login/step1_check', |
232 | data: params | 232 | data: params |
233 | }).then(data => { | 233 | }).then(data => { |
234 | - validate.type === 2 && validate.refresh(); | 234 | + // validate.type === 2 && validate.refresh(); |
235 | if (data.code === 200) { | 235 | if (data.code === 200) { |
236 | checkPoint('YB_MOBILE_NEXT_C'); // 埋点 | 236 | checkPoint('YB_MOBILE_NEXT_C'); // 埋点 |
237 | this.countDown(); | 237 | this.countDown(); |
238 | } else { | 238 | } else { |
239 | - (data.changeCaptcha && validate.type !== 2) && validate.refresh(); | 239 | + // (data.changeCaptcha && validate.type !== 2) && validate.refresh(); |
240 | tip.show(data.message); | 240 | tip.show(data.message); |
241 | } | 241 | } |
242 | }).catch(() => { | 242 | }).catch(() => { |
243 | - validate.refresh(); | 243 | + // validate.refresh(); |
244 | }); | 244 | }); |
245 | - }); | 245 | + |
246 | + // }); | ||
246 | } | 247 | } |
247 | 248 | ||
248 | /** | 249 | /** |
@@ -35,15 +35,13 @@ body { | @@ -35,15 +35,13 @@ body { | ||
35 | } | 35 | } |
36 | 36 | ||
37 | .swiper-slide { | 37 | .swiper-slide { |
38 | - display: flex; | ||
39 | - // align-items: center; | ||
40 | - justify-content: center; | ||
41 | - position: relative; | ||
42 | - box-sizing: border-box; | ||
43 | - // padding-bottom: 134px; | 38 | + // display: flex; |
39 | + // // align-items: center; | ||
40 | + // justify-content: center; | ||
41 | + // position: relative; | ||
42 | + // box-sizing: border-box; | ||
43 | + // // padding-bottom: 134px; | ||
44 | overflow: hidden; | 44 | overflow: hidden; |
45 | - padding-bottom: constant(safe-area-inset-bottom); | ||
46 | - padding-bottom: env(safe-area-inset-bottom); | ||
47 | 45 | ||
48 | .filter-bg { | 46 | .filter-bg { |
49 | filter: blur(20px); | 47 | filter: blur(20px); |
-
Please register or login to post a comment