await-audit.vue 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <template>
  2. <view class="page-box">
  3. <view class="img-box">
  4. <image src="https://wealfavor-1257406827.cos.ap-beijing.myqcloud.com/new-xcx/login/await_audit.png" class="await-img" mode="widthFix"></image>
  5. </view>
  6. <view class="await-status text-color-333 sys-size-36 sys-weight-600">已提交</view>
  7. <view class="await-msg text-color-333 sys-size-30 sys-weight-400">请耐心等待审核</view>
  8. <view class="await-but sys-radius-100 sys-background-dominant sys-size-30 text-color-fff sys-weight-500" @click.stop="getMemberInfo">确认</view>
  9. </view>
  10. </template>
  11. <script>
  12. export default {
  13. data() {
  14. return {
  15. timeServe: null
  16. };
  17. },
  18. mounted() {
  19. this.timeServe = setInterval(() => {
  20. this.getMemberInfo();
  21. }, 5000)
  22. },
  23. methods: {
  24. getMemberInfo() {
  25. getMemberInfo().then((res) => {
  26. if (res.code === 1) {
  27. if (res.data.status === 1) {
  28. clearInterval(this.timeServe)
  29. uni.setStorageSync('receivingType',res.data.receivingType)
  30. uni.setStorageSync('enteringType',res.data.enteringType)
  31. uni.reLaunch({
  32. url: '/pages/index/index'
  33. });
  34. }
  35. }
  36. })
  37. },
  38. },
  39. }
  40. </script>
  41. <style lang="scss">
  42. .page-box{
  43. min-height: 100vh;
  44. background-image: url("https://wealfavor-1257406827.cos.ap-beijing.myqcloud.com/app-serve/2024-4-17/gvbst5vy0m.png?imageMogr2/quality/20");
  45. background-repeat: no-repeat;
  46. background-size: 100% auto;
  47. .img-box{
  48. padding-top: 360rpx;
  49. display: flex;
  50. justify-content: center;
  51. .await-img{
  52. margin: 0 auto;
  53. width: 200rpx;
  54. height: 200rpx;
  55. }
  56. }
  57. .await-status{
  58. text-align: center;
  59. margin-top: 30rpx;
  60. }
  61. .await-msg{
  62. text-align: center;
  63. margin-top: 14rpx;
  64. }
  65. .await-but{
  66. width: 330rpx;
  67. height: 80rpx;
  68. line-height: 80rpx;
  69. margin: 48rpx auto;
  70. text-align: center;
  71. }
  72. }
  73. </style>