当前位置: 手机中国论坛 > 小米论坛 > 小米8论坛 > 讨论 > 帖子正文

[讨论] 江苏电信开启VOLTE教程

2018-12-11 16:14:25 14 评论(0)
首先用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);
        }
        
}

不吐不快,我来说两句... 登录 | 注册

发布
暂时没有回复

您需要注册登录后,才能回帖哦! 登录 | 注册