orderReserveSuccess.vue 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. <template>
  2. <view class="container">
  3. <view class="back-icon">
  4. <u-icon name="arrow-left" color="#000" size="16" @click="handlerBack"></u-icon>
  5. </view>
  6. <view class="success-icon-box">
  7. <view class="icon-img-box">
  8. <image src="@/static/mine/icon_mine_success.png" class="img"></image>
  9. </view>
  10. <view class="icon-type">预约成功</view>
  11. <view class="icon-explan">商家将为您预留30分钟预约,请您按时到店。</view>
  12. </view>
  13. <view class="container-box">
  14. <view class="title">汽车美容</view>
  15. <view class="item-box" v-for="(item, index) of 3">
  16. <view class="item-left">
  17. <image src="@/static/QR57a.jpg" class="img"></image>
  18. </view>
  19. <view class="item-right">
  20. <view class="right1">水洗轿车</view>
  21. <view class="right1">X1</view>
  22. <view class="right2">汽车美容</view>
  23. </view>
  24. </view>
  25. </view>
  26. <view class="container-box">
  27. <view class="title">预约信息</view>
  28. <view class="explan-item">
  29. <view class="item-left">联系方式</view>
  30. <view class="item-right">18285564342</view>
  31. </view>
  32. <view class="explan-item">
  33. <view class="item-left">预约时间</view>
  34. <view class="item-right">2024-05-28 13:15:00</view>
  35. </view>
  36. <view class="explan-item">
  37. <view class="item-left">备注</view>
  38. <view class="item-right">过来的时候可能会晚10多分钟左右</view>
  39. </view>
  40. </view>
  41. <button class="btn">取消预约</button>
  42. </view>
  43. </template>
  44. <script>
  45. export default {
  46. data() {
  47. return {};
  48. },
  49. methods: {
  50. handlerBack() {
  51. uni.switchTab({
  52. url: '/pages/tabbar/mine/index',
  53. });
  54. },
  55. },
  56. };
  57. </script>
  58. <style lang="scss" scoped>
  59. page {
  60. background-color: #f9f9f9;
  61. }
  62. .container {
  63. padding: 56rpx 32rpx 0;
  64. font-size: 28rpx;
  65. .back-icon {
  66. margin: 70rpx 0 20rpx;
  67. }
  68. .success-icon-box {
  69. text-align: center;
  70. margin-bottom: 62rpx;
  71. .icon-img-box {
  72. display: flex;
  73. justify-content: center;
  74. .img {
  75. width: 132rpx;
  76. height: 132rpx;
  77. }
  78. }
  79. .icon-type {
  80. margin: 16rpx 0;
  81. font-size: 36rpx;
  82. font-weight: bold;
  83. }
  84. .icon-explan {
  85. font-size: 24rpx;
  86. color: #333333;
  87. }
  88. }
  89. .container-box {
  90. padding: 24rpx;
  91. border-radius: 16rpx;
  92. background-color: #fff;
  93. margin-bottom: 20rpx;
  94. .title {
  95. margin-bottom: 24rpx;
  96. font-weight: bold;
  97. }
  98. .item-box {
  99. display: flex;
  100. margin-bottom: 24rpx;
  101. .item-left {
  102. margin-right: 32rpx;
  103. .img {
  104. width: 160rpx;
  105. height: 160rpx;
  106. border-radius: 16rpx;
  107. }
  108. }
  109. .item-right {
  110. display: flex;
  111. flex-direction: column;
  112. justify-content: space-between;
  113. .right1 {
  114. }
  115. .right2 {
  116. padding: 2rpx 12rpx;
  117. background-color: #e9eff9;
  118. color: #215ebe;
  119. border: 2rpx solid #215ebe;
  120. }
  121. }
  122. }
  123. .item-box:last-child {
  124. margin: 0;
  125. }
  126. .explan-item {
  127. margin-bottom: 16rpx;
  128. display: flex;
  129. justify-content: space-between;
  130. font-size: 24rpx;
  131. .item-left {
  132. color: #999999;
  133. }
  134. .item-right {
  135. color: #333333;
  136. }
  137. }
  138. }
  139. .btn {
  140. width: 100%;
  141. background-color: #215ebe;
  142. text-align: center;
  143. color: #fff;
  144. margin-top: 50rpx;
  145. height: 80rpx;
  146. line-height: 80rpx;
  147. }
  148. }
  149. </style>