success.vue 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. <template>
  2. <view class="content">
  3. <view class="inner">
  4. <view class="top">
  5. <text class="title">支付成功</text>
  6. <image class="icon" src="https://cqtyt-2025.oss-cn-beijing.aliyuncs.com/huyi/images/success.png" ></image>
  7. <view class="btn-box">
  8. <view class="btn cancel" @click="goBack()"> 返回</view>
  9. </view>
  10. </view>
  11. </view>
  12. </view>
  13. </template>
  14. <script>
  15. export default {
  16. data() {
  17. return {
  18. }
  19. },
  20. onLoad(option) {
  21. },
  22. methods: {
  23. goBack(){
  24. uni.navigateBack({
  25. delta:1
  26. })
  27. }
  28. }
  29. }
  30. </script>
  31. <style lang="scss">
  32. page{
  33. height: 100%;
  34. }
  35. .content{
  36. height: 100%;
  37. display: flex;
  38. flex-direction: column;
  39. justify-content: space-between;
  40. .inner{
  41. padding: 20upx;
  42. .top{
  43. box-sizing: border-box;
  44. background: #FFFFFF;
  45. border-radius: 16upx;
  46. display: flex;
  47. flex-direction: column;
  48. align-items: center;
  49. padding: 50upx 0upx;
  50. .title{
  51. font-size: 40upx;
  52. font-family: PingFang SC;
  53. font-weight: 500;
  54. color: #222222;
  55. line-height: 1;
  56. text-align: center;
  57. }
  58. .icon{
  59. margin: 60upx 0upx;
  60. width: 100upx;
  61. height: 100upx;
  62. }
  63. }
  64. .order-info{
  65. margin-top: 20upx;
  66. background: #FFFFFF;
  67. border-radius: 16upx;
  68. padding: 40upx 30upx;
  69. .title{
  70. font-size: 30upx;
  71. font-family: PingFang SC;
  72. font-weight: bold;
  73. color: #222222;
  74. line-height: 1;
  75. }
  76. .item{
  77. margin-top: 40upx;
  78. display: flex;
  79. align-items: center;
  80. justify-content: space-between;
  81. .label{
  82. font-size: 26upx;
  83. font-family: PingFang SC;
  84. font-weight: 500;
  85. color: #666666;
  86. line-height: 1;
  87. }
  88. .text{
  89. font-size: 26upx;
  90. font-family: PingFang SC;
  91. font-weight: 500;
  92. color: #222222;
  93. line-height: 32upx;
  94. }
  95. .cont-text{
  96. font-size: 26upx;
  97. font-family: PingFang SC;
  98. font-weight: 500;
  99. color: #666666;
  100. .bold{
  101. color: #111111;
  102. }
  103. }
  104. .sn-box{
  105. display: flex;
  106. align-items: center;
  107. .copy-btn{
  108. width: 58upx;
  109. height: 32upx;
  110. line-height: 32upx;
  111. text-align: center;
  112. font-size: 22upx;
  113. font-family: PingFang SC;
  114. font-weight: 500;
  115. color: #222222;
  116. background: #F5F5F5;
  117. border-radius: 4upx;
  118. margin-left: 24upx;
  119. }
  120. }
  121. }
  122. .line{
  123. width: 100%;
  124. height: 1px;
  125. background: #F0F0F0;
  126. margin-top: 30upx;
  127. }
  128. }
  129. }
  130. .btn-box{
  131. margin-top: 20upx;
  132. box-sizing: border-box;
  133. display: flex;
  134. align-items: center;
  135. .btn{
  136. width: 155upx;
  137. height: 64upx;
  138. line-height: 64upx;
  139. font-size: 26upx;
  140. font-family: PingFang SC;
  141. font-weight: 500;
  142. text-align: center;
  143. border-radius: 32upx;
  144. &.cancel{
  145. border: 1px solid #DDDDDD;
  146. color: #666666;
  147. }
  148. }
  149. }
  150. }
  151. </style>