Showing
4 changed files
with
52 additions
and
1 deletions
@@ -608,6 +608,27 @@ | @@ -608,6 +608,27 @@ | ||
608 | //注册页 | 608 | //注册页 |
609 | { | 609 | { |
610 | countrys: [...], //区域列表 | 610 | countrys: [...], //区域列表 |
611 | + countryCode: '' //默认区号 | ||
612 | + platform: 'qq' //用户在登录页选择的第三方登录平台 | ||
613 | + openId: '' //第三方登录平台id,用于绑定手机号 | ||
614 | + } | ||
615 | + | ||
616 | + //验证码 | ||
617 | + { | ||
618 | + areaCode: '', | ||
619 | + phoneNum: '' | ||
620 | + } | ||
621 | + | ||
622 | + //密码页 | ||
623 | + { | ||
624 | + ... //仅头部 | ||
625 | + } | ||
626 | + | ||
627 | +### 绑定手机号 | ||
628 | + | ||
629 | + //绑定页 | ||
630 | + { | ||
631 | + countrys: [...], //区域列表 | ||
611 | countryCode: '' //默认区号 | 632 | countryCode: '' //默认区号 |
612 | } | 633 | } |
613 | 634 |
@@ -3,3 +3,15 @@ | @@ -3,3 +3,15 @@ | ||
3 | color: #fff; | 3 | color: #fff; |
4 | font-size: 15px; | 4 | font-size: 15px; |
5 | } | 5 | } |
6 | + | ||
7 | + #yohood { | ||
8 | + background-image: image-url('yohood.png'); | ||
9 | + background-size: 40%; | ||
10 | + background-repeat: no-repeat; | ||
11 | + background-color: transparent; | ||
12 | + background-position-x: 10%; | ||
13 | + background-position-y: 40%; | ||
14 | + border: none; | ||
15 | + border-bottom: 4px solid #fff; | ||
16 | + | ||
17 | + } |
1 | {{> layout/header}} | 1 | {{> layout/header}} |
2 | <div class="bind-page passport-page yoho-page"> | 2 | <div class="bind-page passport-page yoho-page"> |
3 | + <input type="hidden" id="openId" value="{{openId}}"> | ||
4 | + <input type="hidden" id="sourceType" value="{{sourceType}}"> | ||
3 | {{> passport/header}} | 5 | {{> passport/header}} |
4 | <div class="content"> | 6 | <div class="content"> |
5 | {{> passport/country_list}} | 7 | {{> passport/country_list}} |
@@ -8,7 +10,7 @@ | @@ -8,7 +10,7 @@ | ||
8 | <input id="phone-num" class="input phone-num" type="text" placeholder="手机号"> | 10 | <input id="phone-num" class="input phone-num" type="text" placeholder="手机号"> |
9 | </div> | 11 | </div> |
10 | <span id="btn-next" class="btn btn-next disable row">下一步</span> | 12 | <span id="btn-next" class="btn btn-next disable row">下一步</span> |
11 | - <p class="bind-tip">YOHO!Family账号可登录Yoho!Buy有货、YOHO!Boys、YOHO!Girls及SHOW</p> | 13 | + <p class="bind-tip">绑定手机号码后,可选择{{platform}}和手机号登录此帐号</p> |
12 | </div> | 14 | </div> |
13 | </div> | 15 | </div> |
14 | {{> layout/footer}} | 16 | {{> layout/footer}} |
@@ -52,6 +52,22 @@ | @@ -52,6 +52,22 @@ | ||
52 | seajs.use('js/passport/register/password'); | 52 | seajs.use('js/passport/register/password'); |
53 | </script> | 53 | </script> |
54 | {{/if}} | 54 | {{/if}} |
55 | +{{!-- 绑定手机号 --}} | ||
56 | +{{#if bindIndex}} | ||
57 | +<script> | ||
58 | + seajs.use('js/passport/bind/bind'); | ||
59 | +</script> | ||
60 | +{{/if}} | ||
61 | +{{#if bindCode}} | ||
62 | +<script> | ||
63 | + seajs.use('js/passport/bind/code'); | ||
64 | +</script> | ||
65 | +{{/if}} | ||
66 | +{{#if bindPwd}} | ||
67 | +<script> | ||
68 | + seajs.use('js/passport/bind/password'); | ||
69 | +</script> | ||
70 | +{{/if}} | ||
55 | {{!-- 登陆 --}} | 71 | {{!-- 登陆 --}} |
56 | {{#if loginIndex}} | 72 | {{#if loginIndex}} |
57 | <script> | 73 | <script> |
-
Please register or login to post a comment