PingAnYeXianSZCG_Web 前端代码

index_v5.html 12KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title></title>
  7. <link href="./css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
  8. <link href="./css/animate.min.css" rel="stylesheet">
  9. <style>
  10. .gray-bg{
  11. background-color: #100e11!important;
  12. }
  13. ul li {
  14. list-style: none;
  15. }
  16. .z_num{
  17. color: #FFFFFF;
  18. font-size: 16px;
  19. text-align: center;
  20. display: block;
  21. margin-top: 8px;
  22. }
  23. .phone_num{
  24. overflow: hidden;
  25. margin-top: 10px;
  26. }
  27. .phone_li{
  28. list-style: none;
  29. font-size: 18px;
  30. color: #73a2fa;
  31. overflow: hidden;
  32. padding-left: 0px;
  33. }
  34. .phone_li li{
  35. width: 50%;
  36. float: left;
  37. padding: 10px;
  38. text-align: center;
  39. }
  40. .phone_li li span{
  41. display: block;
  42. text-align: center;
  43. }
  44. .map_titles{
  45. color: #FFFFFF;
  46. font-size: 16px;
  47. text-align: center;
  48. display: block;
  49. margin-top: 8px;
  50. }
  51. .Map_picter{
  52. width: 100%;
  53. }
  54. .fl{
  55. float: left;
  56. }
  57. .Map_dq ul li{
  58. float: left;
  59. color: #FFFDEF;
  60. width: 20%;
  61. text-align: center;
  62. margin-bottom: 10px;
  63. }
  64. .size-14{
  65. font-size: 14px;
  66. }
  67. .tb{
  68. display: inline-block;
  69. width: 10px;
  70. height: 10px;
  71. background-color: #FFFDEF;
  72. vertical-align: baseline;
  73. }
  74. .xe-z{
  75. display: inline-block;
  76. width: 10px;
  77. height: 10px;
  78. background-color:#fecb00 ;
  79. }
  80. .xe-l{
  81. display: inline-block;
  82. width: 10px;
  83. height: 10px;
  84. background-color:#4ef41b ;
  85. }
  86. .xe-a{
  87. display: inline-block;
  88. width: 10px;
  89. height: 10px;
  90. background-color:#ecaaf1 ;
  91. }
  92. .xe-t{
  93. display: inline-block;
  94. width: 10px;
  95. height: 10px;
  96. background-color:#043288 ;
  97. }
  98. .xe-x{
  99. display: inline-block;
  100. width: 10px;
  101. height: 10px;
  102. background-color:#ed15fa ;
  103. }
  104. .xe-y{
  105. display: inline-block;
  106. width: 10px;
  107. height: 10px;
  108. background-color:#2bf9e8 ;
  109. }
  110. .xe-g{
  111. display: inline-block;
  112. width: 10px;
  113. height: 10px;
  114. background-color: #d8b839;
  115. }
  116. .xe-w{
  117. display: inline-block;
  118. width: 10px;
  119. height: 10px;
  120. background-color:#2b6df1 ;
  121. }
  122. .xe-b{
  123. display: inline-block;
  124. width: 10px;
  125. height: 10px;
  126. background-color:#fc1807 ;
  127. }
  128. .xe-1{
  129. display: inline-block;
  130. width: 10px;
  131. height: 10px;
  132. background-color:#23b166 ;
  133. }
  134. .xe-2{
  135. display: inline-block;
  136. width: 10px;
  137. height: 10px;
  138. background-color:#fbfafa;
  139. }
  140. .xe-3{
  141. display: inline-block;
  142. width: 10px;
  143. height: 10px;
  144. background-color:#f27bbf;
  145. }
  146. .xe-4{
  147. display: inline-block;
  148. width: 10px;
  149. height: 10px;
  150. background-color:#fb028f ;
  151. }
  152. .container{
  153. width:100%!important;
  154. }
  155. </style>
  156. </head>
  157. <body class="gray-bg top-navigation">
  158. <div id="wrapper">
  159. <div id="page-wrapper" class="gray-bg">
  160. <div class="wrapper wrapper-content">
  161. <div class="container">
  162. <div class="row">
  163. <div style="width: 60%; float: left;">
  164. <div id="main1" ></div>
  165. </div>
  166. <div style="width: 40%; float: left;">
  167. <div class="Map">
  168. <span class="map_titles">
  169. 管辖区域来话量统计
  170. </span>
  171. <div class="Map_content">
  172. <div class="">
  173. <img class="Map_picter"src="./img/123.png" alt="" />
  174. </div>
  175. <div class="Map_dq">
  176. <ul class="">
  177. <li>
  178. <b class="xe-z"></b>
  179. <span class="size-14">周至县</span>
  180. <span>80%</span>
  181. </li>
  182. <li>
  183. <b class="xe-l"></b>
  184. <span class="size-14">户县</span>
  185. <span>80%</span>
  186. </li>
  187. <li>
  188. <b class="xe-a"></b>
  189. <span class="size-14">长安区</span>
  190. <span>80%</span>
  191. </li>
  192. <li>
  193. <b class="xe-t"></b>
  194. <span class="size-14">蓝田县</span>
  195. <span>80%</span>
  196. </li>
  197. <li>
  198. <b class="xe-y"></b>
  199. <span class="size-14">阎良区</span>
  200. <span>80%</span>
  201. </li>
  202. <li>
  203. <b class="xe-g"></b>
  204. <span class="size-14">高陵县</span>
  205. <span>80%</span>
  206. </li>
  207. <li>
  208. <b class="xe-w"></b>
  209. <span class="size-14">未央区</span>
  210. <span>80%</span>
  211. </li>
  212. <li>
  213. <b class="xe-b"></b>
  214. <span class="size-14">灞桥区</span>
  215. <span>80%</span>
  216. </li>
  217. <li>
  218. <b class="xe-1"></b>
  219. <span class="size-14">周至县</span>
  220. <span>80%</span>
  221. </li>
  222. <li>
  223. <b class="xe-2"></b>
  224. <span class="size-14">周至县</span>
  225. <span>80%</span>
  226. </li>
  227. <li>
  228. <b class="xe-3"></b>
  229. <span class="size-14">周至县</span>
  230. <span>80%</span>
  231. </li>
  232. <li>
  233. <b class="xe-4"></b>
  234. <span class="size-14">周至县</span>
  235. <span>80%</span>
  236. </li>
  237. </ul>
  238. </div>
  239. </div>
  240. </div>
  241. </div>
  242. </div>
  243. <div class="row">
  244. <div class="col-sm-8 ">
  245. <div id="main" ></div>
  246. </div>
  247. <div class="col-sm-4 ">
  248. <div>
  249. <span class="z_num">话务量总体统计</span>
  250. <div class="phone_num">
  251. <ul class="phone_li">
  252. <li> <strong id="ld"></strong><span>每天来话量</span> </li>
  253. <li><strong id="jtl"></strong><span>接通量</span></li>
  254. <li> <strong id="jtv"></strong><span>接通率</span></li>
  255. <li> <strong id="zxr"></strong><span>坐席人数</span></li>
  256. <li> <strong id="sc"></strong><span>平均通话时长</span></li>
  257. </ul>
  258. </div>
  259. </div>
  260. </div>
  261. </div>
  262. </div>
  263. </div>
  264. </div>
  265. </div>
  266. <script src="./js/jquery.min.js?v=2.1.4"></script>
  267. <script src="http://cdn.hcharts.cn/highcharts/highcharts.js"></script>
  268. <script src="http://cdn.hcharts.cn/highcharts/themes/gray.js"></script>
  269. <script src="./js/radialIndicator.js"></script>
  270. <script>
  271. $(function () {
  272. $('#main').highcharts({
  273. chart: {
  274. type: 'column',
  275. backgroundColor:'#100e11'
  276. },
  277. title: {
  278. text: '坐席闲忙比例'
  279. },
  280. xAxis: {
  281. categories: [
  282. '1',
  283. '2',
  284. '3',
  285. '4',
  286. '5',
  287. '6',
  288. '7',
  289. '8',
  290. '9',
  291. '10',
  292. '11',
  293. '12',
  294. '13',
  295. '14',
  296. '15',
  297. '16',
  298. '17',
  299. '18',
  300. '19',
  301. '20',
  302. '21',
  303. '22',
  304. '23',
  305. '24',
  306. ],
  307. crosshair: true
  308. },
  309. yAxis: {
  310. min: 0,
  311. title: {
  312. text: '人数',
  313. rotation: 0,
  314. y: -160,
  315. }
  316. },
  317. credits: {
  318. enabled: false
  319. },
  320. legend: {
  321. align: 'right',
  322. verticalAlign: 'top',
  323. x: 0,
  324. y: 50
  325. },
  326. tooltip: {
  327. headerFormat: '<span style="font-size:10px">{point.key}</span><table>',
  328. pointFormat: '<tr><td style="color:{series.color};padding:0">{series.name}: </td>' +
  329. '<td style="padding:0"><b>{point.y:.1f}%</b></td></tr>',
  330. footerFormat: '</table>',
  331. shared: true,
  332. useHTML: true
  333. },
  334. plotOptions: {
  335. column: {
  336. pointPadding: 0.2,
  337. borderWidth: 0
  338. }
  339. },
  340. series: [{
  341. name: '在忙',
  342. data: [49.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]
  343. }, {
  344. name: '话务处理',
  345. data: [83.6, 78.8, 98.5, 93.4, 106.0, 84.5, 105.0, 104.3, 91.2, 83.5, 106.6, 92.3]
  346. }, {
  347. name: '闲置',
  348. data: [48.9, 38.8, 39.3, 41.4, 47.0, 48.3, 59.0, 59.6, 52.4, 65.2, 59.3, 51.2]
  349. }]
  350. });
  351. $('#main1').highcharts({
  352. chart: {
  353. type: 'line',
  354. backgroundColor:'#100e11'
  355. },
  356. title: {
  357. text: '话务量实时数据统计'
  358. },
  359. legend: {
  360. align: 'right',
  361. verticalAlign: 'top',
  362. x: 0,
  363. y: 50
  364. },
  365. //LOGO 去掉
  366. credits: {
  367. enabled: false
  368. },
  369. xAxis: {
  370. categories: [
  371. '1',
  372. '2',
  373. '3',
  374. '4',
  375. '5',
  376. '6',
  377. '7',
  378. '8',
  379. '9',
  380. '10',
  381. '11',
  382. '12',
  383. '13',
  384. '14',
  385. '15',
  386. '16',
  387. '17',
  388. '18',
  389. '19',
  390. '20',
  391. '21',
  392. '22',
  393. '23',
  394. '24',
  395. ],
  396. title: {
  397. text: '时间',
  398. align: 'high',
  399. rotation: 0,
  400. y: -50
  401. }
  402. },
  403. yAxis: {
  404. title: {
  405. text: '数量',
  406. rotation: 0,
  407. y: -160
  408. }
  409. },
  410. plotOptions: {
  411. line: {
  412. dataLabels: {
  413. enabled: true // 开启数据标签
  414. },
  415. enableMouseTracking: false // 关闭鼠标跟踪,对应的提示框、点击事件会失效
  416. }
  417. },
  418. series: [{
  419. name: '来话量',
  420. data: [7.0, 6.9, 9.5, 14.5, 18.4, 21.5, 25.2, 26.5, 23.3, 18.3, 13.9, 9.6]
  421. }, {
  422. name: '通话量',
  423. data: [3.9, 4.2, 5.7, 8.5, 11.9, 15.2, 17.0, 16.6, 14.2, 10.3, 6.6, 4.8]
  424. }]
  425. });
  426. });
  427. //进度条
  428. $('#ld').radialIndicator({
  429. radius:40,
  430. barBgColor:'#999',
  431. barColor: 'rgb(221, 223, 13)',
  432. barWidth: 8,
  433. initValue: 40,
  434. roundCorner : true
  435. // percentage: true
  436. })
  437. $('#jtl').radialIndicator({
  438. radius:40,
  439. barBgColor:'#999',
  440. barColor: 'rgb(85, 191, 59)',
  441. barWidth: 8,
  442. initValue: 40,
  443. roundCorner : true
  444. // percentage: true
  445. })
  446. $('#jtv').radialIndicator({
  447. radius:40,
  448. barBgColor:'#999',
  449. barColor: 'rgb(247, 163, 92)',
  450. barWidth: 5,
  451. initValue: 100,
  452. roundCorner : true,
  453. percentage: true
  454. })
  455. $('#zxr').radialIndicator({
  456. radius:40,
  457. barBgColor:'#999',
  458. barColor: 'rgb(241, 92, 128)',
  459. barWidth: 5,
  460. initValue: 40,
  461. roundCorner : true
  462. // percentage: true
  463. })
  464. $('#sc').radialIndicator({
  465. radius:40,
  466. barBgColor:'#999',
  467. barColor: '#87CEEB',
  468. barWidth: 5,
  469. initValue: 40,
  470. roundCorner : true
  471. // percentage: true
  472. })
  473. </script>
  474. </body>
  475. <!-- Mirrored from www.zi-han.net/theme/hplus/index_v5.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:18:52 GMT -->
  476. </html>