[讨论] 江苏电信开启VOLTE教程
首先用Chrome打开VOLTE开通页面 //js.189.cn/nservice/produc ... 01803215348X70.html。按F12打开调试界面切换到Console标签粘贴js代码回车,再点开通就ok 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); } } |