- 经验
- 28
- 分贝
- 0
- 家园分
- 418
- 在线时间:
- 601 小时
- 最后登录:
- 2020-4-9
- 帖子:
- 27
- 精华:
- 0
- 注册时间:
- 2018-5-31
- UID:
- 1391395
注册:2018-5-31 1
|
用谷歌浏览器Chrome,打开js.189.cn后登录帐号,
打开此业务界面http://js.189.cn/nservice/produc ... 01803215348X70.html,
按F12打开调试界面切换到Console标签粘
回车,再点“立即购买”按钮办理此业务,输入验证码后,提醒开通成功,并会收到短信,提示开通成功。
function handlingNow(){
var isLogin = "1";
if(isLogin!='1'){
showLoginBox();
return;
}
var goodsId=$('#goodsId').val();
if("7b5d70b8f5494f4687cd41cb8583ex70"==goodsId){
$.ajax({
url :'/nservice/businessHandleSave/checkWhiteList',
type : 'post',
dataType : 'json',
async:false,
data : {
goodsId : goodsId
},
success : function(data) {
if (data == '0') {
$('.tk-bg').show();
$('.ywbl_dg_tc').show();
var boxHeight = $('.ywbl_dg_tc').height();
var boxWidth = $('.ywbl_dg_tc').width();
$('.ywbl_dg_tc').css({'margin-top':-boxHeight/2,'margin-left':-boxWidth/2});
console.log(boxHeight);
}else{
layer.alert("该业务即将上线,敬请期待!");
return;
}
}
});
}else{
$('.tk-bg').show();
$('.ywbl_dg_tc').show();
var boxHeight = $('.ywbl_dg_tc').height();
var boxWidth = $('.ywbl_dg_tc').width();
$('.ywbl_dg_tc').css({'margin-top':-boxHeight/2,'margin-left':-boxWidth/2});
console.log(boxHeight);
}
}
|
|