index.vue 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. <template>
  2. <view>
  3. <u-navbar title="用户管理" :is-back="0"></u-navbar>
  4. <view class="main">
  5. <view class="search">
  6. <view class="searchBox">
  7. <u-search shape="square"
  8. placeholder="搜索姓名/车牌/手机号" :animation="true"></u-search>
  9. <u-button type="primary" size="mini">搜素</u-button>
  10. </view>
  11. </view>
  12. <view class="list">
  13. <view class="line" @click="gotoUrl('/pages/userTab/dataUser?id=1')">
  14. <view class="body">
  15. <view class="imgclass">
  16. <image class="img" src="@/assets/img/默认头像.png" mode=""></image>
  17. </view>
  18. <view class="item">
  19. <view class="name">
  20. 软件园
  21. </view>
  22. <view class="value">
  23. <image class="img img1" src="@/assets/img/userTab/index1-2.svg" mode=""></image>
  24. 123111
  25. <image class="img img2" src="@/assets/img/userTab/index1-1.svg" mode=""></image>
  26. 123111
  27. </view>
  28. </view>
  29. </view>
  30. <view class="goto">
  31. <u-icon name="arrow-right" size="24" color="#BBBBBB"></u-icon>
  32. </view>
  33. </view>
  34. <view class="line">
  35. <view class="body">
  36. <view class="imgclass">
  37. <image class="img" src="@/assets/img/deviceTab/index1-1.svg" mode=""></image>
  38. </view>
  39. <view class="item">
  40. <view class="name">
  41. 软件园
  42. </view>
  43. <view class="value">
  44. 占用9<span>/</span>
  45. 占用9<span>/</span>
  46. 共9台
  47. </view>
  48. </view>
  49. </view>
  50. <view class="goto">
  51. <u-icon name="arrow-right" size="24" color="#BBBBBB"></u-icon>
  52. </view>
  53. </view>
  54. </view>
  55. </view>
  56. <u-divider border-color="#CFD2D5">已经到底了</u-divider>
  57. <tabbar :current="2"></tabbar>
  58. </view>
  59. </template>
  60. <script>
  61. import * as API from '@/apis/pagejs/userTab.js'
  62. import Tabbar from '@/components/Tabbar.vue'
  63. export default {
  64. components: {
  65. Tabbar
  66. },
  67. data() {
  68. return {
  69. title: "场站列表"
  70. };
  71. }
  72. }
  73. </script>
  74. <style scoped lang="scss">
  75. .main {
  76. background-color: #fff;
  77. .line {
  78. display: flex;
  79. justify-content: space-between;
  80. align-items: center;
  81. padding: 32rpx;
  82. border-bottom: 1px solid rgba(245, 245, 245, 1);
  83. .body {
  84. display: flex;
  85. align-items: center;
  86. .imgclass {
  87. display: flex;
  88. align-items: center;
  89. justify-content: center;
  90. width: 72rpx;
  91. height: 72rpx;
  92. border-radius: 4px;
  93. background-color: #E5E5E5;
  94. }
  95. .item {
  96. margin-left: 16rpx;
  97. .name {
  98. font-size: 36rpx;
  99. color: rgba(16, 16, 16, 1);
  100. }
  101. .value {
  102. display: flex;
  103. align-items: center;
  104. color: rgba(119, 119, 119, 1);
  105. font-size: 24rpx;
  106. .img {
  107. width: 32rpx;
  108. height: 32rpx;
  109. margin-right: 8rpx;
  110. }
  111. .img1 {}
  112. .img2 {
  113. margin-left: 20rpx;
  114. }
  115. }
  116. }
  117. }
  118. }
  119. .img {
  120. width: 48rpx;
  121. height: 48rpx;
  122. }
  123. }
  124. .search {
  125. padding: 16rpx 32rpx;
  126. border-bottom: 1px solid whitesmoke;
  127. .searchBox {
  128. display: flex;
  129. align-items: center;
  130. background: #F2F2F2;
  131. padding: 1px 16rpx;
  132. border-radius: 8px;
  133. }
  134. }
  135. </style>