infoExamine.vue 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <template>
  2. <view>
  3. <!-- 公共组件-每个页面必须引入 -->
  4. <public-module></public-module>
  5. <service-widget @btnClick="btn_click"></service-widget>
  6. <view class="d-flex a-center j-center m-5">
  7. <image src="/static/bigLogo.png" mode="widthFix" style="width: 180rpx;height: 180rpx;"></image>
  8. </view>
  9. <view class="status">认证状态:<text class="main-text-color">{{statusstage}}</text></view>
  10. <view class="status" v-if="userStatus=='2'">您的认证信息正在审核中,请耐心等待</view>
  11. <view class="status" v-if="(userStatus=='3')|| (userStatus=='4')">{{(userStatus=='4')?'退回原因':'驳回原因'}}:</view>
  12. <view class="remark" v-if="(userStatus=='3')|| (userStatus=='4')">
  13. {{remark}}
  14. </view>
  15. <template v-if="userStatus=='4'">
  16. <view class="d-flex flex-column">
  17. <button class="d-flex a-center j-center main-bg-color mt-4 mx-3" type="primary"
  18. @tap="toNext">重新认证</button>
  19. <button class="d-flex a-center j-center main-bf-hover-color mt-4 mx-3" type="primary"
  20. @tap="toLogin">下次再说</button>
  21. </view>
  22. </template>
  23. </view>
  24. </template>
  25. <script>
  26. import {
  27. mapState
  28. } from "vuex"
  29. export default {
  30. data() {
  31. return {
  32. remark: "",
  33. statusstage: ""
  34. }
  35. },
  36. onLoad() {
  37. if (this.userStatus == '2') {
  38. this.statusstage = "正在审核中";
  39. } else if (this.userStatus == '3') {
  40. this.statusstage = "审核驳回";
  41. } else if (this.userStatus == '4') {
  42. this.statusstage = "退回修改";
  43. }
  44. this.getRemark();
  45. },
  46. computed: {
  47. ...mapState(['userStatus', "userInfo", "userCheckInfo"])
  48. },
  49. methods: {
  50. btn_click() {
  51. uni.navigateTo({
  52. url: '/pages/chat/chat'
  53. })
  54. },
  55. getRemark() {
  56. this.remark = this.userCheckInfo.esmUserInternal.remark;
  57. },
  58. toNext() {
  59. uni.navigateTo({
  60. url: "/pages/user/infoInput"
  61. })
  62. },
  63. toLogin() {
  64. uni.switchTab({
  65. url: "/pages/index/index"
  66. })
  67. }
  68. }
  69. }
  70. </script>
  71. <style scoped>
  72. .status {
  73. font-size: 36rpx;
  74. font-weight: bold;
  75. margin-top: 20rpx;
  76. padding: 0 40rpx;
  77. }
  78. .remark {
  79. min-height: 160rpx;
  80. margin-top: 20rpx;
  81. margin: 10rpx 30rpx;
  82. padding: 20rpx;
  83. border: 1px solid #ddd;
  84. }
  85. </style>