infoExamine.vue 2.0 KB

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