Authored by biao

update for bind

... ... @@ -609,6 +609,27 @@
{
countrys: [...], //区域列表
countryCode: '' //默认区号
platform: 'qq' //用户在登录页选择的第三方登录平台
openId: '' //第三方登录平台id,用于绑定手机号
}
//验证码
{
areaCode: '',
phoneNum: ''
}
//密码页
{
... //仅头部
}
### 绑定手机号
//绑定页
{
countrys: [...], //区域列表
countryCode: '' //默认区号
}
//验证码
... ...
... ... @@ -3,3 +3,15 @@
color: #fff;
font-size: 15px;
}
#yohood {
background-image: image-url('yohood.png');
background-size: 40%;
background-repeat: no-repeat;
background-color: transparent;
background-position-x: 10%;
background-position-y: 40%;
border: none;
border-bottom: 4px solid #fff;
}
... ...
{{> layout/header}}
<div class="bind-page passport-page yoho-page">
<input type="hidden" id="openId" value="{{openId}}">
<input type="hidden" id="sourceType" value="{{sourceType}}">
{{> passport/header}}
<div class="content">
{{> passport/country_list}}
... ... @@ -8,7 +10,7 @@
<input id="phone-num" class="input phone-num" type="text" placeholder="手机号">
</div>
<span id="btn-next" class="btn btn-next disable row">下一步</span>
<p class="bind-tip">YOHO!Family账号可登录Yoho!Buy有货、YOHO!Boys、YOHO!Girls及SHOW</p>
<p class="bind-tip">绑定手机号码后,可选择{{platform}}和手机号登录此帐号</p>
</div>
</div>
{{> layout/footer}}
... ...
... ... @@ -52,6 +52,22 @@
seajs.use('js/passport/register/password');
</script>
{{/if}}
{{!-- 绑定手机号 --}}
{{#if bindIndex}}
<script>
seajs.use('js/passport/bind/bind');
</script>
{{/if}}
{{#if bindCode}}
<script>
seajs.use('js/passport/bind/code');
</script>
{{/if}}
{{#if bindPwd}}
<script>
seajs.use('js/passport/bind/password');
</script>
{{/if}}
{{!-- 登陆 --}}
{{#if loginIndex}}
<script>
... ...