payResult.vue 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  1. <template>
  2. <view class="container">
  3. <view class="pay-result-top">
  4. <image src="/static/images/new/icon-success.png" mode="aspectFit" class="success-img"></image>
  5. <view class="success-text">支付成功</view>
  6. <view class="pay-amount">支付:¥139</view>
  7. <view class="btn-wrapper">
  8. <view class="back-btn">返回</view>
  9. <view class="confirm-btn">确认</view>
  10. </view>
  11. </view>
  12. <!-- 商品信息 -->
  13. <view class="product-block">
  14. <view class="profuct-info">
  15. <image mode="aspectFit" class="product-img"
  16. src="https://mall.zhaijieshi.cc/file/jzmall-dy/product-default.png"></image>
  17. <view class="info-right">
  18. <view class="product-name">【新客专享】全屋精细保洁3小时</view>
  19. <view class="appoint-info">
  20. <view class="appoint-state">未预约</view>
  21. <view class="appoint-times">可预约次数:1次</view>
  22. </view>
  23. </view>
  24. </view>
  25. <view class="appoint-btn">点击预约</view>
  26. </view>
  27. <!-- 引导 -->
  28. <view class="guide-block">
  29. <view class="title">如暂不预约,需要服务可以通过以下方式</view>
  30. <view class="guide-wrapper">
  31. <view class="guide-item">
  32. <image src="https://mall.zhaijieshi.cc/file/jzmall-dy/pay-icon-01.png" mode="aspectFit"
  33. class="guide-img"></image>
  34. <view>抖音APP</view>
  35. </view>
  36. <image src="https://mall.zhaijieshi.cc/file/jzmall-dy/pay-icon-arrow.png" mode="aspectFit"
  37. class="arrow-img"></image>
  38. <view class="guide-item">
  39. <image src="https://mall.zhaijieshi.cc/file/jzmall-dy/pay-icon-02.png" mode="aspectFit"
  40. class="guide-img"></image>
  41. <view>「我」</view>
  42. </view>
  43. <image src="https://mall.zhaijieshi.cc/file/jzmall-dy/pay-icon-arrow.png" mode="aspectFit"
  44. class="arrow-img"></image>
  45. <view class="guide-item">
  46. <image src="https://mall.zhaijieshi.cc/file/jzmall-dy/pay-icon-03.png" mode="aspectFit"
  47. class="guide-img"></image>
  48. <view>「更多」</view>
  49. </view>
  50. <image src="https://mall.zhaijieshi.cc/file/jzmall-dy/pay-icon-arrow.png" mode="aspectFit"
  51. class="arrow-img"></image>
  52. <view class="guide-item">
  53. <image src="https://mall.zhaijieshi.cc/file/jzmall-dy/pay-icon-04.png" mode="aspectFit"
  54. class="guide-img"></image>
  55. <view>「我的订单」</view>
  56. </view>
  57. <image src="https://mall.zhaijieshi.cc/file/jzmall-dy/pay-icon-arrow.png" mode="aspectFit"
  58. class="arrow-img"></image>
  59. <view class="guide-item">
  60. <image src="https://mall.zhaijieshi.cc/file/jzmall-dy/pay-icon-05.png" mode="aspectFit"
  61. class="guide-img"></image>
  62. <view>「去使用」</view>
  63. </view>
  64. </view>
  65. </view>
  66. </view>
  67. </template>
  68. <script>
  69. //获取应用实例
  70. const app = getApp();
  71. export default {
  72. data() {
  73. return {};
  74. }
  75. /**
  76. * 生命周期函数--监听页面加载
  77. */
  78. ,
  79. onLoad: function(options) {},
  80. methods: {}
  81. };
  82. </script>
  83. <style>
  84. .container {
  85. padding: 0 0 160rpx;
  86. }
  87. view,
  88. text {
  89. font-size: 28rpx;
  90. color: #333;
  91. }
  92. .pay-result-top {
  93. background: url('https://mall.zhaijieshi.cc/file/jzmall-dy/pay-result.png') no-repeat center bottom;
  94. background-size: 750rpx 600rpx;
  95. width: 750rpx;
  96. height: 600rpx;
  97. display: flex;
  98. flex-direction: column;
  99. align-items: center;
  100. padding-top: 100rpx;
  101. }
  102. .success-img {
  103. width: 120rpx;
  104. height: 120rpx;
  105. }
  106. .success-text {
  107. color: #fff;
  108. font-size: 34rpx;
  109. margin: 56rpx 0 24rpx;
  110. height: 40rpx;
  111. }
  112. .pay-amount {
  113. font-size: 24rpx;
  114. color: #fff;
  115. margin-bottom: 60rpx;
  116. }
  117. .btn-wrapper {
  118. width: 440rpx;
  119. height: 70rpx;
  120. display: flex;
  121. justify-content: space-between;
  122. }
  123. .back-btn {
  124. width: 200rpx;
  125. height: 70rpx;
  126. line-height: 70rpx;
  127. border-radius: 70rpx;
  128. text-align: center;
  129. color: #fff;
  130. border: 2rpx solid #ffffff;
  131. }
  132. .confirm-btn {
  133. width: 200rpx;
  134. height: 70rpx;
  135. line-height: 70rpx;
  136. border-radius: 70rpx;
  137. text-align: center;
  138. color: #00c0ff;
  139. background: #fff;
  140. }
  141. .product-block {
  142. width: 690rpx;
  143. background: #ffffff;
  144. border-radius: 10rpx;
  145. margin: 28rpx 30rpx 20rpx;
  146. padding: 30rpx 20rpx;
  147. display: flex;
  148. flex-direction: column;
  149. align-items: flex-end;
  150. }
  151. .profuct-info {
  152. height: 120rpx;
  153. display: flex;
  154. align-items: flex-start;
  155. width: 650rpx;
  156. }
  157. .product-img {
  158. width: 120rpx;
  159. height: 120rpx;
  160. border-radius: 8rpx;
  161. /* margin-right:20rpx; */
  162. }
  163. .info-right {
  164. padding-top: 4rpx;
  165. }
  166. .product-name {
  167. line-height: 36rpx;
  168. margin-bottom: 20rpx;
  169. font-size: 30rpx;
  170. padding-left: 20rpx;
  171. text-indent: -16rpx;
  172. }
  173. .appoint-info {
  174. height: 30rpx;
  175. display: flex;
  176. align-items: center;
  177. padding-left: 20rpx;
  178. }
  179. .appoint-state {
  180. color: #11bfff;
  181. font-size: 16rpx;
  182. height: 30rpx;
  183. line-height: 30rpx;
  184. padding: 0 12rpx;
  185. border: 2rpx solid #11bfff;
  186. border-radius: 8rpx;
  187. margin-right: 8rpx;
  188. }
  189. .appoint-times {
  190. font-size: 26rpx;
  191. }
  192. .appoint-btn {
  193. width: 140rpx;
  194. height: 50rpx;
  195. background: #00c0ff;
  196. line-height: 50rpx;
  197. border-radius: 50rpx;
  198. text-align: center;
  199. color: #fff;
  200. font-size: 22rpx;
  201. }
  202. .guide-block {
  203. width: 690rpx;
  204. margin: 0 30rpx;
  205. height: 220rpx;
  206. background: #ffffff;
  207. border-radius: 10rpx;
  208. padding: 30rpx 20rpx;
  209. }
  210. .guide-block .title {
  211. height: 26rpx;
  212. font-size: 26rpx;
  213. line-height: 26rpx;
  214. margin-bottom: 34rpx;
  215. }
  216. .guide-wrapper {
  217. padding: 0 10rpx;
  218. height: 96rpx;
  219. display: flex;
  220. align-items: flex-start;
  221. justify-content: space-between;
  222. }
  223. .guide-item {
  224. height: 96rpx;
  225. display: flex;
  226. flex-direction: column;
  227. align-items: center;
  228. justify-content: space-between;
  229. }
  230. .guide-img {
  231. width: 60rpx;
  232. height: 60rpx;
  233. }
  234. .guide-item view {
  235. height: 22rpx;
  236. font-size: 22rpx;
  237. line-height: 22rpx;
  238. }
  239. .arrow-img {
  240. width: 20rpx;
  241. height: 12rpx;
  242. margin-top: 20rpx;
  243. }
  244. </style>