withdrawSuccess.vue 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <template>
  2. <view class="container">
  3. <!-- 内容区域 -->
  4. <view class="content">
  5. <!-- 成功图标 -->
  6. <view class="success-icon-wrapper">
  7. <image class="w320" src="@/static/image/img_success.png" mode="widthFix"></image>
  8. </view>
  9. <!-- 成功文字 -->
  10. <view class="success-title">已提交</view>
  11. <!-- 提示文字 -->
  12. <view class="success-tips">提现申请发起后,预计在3个工作日到账</view>
  13. <!-- 底部按钮 -->
  14. <view class="bottom-bar">
  15. <view class="home-btn" @click="goHome">返回首页</view>
  16. </view>
  17. </view>
  18. </view>
  19. </template>
  20. <script>
  21. export default {
  22. methods: {
  23. goBack() {
  24. uni.navigateBack()
  25. },
  26. goHome() {
  27. uni.switchTab({
  28. url: '/pages/home/index'
  29. })
  30. }
  31. }
  32. }
  33. </script>
  34. <style lang="scss" scoped>
  35. .container {
  36. min-height: 100vh;
  37. background: #fff;
  38. display: flex;
  39. flex-direction: column;
  40. }
  41. .navbar {
  42. display: flex;
  43. align-items: center;
  44. justify-content: space-between;
  45. padding: 20rpx 24rpx;
  46. background: #fff;
  47. border-bottom: 1rpx solid #f0f0f0;
  48. .nav-left {
  49. width: 60rpx;
  50. .back-icon {
  51. font-size: 36rpx;
  52. color: #333;
  53. font-weight: bold;
  54. }
  55. }
  56. .nav-title {
  57. flex: 1;
  58. text-align: center;
  59. font-size: 36rpx;
  60. font-weight: bold;
  61. color: #333;
  62. }
  63. .nav-right {
  64. display: flex;
  65. align-items: center;
  66. gap: 24rpx;
  67. width: 60rpx;
  68. justify-content: flex-end;
  69. .more-icon {
  70. font-size: 32rpx;
  71. color: #333;
  72. }
  73. .eye-icon {
  74. font-size: 32rpx;
  75. color: #333;
  76. }
  77. }
  78. }
  79. .content {
  80. flex: 1;
  81. display: flex;
  82. flex-direction: column;
  83. align-items: center;
  84. //justify-content: center;
  85. padding-top: 190rpx;
  86. }
  87. .success-icon-wrapper {
  88. position: relative;
  89. margin-bottom: 40rpx;
  90. }
  91. .success-title {
  92. font-family: PingFang SC, PingFang SC;
  93. font-weight: 500;
  94. font-size: 36rpx;
  95. color: #333333;
  96. line-height: 44rpx;
  97. text-align: center;
  98. margin-bottom: 14rpx;
  99. }
  100. .success-tips {
  101. font-family: PingFang SC, PingFang SC;
  102. font-weight: 400;
  103. font-size: 24rpx;
  104. color: #999999;
  105. line-height: 40rpx;
  106. }
  107. .bottom-bar {
  108. margin-top: 44rpx;
  109. .home-btn {
  110. width: 320rpx;
  111. height: 80rpx;
  112. background: #388BFF;
  113. border-radius: 56rpx 56rpx 56rpx 56rpx;
  114. font-family: PingFang SC, PingFang SC;
  115. font-weight: 400;
  116. font-size: 28rpx;
  117. color: #FFFFFF;
  118. line-height: 80rpx;
  119. text-align: center;
  120. }
  121. }
  122. </style>