review.vue 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359
  1. <template>
  2. <view class="review-page">
  3. <nav-bar title="申请审核" bgColor="transparent" color="#fff" :showBack="false"></nav-bar>
  4. <!-- 头部渐变背景 -->
  5. <view class="hero-bg">
  6. <view class="deco-circle c1"></view>
  7. <view class="deco-circle c2"></view>
  8. <view class="deco-circle c3"></view>
  9. </view>
  10. <!-- 审核状态卡片 -->
  11. <view class="status-card">
  12. <view class="status-icon-wrap">
  13. <uni-icons type="spinner-cycle" size="48" color="#ff9500" class="spinner"></uni-icons>
  14. </view>
  15. <text class="status-title">资料审核中</text>
  16. <text class="status-desc">系统已收到您的注册申请,正在为您全力审核</text>
  17. <!-- 审核时间轴 -->
  18. <view class="timeline">
  19. <view class="timeline-item active">
  20. <view class="timeline-dot">
  21. <uni-icons type="checkmarkempty" size="14" color="#fff"></uni-icons>
  22. </view>
  23. <view class="timeline-content">
  24. <text class="time-title">提交申请</text>
  25. <text class="time-desc">注册资料已成功提交</text>
  26. </view>
  27. </view>
  28. <view class="timeline-item active processing">
  29. <view class="timeline-dot">
  30. <view class="inner-dot"></view>
  31. </view>
  32. <view class="timeline-content">
  33. <text class="time-title">平台审核中</text>
  34. <text class="time-desc">预计在 1-2 个工作日内完成审核</text>
  35. </view>
  36. </view>
  37. <view class="timeline-item">
  38. <view class="timeline-dot"></view>
  39. <view class="timeline-content">
  40. <text class="time-title">审核通过 & 开户</text>
  41. <text class="time-desc">开通后台登录账户</text>
  42. </view>
  43. </view>
  44. </view>
  45. <!-- 详情划分线 -->
  46. <view class="divider"></view>
  47. <!-- 注册申请详情信息 -->
  48. <view class="info-list">
  49. <view class="info-item">
  50. <text class="info-label">企业名称</text>
  51. <text class="info-val">{{ merchantName || '好萌友' }}</text>
  52. </view>
  53. <view class="info-item">
  54. <text class="info-label">提交时间</text>
  55. <text class="info-val">{{ submitTime || '刚刚' }}</text>
  56. </view>
  57. <view class="info-item">
  58. <text class="info-label">当前状态</text>
  59. <text class="info-val status-text">正在审核</text>
  60. </view>
  61. </view>
  62. <!-- 按钮区 -->
  63. <button class="back-login-btn" @click="goToLogin">返回登录</button>
  64. </view>
  65. <!-- 底部页脚 -->
  66. <view class="footer-hint">
  67. <text>好萌友 APP 运营中心 提供技术支持</text>
  68. </view>
  69. </view>
  70. </template>
  71. <script setup>
  72. import { ref, onMounted } from 'vue'
  73. import navBar from '@/components/nav-bar/index.vue'
  74. const merchantName = ref('')
  75. const submitTime = ref('')
  76. onMounted(() => {
  77. merchantName.value = uni.getStorageSync('registered_merchant') || ''
  78. submitTime.value = uni.getStorageSync('registered_time') || ''
  79. })
  80. const goToLogin = () => {
  81. uni.reLaunch({
  82. url: '/pages/login/index'
  83. })
  84. }
  85. </script>
  86. <style lang="scss" scoped>
  87. .review-page {
  88. min-height: 100vh;
  89. background: #f5f6fa;
  90. display: flex;
  91. flex-direction: column;
  92. }
  93. :deep(.nav-bar) {
  94. position: absolute !important;
  95. }
  96. .hero-bg {
  97. background: linear-gradient(150deg, #ffd53f 0%, #ff9500 100%);
  98. height: 380rpx;
  99. position: relative;
  100. overflow: hidden;
  101. }
  102. .deco-circle {
  103. position: absolute;
  104. border-radius: 50%;
  105. background: rgba(255, 255, 255, 0.12);
  106. }
  107. .c1 {
  108. width: 300rpx;
  109. height: 300rpx;
  110. top: -120rpx;
  111. right: -80rpx;
  112. }
  113. .c2 {
  114. width: 200rpx;
  115. height: 200rpx;
  116. top: 60rpx;
  117. left: -80rpx;
  118. }
  119. .c3 {
  120. width: 120rpx;
  121. height: 120rpx;
  122. bottom: 40rpx;
  123. right: 40rpx;
  124. }
  125. .status-card {
  126. background: #ffffff;
  127. border-radius: 40rpx;
  128. margin: -140rpx 40rpx 40rpx;
  129. padding: 64rpx 48rpx;
  130. box-shadow: 0 12rpx 36rpx rgba(0, 0, 0, 0.05);
  131. position: relative;
  132. z-index: 10;
  133. display: flex;
  134. flex-direction: column;
  135. align-items: center;
  136. }
  137. .status-icon-wrap {
  138. width: 160rpx;
  139. height: 160rpx;
  140. background: rgba(255, 149, 0, 0.08);
  141. border-radius: 50%;
  142. display: flex;
  143. align-items: center;
  144. justify-content: center;
  145. margin-bottom: 32rpx;
  146. }
  147. .spinner {
  148. animation: spin 3s linear infinite;
  149. }
  150. @keyframes spin {
  151. from { transform: rotate(0deg); }
  152. to { transform: rotate(360deg); }
  153. }
  154. .status-title {
  155. font-size: 40rpx;
  156. font-weight: 800;
  157. color: #1a1a1a;
  158. margin-bottom: 12rpx;
  159. }
  160. .status-desc {
  161. font-size: 26rpx;
  162. color: #888;
  163. text-align: center;
  164. line-height: 1.5;
  165. margin-bottom: 60rpx;
  166. }
  167. .timeline {
  168. width: 100%;
  169. padding: 0 10rpx;
  170. margin-bottom: 60rpx;
  171. }
  172. .timeline-item {
  173. display: flex;
  174. position: relative;
  175. padding-bottom: 48rpx;
  176. &:last-child {
  177. padding-bottom: 0;
  178. &::after {
  179. display: none;
  180. }
  181. }
  182. &::after {
  183. content: '';
  184. position: absolute;
  185. left: 22rpx;
  186. top: 40rpx;
  187. bottom: -10rpx;
  188. width: 4rpx;
  189. background: #eef2f6;
  190. z-index: 1;
  191. }
  192. &.active {
  193. &::after {
  194. background: #ff9500;
  195. }
  196. .timeline-dot {
  197. background: #ff9500;
  198. border-color: #ff9500;
  199. }
  200. .time-title {
  201. color: #1a1a1a;
  202. font-weight: 700;
  203. }
  204. }
  205. &.processing {
  206. &::after {
  207. background: repeating-linear-gradient(0deg, #eef2f6, #eef2f6 8rpx, #ff9500 8rpx, #ff9500 16rpx);
  208. }
  209. .timeline-dot {
  210. background: #fff;
  211. border-color: #ff9500;
  212. display: flex;
  213. align-items: center;
  214. justify-content: center;
  215. .inner-dot {
  216. width: 12rpx;
  217. height: 12rpx;
  218. border-radius: 50%;
  219. background: #ff9500;
  220. animation: pulse 1.6s infinite;
  221. }
  222. }
  223. }
  224. }
  225. @keyframes pulse {
  226. 0% { transform: scale(0.8); opacity: 0.5; }
  227. 50% { transform: scale(1.2); opacity: 1; }
  228. 100% { transform: scale(0.8); opacity: 0.5; }
  229. }
  230. .timeline-dot {
  231. width: 44rpx;
  232. height: 44rpx;
  233. border-radius: 50%;
  234. background: #f5f6fa;
  235. border: 4rpx solid #eef2f6;
  236. z-index: 2;
  237. margin-right: 28rpx;
  238. flex-shrink: 0;
  239. display: flex;
  240. align-items: center;
  241. justify-content: center;
  242. }
  243. .timeline-content {
  244. flex: 1;
  245. }
  246. .time-title {
  247. display: block;
  248. font-size: 28rpx;
  249. color: #666;
  250. margin-bottom: 6rpx;
  251. }
  252. .time-desc {
  253. display: block;
  254. font-size: 24rpx;
  255. color: #999;
  256. }
  257. .divider {
  258. width: 100%;
  259. height: 2rpx;
  260. background: #f2f3f7;
  261. margin-bottom: 40rpx;
  262. }
  263. .info-list {
  264. width: 100%;
  265. margin-bottom: 64rpx;
  266. }
  267. .info-item {
  268. display: flex;
  269. justify-content: space-between;
  270. align-items: center;
  271. margin-bottom: 24rpx;
  272. font-size: 26rpx;
  273. &:last-child {
  274. margin-bottom: 0;
  275. }
  276. }
  277. .info-label {
  278. color: #999;
  279. }
  280. .info-val {
  281. color: #333;
  282. font-weight: 500;
  283. }
  284. .status-text {
  285. color: #ff9500;
  286. font-weight: bold;
  287. }
  288. .back-login-btn {
  289. width: 100%;
  290. height: 96rpx;
  291. line-height: 96rpx;
  292. font-size: 32rpx;
  293. font-weight: 700;
  294. color: #fff;
  295. background: linear-gradient(90deg, #ffd53f, #ff9500);
  296. border: none;
  297. border-radius: 48rpx;
  298. letter-spacing: 2rpx;
  299. box-shadow: 0 8rpx 20rpx rgba(255, 149, 0, 0.15);
  300. &::after { border: none; }
  301. }
  302. .footer-hint {
  303. text-align: center;
  304. font-size: 22rpx;
  305. color: #ccc;
  306. padding: 40rpx 0 60rpx;
  307. margin-top: auto;
  308. }
  309. </style>