index.vue 3.5 KB

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