|
@@ -4,28 +4,28 @@ |
|
@@ -4,28 +4,28 @@ |
4
|
{{> passport/cover}}
|
4
|
{{> passport/cover}}
|
5
|
<div class="content">
|
5
|
<div class="content">
|
6
|
<div class="register-page">
|
6
|
<div class="register-page">
|
7
|
- <form id="register-form" class="register-form" method="POST" action="/passport/register/mobileregister" autocomplete="off">
|
7
|
+ <form id="register-form" class="register-form" method="POST" action="{{actionUrl}}" autocomplete="off">
|
8
|
<ul>
|
8
|
<ul>
|
9
|
<li class="clearfix">
|
9
|
<li class="clearfix">
|
10
|
<select id="region" class="region" name="region">
|
10
|
<select id="region" class="region" name="region">
|
11
|
- <option value="61">澳大利亚</option><option value="82">韩国</option><option value="1">加拿大</option><option value="60">马来西亚</option><option value="1">美国</option><option value="81">日本</option><option value="65">新加坡</option><option value="44">英国</option><option selected="selected" value="86">中国</option><option value="853">中国澳门</option><option value="886">中国台湾</option><option value="852">中国香港</option> </select>
|
11
|
+ {{#each region}}
|
|
|
12
|
+ <option {{#if selected}}selected="selected"{{/if}} value="{{id}}">{{name}}</option>
|
|
|
13
|
+ {{/each}}
|
|
|
14
|
+ </select>
|
12
|
</li>
|
15
|
</li>
|
13
|
<li class="clearfix">
|
16
|
<li class="clearfix">
|
14
|
- <span id="country-code" class="country-code">+86</span>
|
17
|
+ <span id="country-code" class="country-code">{{location}}</span>
|
15
|
<input value="" id="phone-num" class="input va phone-num" type="text" name="phoneNum" placeholder="请输入手机号码" autocomplete="off">
|
18
|
<input value="" id="phone-num" class="input va phone-num" type="text" name="phoneNum" placeholder="请输入手机号码" autocomplete="off">
|
16
|
</li>
|
19
|
</li>
|
17
|
<li class="w330 clearfix">
|
20
|
<li class="w330 clearfix">
|
18
|
<input id="captcha" class="input va captcha" type="text" name="captcha" placeholder="图形验证码" autocomplete="off" maxlength="4">
|
21
|
<input id="captcha" class="input va captcha" type="text" name="captcha" placeholder="图形验证码" autocomplete="off" maxlength="4">
|
19
|
- <img id="captcha-img" class="captcha-img" src="http://www.yohobuy.com/passport/images?t=1449799445" alt="" onclick="imgcode()">
|
|
|
20
|
- <a class="link change-captcha" onclick="imgcode()">换一张</a>
|
22
|
+ <img id="captcha-img" class="captcha-img" src="{{captchaUrl}}" alt="">
|
|
|
23
|
+ <a class="link change-captcha">换一张</a>
|
21
|
</li>
|
24
|
</li>
|
22
|
<li class="clearfix">
|
25
|
<li class="clearfix">
|
23
|
<input id="msg-captcha" class="input va msg-captcha" type="text" name="msgCaptcha" placeholder="短信验证码" autocomplete="off" maxlength="4">
|
26
|
<input id="msg-captcha" class="input va msg-captcha" type="text" name="msgCaptcha" placeholder="短信验证码" autocomplete="off" maxlength="4">
|
24
|
<input id="send-captcha" class="btn send-captcha disable" type="button" value="获取短信验证码" disabled="">
|
27
|
<input id="send-captcha" class="btn send-captcha disable" type="button" value="获取短信验证码" disabled="">
|
25
|
- <span id="msg-tip" class="hide msg-tip">
|
|
|
26
|
- <img src="http://static.yohobuy.com/images/yohofamily/succ-info.png">
|
|
|
27
|
- 短信验证码已发送至您的手机,请查收
|
|
|
28
|
- </span>
|
28
|
+ <span id="msg-tip" class="hide msg-tip">短信验证码已发送至您的手机,请查收</span>
|
29
|
</li>
|
29
|
</li>
|
30
|
<li class="clearfix">
|
30
|
<li class="clearfix">
|
31
|
<input id="pwd" class="input va pwd" name="pwd" placeholder="设置密码" autocomplete="off" maxlength="20" type="password">
|
31
|
<input id="pwd" class="input va pwd" name="pwd" placeholder="设置密码" autocomplete="off" maxlength="20" type="password">
|
|
@@ -40,21 +40,20 @@ |
|
@@ -40,21 +40,20 @@ |
40
|
</div>
|
40
|
</div>
|
41
|
</li>
|
41
|
</li>
|
42
|
|
42
|
|
43
|
-
|
|
|
44
|
<li class="items-container clearfix">
|
43
|
<li class="items-container clearfix">
|
45
|
<input id="agree-terms" class="agree-terms" type="checkbox" checked="">
|
44
|
<input id="agree-terms" class="agree-terms" type="checkbox" checked="">
|
46
|
- <span>
|
|
|
47
|
- 我已阅读并同意遵守
|
|
|
48
|
- <a class="link go-yoho-items" href="http://www.yohobuy.com/help/?category_id=9" onclick="getSource('yoho_family_web','有货服务条款','homepage_man');">YOHO!有货服务条款</a>
|
|
|
49
|
- </span>
|
45
|
+ <span>
|
|
|
46
|
+ 我已阅读并同意遵守
|
|
|
47
|
+ <a class="link go-yoho-items" href="{{itemUrl}}">YOHO!有货服务条款</a>
|
|
|
48
|
+ </span>
|
50
|
</li>
|
49
|
</li>
|
51
|
<li class="clearfix">
|
50
|
<li class="clearfix">
|
52
|
- <input name="refer" id="refer" type="hidden" value="http://www.yohobuy.com/">
|
51
|
+ <input name="refer" id="refer" type="hidden" value="{{referUrl}}">
|
53
|
<input id="register-btn" class="btn register-btn disable" type="submit" value="立即注册" disabled="">
|
52
|
<input id="register-btn" class="btn register-btn disable" type="submit" value="立即注册" disabled="">
|
54
|
</li>
|
53
|
</li>
|
55
|
<li class="quick-login-container">
|
54
|
<li class="quick-login-container">
|
56
|
我已注册YOHO!有货账号
|
55
|
我已注册YOHO!有货账号
|
57
|
- <a class="link go-login" onclick="getSource('yoho_family_web','快速登录','homepage_man');" href="/signin.html?refer=http://www.yohobuy.com/">快速登录</a>
|
56
|
+ <a class="link go-login" href="{{loginUrl}}">快速登录</a>
|
58
|
</li>
|
57
|
</li>
|
59
|
</ul>
|
58
|
</ul>
|
60
|
<div id="err-tip" class="err-tip hide">
|
59
|
<div id="err-tip" class="err-tip hide">
|