lockInfo.vue 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. <template>
  2. <view class="jpmain ">
  3. <view class="gradient-header">
  4. <view class="jpback">
  5. </view>
  6. </view>
  7. <view class="page-top">
  8. <!-- <view class="name">
  9. <img class="img" src="@/assets/img/lockInfo/info1.png" alt="">
  10. </view> -->
  11. <view class="name">
  12. <img class="img img2" src="@/assets/img/lockInfo/info2.png" alt="">
  13. </view>
  14. <!-- <view class="name">
  15. <img class="img" src="@/assets/img/parkingDetails/item4.png" alt="">
  16. </view> -->
  17. <view class="value">
  18. 未降锁
  19. </view>
  20. </view>
  21. <view class="body">
  22. <view class="page">
  23. <view class="page-main">
  24. <view class="name">
  25. 1号车位<span class="tag">公共车位</span>
  26. </view>
  27. <view class="value">
  28. <view class="jpbutton jpbutton1">
  29. <img class="img" src="@/assets/img/button/lock.png" alt="">
  30. 降锁</view>
  31. </view>
  32. </view>
  33. </view>
  34. <view class="page">
  35. <view class="page-content">
  36. <view class="tip1">
  37. <view class="tip-title">温馨提示</view>
  38. <view class="step">
  39. 1、微信扫描位于充电桩立柱或站内墙面上的二维码。
  40. </view>
  41. <view class="step">
  42. 2、选择空闲车位。
  43. </view>
  44. <view class="step">
  45. 3、选择需要降锁的车位,点击“降锁”按钮。
  46. </view>
  47. <view class="step">
  48. 4、降锁完成后提示操作完成,并提示尽快停车。
  49. </view>
  50. </view>
  51. <view class="tip2">
  52. <view class="tip-title">温馨提示</view>
  53. <view class="step">1、顺利降锁后有三分钟时间,请及时就位;超时地锁自动升起,请重新扫码降锁。</view>
  54. <view class="step">2、请按降锁流程说明停车,严禁使用外力降锁。</view>
  55. <view class="step">3、地锁服务热线 400-0000-000</view>
  56. </view>
  57. </view>
  58. </view>
  59. </view>
  60. </view>
  61. </template>
  62. <script>
  63. export default {
  64. data() {
  65. return {
  66. }
  67. },onLoad() {
  68. uni.setNavigationBarTitle({
  69. title:"软件园test"
  70. })
  71. },
  72. methods: {
  73. },
  74. }
  75. </script>
  76. <style>
  77. page {
  78. background-color: rgba(242, 244, 246, 1);
  79. }
  80. </style>
  81. <style scoped lang="scss">
  82. /* styles.css */
  83. .body {
  84. padding: 32rpx;
  85. }
  86. .gradient-header{
  87. height: 0px;
  88. }
  89. .jpback {
  90. height: 400rpx;
  91. background: linear-gradient(180deg, rgba(203, 234, 255, 1) 0%, rgba(203, 234, 255, 0) 100%);
  92. }
  93. .page-top{
  94. padding :40rpx;
  95. padding-top: 120rpx;
  96. display: flex;
  97. flex-direction: column;
  98. align-items: center;
  99. .name{
  100. width: 320rpx;
  101. height: 320rpx;
  102. display: flex;
  103. align-items: flex-end;
  104. .img{
  105. width: 320rpx;
  106. height: 320rpx;
  107. }
  108. .img2{
  109. width: 320rpx;
  110. height: 140rpx;
  111. }
  112. }
  113. .value{
  114. margin-top: 24rpx;
  115. font-size: 40rpx;
  116. font-weight: bold;
  117. color: #333333;
  118. }
  119. }
  120. .page {
  121. border-radius: 16rpx;
  122. background-color: rgba(255, 255, 255, 1);
  123. color: rgba(16, 16, 16, 1);
  124. padding: 32rpx;
  125. margin-bottom: 32rpx;
  126. font-size: 32rpx;
  127. color: rgb(16, 16, 16);
  128. .page-main{
  129. display: flex;
  130. justify-content: space-between;
  131. align-items: center;
  132. .name{
  133. color: rgba(51,51,51,1);
  134. font-size: 36rpx;
  135. display: flex;
  136. align-items: center;
  137. .tag{
  138. margin-left: 8rpx;
  139. color: rgba(119,119,119,1);
  140. border-radius: 8rpx;
  141. padding:1px 4rpx;
  142. font-size: 24rpx;
  143. border: 1px solid rgba(187,187,187,1);
  144. }
  145. }
  146. }
  147. .page-content{
  148. .step{
  149. margin-bottom: 16rpx;
  150. }
  151. .tip-title{
  152. color:#101010;
  153. font-size: 36rpx;
  154. font-weight: bold;
  155. margin-bottom: 24rpx;
  156. }
  157. .tip1{
  158. .step{
  159. color:#101010
  160. }
  161. border-bottom: 1px solid rgba(241,241,241,1);
  162. margin-bottom: 24rpx;
  163. padding-bottom: 8rpx;
  164. }
  165. .tip2{
  166. .step{
  167. color:#333333
  168. }
  169. }
  170. }
  171. }
  172. .jpbutton{
  173. border-radius: 100rpx;
  174. width: 160rpx;
  175. color: #fff;
  176. padding: 8rpx;
  177. display: flex;
  178. align-items: center;
  179. justify-content: center;
  180. .img{
  181. margin-right: 8rpx;
  182. width: 32rpx;
  183. height: 32rpx;
  184. }
  185. }
  186. .jpbutton1{
  187. background-color: #2979FF;
  188. .img {
  189. width: 32rpx;
  190. height: 32rpx;
  191. }
  192. }
  193. .jpbutton2{
  194. background-color: #2979FF;
  195. .img {
  196. width: 40rpx;
  197. height: 40rpx;
  198. animation: spin 2s linear infinite; /* 添加无限旋转动画 */
  199. }
  200. /* 定义旋转动画 */
  201. @keyframes spin {
  202. from {
  203. transform: rotate(0deg); /* 起始角度 */
  204. }
  205. to {
  206. transform: rotate(360deg); /* 结束角度 */
  207. }
  208. }
  209. }
  210. .jpbutton3{
  211. background-color: #00B962;
  212. }
  213. .jpbutton4{
  214. background-color: #A7A2A2;
  215. }
  216. </style>