TableInfo.vue 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. <template>
  2. <div style="width: 413px; margin-top: -15px; margin-left: 20px; height: 400px; background: #fff; border-radius: 10px;">
  3. <div class="key-pop">
  4. <div class="title-key">
  5. <div class="title-line">
  6. <span class="line"></span>
  7. <span class="info">在用车辆信息</span>
  8. </div>
  9. </div>
  10. <div>
  11. <div>
  12. <div class="row header">
  13. <span class="type">车牌号</span>
  14. <span class="count">用车人</span>
  15. <span class="time"> 申请时间</span>
  16. <span class="unit">归还时间</span>
  17. <span class="unit">操作</span>
  18. </div>
  19. <ul style="padding-left: 0;">
  20. <li class="row">
  21. <span class="type">渝A456744</span>
  22. <span class="count">张三</span>
  23. <span class="time">2023.1.1 12:00</span>
  24. <span class="unit" > 2023.1.1 19:00 </span>
  25. <span style="color: #076cf5;">提醒归还</span>
  26. </li>
  27. </ul>
  28. </div>
  29. </div>
  30. </div>
  31. </div>
  32. </template>
  33. <script></script>
  34. <style lang="less" scoped>
  35. .key-pop {
  36. .title-key {
  37. width: 100%;
  38. // height: 350px;
  39. background: #fff;
  40. border-radius: 10px;
  41. padding: 20px 8px 5px 8px;
  42. .title-line {
  43. margin-left: 20px;
  44. // width: 140px;
  45. display: flex;
  46. align-items: center;
  47. .line {
  48. display: inline-block;
  49. width: 9px;
  50. height: 24px;
  51. background: #aacefc;
  52. border-radius: 3px;
  53. opacity: 1;
  54. margin-right: 18px;
  55. }
  56. .info {
  57. font-size: 20px;
  58. font-family: PingFang SC;
  59. color: #4d4d4d;
  60. opacity: 1;
  61. font-weight: 500;
  62. }
  63. }
  64. }
  65. .header {
  66. color: #4d4d4d ;
  67. height: 31px;
  68. background: #f7f7f7;
  69. margin-top: 2px;
  70. letter-spacing: 1px;
  71. line-height: 38px;
  72. display: flex;
  73. justify-content: space-around;
  74. padding: 0 10px;
  75. .is_notice {
  76. line-height: 19px;
  77. font-size: 10px;
  78. }
  79. }
  80. li.row > span {
  81. // text-align: center;
  82. font-size: 12px;
  83. display: inline-block;
  84. }
  85. li.row.active {
  86. background-color: rgba(0, 213, 255, 0.2);
  87. }
  88. li.row {
  89. box-sizing: border-box;
  90. padding-left: 0 !important;
  91. }
  92. .row,
  93. li {
  94. display: block;
  95. height: 36px;
  96. // border-bottom: 1px dashed #1f2535;
  97. line-height: 36px;
  98. display: flex;
  99. justify-content: space-around;
  100. align-items: center;
  101. font-size: 14px;
  102. // background-color: rgba(0, 0, 0, 0.2);
  103. color: #4d4d4d;
  104. margin-top: 5px;
  105. .type,
  106. .unit {
  107. // display: flex;
  108. // justify-content: center;
  109. // // align-items: center;
  110. // flex: 0.15;
  111. img {
  112. display: inline-block;
  113. width: 11px;
  114. height: 16px;
  115. // margin-left: 5px;
  116. }
  117. }
  118. }
  119. }
  120. </style>