overview_inspect.blade.php 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847
  1. @extends('admin/site/side_layout')
  2. @section('header_extend')
  3. <link href="{{asset('css/plugins/chosen/chosen.css')}}" rel="stylesheet">
  4. <link href="{{asset('css/plugins/switchery/switchery.css')}}" rel="stylesheet">
  5. <style>
  6. .xmxib-titles {
  7. display: block;
  8. width: 100%;
  9. text-align: center;
  10. background: #2a94e0;
  11. color: #fff;
  12. font-size: 24px;
  13. padding: 20px 0;
  14. }
  15. .lists-titles {
  16. display: block;
  17. width: 100%;
  18. text-align: left;
  19. background: #2e8fe0;
  20. color: #fff;
  21. font-size: 18px;
  22. padding: 10px 0;
  23. text-indent: 20px;
  24. }
  25. .richtext table {
  26. width: 100%;
  27. }
  28. .richtext table tr td {
  29. padding: 8px 10px;
  30. border: solid 1px #d2d2d2;
  31. word-break: normal;
  32. font-size: 14px;
  33. text-align: center;
  34. }
  35. .input-groups {
  36. /* border-color: #fff; */
  37. }
  38. .richtext table tr td span {
  39. /* color: #e7eaec; */
  40. font-size: 14px;
  41. }
  42. .rights-texts {
  43. font-size: 14px;
  44. color: #ff0000;
  45. }
  46. .td-firsts {
  47. width: 25%;
  48. text-align: right !important;
  49. padding-right: 24px !important;
  50. }
  51. .td-twos {
  52. width: 18%;
  53. }
  54. .td-twos.ons {
  55. text-align: right !important;
  56. padding-right: 24px;
  57. }
  58. .td-threes {
  59. width: 33%;
  60. }
  61. .td-lasts {
  62. width: 20%;
  63. }
  64. .lists-boxs {
  65. display: block;
  66. width: 100%;
  67. text-align: center;
  68. }
  69. .lists-boxs.ons {
  70. text-align: left;
  71. }
  72. .lists {
  73. display: inline-block;
  74. width: auto;
  75. vertical-align: top;
  76. }
  77. .ibox-content {
  78. padding: 0;
  79. background-color: #fff;
  80. color: inherit;
  81. border-color: #e7eaec;
  82. -webkit-border-image: none;
  83. -o-border-image: none;
  84. border-image: none;
  85. border-style: solid solid none;
  86. border-width: 0 0;
  87. }
  88. .input-groups {
  89. width: 90%;
  90. padding: 2px 10px;
  91. font-size: 12px;
  92. /*color: #ccc;*/
  93. line-height: 20px;
  94. outline: none;
  95. border: none;
  96. }
  97. .tr-hides {
  98. display: none;
  99. }
  100. .btn-primary {
  101. background: #2a94e0;
  102. }
  103. .tabs-left {
  104. width: 16.6666%;
  105. position: fixed;
  106. left: 0;
  107. top: 0;
  108. }
  109. .btns {
  110. width: auto;
  111. border: none;
  112. background: #f3f3f3;
  113. text-transform: uppercase;
  114. border-radius: 4px;
  115. padding: 8px 28px;
  116. color: #1c1c1c;
  117. margin: 10px 0 36px;
  118. }
  119. .btns:hover {
  120. background: #2e8fe0;
  121. color: #fff;
  122. }
  123. .btn-primary.active, .btn-primary:active, .btn-primary:focus, .btn-primary:hover, .open .dropdown-toggle.btn-primary {
  124. background: #2a94e0 !important;
  125. }
  126. .page-tabs a.active i:hover, .page-tabs a.active:hover {
  127. background: #2a94e0 !important;
  128. }
  129. .btn-primary {
  130. background: #2a94e0 !important;
  131. }
  132. .kh-ul-boxs {
  133. padding: 20px 0 28px;
  134. }
  135. .kh-ul-boxs.ons {
  136. height: 104px;
  137. }
  138. .kh-ul-boxs.ons ul {
  139. margin-bottom: 0;
  140. width: 83.3333%;
  141. position: fixed;
  142. right: 0;
  143. top: 0;
  144. background: #fff;
  145. padding: 20px 0 0;
  146. z-index: 2000;
  147. }
  148. .kh-ul-boxs ul {
  149. list-style: none;
  150. text-align: center;
  151. }
  152. .kh-ul-boxs ul li {
  153. list-style: none;
  154. display: inline-block;
  155. vertical-align: top;
  156. padding: 0 20px;
  157. border: 1px solid #e6e6e6;
  158. margin: 10px 8px;
  159. background: #f3f3f3;
  160. color: #1c1c1c;
  161. border-radius: 6px;
  162. line-height: 24px;
  163. }
  164. .kh-ul-boxs ul li a {
  165. color: #1c1c1c;
  166. }
  167. .kh-ul-boxs ul li.active {
  168. background: #2a94e0;
  169. color: #fff;
  170. border-color: #2a94e0;
  171. }
  172. .kh-ul-boxs ul li.active a {
  173. color: #fff;
  174. }
  175. .kh-ul-boxs ul li:hover {
  176. background: #2a94e0;
  177. color: #fff;
  178. border-color: #2a94e0;
  179. }
  180. .kh-ul-boxs ul li:hover a {
  181. color: #fff;
  182. }
  183. .qus-boxs {
  184. display: inline-block;
  185. vertical-align: middle;
  186. position: relative;
  187. }
  188. .qus-boxs:after {
  189. content: '';
  190. display: block;
  191. width: 8px;
  192. height: 8px;
  193. border-radius: 6px;
  194. background: #fff;
  195. position: absolute;
  196. bottom: 30px;
  197. left: 100%;
  198. z-index: -1;
  199. }
  200. .qus-boxs .qus-texts {
  201. display: block;
  202. width: auto;
  203. position: absolute;
  204. bottom: 30px;
  205. left: 100%;
  206. background: #fff;
  207. border: 1px solid #e6e6e6;
  208. font-size: 12px;
  209. min-width: 180px;
  210. padding: 5px 10px;
  211. text-align: left;
  212. opacity: 0;
  213. border-radius: 6px;
  214. z-index: -1;
  215. }
  216. .qus-boxs .qus-texts:before {
  217. content: '';
  218. display: block;
  219. width: 15px;
  220. height: 1px;
  221. background: #e6e6e6;
  222. transform: rotate(-70deg);
  223. position: absolute;
  224. left: -11px;
  225. bottom: -2px;
  226. }
  227. .qus-boxs .qus-texts:after {
  228. content: '';
  229. display: block;
  230. width: 15px;
  231. height: 1px;
  232. background: #e6e6e6;
  233. transform: rotate(-40deg);
  234. position: absolute;
  235. left: -8px;
  236. bottom: -5px;
  237. }
  238. .qus-boxs:hover .qus-texts {
  239. opacity: 1;
  240. z-index: 99;
  241. }
  242. .qus-boxs:hover:after {
  243. z-index: 100;
  244. }
  245. .qus-boxs:hover .qus-texts:hover {
  246. opacity: 0;
  247. z-index: -1;
  248. }
  249. .qus-boxs i {
  250. color: #ff8214;
  251. }
  252. .tr-border-nones td {
  253. border: none !important;
  254. }
  255. .badge-warning, .label-warning {
  256. background-color: #2a94e0 !important;
  257. }
  258. .tabs-left ul li.active {
  259. background-color: #009688 !important;
  260. }
  261. .page-tabs a.active {
  262. background-color: #2a94e0 !important;
  263. }
  264. body {
  265. position: relative;
  266. }
  267. .qwes {
  268. color: #fff;
  269. background: #ff8214;
  270. font-size: 10px;
  271. display: inline-block;
  272. border-radius: 100%;
  273. width: 16px;
  274. height: 16px;
  275. line-height: 16px;
  276. vertical-align: top;
  277. }
  278. </style>
  279. @endsection
  280. @section('right')
  281. @if(($type??'1')==1)
  282. <div class="panel panel-info">
  283. <div class="panel-heading">
  284. <i class="fa fa-info-circle"></i>提示信息
  285. </div>
  286. <div class="panel-body">
  287. <p>{{$tips??''}}</p>
  288. <p><a href="{{$url??''}}" target="_blank">{{$url??''}}</a></p>
  289. <p style="color: #0d8ddb" onclick="jump_url('/admin/sites/{{$siteId}}/overview_inspect/2')">点击查看上线后检查表</p>
  290. </div>
  291. </div>
  292. @endif
  293. @if(($type??'1')!=1)
  294. <div class="row">
  295. <div class="col-sm-12">
  296. <div class="ibox float-e-margins">
  297. <div class="xmxib-titles" style="margin-bottom:20px">
  298. 上 线 后 检 查 表
  299. </div>
  300. <div class="ibox-content">
  301. <form class="form-horizontal richtext" id="form1">
  302. <div class="lists-titles" id="site_info">301跳转</div>
  303. <table cellspacing="10px">
  304. <tr>
  305. <td class="td-firsts">域名跳转是否成功</td>
  306. <td colspan="3">
  307. <div class="lists-boxs ">
  308. <div class="lists">
  309. <input type="checkbox" name="jump_status_status" >
  310. <span id="jump_text">未知</span>
  311. <a href="{{$jump_url??''}}" target="_blank">立即跳转</a>
  312. </div>
  313. </div>
  314. </td>
  315. <td class="td-firsts" style="text-align: center !important" onclick="units.jiance(3)">立即检测</td>
  316. </tr>
  317. </table>
  318. </form>
  319. <form class="form-horizontal richtext" id="form1">
  320. <div class="lists-titles" id="site_info">robots.txt核对</div>
  321. <table cellspacing="10px">
  322. <tr>
  323. <td class="td-firsts" >
  324. Sitemap: https://www.{{$site->domain??'1'}}/sitemap.xml<br>
  325. User-agent: *<br>
  326. Disallow: /basic/*<br>
  327. Disallow: /search-result-products.html<br>
  328. Disallow: /search-result-others.html<br>
  329. Disallow: /404.html<br>
  330. Disallow: /submission-successful.html<br>
  331. Disallow: /taggg.html</td>
  332. <td colspan="3">
  333. <div class="lists-boxs ">
  334. <div class="lists">
  335. <input type="checkbox" name="robots1">
  336. Sitemap: https://www.{{$site->domain??''}}/sitemap.xml<br>
  337. <input type="checkbox" name="robots2">
  338. User-agent: *<br>
  339. <input type="checkbox" name="robots3">
  340. Disallow: /basic/*<br>
  341. <input type="checkbox" name="robots4">
  342. Disallow: /search-result-products.html<br>
  343. <input type="checkbox" name="robots5">
  344. Disallow: /search-result-others.html<br>
  345. <input type="checkbox" name="robots6">
  346. Disallow: /404.html<br>
  347. <input type="checkbox" name="robots7">
  348. Disallow: /submission-successful.html<br>
  349. <input type="checkbox" name="robots8">
  350. Disallow: /taggg.html
  351. <a href="{{$jump_url??''}}/robots.txt" target="_blank">点击查看robots.txt文件</a>
  352. </div>
  353. </div>
  354. </td>
  355. <td class="td-firsts" style="text-align: center !important" onclick="units.jiance(4)">立即检测</td>
  356. </tr>
  357. </table>
  358. </form>
  359. <form class="form-horizontal richtext" id="form1">
  360. <div class="lists-titles" id="site_info">sitemap.xml核对<a href="{{$jump_url??''}}/sitemap.xml" target="_blank">点击查看sitemap.xml文件</a></div>
  361. <table cellspacing="10px">
  362. <tr>
  363. <td class="td-firsts">sitemap.xml中是否https</td>
  364. <td colspan="3">
  365. <div class="lists-boxs ">
  366. <div class="lists">
  367. <input type="checkbox" name="is_no_https">
  368. <span id="is_no_https_text">未知</span>
  369. </div>
  370. </div>
  371. </td>
  372. </tr>
  373. <tr>
  374. <td class="td-firsts">sitemap.xml中是否有重复网址</td>
  375. <td colspan="3">
  376. <div class="lists-boxs ">
  377. <div class="lists">
  378. <input type="checkbox" name="is_repeat">
  379. <span id="is_repeat_text">未知</span>
  380. </div>
  381. </div>
  382. </td>
  383. </tr>
  384. <tr>
  385. <td class="td-firsts">sitemap.xml中是否有url超过130个字符数的</td>
  386. <td colspan="3">
  387. <div class="lists-boxs ">
  388. <div class="lists">
  389. <input type="checkbox" name="is_130">
  390. <span id="is_130_text">未知</span>
  391. </div>
  392. </div>
  393. </td>
  394. </tr>
  395. <tr>
  396. <td class="td-firsts">sitemap.xml中是否有basic页面</td>
  397. <td colspan="3">
  398. <div class="lists-boxs ">
  399. <div class="lists">
  400. <input type="checkbox" name="is_basic">
  401. <span id="is_basic_text">未知</span>
  402. </div>
  403. <div class="lists">
  404. <span id="is_basic_text_content">未知</span>
  405. </div>
  406. </div>
  407. </td>
  408. </tr>
  409. <tr style="text-align: center !important" >
  410. <td colspan="2" onclick="units.jiance(5)">立即检测</td>
  411. </tr>
  412. </table>
  413. </form>
  414. <form class="form-horizontal richtext" id="form1">
  415. <div class="lists-titles" id="site_info">引擎力后台域名,建站后台站点域名是否一致</div>
  416. <table cellspacing="10px">
  417. <tr>
  418. <td class="td-firsts">站点域名是否一致</td>
  419. <td colspan="3">
  420. <div class="lists-boxs ">
  421. <div class="lists">
  422. <input type="checkbox" name="is_domain" >
  423. <span id="is_domain_text">未知</span>
  424. </div>
  425. </div>
  426. </td>
  427. <td class="td-firsts" style="text-align: center !important" onclick="units.jiance(6)">立即检测</td>
  428. </tr>
  429. </table>
  430. </form>
  431. <form class="form-horizontal richtext" id="form1">
  432. <div class="lists-titles" id="site_info">GOOGLE/BING</div>
  433. <table cellspacing="10px">
  434. <tr>
  435. <td class="td-firsts">google文件</td>
  436. <td colspan="3">
  437. <div class="lists-boxs ">
  438. <div class="lists">
  439. <input type="checkbox" name="is_google">
  440. <span id="is_google_text">未知</span>
  441. </div>
  442. </div>
  443. </td>
  444. </tr>
  445. <tr>
  446. <td class="td-firsts">bing文件</td>
  447. <td colspan="3">
  448. <div class="lists-boxs ">
  449. <div class="lists">
  450. <input type="checkbox" name="is_bing">
  451. <span id="is_bing_text">未知</span>
  452. </div>
  453. </div>
  454. </td>
  455. </tr>
  456. <tr style="text-align: center !important" >
  457. <td colspan="2" onclick="units.jiance(7)">立即检测</td>
  458. </tr>
  459. </table>
  460. </form>
  461. <form class="form-horizontal richtext" id="form1">
  462. <div class="lists-titles" id="site_info">服务器所在地,api地址,webmaster域名</div>
  463. <table cellspacing="10px">
  464. <tr>
  465. <td class="td-firsts">webmaster域名</td>
  466. <td colspan="3">
  467. <div class="lists-boxs ">
  468. <div class="lists">
  469. <input type="checkbox" name="is_webmaster_domain">
  470. <span id="is_webmaster_domain_text"></span>
  471. </div>
  472. </div>
  473. </td>
  474. </tr>
  475. <tr>
  476. <td class="td-firsts">api地址</td>
  477. <td colspan="3">
  478. <div class="lists-boxs ">
  479. <div class="lists">
  480. <input type="checkbox" name="is_api_url">
  481. <span id="is_api_url_text"></span>
  482. </div>
  483. </div>
  484. </td>
  485. </tr>
  486. <tr>
  487. <td class="td-firsts">服务器所在地</td>
  488. <td colspan="3">
  489. <div class="lists-boxs ">
  490. <div class="lists">
  491. <input type="checkbox" name="is_server_id">
  492. <span id="is_server_id_text"></span>
  493. </div>
  494. </div>
  495. </td>
  496. </tr>
  497. <tr style="text-align: center !important" >
  498. <td colspan="2" onclick="units.jiance(8)">立即检测</td>
  499. </tr>
  500. </table>
  501. </form>
  502. <form class="form-horizontal richtext" id="form1">
  503. <div class="lists-titles" id="site_info">引擎力后台"关键词-关键词排名"是否已上传</div>
  504. <table cellspacing="10px">
  505. <tr>
  506. <td class="td-firsts">"关键词-关键词排名"是否已上传</td>
  507. <td colspan="3">
  508. <div class="lists-boxs ">
  509. <div class="lists">
  510. <input type="checkbox" name="is_keyword">
  511. <span id="is_keyword_text"></span>
  512. </div>
  513. </div>
  514. </td>
  515. <td style="text-align: center !important;" onclick="units.jiance(9)">立即检测</td>
  516. </tr>
  517. </table>
  518. </form>
  519. <form class="form-horizontal richtext" id="form1">
  520. <div class="lists-titles" id="site_info">"项目概况-重点优化"中是否上传,是否全部已优化</div>
  521. <table cellspacing="10px">
  522. <tr>
  523. <td class="td-firsts">是否上传</td>
  524. <td colspan="3">
  525. <div class="lists-boxs ">
  526. <div class="lists">
  527. <input type="checkbox" name="is_key_optimization">
  528. <span id="is_key_optimization_text"></span>
  529. </div>
  530. </div>
  531. </td>
  532. </tr>
  533. <tr>
  534. <td class="td-firsts">是否全部已优化</td>
  535. <td colspan="3">
  536. <div class="lists-boxs ">
  537. <div class="lists">
  538. <input type="checkbox" name="is_optimization" >
  539. <span id="is_optimization_text"></span>
  540. </div>
  541. </div>
  542. </td>
  543. </tr>
  544. <tr style="text-align: center !important" >
  545. <td colspan="2" onclick="units.jiance(10)">立即检测</td>
  546. </tr>
  547. </table>
  548. </form>
  549. <form class="form-horizontal richtext" id="form1">
  550. <div class="lists-titles" id="site_info">“建站流程-建站流程2.0”是否已填写完成</div>
  551. <table cellspacing="10px">
  552. <tr>
  553. <td class="td-firsts">是否已填写完成</td>
  554. <td colspan="3">
  555. <div class="lists-boxs ">
  556. <div class="lists">
  557. <input type="checkbox" name="is_web_status">
  558. <span id="is_web_status_text"></span>
  559. </div>
  560. </div>
  561. </td>
  562. <td style="text-align: center !important;" onclick="units.jiance(11)">立即检测</td>
  563. </tr>
  564. </table>
  565. </form>
  566. <form class="form-horizontal richtext" id="form1">
  567. <div class="lists-titles" id="site_info">源码查看</div>
  568. <table cellspacing="10px">
  569. <tr>
  570. <td class="td-firsts">源代码中是否为< meta property="og:url" content="https://www.{{$site->domain??''}}/" /></td>
  571. <td colspan="3">
  572. <div class="lists-boxs ">
  573. <div class="lists">
  574. <input type="checkbox" name="is_meta_value">
  575. <span id="is_meta_value_text"></span>
  576. </div>
  577. </div>
  578. </td>
  579. <td style="text-align: center !important;" onclick="units.jiance(12)">立即检测</td>
  580. </tr>
  581. <tr>
  582. <td class="td-firsts">源代码中是否每个页面都有 < link rel="canonical" href="https://www.{{$site->domain??''}}/" /></td>
  583. <td colspan="3">
  584. <div class="lists-boxs ">
  585. <div class="lists">
  586. <input type="checkbox" name="is_link_value">
  587. <span id="is_link_value_text"></span>
  588. </div>
  589. </div>
  590. </td>
  591. <td style="text-align: center !important;" onclick="units.jiance(14)">立即检测</td>
  592. </tr>
  593. </table>
  594. </form>
  595. <form class="form-horizontal richtext" id="form1">
  596. <div class="lists-titles" id="site_info">404链接</div>
  597. <table cellspacing="10px">
  598. <tr>
  599. <td class="td-firsts">站内,出站是否有404链接</td>
  600. <td colspan="3">
  601. <div class="lists-boxs ">
  602. <div class="lists">
  603. <input type="checkbox" name="is_404">
  604. <span id="is_404_text"></span>
  605. </div>
  606. </div>
  607. </td>
  608. <td style="text-align: center !important;" onclick="units.jiance(13)">立即检测</td>
  609. </tr>
  610. </table>
  611. </form>
  612. </div>
  613. </div>
  614. </div>
  615. </div>
  616. @endif
  617. @endsection
  618. @section('footer_extend')
  619. <script src="{{asset('js/plugins/chosen/chosen.jquery.js')}}"></script>
  620. <script src="{{asset('js/plugins/switchery/switchery.js')}}"></script>
  621. <script src="{{asset('js/plugins/layDate-v5.0.9/laydate/laydate.js')}}"></script>
  622. <script>
  623. function jump_url(url) {
  624. layer.open({
  625. type:3
  626. })
  627. window.location.href=url;
  628. }
  629. var units = {
  630. jiance: function (type) {
  631. var ajaxConfig = {
  632. url: '/admin/sites/' + "{{$siteId}}" + '/overview_inspect/'+type,
  633. type: 'put',
  634. data: {type: type, id:{{$siteId}}},
  635. success: function (result) {
  636. if(type=='3'){
  637. if(result.data.jump_status_status=='1'){
  638. $("input[name='jump_status_status']").attr("checked",true);
  639. document.getElementById('jump_text').innerText=result.data.jump_status;
  640. }else{
  641. document.getElementById('jump_text').innerText=result.data.jump_status;
  642. }
  643. }else if(type=='4'){
  644. if(result.data.robots1=='2'){$("input[name='robots1']").attr("checked",true);}
  645. if(result.data.robots2=='2'){$("input[name='robots2']").attr("checked",true);}
  646. if(result.data.robots3=='2'){$("input[name='robots3']").attr("checked",true);}
  647. if(result.data.robots4=='2'){$("input[name='robots4']").attr("checked",true);}
  648. if(result.data.robots5=='2'){$("input[name='robots5']").attr("checked",true);}
  649. if(result.data.robots6=='2'){$("input[name='robots6']").attr("checked",true);}
  650. if(result.data.robots7=='2'){$("input[name='robots7']").attr("checked",true);}
  651. if(result.data.robots8=='2'){$("input[name='robots8']").attr("checked",true);}
  652. }else if(type=='5'){
  653. console.log(result);
  654. if(result.data.is_no_https=='2'){
  655. $("input[name='is_no_https']").attr("checked",true);
  656. document.getElementById('is_no_https_text').innerText='是https';
  657. }else{
  658. document.getElementById('is_no_https_text').innerText='不是https';
  659. }
  660. if(result.data.is_repeat=='2'){
  661. document.getElementById('is_repeat_text').innerText='有重复网址';
  662. }else{
  663. $("input[name='is_repeat']").attr("checked",true);
  664. document.getElementById('is_repeat_text').innerText='没有重复网址';
  665. }
  666. if(result.data.is_130=='2'){
  667. document.getElementById('is_130_text').innerText='有';
  668. }else{
  669. $("input[name='is_130']").attr("checked",true);
  670. document.getElementById('is_130_text').innerText='无';
  671. }
  672. if(result.data.is_basic=='2'){
  673. document.getElementById('is_basic_text').innerText='有';
  674. document.getElementById('is_basic_text_content').innerHTML=result.data.basic_text;
  675. }else{
  676. $("input[name='is_basic']").attr("checked",true);
  677. document.getElementById('is_basic_text').innerText='无';
  678. }
  679. }else if(type=='6') {
  680. console.log(result);
  681. if (result.data.is_domain == '2') {
  682. $("input[name='is_domain']").attr("checked", true);
  683. document.getElementById('is_domain_text').innerText = '一致';
  684. } else {
  685. document.getElementById('is_domain_text').innerText = '不一致';
  686. }
  687. }else if(type=='7') {
  688. console.log(result);
  689. if (result.data.is_bing == '2') {
  690. $("input[name='is_bing']").attr("checked", true);
  691. document.getElementById('is_bing_text').innerText = '是';
  692. } else {
  693. document.getElementById('is_bing_text').innerText = '否';
  694. }
  695. if (result.data.is_google == '2') {
  696. $("input[name='is_google']").attr("checked", true);
  697. document.getElementById('is_google_text').innerText = '是';
  698. } else {
  699. document.getElementById('is_google_text').innerText = '否';
  700. }
  701. }else if(type=='8') {
  702. console.log(result);
  703. if (result.data.is_webmaster_domain == '2') {
  704. $("input[name='is_webmaster_domain']").attr("checked", true);
  705. document.getElementById('is_webmaster_domain_text').innerText = '是';
  706. } else {
  707. document.getElementById('is_webmaster_domain_text').innerText = '否';
  708. }
  709. if (result.data.is_api_url == '2') {
  710. $("input[name='is_api_url']").attr("checked", true);
  711. document.getElementById('is_api_url_text').innerText = '是';
  712. } else {
  713. document.getElementById('is_api_url_text').innerText = '否';
  714. }
  715. if (result.data.is_server_id == '2') {
  716. $("input[name='is_server_id']").attr("checked", true);
  717. document.getElementById('is_server_id_text').innerText = '是';
  718. } else {
  719. document.getElementById('is_server_id_text').innerText = '否';
  720. }
  721. }else if(type=='9') {
  722. console.log(result);
  723. if (result.data.is_keyword == '2') {
  724. $("input[name='is_keyword']").attr("checked", true);
  725. document.getElementById('is_keyword_text').innerText = '已上传';
  726. } else {
  727. document.getElementById('is_keyword_text').innerText = '未上传';
  728. }
  729. }else if(type=='10') {
  730. console.log(result);
  731. if (result.data.is_key_optimization == '2') {
  732. $("input[name='is_key_optimization']").attr("checked", true);
  733. document.getElementById('is_key_optimization_text').innerText = '已上传';
  734. } else {
  735. document.getElementById('is_key_optimization_text').innerText = '未上传';
  736. }
  737. if (result.data.is_optimization == '2') {
  738. $("input[name='is_optimization']").attr("checked", true);
  739. document.getElementById('is_optimization_text').innerText = '已全部优化';
  740. } else {
  741. document.getElementById('is_optimization_text').innerText = '未全部优化';
  742. }
  743. }else if(type=='11') {
  744. console.log(result);
  745. if (result.data.is_web_status == '2') {
  746. $("input[name='is_web_status']").attr("checked", true);
  747. document.getElementById('is_web_status_text').innerText = '已填写完成';
  748. } else {
  749. document.getElementById('is_web_status_text').innerText = '未填写完成';
  750. }
  751. }else if(type=='12') {
  752. console.log(result);
  753. if (result.data.is_meta_value == '2') {
  754. $("input[name='is_meta_value']").attr("checked", true);
  755. document.getElementById('is_meta_value_text').innerText = '是';
  756. } else {
  757. document.getElementById('is_meta_value_text').innerText = '否';
  758. }
  759. }else if(type=='13') {
  760. console.log(result);
  761. if (result.data.is_404 == '2') {
  762. document.getElementById('is_404_text').innerText = '是';
  763. } else {
  764. $("input[name='is_404']").attr("checked", true);
  765. document.getElementById('is_404_text').innerText = '否';
  766. }
  767. }else if(type=='14') {
  768. if (result.data.is_link_value == '2') {
  769. $("input[name='is_link_value']").attr("checked", true);
  770. document.getElementById('is_link_value_text').innerText = '是';
  771. } else {
  772. document.getElementById('is_link_value_text').innerText = '否';
  773. }
  774. }
  775. }
  776. };
  777. tips.ajax(ajaxConfig);
  778. }
  779. }
  780. </script>
  781. @endsection