stationInfo.vue 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488
  1. <template>
  2. <view>
  3. <u-navbar title="场站主页" ></u-navbar>
  4. <view class="gradient-header">
  5. <view class="jpback">
  6. </view>
  7. </view>
  8. <view class="panel main1_panel">
  9. <view class="name">
  10. <view class="p1">
  11. 荆鹏软件园
  12. </view>
  13. <view class="p2">
  14. 地址:荆州市沙市区江津东路155号
  15. </view>
  16. </view>
  17. <view class="body">
  18. <view class="span">
  19. <image class="img" src="@/assets/img/station/item2.svg" mode=""></image>
  20. 在用
  21. <span>10</span>
  22. </view>
  23. <view class="span">
  24. <image class="img" src="@/assets/img/station/item3.svg" mode=""></image>
  25. 空闲
  26. <span>10</span>
  27. </view>
  28. <view class="span">
  29. <image class="img" src="@/assets/img/station/item1.svg" mode=""></image>
  30. 故障
  31. <span>10</span>
  32. </view>
  33. <view class="span">
  34. <image class="img" src="@/assets/img/station/item4.svg" mode=""></image>
  35. 离线
  36. <span>10</span>
  37. </view>
  38. </view>
  39. </view>
  40. <view class="panel main2_panel">
  41. <view class="p1">
  42. <view class="na-img">
  43. <image class="img" src="@/assets/img/station/index2.svg" mode=""></image>
  44. </view>
  45. <view class="na-text ">
  46. 设备巡检
  47. </view>
  48. </view>
  49. <view class="p2">
  50. </view>
  51. <view class="p1">
  52. <view class="na-img">
  53. <image class="img" src="@/assets/img/station/index1.svg" mode=""></image>
  54. </view>
  55. <view class="na-text ">
  56. 故障处理
  57. </view>
  58. </view>
  59. </view>
  60. <view class="panel main3_panel">
  61. <view class="title">
  62. <view class="icon">
  63. <image class="img" src="@/assets/img/circleCopy1@1x.png" mode=""></image>
  64. </view>
  65. <view class="text">
  66. <view>故障提醒</view>
  67. <view class="check-all">查看全部<u-icon name="arrow-right"></u-icon></view>
  68. </view>
  69. </view>
  70. <view class="body">
  71. <view class="line">
  72. <view class="p1">
  73. <view class="name">
  74. 停电
  75. </view>
  76. <view class="time">
  77. 03-16 09:00
  78. </view>
  79. </view>
  80. <view class="p2">
  81. <view class="tag tag1">
  82. 未处理
  83. </view>
  84. <u-icon name="arrow-right" color="#D4D4D4" ></u-icon>
  85. </view>
  86. </view>
  87. <view class="line">
  88. <view class="p1">
  89. <view class="name">
  90. 停电
  91. </view>
  92. <view class="time">
  93. 03-16 09:00
  94. </view>
  95. </view>
  96. <view class="p2">
  97. <view class="tag tag2">
  98. 已处理
  99. </view>
  100. <u-icon name="arrow-right" color="#D4D4D4" ></u-icon>
  101. </view>
  102. </view>
  103. </view>
  104. </view>
  105. <view class="panel main4_panel">
  106. <view class="title">
  107. <view class="icon">
  108. <image class="img" src="@/assets/img/circleCopy1@1x.png" mode=""></image>
  109. </view>
  110. <view class="text">
  111. <view>巡检记录</view>
  112. <view class="check-all">查看全部<u-icon name="arrow-right"></u-icon></view>
  113. </view>
  114. </view>
  115. <view class="body">
  116. <view class="line">
  117. <view class="p1">
  118. 巡检
  119. </view>
  120. <view class="p2">
  121. 卓光芒、肖鹏明
  122. </view>
  123. <view class="p3">
  124. 06.15 12:00
  125. </view>
  126. <u-icon name="arrow-right" color="#D4D4D4" ></u-icon>
  127. </view>
  128. <view class="line">
  129. <view class="p1">
  130. 巡检
  131. </view>
  132. <view class="p2">
  133. 卓光芒、肖鹏明
  134. </view>
  135. <view class="p3">
  136. 06.15 12:00
  137. </view>
  138. <u-icon name="arrow-right" color="#D4D4D4" ></u-icon>
  139. </view>
  140. </view>
  141. </view>
  142. <view class="panel main5_panel">
  143. <view class="title">
  144. <view class="icon">
  145. <image class="img" src="@/assets/img/circleCopy1@1x.png" mode=""></image>
  146. </view>
  147. <view class="text">
  148. <view>设备信息</view>
  149. <view class="check-all">查看全部<u-icon name="arrow-right"></u-icon></view>
  150. </view>
  151. </view>
  152. <view class="body">
  153. <view class="line lineT">
  154. <view class="p1">
  155. 设备名称
  156. </view>
  157. <view class="p2">
  158. 设备型号
  159. </view>
  160. <view class="p3">
  161. 最后充电时间
  162. </view>
  163. <u-icon name="arrow-right" color="#FFF" ></u-icon>
  164. </view>
  165. <view class="line">
  166. <view class="p1">
  167. 充电枪
  168. </view>
  169. <view class="p2">
  170. JPDJ01-0002
  171. </view>
  172. <view class="p3">
  173. 06.15 12:00
  174. </view>
  175. <u-icon name="arrow-right" color="#D4D4D4" ></u-icon>
  176. </view>
  177. <view class="line">
  178. <view class="p1">
  179. 充电枪
  180. </view>
  181. <view class="p2">
  182. JPDJ01-0002
  183. </view>
  184. <view class="p3">
  185. 06.15 12:00
  186. </view>
  187. <u-icon name="arrow-right" color="#D4D4D4" ></u-icon>
  188. </view>
  189. </view>
  190. </view>
  191. </view>
  192. </template>
  193. <script>
  194. export default {
  195. data() {
  196. return {
  197. };
  198. }
  199. }
  200. </script>
  201. <style lang="scss">
  202. .gradient-header {
  203. height: 0px;
  204. }
  205. .jpback {
  206. height: 400rpx;
  207. background: linear-gradient(180deg, rgba(22, 119, 255, 1) 20%, rgba(121, 177, 255, 1) 100%);
  208. }
  209. .panel{
  210. border-radius: 8px;
  211. background-color: rgba(255, 255, 255, 1);
  212. box-shadow: 0px 2rpx 6px 0px rgba(0, 59, 142, 0.05);
  213. margin: 24rpx 32rpx;
  214. padding: 40rpx;
  215. .title {
  216. display: flex;
  217. align-items: center;
  218. margin-bottom: 32rpx;
  219. font-weight: bold;
  220. .img {
  221. width: 36rpx;
  222. height: 36rpx;
  223. vertical-align: middle;
  224. border-radius: 999px;
  225. }
  226. .change {
  227. display: flex;
  228. align-items: center;
  229. .change-img {
  230. width: 32rpx;
  231. height: 32rpx;
  232. vertical-align: middle;
  233. }
  234. text {
  235. margin-left: 8rpx;
  236. }
  237. }
  238. .text {
  239. color: rgba(16, 16, 16, 1);
  240. font-size: 36rpx;
  241. margin-left: 16rpx;
  242. display: flex;
  243. justify-content: space-between;
  244. align-items: center;
  245. width: 100%;
  246. .tag {
  247. border-radius: 4px;
  248. border: 2rpx solid rgba(187, 187, 187, 1);
  249. color: rgba(51, 51, 51, 1);
  250. font-size: 24rpx;
  251. padding: 2rpx 8rpx;
  252. margin-left: 8rpx;
  253. }
  254. }
  255. .change {
  256. margin-left: 16rpx;
  257. font-size: 24rpx;
  258. color: #838383;
  259. }
  260. .check-all {
  261. margin-left: auto;
  262. color: rgba(131, 131, 131, 1);
  263. font-size: 24rpx;
  264. }
  265. }
  266. }
  267. .main1_panel{
  268. padding: 40rpx 0;
  269. .name{
  270. padding: 0 40rpx 24rpx 40rpx;
  271. border-bottom: 2rpx solid #F5F5F5 ;
  272. .p1{
  273. color: rgba(51,51,51,1);
  274. font-size: 18px;
  275. font-weight: bold;
  276. }
  277. .p2{
  278. color: rgba(51,51,51,1);
  279. font-size: 14px;
  280. }
  281. }
  282. .body{
  283. padding: 26rpx 40rpx 0 40rpx;
  284. display: flex;
  285. justify-content: space-between;
  286. .img{
  287. width: 14px;
  288. height: 14px;
  289. margin-right: 8rpx;
  290. }
  291. .span{
  292. display: flex;
  293. align-items: center;
  294. span{
  295. margin-left: 8rpx;
  296. }
  297. }
  298. }
  299. }
  300. .main2_panel{
  301. margin-top: 32rpx;
  302. display: flex;
  303. justify-content: space-around;
  304. align-items: center;
  305. padding: 24rpx 0 20rpx 0;
  306. .p2 {
  307. border-left: 2rpx solid rgba(187, 187, 187, 0.43);
  308. height: 70rpx;
  309. }
  310. .p1 {
  311. width: 48%;
  312. text-align: center;
  313. .na-img {
  314. display: flex;
  315. justify-content: center;
  316. .img {
  317. width: 56rpx;
  318. height: 56rpx;
  319. }
  320. }
  321. }
  322. }
  323. .main3_panel{
  324. .body{
  325. .line{
  326. padding: 12rpx 0;
  327. display: flex;
  328. justify-content: space-between;
  329. .p1{
  330. .name{
  331. font-weight: 600;
  332. color: rgba(51,51,51,1);
  333. font-size: 14px;
  334. }
  335. .time{
  336. color: rgba(119,119,119,1);
  337. font-size: 12px;
  338. }
  339. }
  340. .p2{
  341. display: flex;
  342. align-items: center;
  343. }
  344. }
  345. .line:not(:last-child) {
  346. border-bottom:2rpx solid rgba(232,232,232,1);
  347. }
  348. .tag{
  349. background-color: rgba(255,255,255,1);
  350. color: rgba(255,61,0,1);
  351. font-size: 12px;
  352. height: 20px;
  353. padding: 0 4rpx;
  354. border-radius: 4px;
  355. border: 2rpx solid rgba(255,61,0,1);
  356. }
  357. .tag1{
  358. color: rgba(255,61,0,1);
  359. border: 2rpx solid rgba(255,61,0,1);
  360. }
  361. .tag2{
  362. color: #00B962;
  363. border: 2rpx solid #00B962;
  364. }
  365. }
  366. }
  367. .main4_panel,.main5_panel{
  368. .body{
  369. .line{
  370. padding: 12rpx 0;
  371. display: flex;
  372. justify-content: space-between;
  373. }
  374. .p1{
  375. font-weight: 600;
  376. color: rgba(51,51,51,1);
  377. font-size: 14px;
  378. }
  379. .p2{
  380. width: 300rpx;
  381. overflow: hidden;
  382. text-overflow: ellipsis;
  383. white-space: nowrap;
  384. }
  385. .line:not(:last-child) {
  386. border-bottom:2rpx solid rgba(232,232,232,1);
  387. }
  388. }
  389. }
  390. .main5_panel{
  391. .p1{
  392. width: 140rpx;
  393. }
  394. .p2{
  395. width: 270rpx !important;
  396. }
  397. .lineT{
  398. font-weight: bold;
  399. }
  400. }
  401. </style>