editLock.vue 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  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. import * as API from '@/apis/pagejs/mylock.js'
  79. export default {
  80. data() {
  81. return {
  82. current: 0,
  83. numList: [{
  84. name: '绑定地锁'
  85. }, {
  86. name: '等待审核'
  87. }, {
  88. name: '完成绑定'
  89. }],
  90. };
  91. }
  92. }
  93. </script>
  94. <style>
  95. page {
  96. background-color: rgba(242, 244, 246, 1);
  97. }
  98. </style>
  99. <style lang="scss" scoped>
  100. .body {
  101. padding: 32rpx;
  102. }
  103. .list{
  104. background-color: rgba(255,255,255,1);
  105. margin: 20rpx 0;
  106. .item:not(:last-child) {
  107. border-bottom:1px solid rgba(232,232,232,1);
  108. }
  109. .item{
  110. padding: 32rpx;
  111. display: flex;
  112. justify-content: space-between;
  113. .name{
  114. width: 40%;
  115. font-size: 32rpx;
  116. color: #777777;
  117. span{
  118. color:red
  119. }
  120. white-space: pre;
  121. }
  122. .value{
  123. font-size: 32rpx;
  124. width: 60%;
  125. display: flex;
  126. justify-content: space-between;
  127. input::placeholder{
  128. color:#AAAAAA;
  129. }
  130. }
  131. }
  132. }
  133. .uni-input-placeholder{
  134. color:#AAAAAA;
  135. }
  136. .floating-button {
  137. position: fixed;
  138. bottom: 0; /* 距离底部 20px */
  139. width: 100%;
  140. display: flex;
  141. height: 120rpx;
  142. justify-content: center;
  143. background-color: rgba(255,255,255,1);
  144. .button{
  145. margin-top: 24rpx;
  146. border-radius: 50px;
  147. height: 80rpx;
  148. width: 80%;
  149. display: flex;
  150. align-items: center;
  151. justify-content: center;
  152. padding:12rpx;
  153. background-color: rgba(22,119,255,1);
  154. color: rgba(255,255,255,1);
  155. font-size: 36rpx;
  156. }
  157. }
  158. </style>