P0.html 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta name="renderer" content="webkit">
  5. <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  6. <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
  7. <meta http-equiv="pragma" content="no-cache">
  8. <meta http-equiv="Cache" content="no-cache">
  9. <meta http-equiv="cache-control" content="no-cache, must-revalidate">
  10. <meta http-equiv="expires" content="0">
  11. <meta name="viewport"
  12. content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  13. <title>实时位置</title>
  14. <link rel="stylesheet" href="../css/index.css">
  15. <link rel="stylesheet" href="../css/style.css">
  16. <link rel="stylesheet" href="../css/iconfont.css">
  17. <script src="https://webapi.amap.com/maps?v=1.4.15&key=3705e0f15b2b36d6902e9ebdf24a93d8&plugin=AMap.Scale"></script>
  18. <script src="https://a.amap.com/jsapi_demos/static/demo-center/js/demoutils.js"></script>
  19. <script src="../js/vue.min.js"></script>
  20. <script src="../js/index.js"></script>
  21. <script src="../js/jquery.min.js"></script>
  22. <script src="../js/pako.js"></script>
  23. <script type="text/javascript">
  24. document.write('<script src="../assets/init.js?id='+(new Date().getTime())+'" type="text/javascript" charset="utf-8"><\/script>');
  25. document.write('<script src="../assets/ajax.js?id='+(new Date().getTime())+'" type="text/javascript" charset="utf-8"><\/script>');
  26. </script>
  27. <script>
  28. checkLogin();
  29. </script>
  30. <style type="text/css">
  31. .yz_main{
  32. width: calc(100% - 160px);
  33. height: 100%;
  34. float: right;
  35. padding: 10px;
  36. }
  37. .yz_aside{
  38. width: 160px;
  39. height: 100%;
  40. float: left;
  41. color: #fff;
  42. background-color: #06162d;
  43. }
  44. .warmli li{
  45. cursor: pointer;
  46. display: flex;
  47. align-items: center;
  48. list-style: none;
  49. font-size: 14px;
  50. color: #fff;
  51. padding:6px 10px;
  52. }
  53. .warmli li .iconfont{
  54. color: #227dd3;
  55. font-size: 1.2rem;
  56. margin-right: 4px;
  57. }
  58. .warmli li .act{
  59. color: #227dd3;
  60. }
  61. .amap-info-content{
  62. padding: 0;
  63. }
  64. .amap-info-close{
  65. right: 10px !important;
  66. top: 8px;
  67. color: #fff;
  68. font-size: 24px;
  69. }
  70. .nowShip{
  71. color: #000;
  72. width: 220px;
  73. border-radius: 2px;
  74. overflow: hidden;
  75. font-size: 14px;
  76. background-color: #fff;
  77. box-shadow: 0 10px 2px rgba(0, 0, 0,0.5);
  78. }
  79. .mapTitle {
  80. padding: 6px 10px;
  81. font-weight: bold;
  82. font-size: 15px;
  83. color: #fff;
  84. background-color: #0068ff;
  85. }
  86. .mapInfo>div{
  87. display: flex;
  88. align-items: flex-start;
  89. color: #474747;
  90. margin-bottom: 4px;
  91. }
  92. .mapInfo>div>div:first-child{
  93. color:#0068ff;
  94. width: 50px;
  95. }
  96. .mapInfo>div>div:last-child{
  97. width:calc(100% - 50px);
  98. }
  99. </style>
  100. </head>
  101. <body>
  102. <div id="app" style="height:100vh;overflow: auto;">
  103. <div class="yz_aside warmli">
  104. <div class="padding-sm text-bold" style="color: #5793f3;">设备列表</div>
  105. <ul style="height: calc(100% - 52px);overflow: auto;">
  106. <li v-for="(it,ind) in shipLi" :key="ind" @click="changTab(it.sn)">
  107. <div class="iconfont icon-chuanbo"></div>
  108. <div :class="it.sn == nowTab.sn?'act':''">{{it.prod}}</div>
  109. </li>
  110. </ul>
  111. </div>
  112. <div class="yz_main" style="padding: 0;">
  113. <div id="areaMap" style="width: 100%;height: 100%;"></div>
  114. </div>
  115. </div>
  116. <script type="text/javascript">
  117. document.write('<script src="../assets/shipManage.js?id='+(new Date().getTime())+'" type="text/javascript" charset="utf-8"><\/script>');
  118. </script>
  119. </body>
  120. </html>