checkMiddle.uvue 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <template>
  2. <!-- #ifdef APP -->
  3. <scroll-view style="flex:1">
  4. <!-- #endif -->
  5. <view v-if="stateNum == '1'" class="center-image-container">
  6. <view>
  7. <image class="center-image" style="width: 346rpx;height: 268rpx;" src="/static/other/shzm-1.png"
  8. mode="widthFix"></image>
  9. </view>
  10. <text class="miaos-2-box">您的信息已提交,平台正在审核中,请耐心等待~</text>
  11. </view>
  12. <view v-if="stateNum == '3'" class="center-image-container">
  13. <view class="shib-box">审核失败</view>
  14. <view class="ss-flex-2 shenz-box">
  15. <image style="width: 346rpx;height: 268rpx;" src="/static/other/shzm-3.png" mode="widthFix">
  16. </image>
  17. </view>
  18. <text class="miaos-2-box">您的信息有误,请重新提交~</text>
  19. <text class="miaos-2-box" style="color: #f74343;">审核备注:{{base_info}}</text>
  20. <button class="tij-box" style="background-color:#F78342; width: 50%;" type="default"
  21. @click="againForm">重新提交</button>
  22. </view>
  23. <!-- #ifdef APP -->
  24. </scroll-view>
  25. <!-- #endif -->
  26. </template>
  27. <script setup>
  28. import { ref } from 'vue';
  29. // //是否是待审核状态
  30. const stateNum = ref('1');
  31. const base_info = ref('')
  32. const againForm = () => {
  33. uni.navigateTo({ url: '/pages/login/merchantRecuitment' });
  34. };
  35. onLoad((event : OnLoadOptions) => {
  36. console.log(event, 'pages');
  37. stateNum.value = event?.["stateNum"] as String;
  38. base_info.value = event?.["remark"] as String;
  39. })
  40. </script>
  41. <style>
  42. .center-image-container {
  43. width: 100%;
  44. height: 50%;
  45. justify-content: space-around;
  46. align-items: center;
  47. }
  48. .miaos-2-box {
  49. margin: 20rpx 0;
  50. }
  51. </style>