check-popup.vue 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. <template>
  2. <view class="popup flex">
  3. <view class="center">
  4. <view class="title flex" v-if="status == 1">
  5. 完善信息
  6. </view>
  7. <view class="title flex" v-if="status == 2">
  8. 提 示
  9. </view>
  10. <view class="title flex" v-if="status == 4">
  11. 审核不通过
  12. </view>
  13. <view class="content flex" v-if="status == 4">
  14. 驳回原因:{{describe}}
  15. </view>
  16. <view class="content flex" v-if="status == 2">
  17. 审核中,请等待...
  18. </view>
  19. <view class="content flex" v-if="status == 1">
  20. {{describe}}
  21. </view>
  22. <view class="btn flex" v-if="status == 1">
  23. <view class="add flex" @click="goMake">
  24. 去完善
  25. </view>
  26. </view>
  27. <view class=" flex" v-if="status == 2">
  28. </view>
  29. <view class="btn between" v-if="status == 4">
  30. <view class="cancel flex" @click="cancel">
  31. 取消
  32. </view>
  33. <view class="edit flex" @click="goMake">
  34. 去修改
  35. </view>
  36. </view>
  37. </view>
  38. </view>
  39. </template>
  40. <script>
  41. export default {
  42. name: 'checkPopup',
  43. props: {
  44. status: {
  45. type: [String, Number],
  46. default: ''
  47. },
  48. describe: {
  49. type: String,
  50. default: ''
  51. },
  52. },
  53. data(){
  54. return{
  55. show:true
  56. }
  57. },
  58. methods: {
  59. // 取消
  60. cancel(){
  61. this.$emit('cutPopup')
  62. uni.showTabBar()
  63. },
  64. //去设置
  65. goEdit(){
  66. uni.navigateTo({
  67. url:'/pages/login/settled'
  68. })
  69. },
  70. //去填写
  71. goMake(){
  72. let loginType = uni.getStorageSync('login_user_info').userState
  73. console.log(this.$props.referenceId)
  74. uni.navigateTo({
  75. url:'/pages/login/settled?loginType='+loginType
  76. })
  77. }
  78. }
  79. }
  80. </script>
  81. <style scoped lang="less">
  82. .flex {
  83. display: flex;
  84. align-items: center;
  85. justify-content: center;
  86. }
  87. .popup {
  88. width: 100vw;
  89. height: 100vh;
  90. background: rgba(0, 0, 0, 0.7);
  91. position: fixed;
  92. top: 0;
  93. left: 0;
  94. z-index: 9999999999 !important;
  95. .center {
  96. width: 570rpx;
  97. height: 410rpx;
  98. background: #FFFFFF;
  99. border-radius: 16rpx;
  100. padding: 0 24rpx;
  101. display: flex;
  102. flex-direction: column;
  103. justify-content: space-between;
  104. .title {
  105. width: 100%;
  106. height: 86rpx;
  107. font-weight: 600;
  108. font-size: 32rpx;
  109. border-bottom: 1px solid #EEEEEE;
  110. }
  111. .center {
  112. flex: 1;
  113. }
  114. .btn {
  115. width: 100%;
  116. height: 100rpx;
  117. border-top: 1px solid #EEEEEE;
  118. .add {
  119. width: 522rpx;
  120. height: 68rpx;
  121. background: #449AFF;
  122. border-radius: 66rpx;
  123. font-size: 28rpx;
  124. color: #FFFFFF;
  125. }
  126. .cancel {
  127. width: 241rpx;
  128. height: 68rpx;
  129. border-radius: 54rpx;
  130. border: 1px solid #CCCCCC;
  131. color: #999999;
  132. }
  133. .edit {
  134. width: 241rpx;
  135. height: 68rpx;
  136. background: #449AFF;
  137. border-radius: 66rpx;
  138. color: #FFFFFF;
  139. }
  140. }
  141. .between {
  142. display: flex;
  143. justify-content: space-between;
  144. align-items: center;
  145. }
  146. }
  147. }
  148. </style>