withdrawSuccess.vue 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  1. <template>
  2. <view class="container">
  3. <!-- 内容区域 -->
  4. <view class="content">
  5. <!-- 成功图标 -->
  6. <view class="success-icon-wrapper">
  7. <view class="success-icon">
  8. <view class="circle circle-outer"></view>
  9. <view class="circle circle-middle"></view>
  10. <view class="circle circle-inner">
  11. <text class="checkmark">✓</text>
  12. </view>
  13. <view class="decoration decoration-1">○</view>
  14. <view class="decoration decoration-2">·</view>
  15. <view class="decoration decoration-3">+</view>
  16. <view class="decoration decoration-4">·</view>
  17. </view>
  18. </view>
  19. <!-- 成功文字 -->
  20. <view class="success-title">已提交</view>
  21. <!-- 提示文字 -->
  22. <view class="success-tips">提现申请发起后,预计在3个工作日到账</view>
  23. </view>
  24. <!-- 底部按钮 -->
  25. <view class="bottom-bar">
  26. <view class="home-btn" @click="goHome">返回首页</view>
  27. </view>
  28. </view>
  29. </template>
  30. <script>
  31. export default {
  32. methods: {
  33. goBack() {
  34. uni.navigateBack()
  35. },
  36. goHome() {
  37. uni.switchTab({
  38. url: '/pages/home/index'
  39. })
  40. }
  41. }
  42. }
  43. </script>
  44. <style lang="scss" scoped>
  45. .container {
  46. min-height: 100vh;
  47. background: #fff;
  48. display: flex;
  49. flex-direction: column;
  50. }
  51. .navbar {
  52. display: flex;
  53. align-items: center;
  54. justify-content: space-between;
  55. padding: 20rpx 24rpx;
  56. background: #fff;
  57. border-bottom: 1rpx solid #f0f0f0;
  58. .nav-left {
  59. width: 60rpx;
  60. .back-icon {
  61. font-size: 36rpx;
  62. color: #333;
  63. font-weight: bold;
  64. }
  65. }
  66. .nav-title {
  67. flex: 1;
  68. text-align: center;
  69. font-size: 36rpx;
  70. font-weight: bold;
  71. color: #333;
  72. }
  73. .nav-right {
  74. display: flex;
  75. align-items: center;
  76. gap: 24rpx;
  77. width: 60rpx;
  78. justify-content: flex-end;
  79. .more-icon {
  80. font-size: 32rpx;
  81. color: #333;
  82. }
  83. .eye-icon {
  84. font-size: 32rpx;
  85. color: #333;
  86. }
  87. }
  88. }
  89. .content {
  90. flex: 1;
  91. display: flex;
  92. flex-direction: column;
  93. align-items: center;
  94. justify-content: center;
  95. padding: 80rpx 24rpx;
  96. }
  97. .success-icon-wrapper {
  98. position: relative;
  99. margin-bottom: 48rpx;
  100. .success-icon {
  101. position: relative;
  102. width: 240rpx;
  103. height: 240rpx;
  104. .circle {
  105. position: absolute;
  106. left: 50%;
  107. top: 50%;
  108. transform: translate(-50%, -50%);
  109. border-radius: 50%;
  110. &.circle-outer {
  111. width: 240rpx;
  112. height: 240rpx;
  113. background: rgba(82, 196, 26, 0.1);
  114. }
  115. &.circle-middle {
  116. width: 180rpx;
  117. height: 180rpx;
  118. background: rgba(82, 196, 26, 0.3);
  119. }
  120. &.circle-inner {
  121. width: 120rpx;
  122. height: 120rpx;
  123. background: #52C41A;
  124. display: flex;
  125. align-items: center;
  126. justify-content: center;
  127. .checkmark {
  128. font-size: 72rpx;
  129. color: #fff;
  130. font-weight: bold;
  131. line-height: 1;
  132. }
  133. }
  134. }
  135. .decoration {
  136. position: absolute;
  137. color: #FFC107;
  138. font-size: 32rpx;
  139. &.decoration-1 {
  140. left: 20rpx;
  141. top: 40rpx;
  142. color: rgba(82, 196, 26, 0.4);
  143. }
  144. &.decoration-2 {
  145. left: 40rpx;
  146. top: 20rpx;
  147. }
  148. &.decoration-3 {
  149. right: 40rpx;
  150. top: 20rpx;
  151. color: rgba(82, 196, 26, 0.4);
  152. }
  153. &.decoration-4 {
  154. right: 20rpx;
  155. top: 60rpx;
  156. }
  157. }
  158. }
  159. }
  160. .success-title {
  161. font-size: 48rpx;
  162. font-weight: bold;
  163. color: #333;
  164. margin-bottom: 32rpx;
  165. }
  166. .success-tips {
  167. font-size: 26rpx;
  168. color: #999;
  169. text-align: center;
  170. line-height: 1.8;
  171. }
  172. .bottom-bar {
  173. padding: 24rpx;
  174. background: #fff;
  175. border-top: 1rpx solid #f0f0f0;
  176. .home-btn {
  177. width: 100%;
  178. height: 88rpx;
  179. background: #388BFF;
  180. border-radius: 44rpx;
  181. display: flex;
  182. align-items: center;
  183. justify-content: center;
  184. font-size: 32rpx;
  185. font-weight: bold;
  186. color: #fff;
  187. }
  188. }
  189. </style>