Authored by zhangxiaoru

跳转

... ... @@ -23,15 +23,15 @@ $('.pitch').on('click', function() {
$('.submit-btn').on('click', function() {
if ($('.pitch').hasClass('select')) {
if (appVersion === '1') {
$(this).attr('href','//m.yohobuy.com/passport/reg/password?openby:yohobuy={"action":"go.productDetail","params":{"selected":"Y"}}');
$(this).attr('href', '//m.yohobuy.com/passport/reg/password?openby:yohobuy={"action":"go.productDetail","params":{"selected":"Y"}}');
} else {
$(this).attr('href','//m.yohobuy.com/passport/reg/password' + window.location.search + '&selected=Y');
$(this).attr('href', '//m.yohobuy.com/passport/reg/password' + window.location.search + '&selected=Y');
}
} else {
if (appVersion === '1') {
$(this).attr('href','//m.yohobuy.com/passport/reg/password?openby:yohobuy={"action":"go.productDetail","params":{"selected":"N"}}');
$(this).attr('href', '//m.yohobuy.com/passport/reg/password?openby:yohobuy={"action":"go.productDetail","params":{"selected":"N"}}');
} else {
$(this).attr('href','//m.yohobuy.com/passport/reg/password' + window.location.search + '&selected=N');
$(this).attr('href', '//m.yohobuy.com/passport/reg/password' + window.location.search + '&selected=N');
}
}
});
... ...
... ... @@ -69,7 +69,7 @@ $btnSure.on('touchstart', function() {
},
success: function(data) {
var res = data.data;
console.log(data.message)
console.log(data.message);
if (data.code === 200) {
showErrTip('注册成功');
... ...