payResult.vue 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. <template>
  2. <view>
  3. <u-navbar title="付款结果"></u-navbar>
  4. <view class="main">
  5. <view class="icon">
  6. <img src="../../assets/img/success.png" alt="">
  7. </view>
  8. <!-- 金额 -->
  9. <view class="money">
  10. 15.00
  11. </view>
  12. <view class="text">
  13. 付款成功
  14. </view>
  15. <!-- 订单信息 -->
  16. <view class="infos">
  17. <view class="item">
  18. <view class="title">
  19. 饭卡余额(元)
  20. </view>
  21. <view class="value">
  22. 315.00
  23. </view>
  24. </view>
  25. <view class="item">
  26. <view class="title">
  27. 订单号
  28. </view>
  29. <view class="value">
  30. 000111222333444
  31. </view>
  32. </view>
  33. <view class="item">
  34. <view class="title">
  35. 支付时间
  36. </view>
  37. <view class="value">
  38. 2023-04-10 12:00:00
  39. </view>
  40. </view>
  41. </view>
  42. <!-- 按钮 -->
  43. <view class="button">
  44. <view class="close">
  45. <button>关闭页面</button>
  46. </view>
  47. <view class="check">
  48. <button>查看消费记录</button>
  49. </view>
  50. </view>
  51. </view>
  52. </view>
  53. </template>
  54. <script>
  55. export default {
  56. data() {
  57. return {
  58. }
  59. },
  60. methods: {
  61. }
  62. }
  63. </script>
  64. <style lang="scss" scoped>
  65. page{
  66. background-color: #fff;
  67. }
  68. /deep/.u-border-bottom:after {
  69. border-bottom-width: 0px;
  70. }
  71. .main{
  72. text-align: center;
  73. .icon{
  74. margin: 100rpx auto 40rpx;
  75. }
  76. // 金额
  77. .money{
  78. color: rgba(51, 51, 51, 1);
  79. font-size: 96rpx;
  80. font-weight: bold;
  81. font-family: Roboto-medium;
  82. }
  83. .text{
  84. color: rgba(16, 16, 16, 1);
  85. font-size: 48rpx;
  86. margin-top: 8rpx;
  87. }
  88. // 订单信息
  89. .infos{
  90. margin: 48rpx 72rpx;
  91. .item{
  92. display: flex;
  93. justify-content: space-between;
  94. margin-bottom: 32rpx;
  95. .title{
  96. color: rgba(134, 137, 140, 1);
  97. font-size: 32rpx;
  98. }
  99. .value{
  100. color: rgba(51, 51, 51, 1);
  101. font-size: 32rpx;
  102. }
  103. }
  104. }
  105. // 按钮
  106. .button{
  107. margin: 0 72rpx;
  108. display: flex;
  109. justify-content: space-between;
  110. font-size: 32rpx;
  111. text-align: center;
  112. .close{
  113. uni-button{
  114. width: 280rpx;
  115. height: 80rpx;
  116. line-height: 80rpx;
  117. border-radius: 16rpx;
  118. font-size: 32rpx;
  119. background-color: rgba(255, 255, 255, 1);
  120. color: rgba(51, 51, 51, 1);
  121. border: 1px solid rgba(153, 153, 153, 1);
  122. }
  123. }
  124. .check{
  125. uni-button{
  126. width: 280rpx;
  127. height: 80rpx;
  128. line-height: 80rpx;
  129. border-radius: 16rpx;
  130. font-size: 32rpx;
  131. background-color: rgba(255, 255, 255, 1);
  132. color: rgba(31, 74, 153, 1);
  133. border: 1px solid rgba(31, 74, 153, 1);
  134. }
  135. }
  136. }
  137. }
  138. </style>