MobilizeStrength.vue 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  1. <template>
  2. <div class="maintenance-supervision">
  3. <div class="plate">
  4. 出动3个支队(渝中、北碚、大渡口),带队领导章三(渝中支队,185232323233,副支
  5. 队长)李四(九龙坡支队,1852323223,副支队长),王五(大渡口支队,1852323223,副
  6. 支队长)出动20位作战人员,4辆【泡沫车、3辆水罐车、2辆登高作业车。
  7. </div>
  8. <div>
  9. <div class="row header">
  10. <span class="time">车牌号</span>
  11. <span class="person">车辆类型</span>
  12. <span class="result">车速</span>
  13. <span class="result1">状态</span>
  14. <span class="result2">预计到场时间</span>
  15. <span class="result3">实际到时间</span>
  16. </div>
  17. <VueSeamlessScroll :data="list" :class-option="classOption" class="warp">
  18. <ul class="item">
  19. <li class="row" v-for="(item, index) in list" :key="index">
  20. <span class="time">{{ item[0] }}</span>
  21. <span class="person">{{ item[1] }}</span>
  22. <span class="result">{{ item[2] }}</span>
  23. <span class="result1">{{ item[3] }}</span>
  24. <span class="result2">{{ item[4] }}</span>
  25. <span class="result3">{{ item[5] }}</span>
  26. </li>
  27. </ul>
  28. </VueSeamlessScroll>
  29. </div>
  30. <div class="btn">火场文书</div>
  31. <div class="writ">
  32. <div class="writTab">
  33. <div class="wenshuTxt">最新文书</div>
  34. <div class="wenshuImg">图标</div>
  35. </div>
  36. <div class="content">
  37. <black v-for="(item,index) in 1" :key="index">
  38. <div style="">
  39. <div class="contFlex">
  40. <div class="contType">警情状态</div>
  41. <div class="conTime">2023 5/13 15:21:01</a></div>
  42. </div>
  43. <div class="contTxt">归档</div>
  44. <div class="contBox" style="margin: 6px 0;">15时05分全勤指挥部到指挥中心远程指挥。 姓名:袁荣 电话:18602303119
  45. 15时05分全勤指挥部到指挥中心远程指挥。 姓名:袁荣 电话:18602303119
  46. 15时05分全勤指挥部到指挥中心远程指挥。 姓名:袁荣 电话:18602303119
  47. 15时05分全勤指挥部到指挥中心远程指挥。 姓名:袁荣 电话:18602303119
  48. 15时05分全勤指挥部到指挥中心远程指挥。 姓名:袁荣 电话:18602303119</div>
  49. <div class="contText">秀山土家族苗族自治县消防救援大队</div>
  50. </div>
  51. </black>
  52. </div>
  53. </div>
  54. </div>
  55. </template>
  56. <script>
  57. import VueSeamlessScroll from "vue-seamless-scroll";
  58. export default {
  59. name: 'MaintenanceSupervision',
  60. data() {
  61. return {
  62. list: [
  63. ["渝X12345", "水泡车", "78km/h", "12分钟", "12:30", "12:31"],
  64. ["渝X12345", "水泡车", "78km/h", "12分钟", "12:30", "12:31"],
  65. ["渝X12345", "水泡车", "78km/h", "12分钟", "12:30", "12:31"],
  66. ["渝X12345", "水泡车", "78km/h", "12分钟", "12:30", "12:31"],
  67. ["渝X12345", "水泡车", "78km/h", "12分钟", "12:30", "12:31"],
  68. ],
  69. checked: 0,
  70. }
  71. },
  72. components: {
  73. VueSeamlessScroll
  74. },
  75. computed: {
  76. classOption() {
  77. return {
  78. singleHeight: 43,
  79. };
  80. },
  81. },
  82. methods: {
  83. change(idx) {
  84. this.checked = idx
  85. console.log("切换索引", idx)
  86. },
  87. resultType(text) {
  88. return {
  89. "合格": "#23f59d",
  90. "不合格": "#df575b",
  91. "是": "#23f59d",
  92. "否": "#df575b"
  93. } [text]
  94. }
  95. }
  96. }
  97. </script>
  98. <style scoped lang='less'>
  99. .writ {
  100. width: 521px;
  101. }
  102. .writTab {
  103. display: flex;
  104. align-items: center;
  105. justify-content: space-between;
  106. background: rgba(14, 90, 105, 0.6);
  107. padding: 10px 12px;
  108. box-sizing: border-box;
  109. }
  110. .wenshuTxt{
  111. font-family: 'PingFang SC';
  112. font-style: normal;
  113. font-weight: 500;
  114. font-size: 12px;
  115. }
  116. .content {
  117. padding: 6px 12px;
  118. box-sizing: border-box;
  119. background: linear-gradient(180deg, rgba(49, 121, 173, 0.5) 0%, rgba(43, 101, 142, 0.245) 100%);
  120. height: 200px;
  121. }
  122. .contFlex {
  123. display: flex;
  124. align-items: center;
  125. justify-content: space-between;
  126. margin: 10px 0;
  127. }
  128. .contType {
  129. font-family: 'PingFang SC';
  130. font-style: normal;
  131. font-weight: 500;
  132. font-size: 12px;
  133. }
  134. .conTime {
  135. font-family: 'PingFang SC';
  136. font-style: normal;
  137. font-weight: 500;
  138. font-size: 12px;
  139. }
  140. .contTxt {
  141. font-family: 'PingFang SC';
  142. font-style: normal;
  143. font-weight: 500;
  144. font-size: 14px;
  145. margin-top: 4px;
  146. }
  147. .contBox{
  148. height: 100px;
  149. overflow: auto;
  150. line-height: 20px;
  151. }
  152. .contText {
  153. text-align: right;
  154. font-family: 'PingFang SC';
  155. font-style: normal;
  156. font-weight: 500;
  157. font-size: 12px;
  158. line-height: 20px;
  159. }
  160. .btn {
  161. margin-bottom: 3px;
  162. text-align: center;
  163. line-height: 28px;
  164. width: 101px;
  165. height: 28px;
  166. border-radius: 4px;
  167. background: linear-gradient(180deg, rgba(0, 148, 255, 0.5) 0%, rgba(0, 148, 255, 0) 100%);
  168. }
  169. .plate {
  170. line-height: 18px;
  171. font-size: 12px;
  172. height: 79px;
  173. padding: 12px 15px;
  174. box-sizing: border-box;
  175. background: linear-gradient(180deg, rgba(49, 121, 173, 0.5) 0%, rgba(43, 101, 142, 0.245) 100%);
  176. }
  177. .tab {}
  178. .maintenance-supervision {
  179. padding: 10px 10px 0px 10px;
  180. .maintenance-supervision_header {
  181. border-bottom: 1px solid #154956;
  182. padding-bottom: 2px;
  183. }
  184. .warp {
  185. height: 140px;
  186. margin: 0 auto;
  187. overflow: hidden;
  188. .item {
  189. list-style: none;
  190. padding: 0;
  191. margin: 0 auto;
  192. cursor: pointer;
  193. }
  194. }
  195. .header {
  196. color: #fff;
  197. height: 33px !important;
  198. line-height: 33px !important;
  199. background-color: rgba(0, 163, 255, 0.3) !important;
  200. color: #61DBFF;
  201. margin-top: 15px;
  202. margin-bottom: 6px;
  203. }
  204. .row,
  205. li,
  206. a {
  207. display: block;
  208. height: 39px;
  209. line-height: 39px;
  210. margin-bottom: 4px;
  211. display: flex;
  212. justify-content: space-between;
  213. align-items: center;
  214. font-size: 12px;
  215. background-color: rgba(0, 0, 0, 0.2);
  216. .time,
  217. .person,
  218. .result {
  219. flex: 0.33;
  220. display: flex;
  221. justify-content: center;
  222. align-items: center;
  223. }
  224. .result1 {
  225. flex: 0.33;
  226. display: flex;
  227. justify-content: center;
  228. align-items: center;
  229. }
  230. .result2 {
  231. flex: 0.33;
  232. display: flex;
  233. justify-content: center;
  234. align-items: center;
  235. }
  236. .result3 {
  237. flex: 0.33;
  238. display: flex;
  239. justify-content: center;
  240. align-items: center;
  241. }
  242. }
  243. }
  244. </style>