商丘12345 前端

index.html 33KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140
  1. <!DOCTYPE html>
  2. <html xmlns:wb="http://open.weibo.com/wb">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>首页</title>
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />
  7. <meta name="renderer" content="webkit">
  8. <link rel="stylesheet" href="css/bootstrap.min.css" />
  9. <link rel="stylesheet" href="css/indexs.css" />
  10. <link rel="stylesheet" href="css/pageSwitch.css" />
  11. <!--[if lt IE 9]>
  12. <script src="http://apps.bdimg.com/libs/html5shiv/3.7/html5shiv.min.js"></script>
  13. <script src="http://apps.bdimg.com/libs/respond.js/1.4.2/respond.min.js"></script>
  14. <![endif]-->
  15. </head>
  16. <body>
  17. <div>
  18. <div class="topbar">
  19. <div class="container">
  20. <ul class="fl">
  21. <li>
  22. <a href="#" target="_self">商丘市政府部门门户网站</a>
  23. </li>
  24. </ul>
  25. <ul class="rl Right_f">
  26. <li>
  27. <a href="http://222.89.245.66:8818/login.html">管理登录</a>
  28. </li>
  29. <li>
  30. <span class="text-muted">|</span>
  31. </li>
  32. <li>
  33. <a href="https://weibo.com/u/6357563178" target="_blank">
  34. <i class="weibo"></i> 新浪微博
  35. </a>
  36. </li>
  37. <li>
  38. <span class="text-muted">|</span>
  39. </li>
  40. <li>
  41. <a href="javascript:;" class="topbarWx">
  42. <img src="img/wechat.png" alt="微信logo" /> 微信公众号
  43. <div class="topbarWx-box">
  44. <i class="topbarWx-code"></i>
  45. <span>微信扫码,关注我们</span>
  46. </div>
  47. </a>
  48. </li>
  49. <li>
  50. <span class="text-muted">|</span>
  51. </li>
  52. <li>
  53. <a href="javascript:;" class="topbarClient">
  54. <img src="img/phone.png" alt="移动客户端logo" /> 移动客户端
  55. <div class="topbarClient-box">
  56. <input id="elevator-app-url0" type="text" value="" style="display: none;" />
  57. <div id="elevator-app-qrcode0"></div>
  58. <span class="">扫码下载,使用客户端</span>
  59. </div>
  60. </a>
  61. </li>
  62. </ul>
  63. </div>
  64. </div>
  65. <div class="headbar" style="border: none; display: none;">
  66. <div class="container">
  67. <div class="brand fl">
  68. <img src="img/logo.png" alt="logo" />
  69. </div>
  70. <ul class="rl Right_nav">
  71. <li>
  72. <a href="#" class="active">网站首页</a>
  73. </li>
  74. <li>
  75. <a href="tousu.html" target="_self">
  76. 网上受理
  77. </a>
  78. </li>
  79. <li>
  80. <a href="shouli.html" target="_self">
  81. 网上查询
  82. </a>
  83. </li>
  84. <li>
  85. <a href="zhengce.html" target="_self">
  86. 政策法规
  87. </a>
  88. </li>
  89. <li>
  90. <a href="PeopleNews.html" target="_self">
  91. 民情速递
  92. </a>
  93. </li>
  94. </ul>
  95. </div>
  96. </div>
  97. <!--banner轮播-->
  98. <section>
  99. <div id="bannerContainer" class="bannerContainer">
  100. <img src="img/banner-img_0.png" alt="图片" />
  101. <!-- <div class="sections">
  102. <div class="section" id="section0"></div>
  103. <div class="section" id="section1"></div>
  104. <div class="section" id="section2"></div>
  105. </div>-->
  106. </div>
  107. </section>
  108. <!--导航-->
  109. <div class="navcon">
  110. <div class="navcon_box clearfix">
  111. <ul class="nav nav-justified">
  112. <li class="actives">
  113. <a href="javascript:;" target="_self">网站首页</a>
  114. </li>
  115. <li>
  116. <a href="dongtai.html" target="_self">工作动态</a>
  117. </li>
  118. <li>
  119. <a href="gonggao.html" target="_self">通知通告</a>
  120. </li>
  121. <li>
  122. <a href="tousu.html" target="_self">网上受理</a>
  123. </li>
  124. <li>
  125. <a href="shouli.html" target="_self">网上查询</a>
  126. </li>
  127. <li>
  128. <a href="zhengce.html" target="_self">政策法规</a>
  129. </li>
  130. <li>
  131. <a href="PeopleNews.html" target="_self">民情速递</a>
  132. </li>
  133. </ul>
  134. </div>
  135. </div>
  136. <!--内容-->
  137. <div class="Content">
  138. <div>
  139. <div class="navcon_box clearfix navCon">
  140. <!--1 小轮播、工作动态和通知通告-->
  141. <div class="navcon_1 clearfix">
  142. <div class="Content_box fl" style="width: 38%; height: 310px; margin-right: 20px;" id="slides">
  143. <!--<div id="container">
  144. <div class="sections">
  145. </div>
  146. </div>-->
  147. <div id="slideCarousel" class="carousel slide" data-ride="carousel">
  148. <!-- Indicators -->
  149. <ol class="carousel-indicators"></ol>
  150. <!-- Wrapper for slides -->
  151. <div class="carousel-inner" role="listbox"></div>
  152. </div>
  153. </div>
  154. <div class="Content_box fl" style="width: 29%;height: 310px; margin-right: 20px;">
  155. <div class="Con_box">
  156. <div class="content_title clearfix ">
  157. <div class="fl">
  158. 工作动态
  159. </div>
  160. <div class="rl mores">
  161. <a href="dongtai.html">更多</a>
  162. </div>
  163. </div>
  164. <div class="content_foot">
  165. <ul class="new_list GZ">
  166. </ul>
  167. </div>
  168. </div>
  169. </div>
  170. <div class="rl" style="width: 29%">
  171. <div class="Content_box fl" style="width: 99.5%; height: 310px; ">
  172. <div class="Con_box">
  173. <div class="Con_boxs">
  174. <div class="content_title clearfix">
  175. <div class="fl">
  176. 通知通告
  177. </div>
  178. <div class="rl mores">
  179. <a href="gonggao.html">更多</a>
  180. </div>
  181. </div>
  182. </div>
  183. <div class="content_foot ">
  184. <ul class="new_list TG">
  185. </ul>
  186. </div>
  187. </div>
  188. </div>
  189. </div>
  190. </div>
  191. <!--2 实时统计、 民情速递和走进商丘-->
  192. <div class="navcon_1 clearfix">
  193. <div class="Content_box fl" style="width: 38%;margin-right: 15px; height: 100%;">
  194. <div class="Con_box">
  195. <div class="content_title clearfix ">
  196. <div class="fl">
  197. 实时统计
  198. </div>
  199. </div>
  200. <div class="content_foot">
  201. <div class="left-statistics">
  202. <p>
  203. <span>12345政府热线共受理:</span>
  204. <span id="totalCount">0件</span>
  205. </p>
  206. <p>
  207. <span>今日共受理:</span>
  208. <span id="jrtotalCount">0件</span>
  209. <span style="width: 80px;display: inline-block;"></span>
  210. <span>今日共交办:</span>
  211. <span id="jrtotalCountJ">0件</span>
  212. </p>
  213. <ul class="left-statistics-content statistics-content clearfix">
  214. <li>
  215. <i class="statistics-icon statistics-icon-1"></i>
  216. <span>电话受理</span>
  217. <span id="dhslCount">0</span>
  218. </li>
  219. <li>
  220. <i class="statistics-icon statistics-icon-2"></i>
  221. <span>12345信箱</span>
  222. <span id="szxxslCount">0</span>
  223. </li>
  224. <li>
  225. <i class="statistics-icon statistics-icon-4"></i>
  226. <span>网站受理</span>
  227. <span id="wzslCount">0</span>
  228. </li>
  229. <li>
  230. <i class="statistics-icon statistics-icon-7"></i>
  231. <span>政务服务网</span>
  232. <span id="zffwwCount">0</span>
  233. </li>
  234. <li>
  235. <i class="statistics-icon statistics-icon-6"></i>
  236. <span>APP受理</span>
  237. <span id="aslCount">0</span>
  238. </li>
  239. <li>
  240. <i class="statistics-icon statistics-icon-3"></i>
  241. <span>微博受理</span>
  242. <span id="weiboslCount">0</span>
  243. </li>
  244. <li>
  245. <i class="statistics-icon statistics-icon-5"></i>
  246. <span>微信受理</span>
  247. <span id="wxslCount">0</span>
  248. </li>
  249. </ul>
  250. </div>
  251. <div id="jobTypePie" style="width: 100%; height: 184px;"></div>
  252. <div id="acceptanceBar" style="width: 100%; height: 284px;"></div>
  253. <!--<div class="right-statistics rl">
  254. <p>
  255. <span>今日共受理:</span>
  256. <span id="jrtotalCount">320件</span>
  257. </p>
  258. <ul class="left-statistics-content statistics-content clearfix">
  259. <li>
  260. <i class="statistics-icon statistics-icon-1"></i>
  261. <span>电话受理</span>
  262. <span id="jrdhslCount">100</span>
  263. </li>
  264. <li>
  265. <i class="statistics-icon statistics-icon-2"></i>
  266. <span>APP受理</span>
  267. <span id="jraslCount">40</span>
  268. </li>
  269. <li>
  270. <i class="statistics-icon statistics-icon-3"></i>
  271. <span>微信受理</span>
  272. <span id="jrwxslCount">160</span>
  273. </li>
  274. <li>
  275. <i class="statistics-icon statistics-icon-4"></i>
  276. <span>其他受理</span>
  277. <span id="jrqtslCount">20</span>
  278. </li>
  279. </ul>
  280. </div>-->
  281. </div>
  282. </div>
  283. </div>
  284. <!--民情速递-->
  285. <div class="Content_box rl" style="width: 60%;height: 381px; margin-bottom: 10px;">
  286. <div class="Con_box">
  287. <div class="Con_PG">
  288. <div class="content_title clearfix ">
  289. <div class="fl">
  290. 民情速递
  291. </div>
  292. <div class="rl mores">
  293. <a href="PeopleNews.html">更多</a>
  294. </div>
  295. </div>
  296. </div>
  297. <div class="content_foot">
  298. <ul class="new_list MQ">
  299. </ul>
  300. </div>
  301. </div>
  302. </div>
  303. <div class="rl Content_box" style="width: 60%; height: 295px;">
  304. <div class=" fl" style="width:100%">
  305. <div class="Con_box">
  306. <div class="content_title clearfix ">
  307. <div class="fl">
  308. 热线图片信息
  309. </div>
  310. <div class="rl mores">
  311. <a href="morePhotos.html">更多</a>
  312. </div>
  313. </div>
  314. <div class="content_foot_img clearfix">
  315. <ul class="new_img clearfix">
  316. </ul>
  317. </div>
  318. </div>
  319. </div>
  320. </div>
  321. </div>
  322. <section class="container img-boundary">
  323. <img src="img/img-boundary.png" alt="图片" width="100%" height="100%" />
  324. </section>
  325. <!--3政策法规 曝光台-->
  326. <div class="navcon_1 clearfix">
  327. <div class="Content_box fl" style="width: 38%;margin-right: 15px;">
  328. <div class="Con_box">
  329. <div class="content_title clearfix ">
  330. <div class="fl">
  331. 政策法规
  332. </div>
  333. <div class="rl mores">
  334. <a href="zhengce.html">更多</a>
  335. </div>
  336. </div>
  337. <div class="content_foot">
  338. <ul class="new_list policy">
  339. </ul>
  340. </div>
  341. </div>
  342. </div>
  343. <!--曝光台-->
  344. <div class="rl Content_box" style="width: 60%">
  345. <div class=" fl" style="width:100%">
  346. <div class="Con_box">
  347. <div class="content_title clearfix ">
  348. <div class="fl">
  349. 曝光台
  350. </div>
  351. <div class="rl mores">
  352. <a href="baoguang.html">更多</a>
  353. </div>
  354. </div>
  355. <div class="content_foot">
  356. <ul class="new_list exposure">
  357. </ul>
  358. </div>
  359. </div>
  360. </div>
  361. </div>
  362. </div>
  363. <section class="container img-boundary clearfix">
  364. <ul>
  365. <li><img width="100%" height="100%" src="img/img-boundary-small-1.jpg" alt="图片" /></li>
  366. <li><img width="100%" height="100%" src="img/img-boundary-small-2.jpg" alt="图片" /></li>
  367. <li><img width="100%" height="100%" src="img/img-boundary-small-3.jpg" alt="图片" /></li>
  368. <li><img width="100%" height="100%" src="img/img-boundary-small-4.jpg" alt="图片" /></li>
  369. <li><img width="100%" height="100%" src="img/img-boundary-small-5.jpg" alt="图片" /></li>
  370. </ul>
  371. </section>
  372. <!--introduction-->
  373. <section class="container introduction clearfix">
  374. <artical class="fl introduction-left clearfix">
  375. <span>商丘</span>
  376. <p>
  377. 商丘,简称“商”或“宋”,河南省地级市,位于豫鲁苏皖四省辐凑之地,素有"豫东门户"之称。 商丘自古一直是兵家必争之地和商贾云集中心,隋唐大运河横贯全境,陇海铁路与京九铁路的普铁高铁、连霍高速与济广高速均在此交会,是国务院规划建设的全国性综合交通枢纽。
  378. </p>
  379. <p>
  380. 商丘是国家历史文化名城,是华夏文明和中华民族的重要发祥地 、中国重要古都,2014年被文化部评为“最具文化底蕴历史文化名城”商丘自古为长寿之乡,是国家森林城市,有4处国家湿地公园 。商丘是全国重要的粮食生产基地,被誉为“豫东粮仓”。
  381. </p>
  382. </artical>
  383. <div class="rl introduction-right">
  384. <ul>
  385. <li>
  386. <span>聚焦商丘</span><i class="statistics-icon"></i>
  387. <img src="img/introduction-img-1.png" alt="聚焦商丘图片" />
  388. </li>
  389. <li>
  390. <span>发展商丘</span><i class="statistics-icon"></i>
  391. <img src="img/introduction-img-2.png" alt="发展商丘图片" />
  392. </li>
  393. <li>
  394. <span>旅游商丘</span><i class="statistics-icon"></i>
  395. <img src="img/introduction-img-3.png" alt="旅游商丘图片" />
  396. </li>
  397. </ul>
  398. </div>
  399. </section>
  400. </div>
  401. </div>
  402. </div>
  403. <hr />
  404. <div class="footerbar container clearfix" style="display: none;">
  405. <ul>
  406. <li>
  407. <dl>
  408. <dt><a href="#">商丘市政</a></dt>
  409. <dd>
  410. <a href="#">网上受理</a>
  411. </dd>
  412. <dd>
  413. <a href="#">受理查询</a>
  414. </dd>
  415. <dd>
  416. <a href="#">政策法规</a>
  417. </dd>
  418. <dd>
  419. <a href="#">我要投诉</a>
  420. </dd>
  421. </dl>
  422. </li>
  423. <li>
  424. <dl>
  425. <dt><a href="#">商丘市政</a></dt>
  426. <dd>
  427. <a href="#">网上受理</a>
  428. </dd>
  429. <dd>
  430. <a href="#">受理查询</a>
  431. </dd>
  432. <dd>
  433. <a href="#">政策法规</a>
  434. </dd>
  435. <dd>
  436. <a href="#">我要投诉</a>
  437. </dd>
  438. </dl>
  439. </li>
  440. <li>
  441. <dl>
  442. <dt><a href="#">商丘市政</a></dt>
  443. <dd>
  444. <a href="#">网上受理</a>
  445. </dd>
  446. <dd>
  447. <a href="#">受理查询</a>
  448. </dd>
  449. <dd>
  450. <a href="#">政策法规</a>
  451. </dd>
  452. <dd>
  453. <a href="#">我要投诉</a>
  454. </dd>
  455. </dl>
  456. </li>
  457. <li>
  458. <dl>
  459. <dt><a href="#">商丘市政</a></dt>
  460. <dd>
  461. <a href="#">网上受理</a>
  462. </dd>
  463. <dd>
  464. <a href="#">受理查询</a>
  465. </dd>
  466. <dd>
  467. <a href="#">政策法规</a>
  468. </dd>
  469. <dd>
  470. <a href="#">我要投诉</a>
  471. </dd>
  472. </dl>
  473. </li>
  474. <li>
  475. <dl>
  476. <dt><a href="#">商丘市政</a></dt>
  477. <dd>
  478. <a href="#">网上受理</a>
  479. </dd>
  480. <dd>
  481. <a href="#">受理查询</a>
  482. </dd>
  483. <dd>
  484. <a href="#">政策法规</a>
  485. </dd>
  486. <dd>
  487. <a href="#">我要投诉</a>
  488. </dd>
  489. </dl>
  490. </li>
  491. </ul>
  492. </div>
  493. <!--底部开始-->
  494. <div class="footer">
  495. <div class="navcon_box footerbox ">
  496. <div>Copyright &copy;2017 商丘12345政府服务热线版权所有 All Rights Reserved.</div>
  497. <div>备案号:
  498. <a href="http://www.miitbeian.gov.cn/" target="_blank" rel="nofollow">豫ICP备17038817号</a>
  499. </div>
  500. </div>
  501. </div>
  502. <!--侧栏-->
  503. <div id="J_GotoTop" class="elevator">
  504. <span class="elevator-title">关注我们</span>
  505. <a href="javascript:;" class="elevator-weixin no-goto" id="js-elevator-weixin">
  506. <i class="icon-wxgzh"></i>
  507. <span class="">微信公众号</span>
  508. <div class="elevator-weixin-box">
  509. <i class="elevator-weixin-code"></i>
  510. <span class="">微信扫码,关注我们</span>
  511. </div>
  512. </a>
  513. <a href="javascript:;" class="elevator-weixin no-goto" id="js-elevator-weixin">
  514. <i class="icon-xlwb"></i>
  515. <span class="">新浪微博</span>
  516. <div class="elevator-xlwb-box">
  517. <i class="elevator-xlwb-code"></i>
  518. <span class="">微信扫码,关注我们</span>
  519. </div>
  520. </a>
  521. <a href="javascript:;" target="_blank" class="elevator-app">
  522. <i class="icon-appdownload"></i>
  523. <span class="">下载客户端</span>
  524. <div class="elevator-app-box">
  525. <input id="elevator-app-url" type="text" value="" style="display: none;" />
  526. <div id="elevator-app-qrcode"></div>
  527. <span class="">扫码下载,使用客户端</span>
  528. </div>
  529. </a>
  530. <a href="javascript:;" target="" class="elevator-chat">
  531. <i class="icon-lineChat"></i>
  532. <span class="">在线客服</span>
  533. <!--<div class="elevator-app-box">
  534. <input id="elevator-app-url" type="text" value="" style="display: none;" />
  535. <div id="elevator-app-qrcode"></div>
  536. <span class="">扫码下载,使用客户端</span>
  537. </div>-->
  538. </a>
  539. <a href="javascript:;" class="elevator-top no-goto" style="display:none" id="backTop">
  540. <i class="icon-up2"></i>
  541. <span class="">返回顶部</span>
  542. </a>
  543. </div>
  544. </div>
  545. <!--<script src="js/jquery.min.js"></script>-->
  546. <script src="js/jquery-1.8.js" type="text/javascript"></script>
  547. <script src="js/common/huayi.config.js"></script>
  548. <script src="js/common/huayi.http.js"></script>
  549. <!--<script src="js/pageSwitch.js"></script>-->
  550. <script src="js/bootstrap.min.js"></script>
  551. <script src="https://img.hcharts.cn/highcharts/highcharts.js"></script>
  552. <script src="https://img.hcharts.cn/highcharts/highcharts-3d.js"></script>
  553. <script src="https://img.hcharts.cn/highcharts-plugins/highcharts-zh_CN.js"></script>
  554. <script src="js/qrcode.min.js"></script>
  555. <script src="layer/layer.js"></script>
  556. <script>
  557. $(document).ready(function() {
  558. Image(); //图片轮播
  559. Work(); //工作动态
  560. Announcemen(); //通知通告
  561. jobTypePie();
  562. Exposure(); //曝光台
  563. acceptanceBar();
  564. statistics(); //实时统计
  565. IMG(); //走进商丘图片
  566. Policy(); //政策法规
  567. People(); //民情速递
  568. getClient(); //获取客户端地址并转成二维码
  569. // $("#bannerContainer").PageSwitch({
  570. // direction: 'horizontal',
  571. // easing: 'ease-in-out',
  572. // duration: 600,
  573. // autoPlay: true,
  574. // interval: 5000,
  575. // loop: 'false'
  576. // });
  577. //顶部hover
  578. $('.topbarWx').hover(function() {
  579. $('.topbarWx .topbarWx-box').css('left', $(this).offset().left);
  580. });
  581. $('.topbarClient').hover(function() {
  582. $('.topbarClient .topbarClient-box').css('left', $(this).offset().left);
  583. });
  584. })
  585. //banner图片轮播
  586. // function bannerImage() {
  587. //
  588. //
  589. // $.post(huayi.config.callcenter_url + "Web/GetTopImgNewsList", {
  590. //
  591. // }, function(result) {
  592. // result = JSON.parse(result);
  593. // var content = result.data;
  594. // for(var i = 0; i < content.length; i++) {
  595. // $('<a href="dongtai-con.html?id=' + content[i].id +
  596. // '" title="' + content[i].bt +
  597. // '"><div class="section" id="section' + [i] +
  598. // '" style="background:(' +content[i].img + ')">'
  599. // ).appendTo(".bannerSections ");
  600. // }
  601. // $("#bannerContainer").PageSwitch({
  602. // direction: 'horizontal',
  603. // easing: 'ease-in',
  604. // duration: 2500,
  605. // autoPlay: true,
  606. // loop: 'false'
  607. // });
  608. //
  609. // })
  610. // }
  611. //在线客服
  612. $('.elevator-chat').click(function() {
  613. layer.open({
  614. type: 2,
  615. content: "chatWith.html", //iframe的url,no代表不显示滚动条
  616. title: '在线客服聊天',
  617. area: ['40%', '520px'], //宽高
  618. });
  619. })
  620. //
  621. //回到顶部
  622. $('.elevator-top').click(function() {
  623. $("html, body").animate({
  624. scrollTop: 0
  625. }, 'slow', 'swing');
  626. }),
  627. $(window).bind("scroll", backToTopFun);
  628. $(function() {
  629. backToTopFun();
  630. });
  631. function backToTopFun() {
  632. var st = $(document).scrollTop(),
  633. winh = $(window).height();
  634. (st > 285) ? $('#J_GotoTop .elevator-top').show(): $('#J_GotoTop .elevator-top').hide();
  635. //IE6下的定位
  636. if(!window.XMLHttpRequest) {
  637. $('#J_GotoTop').css("top", st + winh - 166);
  638. }
  639. };
  640. //图片轮播
  641. function Image() {
  642. $.post(huayi.config.callcenter_url + "Web/GetTopImgNewsList", {
  643. }, function(result) {
  644. var result = JSON.parse(result);
  645. var content = result.data;
  646. var $ol = $('#slideCarousel').find('.carousel-indicators');
  647. var $listbox = $('#slideCarousel').find('.carousel-inner');
  648. for(var i = 0; i < content.length; i++) {
  649. $ol.append('<li data-target="#slideCarousel" data-slide-to="'+ i +'"></li>');
  650. $listbox.append('<div class="item">'+
  651. '<a href="dongtai-con.html?id=' + content[i].id + '" title="' + content[i].bt + '">'+
  652. '<img src="' + content[i].img + '" alt="图片'+ i +'">'+
  653. '</a>'+
  654. '<div class="carousel-caption">'+
  655. '<p>' + content[i].bt + '</p>'+
  656. '</div>'+
  657. '</div>');
  658. }
  659. $ol.find('li:first').addClass('active');
  660. $listbox.find('.item:first').addClass('active');
  661. $('.carousel').carousel({
  662. //interval: 2500
  663. });
  664. })
  665. }
  666. //通知通告
  667. function Announcemen() {
  668. $.post(huayi.config.callcenter_url + "Web/GetTopNewsList", {
  669. type: 6,
  670. num: 8
  671. }, function(result) {
  672. result = JSON.parse(result);
  673. if(result.state.toLowerCase() == "success") {
  674. var content = result.data;
  675. //debugger;
  676. /*$('<div class="content_title clearfix">'+
  677. '<div class="fl">'+
  678. '通知通告'+
  679. '</div>'+
  680. '<div class="rl mores">'+
  681. '<a href="gonggao.html">'+
  682. '更多'+
  683. '</a>'+
  684. '</div>'+
  685. '</div>'+
  686. '<div class="content_moddile" style="padding-left: 15px;">' +
  687. '<span class="cont_modtitle">' + content[0].bt + '</span>' +
  688. '<div class="cont_wz s-14">' +
  689. '' + content[0].bt + '' +
  690. '<a href="gonggao-con.html?id=' + content[0].id + '" title=' + content[0].bt + '>[详情]</a>' +
  691. '</div>' +
  692. '<div class="fx"></div>' +
  693. '</div>').appendTo(".Con_boxs");*/
  694. for(var i = 0; i < content.length; i++) {
  695. var time = content[i].sj.substring(0, content[i].sj.indexOf(' '));
  696. $('<li>' +
  697. '<div class="new_title clearfix">' +
  698. '<h1 class="fl s-14">' +
  699. '<a href="gonggao-con.html?id=' + content[i].id + '" title=' + content[i].bt + '><strong>·</strong>' + content[i].bt + '</a>' +
  700. '</h1>' +
  701. '<em class="rl s-14">' + time + '</em>' +
  702. '</div>' +
  703. '</li>').appendTo(".TG");
  704. }
  705. }
  706. })
  707. }
  708. //工作动态
  709. function Work() {
  710. $.post(huayi.config.callcenter_url + "Web/GetTopNewsList", {
  711. type: 1,
  712. num: 8
  713. }, function(result) {
  714. result = JSON.parse(result);
  715. if(result.state.toLowerCase() == "success") {
  716. var content = result.data;
  717. for(var i = 0; i < content.length; i++) {
  718. var time = content[i].sj.substring(0, content[i].sj.indexOf(' '));
  719. $('<li>' +
  720. '<div class="new_title clearfix">' +
  721. '<h1 class="fl s-14">' +
  722. '<a href="dongtai-con.html?id=' + content[i].id + '" title=' + content[i].bt + '><strong>·</strong>' + content[i].bt + '</a>' +
  723. '</h1>' +
  724. '<em class="rl s-14">' + time + '</em>' +
  725. '</div>' +
  726. '</li>').appendTo(".GZ");
  727. }
  728. }
  729. })
  730. }
  731. //走进商丘图片
  732. function IMG() {
  733. $.post(huayi.config.callcenter_url + "Web/GetTopNewsList", {
  734. type: 5,
  735. num: 8
  736. }, function(result) {
  737. result = JSON.parse(result);
  738. var content = result.data;
  739. //console.log(content);
  740. for(var i = 0; i < content.length; i++) {
  741. var a_ = 'img/meilihebi.png';
  742. var a = content[i].img;
  743. if(a) {
  744. } else {
  745. a = a_;
  746. }
  747. //debugger;
  748. $('<li class="m-r">' +
  749. '<div class="_imgbox clearfix">' +
  750. '<a href="ShowImg.html?id=' + content[i].id + '" title="' + content[i].bt + '"><img src="' + a + '" /></a>' +
  751. '</div>' +
  752. '</li>')
  753. .appendTo(".new_img ");
  754. $(".new_img li").find("img ").hover(function() {
  755. $(this).addClass("box-show");
  756. }, function() {
  757. $(this).removeClass("box-show");
  758. })
  759. }
  760. })
  761. }
  762. //政策法规
  763. function Policy() {
  764. $.post(huayi.config.callcenter_url + "Web/GetTopNewsList", {
  765. type: 4,
  766. num: 8
  767. }, function(result) {
  768. result = JSON.parse(result);
  769. if(result.state.toLowerCase() == "success") {
  770. var content = result.data;
  771. for(var i = 0; i < content.length; i++) {
  772. var time = content[i].sj.substring(0, content[i].sj.indexOf(' '));
  773. $('<li>' +
  774. '<div class="new_title clearfix">' +
  775. '<h1 class="fl s-14">' +
  776. '<a href="zhengce-con.html?id=' + content[i].id + '" title=' + content[i].bt + '><strong>·</strong>' + content[i].bt + '</a>' +
  777. '</h1>' +
  778. '<em class="rl s-14">' + time + '</em>' +
  779. '</div>' +
  780. '</li>').appendTo(".policy");
  781. }
  782. }
  783. })
  784. }
  785. //民情速递
  786. function People() {
  787. $.post(huayi.config.callcenter_url + "Web/GetTopNewsList", {
  788. type: 2,
  789. num: 11
  790. }, function(result) {
  791. result = JSON.parse(result);
  792. var content = result.data;
  793. for(var i = 0; i < content.length; i++) {
  794. var time = content[i].sj.substring(0, content[i].sj.indexOf(' '));
  795. $('<li>' +
  796. '<div class="new_title clearfix">' +
  797. '<h1 class="fl s-14">' +
  798. '<a href="minqing-con.html?id=' + content[i].id + '" title=' + content[i].id + '><strong>·</strong>' + content[i].bt + '</a>' +
  799. '</h1>' +
  800. '<em class="rl s-14">' + time + '</em>' +
  801. '</div>' +
  802. '</li>').appendTo(".MQ");
  803. }
  804. })
  805. }
  806. //实时统计
  807. function statistics() {
  808. var totalCount = 0;
  809. $.post(huayi.config.callcenter_url + "web/GetWebSourceCount", {
  810. }, function(result) {
  811. result = JSON.parse(result);
  812. var content = result.data;
  813. //政府热线共受理
  814. for(var i = 0; i < content.total.length; i++) {
  815. totalCount += content.total[i].Count;
  816. if(content.total[i].Source == '电话') {
  817. //电话受理
  818. var dhslCount = content.total[i].Count;
  819. $('#dhslCount').html(dhslCount);
  820. } else if(content.total[i].Source == '手机APP') {
  821. //App受理
  822. var aslCount = content.total[i].Count;
  823. $('#aslCount').html(aslCount);
  824. } else if(content.total[i].Source == '微信') {
  825. //微信受理
  826. var wxslCount = content.total[i].Count;
  827. $('#wxslCount').html(wxslCount);
  828. } else if(content.total[i].Source == '12345信箱') {
  829. //12345信箱
  830. var szxxslCount = content.total[i].Count;
  831. $('#szxxslCount').html(szxxslCount);
  832. } else if(content.total[i].Source == '微博') {
  833. //微博受理
  834. var weiboslCount = content.total[i].Count;
  835. $('#weiboslCount').html(weiboslCount);
  836. } else if(content.total[i].Source == '网站') {
  837. //网站受理
  838. var wzslCount = content.total[i].Count;
  839. $('#wzslCount').html(wzslCount);
  840. } else if(content.total[i].Source == '政务服务网') {
  841. //微信受理
  842. var zffwwCount = content.total[i].Count;
  843. $('#zffwwCount').html(zffwwCount);
  844. }
  845. }
  846. //政府热线合计
  847. $('#totalCount').html(totalCount + '件');
  848. //今日共受理
  849. $('#jrtotalCount').html(content.dayaccept + '件');
  850. //今日共交办
  851. $('#jrtotalCountJ').html(content.dayassign + '件');
  852. })
  853. }
  854. //曝光台
  855. function Exposure() {
  856. $.post(huayi.config.callcenter_url + "/Web/GetTopNewsList", {
  857. type: 3,
  858. num: 8
  859. }, function(result) {
  860. result = JSON.parse(result);
  861. //debugger;
  862. if(result.state.toLowerCase() == "success") {
  863. var content = result.data;
  864. if(content) {
  865. for(var i = 0; i < 9; i++) {
  866. if(content[i]) {
  867. var time = content[i].sj.substring(0, content[i].sj.indexOf(' '));
  868. // $('<div class="content_moddile" style="padding-left: 15px;">' +
  869. // '<span class="cont_modtitle">' + content[0].bt + '</span>' +
  870. // '<div class="cont_wz s-14">' +
  871. // '' + content[0].bt + '' +
  872. // '<a href="PG.html?id=' + content[0].id + '" title=' + content[0].bt + '>[详情]</a>' +
  873. // '</div>' +
  874. // '<div class="fx"></div>' +
  875. // '</div>').appendTo(".Con_PG");
  876. $('<li>' +
  877. '<div class="new_title clearfix">' +
  878. '<h1 class="fl s-14">' +
  879. '<a href="PG.html?id=' + content[i].id + '" title=' + content[i].bt + '><strong>·</strong>' + content[i].bt + '</a>' +
  880. '</h1>' +
  881. '<em class="rl s-14">' + time + '</em>' +
  882. '</div>' +
  883. '</li>').appendTo(".exposure");
  884. }
  885. }
  886. }
  887. //console.log(content);
  888. }
  889. })
  890. }
  891. //饼图
  892. function jobTypePie() {
  893. $.getJSON(huayi.config.callcenter_url + 'Web/GetWebTypePercent', {
  894. }, function(result) {
  895. if(result.state.toLowerCase() == "success") {
  896. //饼图
  897. $('#jobTypePie').highcharts({
  898. chart: {
  899. type: 'pie',
  900. height: 200,
  901. marginTop: 0,
  902. options3d: {
  903. enabled: true,
  904. alpha: 70,
  905. beta: 0
  906. }
  907. },
  908. credits: {
  909. enabled: false // 禁用版权信息
  910. },
  911. title: {
  912. text: '办件类型比例分析',
  913. style: {
  914. 'color': '#616161',
  915. 'font-weight': 'bold',
  916. 'font-size': '16px'
  917. }
  918. },
  919. tooltip: {
  920. pointFormat: '{series.name}: <b>{point.percentage:.1f}%</b>'
  921. },
  922. plotOptions: {
  923. pie: {
  924. allowPointSelect: true,
  925. cursor: 'pointer',
  926. depth: 35,
  927. dataLabels: {
  928. enabled: true,
  929. format: '{point.name}'
  930. }
  931. },
  932. series: {
  933. borderWidth: 0,
  934. dataLabels: {
  935. enabled: true,
  936. color: '#626262',
  937. format: '{point.name}: <b>{point.percentage:.1f}%</b>'
  938. }
  939. }
  940. },
  941. series: [{
  942. type: 'pie',
  943. name: '类工单占比',
  944. data: (function() {
  945. var seriesData = result.data;
  946. var arrs = [];
  947. for(var k = 0; k < seriesData.length; k++) {
  948. var objs = [];
  949. objs[0] = seriesData[k].typename;
  950. objs[1] = seriesData[k].percent;
  951. arrs.push(objs);
  952. }
  953. return arrs;
  954. })()
  955. }]
  956. });
  957. }
  958. })
  959. }
  960. //柱状图
  961. function acceptanceBar() {
  962. $.getJSON(huayi.config.callcenter_url + 'Web/GetWebKeyCount', {
  963. isscqt: 1
  964. }, function(result) {
  965. if(result.state.toLowerCase() == "success") {
  966. //柱状图
  967. $('#acceptanceBar').highcharts({
  968. chart: {
  969. type: 'column',
  970. marginRight: 70,
  971. marginBottom: 70
  972. },
  973. credits: {
  974. enabled: false // 禁用版权信息
  975. },
  976. title: {
  977. text: '办件关键词分析',
  978. style: {
  979. 'color': '#616161',
  980. 'font-weight': 'bold',
  981. 'font-size': '16px'
  982. },
  983. },
  984. xAxis: {
  985. title: {
  986. text: '(关键词)',
  987. align: 'high',
  988. x: 60,
  989. y: -55
  990. },
  991. type: 'category',
  992. labels: {
  993. style: {
  994. 'color': '#626262',
  995. }
  996. }
  997. },
  998. yAxis: {
  999. lineWidth: 1,
  1000. tickWidth: 1,
  1001. title: {
  1002. text: '单位:件',
  1003. offset: 0,
  1004. align: 'high',
  1005. rotation: 0,
  1006. y: -12
  1007. },
  1008. labels: {
  1009. style: {
  1010. 'color': '#626262',
  1011. }
  1012. }
  1013. },
  1014. legend: {
  1015. enabled: false
  1016. },
  1017. plotOptions: {
  1018. series: {
  1019. borderWidth: 0,
  1020. dataLabels: {
  1021. enabled: true,
  1022. format: '{point.y}'
  1023. }
  1024. }
  1025. },
  1026. tooltip: {
  1027. headerFormat: '<span style="font-size:11px">{series.name}</span><br>',
  1028. pointFormat: '<span style="color:{point.color}">{point.name}</span>: <b>{point.y}件</b><br/>'
  1029. },
  1030. series: [{
  1031. name: '办件关键词分析',
  1032. colorByPoint: true,
  1033. data: (function() {
  1034. var seriesData = result.data;
  1035. var arrs = [];
  1036. for(var k = 0; k < seriesData.length; k++) {
  1037. var objs = {};
  1038. objs.name = seriesData[k].keyname;
  1039. objs.y = seriesData[k].count;
  1040. arrs.push(objs);
  1041. }
  1042. return arrs;
  1043. })()
  1044. }]
  1045. });
  1046. }
  1047. })
  1048. }
  1049. //获取客户端地址并转成二维码
  1050. function getClient() {
  1051. var curentHost = window.location.protocol + '//' + window.location.host;
  1052. var clientURL = curentHost + '/download.html?n=' + Math.random();
  1053. if(clientURL) {
  1054. $('#elevator-app-url0').val(clientURL);
  1055. $('#elevator-app-url').val(clientURL);
  1056. getQrcode('elevator-app-qrcode0', 'elevator-app-url0');
  1057. getQrcode('elevator-app-qrcode', 'elevator-app-url');
  1058. function getQrcode(ele1, ele2) {
  1059. var qrcode = new QRCode(document.getElementById(ele1), {
  1060. width: 108,
  1061. height: 108
  1062. });
  1063. var elText = document.getElementById(ele2);
  1064. qrcode.makeCode(elText.value);
  1065. }
  1066. }
  1067. }
  1068. </script>
  1069. </body>
  1070. </html>