otherPaySuccess.vue 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. <template>
  2. <view class="content">
  3. <view class="inner">
  4. <view class="top">
  5. <text class="title">支付成功</text>
  6. <image class="icon" src="../../static/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.reLaunch({
  25. url: '/pages/home/index',
  26. animationType: 'pop-in',
  27. animationDuration: 100
  28. })
  29. }
  30. }
  31. }
  32. </script>
  33. <style lang="scss">
  34. page{
  35. height: 100%;
  36. }
  37. .content{
  38. height: 100%;
  39. display: flex;
  40. flex-direction: column;
  41. justify-content: space-between;
  42. .inner{
  43. padding: 20upx;
  44. .top{
  45. box-sizing: border-box;
  46. background: #FFFFFF;
  47. border-radius: 16upx;
  48. display: flex;
  49. flex-direction: column;
  50. align-items: center;
  51. padding: 50upx 0upx;
  52. .title{
  53. font-size: 40upx;
  54. font-family: PingFang SC;
  55. font-weight: 500;
  56. color: #222222;
  57. line-height: 1;
  58. text-align: center;
  59. }
  60. .icon{
  61. margin: 60upx 0upx;
  62. width: 100upx;
  63. height: 100upx;
  64. }
  65. }
  66. .order-info{
  67. margin-top: 20upx;
  68. background: #FFFFFF;
  69. border-radius: 16upx;
  70. padding: 40upx 30upx;
  71. .title{
  72. font-size: 30upx;
  73. font-family: PingFang SC;
  74. font-weight: bold;
  75. color: #222222;
  76. line-height: 1;
  77. }
  78. .item{
  79. margin-top: 40upx;
  80. display: flex;
  81. align-items: center;
  82. justify-content: space-between;
  83. .label{
  84. font-size: 26upx;
  85. font-family: PingFang SC;
  86. font-weight: 500;
  87. color: #666666;
  88. line-height: 1;
  89. }
  90. .text{
  91. font-size: 26upx;
  92. font-family: PingFang SC;
  93. font-weight: 500;
  94. color: #222222;
  95. line-height: 32upx;
  96. }
  97. .cont-text{
  98. font-size: 26upx;
  99. font-family: PingFang SC;
  100. font-weight: 500;
  101. color: #666666;
  102. .bold{
  103. color: #111111;
  104. }
  105. }
  106. .sn-box{
  107. display: flex;
  108. align-items: center;
  109. .copy-btn{
  110. width: 58upx;
  111. height: 32upx;
  112. line-height: 32upx;
  113. text-align: center;
  114. font-size: 22upx;
  115. font-family: PingFang SC;
  116. font-weight: 500;
  117. color: #222222;
  118. background: #F5F5F5;
  119. border-radius: 4upx;
  120. margin-left: 24upx;
  121. }
  122. }
  123. }
  124. .line{
  125. width: 100%;
  126. height: 1px;
  127. background: #F0F0F0;
  128. margin-top: 30upx;
  129. }
  130. }
  131. }
  132. .btn-box{
  133. margin-top: 20upx;
  134. box-sizing: border-box;
  135. display: flex;
  136. align-items: center;
  137. .btn{
  138. width: 155upx;
  139. height: 64upx;
  140. line-height: 64upx;
  141. font-size: 26upx;
  142. font-family: PingFang SC;
  143. font-weight: 500;
  144. text-align: center;
  145. border-radius: 32upx;
  146. &.cancel{
  147. border: 1px solid #DDDDDD;
  148. color: #666666;
  149. }
  150. }
  151. }
  152. }
  153. </style>