| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847 | @extends('admin/site/side_layout')@section('header_extend')    <link href="{{asset('css/plugins/chosen/chosen.css')}}" rel="stylesheet">    <link href="{{asset('css/plugins/switchery/switchery.css')}}" rel="stylesheet">    <style>        .xmxib-titles {            display: block;            width: 100%;            text-align: center;            background: #2a94e0;            color: #fff;            font-size: 24px;            padding: 20px 0;        }        .lists-titles {            display: block;            width: 100%;            text-align: left;            background: #2e8fe0;            color: #fff;            font-size: 18px;            padding: 10px 0;            text-indent: 20px;        }        .richtext table {            width: 100%;        }        .richtext table tr td {            padding: 8px 10px;            border: solid 1px #d2d2d2;            word-break: normal;            font-size: 14px;            text-align: center;        }        .input-groups {            /* border-color: #fff;   */        }        .richtext table tr td span {            /* color: #e7eaec; */            font-size: 14px;        }        .rights-texts {            font-size: 14px;            color: #ff0000;        }        .td-firsts {            width: 25%;            text-align: right !important;            padding-right: 24px !important;        }        .td-twos {            width: 18%;        }        .td-twos.ons {            text-align: right !important;            padding-right: 24px;        }        .td-threes {            width: 33%;        }        .td-lasts {            width: 20%;        }        .lists-boxs {            display: block;            width: 100%;            text-align: center;        }        .lists-boxs.ons {            text-align: left;        }        .lists {            display: inline-block;            width: auto;            vertical-align: top;        }        .ibox-content {            padding: 0;            background-color: #fff;            color: inherit;            border-color: #e7eaec;            -webkit-border-image: none;            -o-border-image: none;            border-image: none;            border-style: solid solid none;            border-width: 0 0;        }        .input-groups {            width: 90%;            padding: 2px 10px;            font-size: 12px;            /*color: #ccc;*/            line-height: 20px;            outline: none;            border: none;        }        .tr-hides {            display: none;        }        .btn-primary {            background: #2a94e0;        }        .tabs-left {            width: 16.6666%;            position: fixed;            left: 0;            top: 0;        }        .btns {            width: auto;            border: none;            background: #f3f3f3;            text-transform: uppercase;            border-radius: 4px;            padding: 8px 28px;            color: #1c1c1c;            margin: 10px 0 36px;        }        .btns:hover {            background: #2e8fe0;            color: #fff;        }        .btn-primary.active, .btn-primary:active, .btn-primary:focus, .btn-primary:hover, .open .dropdown-toggle.btn-primary {            background: #2a94e0 !important;        }        .page-tabs a.active i:hover, .page-tabs a.active:hover {            background: #2a94e0 !important;        }        .btn-primary {            background: #2a94e0 !important;        }        .kh-ul-boxs {            padding: 20px 0 28px;        }        .kh-ul-boxs.ons {            height: 104px;        }        .kh-ul-boxs.ons ul {            margin-bottom: 0;            width: 83.3333%;            position: fixed;            right: 0;            top: 0;            background: #fff;            padding: 20px 0 0;            z-index: 2000;        }        .kh-ul-boxs ul {            list-style: none;            text-align: center;        }        .kh-ul-boxs ul li {            list-style: none;            display: inline-block;            vertical-align: top;            padding: 0 20px;            border: 1px solid #e6e6e6;            margin: 10px 8px;            background: #f3f3f3;            color: #1c1c1c;            border-radius: 6px;            line-height: 24px;        }        .kh-ul-boxs ul li a {            color: #1c1c1c;        }        .kh-ul-boxs ul li.active {            background: #2a94e0;            color: #fff;            border-color: #2a94e0;        }        .kh-ul-boxs ul li.active a {            color: #fff;        }        .kh-ul-boxs ul li:hover {            background: #2a94e0;            color: #fff;            border-color: #2a94e0;        }        .kh-ul-boxs ul li:hover a {            color: #fff;        }        .qus-boxs {            display: inline-block;            vertical-align: middle;            position: relative;        }        .qus-boxs:after {            content: '';            display: block;            width: 8px;            height: 8px;            border-radius: 6px;            background: #fff;            position: absolute;            bottom: 30px;            left: 100%;            z-index: -1;        }        .qus-boxs .qus-texts {            display: block;            width: auto;            position: absolute;            bottom: 30px;            left: 100%;            background: #fff;            border: 1px solid #e6e6e6;            font-size: 12px;            min-width: 180px;            padding: 5px 10px;            text-align: left;            opacity: 0;            border-radius: 6px;            z-index: -1;        }        .qus-boxs .qus-texts:before {            content: '';            display: block;            width: 15px;            height: 1px;            background: #e6e6e6;            transform: rotate(-70deg);            position: absolute;            left: -11px;            bottom: -2px;        }        .qus-boxs .qus-texts:after {            content: '';            display: block;            width: 15px;            height: 1px;            background: #e6e6e6;            transform: rotate(-40deg);            position: absolute;            left: -8px;            bottom: -5px;        }        .qus-boxs:hover .qus-texts {            opacity: 1;            z-index: 99;        }        .qus-boxs:hover:after {            z-index: 100;        }        .qus-boxs:hover .qus-texts:hover {            opacity: 0;            z-index: -1;        }        .qus-boxs i {            color: #ff8214;        }        .tr-border-nones td {            border: none !important;        }        .badge-warning, .label-warning {            background-color: #2a94e0 !important;        }        .tabs-left ul li.active {            background-color: #009688 !important;        }        .page-tabs a.active {            background-color: #2a94e0 !important;        }        body {            position: relative;        }        .qwes {            color: #fff;            background: #ff8214;            font-size: 10px;            display: inline-block;            border-radius: 100%;            width: 16px;            height: 16px;            line-height: 16px;            vertical-align: top;        }    </style>@endsection@section('right')    @if(($type??'1')==1)        <div class="panel panel-info">            <div class="panel-heading">                <i class="fa fa-info-circle"></i>提示信息            </div>            <div class="panel-body">                <p>{{$tips??''}}</p>                <p><a href="{{$url??''}}" target="_blank">{{$url??''}}</a></p>                <p style="color: #0d8ddb" onclick="jump_url('/admin/sites/{{$siteId}}/overview_inspect/2')">点击查看上线后检查表</p>            </div>        </div>    @endif    @if(($type??'1')!=1)    <div class="row">        <div class="col-sm-12">            <div class="ibox float-e-margins">                <div class="xmxib-titles" style="margin-bottom:20px">                    上 线 后 检 查 表                </div>                <div class="ibox-content">                    <form class="form-horizontal richtext" id="form1">                        <div class="lists-titles" id="site_info">301跳转</div>                        <table cellspacing="10px">                            <tr>                                <td class="td-firsts">域名跳转是否成功</td>                                <td colspan="3">                                    <div class="lists-boxs ">                                        <div class="lists">                                            <input type="checkbox" name="jump_status_status" >                                            <span id="jump_text">未知</span>                                            <a href="{{$jump_url??''}}" target="_blank">立即跳转</a>                                        </div>                                    </div>                                </td>                                <td class="td-firsts" style="text-align: center !important" onclick="units.jiance(3)">立即检测</td>                            </tr>                        </table>                    </form>                    <form class="form-horizontal richtext" id="form1">                        <div class="lists-titles" id="site_info">robots.txt核对</div>                        <table cellspacing="10px">                            <tr>                                <td class="td-firsts" >                                    Sitemap: https://www.{{$site->domain??'1'}}/sitemap.xml<br>                                    User-agent: *<br>                                    Disallow: /basic/*<br>                                    Disallow: /search-result-products.html<br>                                    Disallow: /search-result-others.html<br>                                    Disallow: /404.html<br>                                    Disallow: /submission-successful.html<br>                                    Disallow: /taggg.html</td>                                <td colspan="3">                                    <div class="lists-boxs ">                                        <div class="lists">                                            <input type="checkbox" name="robots1">                                            Sitemap: https://www.{{$site->domain??''}}/sitemap.xml<br>                                            <input type="checkbox" name="robots2">                                            User-agent: *<br>                                            <input type="checkbox" name="robots3">                                            Disallow: /basic/*<br>                                            <input type="checkbox" name="robots4">                                            Disallow: /search-result-products.html<br>                                            <input type="checkbox" name="robots5">                                            Disallow: /search-result-others.html<br>                                            <input type="checkbox" name="robots6">                                            Disallow: /404.html<br>                                            <input type="checkbox" name="robots7">                                            Disallow: /submission-successful.html<br>                                            <input type="checkbox" name="robots8">                                            Disallow: /taggg.html                                            <a href="{{$jump_url??''}}/robots.txt" target="_blank">点击查看robots.txt文件</a>                                        </div>                                    </div>                                </td>                                <td class="td-firsts" style="text-align: center !important" onclick="units.jiance(4)">立即检测</td>                            </tr>                        </table>                    </form>                    <form class="form-horizontal richtext" id="form1">                        <div class="lists-titles" id="site_info">sitemap.xml核对<a href="{{$jump_url??''}}/sitemap.xml" target="_blank">点击查看sitemap.xml文件</a></div>                        <table cellspacing="10px">                            <tr>                                <td class="td-firsts">sitemap.xml中是否https</td>                                <td colspan="3">                                    <div class="lists-boxs ">                                        <div class="lists">                                            <input type="checkbox" name="is_no_https">                                            <span id="is_no_https_text">未知</span>                                        </div>                                    </div>                                </td>                            </tr>                            <tr>                                <td class="td-firsts">sitemap.xml中是否有重复网址</td>                                <td colspan="3">                                    <div class="lists-boxs ">                                        <div class="lists">                                            <input type="checkbox" name="is_repeat">                                            <span id="is_repeat_text">未知</span>                                        </div>                                    </div>                                </td>                            </tr>                            <tr>                                <td class="td-firsts">sitemap.xml中是否有url超过130个字符数的</td>                                <td colspan="3">                                    <div class="lists-boxs ">                                        <div class="lists">                                            <input type="checkbox" name="is_130">                                            <span id="is_130_text">未知</span>                                        </div>                                    </div>                                </td>                            </tr>                            <tr>                                <td class="td-firsts">sitemap.xml中是否有basic页面</td>                                <td colspan="3">                                    <div class="lists-boxs ">                                        <div class="lists">                                            <input type="checkbox" name="is_basic">                                            <span id="is_basic_text">未知</span>                                        </div>                                        <div class="lists">                                            <span id="is_basic_text_content">未知</span>                                        </div>                                    </div>                                </td>                            </tr>                            <tr  style="text-align: center !important" >                                <td colspan="2" onclick="units.jiance(5)">立即检测</td>                            </tr>                        </table>                    </form>                    <form class="form-horizontal richtext" id="form1">                        <div class="lists-titles" id="site_info">引擎力后台域名,建站后台站点域名是否一致</div>                        <table cellspacing="10px">                            <tr>                                <td class="td-firsts">站点域名是否一致</td>                                <td colspan="3">                                    <div class="lists-boxs ">                                        <div class="lists">                                            <input type="checkbox" name="is_domain" >                                            <span id="is_domain_text">未知</span>                                        </div>                                    </div>                                </td>                                <td class="td-firsts" style="text-align: center !important" onclick="units.jiance(6)">立即检测</td>                            </tr>                        </table>                    </form>                    <form class="form-horizontal richtext" id="form1">                        <div class="lists-titles" id="site_info">GOOGLE/BING</div>                        <table cellspacing="10px">                            <tr>                                <td class="td-firsts">google文件</td>                                <td colspan="3">                                    <div class="lists-boxs ">                                        <div class="lists">                                            <input type="checkbox" name="is_google">                                            <span id="is_google_text">未知</span>                                        </div>                                    </div>                                </td>                            </tr>                            <tr>                                <td class="td-firsts">bing文件</td>                                <td colspan="3">                                    <div class="lists-boxs ">                                        <div class="lists">                                            <input type="checkbox" name="is_bing">                                            <span id="is_bing_text">未知</span>                                        </div>                                    </div>                                </td>                            </tr>                            <tr  style="text-align: center !important" >                                <td colspan="2" onclick="units.jiance(7)">立即检测</td>                            </tr>                        </table>                    </form>                    <form class="form-horizontal richtext" id="form1">                        <div class="lists-titles" id="site_info">服务器所在地,api地址,webmaster域名</div>                        <table cellspacing="10px">                            <tr>                                <td class="td-firsts">webmaster域名</td>                                <td colspan="3">                                    <div class="lists-boxs ">                                        <div class="lists">                                            <input type="checkbox" name="is_webmaster_domain">                                           <span id="is_webmaster_domain_text"></span>                                        </div>                                    </div>                                </td>                            </tr>                            <tr>                                <td class="td-firsts">api地址</td>                                <td colspan="3">                                    <div class="lists-boxs ">                                        <div class="lists">                                            <input type="checkbox" name="is_api_url">                                            <span id="is_api_url_text"></span>                                        </div>                                    </div>                                </td>                            </tr>                            <tr>                                <td class="td-firsts">服务器所在地</td>                                <td colspan="3">                                    <div class="lists-boxs ">                                        <div class="lists">                                            <input type="checkbox" name="is_server_id">                                            <span id="is_server_id_text"></span>                                        </div>                                    </div>                                </td>                            </tr>                            <tr  style="text-align: center !important" >                                <td colspan="2" onclick="units.jiance(8)">立即检测</td>                            </tr>                        </table>                    </form>                    <form class="form-horizontal richtext" id="form1">                        <div class="lists-titles" id="site_info">引擎力后台"关键词-关键词排名"是否已上传</div>                        <table cellspacing="10px">                            <tr>                                <td class="td-firsts">"关键词-关键词排名"是否已上传</td>                                <td colspan="3">                                    <div class="lists-boxs ">                                        <div class="lists">                                            <input type="checkbox" name="is_keyword">                                            <span id="is_keyword_text"></span>                                        </div>                                    </div>                                </td>                                <td  style="text-align: center !important;" onclick="units.jiance(9)">立即检测</td>                            </tr>                        </table>                    </form>                    <form class="form-horizontal richtext" id="form1">                        <div class="lists-titles" id="site_info">"项目概况-重点优化"中是否上传,是否全部已优化</div>                        <table cellspacing="10px">                            <tr>                                <td class="td-firsts">是否上传</td>                                <td colspan="3">                                    <div class="lists-boxs ">                                        <div class="lists">                                            <input type="checkbox" name="is_key_optimization">                                            <span id="is_key_optimization_text"></span>                                        </div>                                    </div>                                </td>                            </tr>                            <tr>                                <td class="td-firsts">是否全部已优化</td>                                <td colspan="3">                                    <div class="lists-boxs ">                                        <div class="lists">                                            <input type="checkbox" name="is_optimization" >                                            <span id="is_optimization_text"></span>                                        </div>                                    </div>                                </td>                            </tr>                            <tr  style="text-align: center !important" >                                <td colspan="2" onclick="units.jiance(10)">立即检测</td>                            </tr>                        </table>                    </form>                    <form class="form-horizontal richtext" id="form1">                        <div class="lists-titles" id="site_info">“建站流程-建站流程2.0”是否已填写完成</div>                        <table cellspacing="10px">                            <tr>                                <td class="td-firsts">是否已填写完成</td>                                <td colspan="3">                                    <div class="lists-boxs ">                                        <div class="lists">                                            <input type="checkbox" name="is_web_status">                                            <span id="is_web_status_text"></span>                                        </div>                                    </div>                                </td>                                <td style="text-align: center !important;" onclick="units.jiance(11)">立即检测</td>                            </tr>                        </table>                    </form>                    <form class="form-horizontal richtext" id="form1">                        <div class="lists-titles" id="site_info">源码查看</div>                        <table cellspacing="10px">                            <tr>                                <td class="td-firsts">源代码中是否为< meta property="og:url" content="https://www.{{$site->domain??''}}/" /></td>                                <td colspan="3">                                    <div class="lists-boxs ">                                        <div class="lists">                                            <input type="checkbox" name="is_meta_value">                                            <span id="is_meta_value_text"></span>                                        </div>                                    </div>                                </td>                                <td style="text-align: center !important;" onclick="units.jiance(12)">立即检测</td>                            </tr>                            <tr>                                <td class="td-firsts">源代码中是否每个页面都有 < link rel="canonical" href="https://www.{{$site->domain??''}}/" /></td>                                <td colspan="3">                                    <div class="lists-boxs ">                                        <div class="lists">                                            <input type="checkbox" name="is_link_value">                                            <span id="is_link_value_text"></span>                                        </div>                                    </div>                                </td>                                <td  style="text-align: center !important;" onclick="units.jiance(14)">立即检测</td>                            </tr>                        </table>                    </form>                    <form class="form-horizontal richtext" id="form1">                        <div class="lists-titles" id="site_info">404链接</div>                        <table cellspacing="10px">                            <tr>                                <td class="td-firsts">站内,出站是否有404链接</td>                                <td colspan="3">                                    <div class="lists-boxs ">                                        <div class="lists">                                            <input type="checkbox" name="is_404">                                            <span id="is_404_text"></span>                                        </div>                                    </div>                                </td>                                <td style="text-align: center !important;" onclick="units.jiance(13)">立即检测</td>                            </tr>                        </table>                    </form>                </div>            </div>        </div>    </div>    @endif@endsection@section('footer_extend')    <script src="{{asset('js/plugins/chosen/chosen.jquery.js')}}"></script>    <script src="{{asset('js/plugins/switchery/switchery.js')}}"></script>    <script src="{{asset('js/plugins/layDate-v5.0.9/laydate/laydate.js')}}"></script>    <script>        function jump_url(url) {            layer.open({                type:3            })            window.location.href=url;        }        var units = {            jiance: function (type) {                var ajaxConfig = {                    url: '/admin/sites/' + "{{$siteId}}" + '/overview_inspect/'+type,                    type: 'put',                    data: {type: type, id:{{$siteId}}},                    success: function (result) {                        if(type=='3'){                            if(result.data.jump_status_status=='1'){                                $("input[name='jump_status_status']").attr("checked",true);                                document.getElementById('jump_text').innerText=result.data.jump_status;                            }else{                                document.getElementById('jump_text').innerText=result.data.jump_status;                            }                        }else if(type=='4'){                            if(result.data.robots1=='2'){$("input[name='robots1']").attr("checked",true);}                            if(result.data.robots2=='2'){$("input[name='robots2']").attr("checked",true);}                            if(result.data.robots3=='2'){$("input[name='robots3']").attr("checked",true);}                            if(result.data.robots4=='2'){$("input[name='robots4']").attr("checked",true);}                            if(result.data.robots5=='2'){$("input[name='robots5']").attr("checked",true);}                            if(result.data.robots6=='2'){$("input[name='robots6']").attr("checked",true);}                            if(result.data.robots7=='2'){$("input[name='robots7']").attr("checked",true);}                            if(result.data.robots8=='2'){$("input[name='robots8']").attr("checked",true);}                        }else if(type=='5'){                            console.log(result);                            if(result.data.is_no_https=='2'){                                $("input[name='is_no_https']").attr("checked",true);                                document.getElementById('is_no_https_text').innerText='是https';                            }else{                                document.getElementById('is_no_https_text').innerText='不是https';                            }                            if(result.data.is_repeat=='2'){                                document.getElementById('is_repeat_text').innerText='有重复网址';                            }else{                                $("input[name='is_repeat']").attr("checked",true);                                document.getElementById('is_repeat_text').innerText='没有重复网址';                            }                            if(result.data.is_130=='2'){                                document.getElementById('is_130_text').innerText='有';                            }else{                                $("input[name='is_130']").attr("checked",true);                                document.getElementById('is_130_text').innerText='无';                            }                            if(result.data.is_basic=='2'){                                document.getElementById('is_basic_text').innerText='有';                                document.getElementById('is_basic_text_content').innerHTML=result.data.basic_text;                            }else{                                $("input[name='is_basic']").attr("checked",true);                                document.getElementById('is_basic_text').innerText='无';                            }                        }else if(type=='6') {                            console.log(result);                            if (result.data.is_domain == '2') {                                $("input[name='is_domain']").attr("checked", true);                                document.getElementById('is_domain_text').innerText = '一致';                            } else {                                document.getElementById('is_domain_text').innerText = '不一致';                            }                        }else if(type=='7') {                            console.log(result);                            if (result.data.is_bing == '2') {                                $("input[name='is_bing']").attr("checked", true);                                document.getElementById('is_bing_text').innerText = '是';                            } else {                                document.getElementById('is_bing_text').innerText = '否';                            }                            if (result.data.is_google == '2') {                                $("input[name='is_google']").attr("checked", true);                                document.getElementById('is_google_text').innerText = '是';                            } else {                                document.getElementById('is_google_text').innerText = '否';                            }                        }else if(type=='8') {                            console.log(result);                            if (result.data.is_webmaster_domain == '2') {                                $("input[name='is_webmaster_domain']").attr("checked", true);                                document.getElementById('is_webmaster_domain_text').innerText = '是';                            } else {                                document.getElementById('is_webmaster_domain_text').innerText = '否';                            }                            if (result.data.is_api_url == '2') {                                $("input[name='is_api_url']").attr("checked", true);                                document.getElementById('is_api_url_text').innerText = '是';                            } else {                                document.getElementById('is_api_url_text').innerText = '否';                            }                            if (result.data.is_server_id == '2') {                                $("input[name='is_server_id']").attr("checked", true);                                document.getElementById('is_server_id_text').innerText = '是';                            } else {                                document.getElementById('is_server_id_text').innerText = '否';                            }                        }else if(type=='9') {                            console.log(result);                            if (result.data.is_keyword == '2') {                                $("input[name='is_keyword']").attr("checked", true);                                document.getElementById('is_keyword_text').innerText = '已上传';                            } else {                                document.getElementById('is_keyword_text').innerText = '未上传';                            }                        }else if(type=='10') {                            console.log(result);                            if (result.data.is_key_optimization == '2') {                                $("input[name='is_key_optimization']").attr("checked", true);                                document.getElementById('is_key_optimization_text').innerText = '已上传';                            } else {                                document.getElementById('is_key_optimization_text').innerText = '未上传';                            }                            if (result.data.is_optimization == '2') {                                $("input[name='is_optimization']").attr("checked", true);                                document.getElementById('is_optimization_text').innerText = '已全部优化';                            } else {                                document.getElementById('is_optimization_text').innerText = '未全部优化';                            }                        }else if(type=='11') {                            console.log(result);                            if (result.data.is_web_status == '2') {                                $("input[name='is_web_status']").attr("checked", true);                                document.getElementById('is_web_status_text').innerText = '已填写完成';                            } else {                                document.getElementById('is_web_status_text').innerText = '未填写完成';                            }                        }else if(type=='12') {                            console.log(result);                            if (result.data.is_meta_value == '2') {                                $("input[name='is_meta_value']").attr("checked", true);                                document.getElementById('is_meta_value_text').innerText = '是';                            } else {                                document.getElementById('is_meta_value_text').innerText = '否';                            }                        }else if(type=='13') {                            console.log(result);                            if (result.data.is_404 == '2') {                                document.getElementById('is_404_text').innerText = '是';                            } else {                                $("input[name='is_404']").attr("checked", true);                                document.getElementById('is_404_text').innerText = '否';                            }                        }else if(type=='14') {                            if (result.data.is_link_value == '2') {                                $("input[name='is_link_value']").attr("checked", true);                                document.getElementById('is_link_value_text').innerText = '是';                            } else {                                document.getElementById('is_link_value_text').innerText = '否';                            }                        }                    }                };                tips.ajax(ajaxConfig);            }        }    </script>@endsection
 |