Authored by zhangxiaoru

跳转

... ... @@ -138,7 +138,7 @@
<div class="select-btn">
<span><i class="iconfont pitch select">&#xe60a;</i>我已阅读并同意遵守YOHO!BUY有货app服务条款</span>
<a class="submit-btn" href="">&nbsp;</a>
<div class="submit-btn" href="">&nbsp;&nbsp;</div>
</div>
<input type="hidden" name="app_version" value="{{appVersion}}">
... ...
... ... @@ -17,15 +17,15 @@ module.exports = {
siteUrl: '//m.yohobuy.com',
assetUrl: '//localhost:5001',
domains: {
api: 'http://api.yoho.cn/',
service: 'http://service.yoho.cn/',
liveApi: 'http://api.live.yoho.cn/',
singleApi: 'http://single.yoho.cn/'
// api: 'http://api.yoho.cn/',
// service: 'http://service.yoho.cn/',
// liveApi: 'http://api.live.yoho.cn/',
// singleApi: 'http://single.yoho.cn/'
// api: 'http://api-test1.yohops.com:9999/',
// service: 'http://service-test1.yohops.com:9999/',
// liveApi: 'http://testapi.live.yohops.com:9999/',
// singleApi: 'http://api-test1.yohops.com:9999/',
api: 'http://api-test1.yohops.com:9999/',
service: 'http://service-test1.yohops.com:9999/',
liveApi: 'http://testapi.live.yohops.com:9999/',
singleApi: 'http://api-test1.yohops.com:9999/',
},
subDomains: {
host: '.m.yohobuy.com',
... ...
... ... @@ -33,7 +33,7 @@ $('.submit-btn').on('click', function() {
yoho.invokeMethod('go.serviceClause', params.params);
} else {
$(this).attr('href', '//m.yohobuy.com/passport/reg/password' + window.location.search + '&selected=Y');
location.href = '//m.yohobuy.com/passport/reg/password' + window.location.search + '&selected=Y';
}
} else {
if (appVersion === '1') {
... ... @@ -44,7 +44,7 @@ $('.submit-btn').on('click', function() {
yoho.invokeMethod('go.serviceClause', params.params);
} else {
$(this).attr('href', '//m.yohobuy.com/passport/reg/password' + window.location.search + '&selected=N');
location.href = '//m.yohobuy.com/passport/reg/password' + window.location.search + '&selected=N';
}
}
});
... ...