Showing
3 changed files
with
11 additions
and
11 deletions
@@ -138,7 +138,7 @@ | @@ -138,7 +138,7 @@ | ||
138 | 138 | ||
139 | <div class="select-btn"> | 139 | <div class="select-btn"> |
140 | <span><i class="iconfont pitch select"></i>我已阅读并同意遵守YOHO!BUY有货app服务条款</span> | 140 | <span><i class="iconfont pitch select"></i>我已阅读并同意遵守YOHO!BUY有货app服务条款</span> |
141 | - <a class="submit-btn" href="">确 定</a> | 141 | + <div class="submit-btn" href="">确 定</div> |
142 | </div> | 142 | </div> |
143 | 143 | ||
144 | <input type="hidden" name="app_version" value="{{appVersion}}"> | 144 | <input type="hidden" name="app_version" value="{{appVersion}}"> |
@@ -17,15 +17,15 @@ module.exports = { | @@ -17,15 +17,15 @@ module.exports = { | ||
17 | siteUrl: '//m.yohobuy.com', | 17 | siteUrl: '//m.yohobuy.com', |
18 | assetUrl: '//localhost:5001', | 18 | assetUrl: '//localhost:5001', |
19 | domains: { | 19 | domains: { |
20 | - api: 'http://api.yoho.cn/', | ||
21 | - service: 'http://service.yoho.cn/', | ||
22 | - liveApi: 'http://api.live.yoho.cn/', | ||
23 | - singleApi: 'http://single.yoho.cn/' | 20 | + // api: 'http://api.yoho.cn/', |
21 | + // service: 'http://service.yoho.cn/', | ||
22 | + // liveApi: 'http://api.live.yoho.cn/', | ||
23 | + // singleApi: 'http://single.yoho.cn/' | ||
24 | 24 | ||
25 | - // api: 'http://api-test1.yohops.com:9999/', | ||
26 | - // service: 'http://service-test1.yohops.com:9999/', | ||
27 | - // liveApi: 'http://testapi.live.yohops.com:9999/', | ||
28 | - // singleApi: 'http://api-test1.yohops.com:9999/', | 25 | + api: 'http://api-test1.yohops.com:9999/', |
26 | + service: 'http://service-test1.yohops.com:9999/', | ||
27 | + liveApi: 'http://testapi.live.yohops.com:9999/', | ||
28 | + singleApi: 'http://api-test1.yohops.com:9999/', | ||
29 | }, | 29 | }, |
30 | subDomains: { | 30 | subDomains: { |
31 | host: '.m.yohobuy.com', | 31 | host: '.m.yohobuy.com', |
@@ -33,7 +33,7 @@ $('.submit-btn').on('click', function() { | @@ -33,7 +33,7 @@ $('.submit-btn').on('click', function() { | ||
33 | yoho.invokeMethod('go.serviceClause', params.params); | 33 | yoho.invokeMethod('go.serviceClause', params.params); |
34 | 34 | ||
35 | } else { | 35 | } else { |
36 | - $(this).attr('href', '//m.yohobuy.com/passport/reg/password' + window.location.search + '&selected=Y'); | 36 | + location.href = '//m.yohobuy.com/passport/reg/password' + window.location.search + '&selected=Y'; |
37 | } | 37 | } |
38 | } else { | 38 | } else { |
39 | if (appVersion === '1') { | 39 | if (appVersion === '1') { |
@@ -44,7 +44,7 @@ $('.submit-btn').on('click', function() { | @@ -44,7 +44,7 @@ $('.submit-btn').on('click', function() { | ||
44 | 44 | ||
45 | yoho.invokeMethod('go.serviceClause', params.params); | 45 | yoho.invokeMethod('go.serviceClause', params.params); |
46 | } else { | 46 | } else { |
47 | - $(this).attr('href', '//m.yohobuy.com/passport/reg/password' + window.location.search + '&selected=N'); | 47 | + location.href = '//m.yohobuy.com/passport/reg/password' + window.location.search + '&selected=N'; |
48 | } | 48 | } |
49 | } | 49 | } |
50 | }); | 50 | }); |
-
Please register or login to post a comment