success.vue 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <template>
  2. <view class="container">
  3. <view class="tui-bg"></view>
  4. <view class="tui-content">
  5. <view class="tui-form">
  6. <image src="/static/images/mall/img_recharge_success.png" class="tui-icon"></image>
  7. <view class="tui-title">支付成功</view>
  8. <view class="tui-sub-title">非常感谢您对我们的支持</view>
  9. <view class="tui-btn-box">
  10. <tui-button type="danger" width="360rpx" height="70rpx" :size="28" plain shape="circle"
  11. @click="goindex">返回</tui-button>
  12. </view>
  13. </view>
  14. </view>
  15. </view>
  16. </template>
  17. <script>
  18. export default {
  19. data() {
  20. return {}
  21. },
  22. methods: {
  23. goindex() {
  24. uni.navigateTo({
  25. url: "/pagesA/my/userInfo/index"
  26. })
  27. }
  28. },
  29. /**
  30. * 页面相关事件处理函数--监听用户下拉动作
  31. */
  32. onPullDownRefresh: function() {
  33. setTimeout(() => {
  34. uni.stopPullDownRefresh()
  35. }, 200);
  36. },
  37. }
  38. </script>
  39. <style>
  40. .tui-bg {
  41. width: 100%;
  42. height: 260rpx;
  43. background: linear-gradient(20deg, #E41F19, #F34B0B);
  44. border-bottom-left-radius: 42rpx;
  45. }
  46. .tui-content {
  47. padding: 0 35rpx;
  48. box-sizing: border-box;
  49. }
  50. .tui-form {
  51. background: #fff;
  52. height: 500rpx;
  53. box-shadow: 0 10rpx 14rpx 0 rgba(0, 0, 0, 0.08);
  54. border-radius: 10rpx;
  55. margin-top: -160rpx;
  56. position: relative;
  57. z-index: 10;
  58. display: flex;
  59. align-items: center;
  60. flex-direction: column;
  61. }
  62. .tui-icon {
  63. width: 100rpx;
  64. height: 100rpx;
  65. display: block;
  66. margin-top: 60rpx;
  67. }
  68. .tui-title {
  69. font-size: 42rpx;
  70. line-height: 42rpx;
  71. padding-top: 28rpx;
  72. }
  73. .tui-sub-title {
  74. color: #666666;
  75. font-size: 28rpx;
  76. line-height: 28rpx;
  77. padding-top: 20rpx;
  78. }
  79. .tui-btn-box {
  80. width: 580rpx;
  81. display: flex;
  82. align-items: center;
  83. justify-content: space-between;
  84. padding-top: 88rpx;
  85. flex-direction: column;
  86. }
  87. .tui-tips {
  88. font-size: 26rpx;
  89. padding: 48rpx 90rpx;
  90. box-sizing: border-box;
  91. text-align: justify;
  92. line-height: 48rpx;
  93. }
  94. .tui-grey {
  95. color: #555;
  96. padding-bottom: 8rpx;
  97. }
  98. .tui-light-grey {
  99. color: #888;
  100. line-height: 40rpx;
  101. }
  102. </style>