editLock.vue 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. <template>
  2. <view class="jpmain ">
  3. <view class="list">
  4. <view class="item">
  5. <view class="name">
  6. <span>*</span>地锁编号
  7. </view>
  8. <view class="value">
  9. <view>1231231</view>
  10. <view></view>
  11. </view>
  12. </view>
  13. </view>
  14. <view class="list">
  15. <view class="item">
  16. <view class="name">
  17. 用户名
  18. </view>
  19. <view class="value">
  20. <view>1231231</view>
  21. <view></view>
  22. </view>
  23. </view>
  24. <view class="item">
  25. <view class="name">
  26. 联系电话
  27. </view>
  28. <view class="value">
  29. <view>1231231</view>
  30. <view></view>
  31. </view>
  32. </view>
  33. </view>
  34. <view class="list">
  35. <view class="item">
  36. <view class="name">
  37. <span>*</span>所属停车场
  38. </view>
  39. <view class="value">
  40. <view>请选择所属停车场</view>
  41. <u-icon name="arrow-right" size="24" color="#BBBBBB"></u-icon>
  42. </view>
  43. </view>
  44. <view class="item">
  45. <view class="name">
  46. <span>*</span>车位类型
  47. </view>
  48. <view class="value">
  49. <view>请选择车位类型</view>
  50. <u-icon name="arrow-right" size="24" color="#BBBBBB"></u-icon>
  51. </view>
  52. </view>
  53. <view class="item">
  54. <view class="name">
  55. <span>*</span>车位编号
  56. </view>
  57. <view class="value">
  58. <input placeholder="如1号车位" />
  59. </view>
  60. </view>
  61. <view class="item">
  62. <view class="name">
  63. 位置描述
  64. </view>
  65. <view class="value">
  66. <input placeholder="请描述车位位置信息" />
  67. </view>
  68. </view>
  69. <view class="floating-button">
  70. <view class="button">
  71. 保存
  72. </view>
  73. </view>
  74. </view>
  75. </view>
  76. </template>
  77. <script>
  78. export default {
  79. data() {
  80. return {
  81. current: 0,
  82. numList: [{
  83. name: '绑定地锁'
  84. }, {
  85. name: '等待审核'
  86. }, {
  87. name: '完成绑定'
  88. }],
  89. };
  90. }
  91. }
  92. </script>
  93. <style>
  94. page {
  95. background-color: rgba(242, 244, 246, 1);
  96. }
  97. </style>
  98. <style lang="scss" scoped>
  99. .body {
  100. padding: 32rpx;
  101. }
  102. .list{
  103. background-color: rgba(255,255,255,1);
  104. margin: 20rpx 0;
  105. .item:not(:last-child) {
  106. border-bottom:1px solid rgba(232,232,232,1);
  107. }
  108. .item{
  109. padding: 32rpx;
  110. display: flex;
  111. justify-content: space-between;
  112. .name{
  113. width: 40%;
  114. font-size: 32rpx;
  115. color: #777777;
  116. span{
  117. color:red
  118. }
  119. white-space: pre;
  120. }
  121. .value{
  122. font-size: 32rpx;
  123. width: 60%;
  124. display: flex;
  125. justify-content: space-between;
  126. input::placeholder{
  127. color:#AAAAAA;
  128. }
  129. }
  130. }
  131. }
  132. .uni-input-placeholder{
  133. color:#AAAAAA;
  134. }
  135. .floating-button {
  136. position: fixed;
  137. bottom: 0; /* 距离底部 20px */
  138. width: 100%;
  139. display: flex;
  140. height: 120rpx;
  141. justify-content: center;
  142. background-color: rgba(255,255,255,1);
  143. .button{
  144. margin-top: 24rpx;
  145. border-radius: 50px;
  146. height: 80rpx;
  147. width: 80%;
  148. display: flex;
  149. align-items: center;
  150. justify-content: center;
  151. padding:12rpx;
  152. background-color: rgba(22,119,255,1);
  153. color: rgba(255,255,255,1);
  154. font-size: 36rpx;
  155. }
  156. }
  157. </style>