Authored by zhangxiaoru

app

... ... @@ -8,7 +8,7 @@ var appVersion = $('input[name="app_version"]').val();
$('.pitch').on('click', function() {
if ($('.pitch').hasClass('select')) {
console.log('123')
console.log('123');
$(this).removeClass('select');
$(this).html('');
} else {
... ... @@ -20,16 +20,16 @@ $('.pitch').on('click', function() {
$('.submit-btn').on('click', function() {
if ($('.pitch').hasClass('select')) {
if(appVersion === '1') {
if (appVersion === '1') {
location.href = '//m.yohobuy.com/passport/reg/password' + '?openby:yohobuy={"action":"go.serviceClause","params":{"selected":"Y"}}';
}else {
location.href = '//m.yohobuy.com/passport/reg/password' + window.location.search +'&selected=Y';
}
} else {
location.href = '//m.yohobuy.com/passport/reg/password' + window.location.search + '&selected=Y';
}
} else {
if(appVersion === '1') {
if (appVersion === '1') {
location.href = '//m.yohobuy.com/passport/reg/password' + '?openby:yohobuy={"action":"go.serviceClause","params":{"selected":"N"}}';
} else {
location.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';
}
}
});
... ...
... ... @@ -109,7 +109,7 @@ $btnSure.on('touchstart', function() {
});
$('.deny').on('click', function() {
//console.log('//m.yohobuy.com/passport/agreement' + window.location.search)
// console.log('//m.yohobuy.com/passport/agreement' + window.location.search)
location.href = '//m.yohobuy.com/passport/agreement' + window.location.search;
});
}
... ...