status.vue 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <template>
  2. <view class="progress-statu"
  3. :style="status == null ? '' : 'padding: 20upx 42upx;'">
  4. <view v-if="status == 0">
  5. <view class="flex justify-between">
  6. <view class="status">
  7. <image src="/static/login/status1.png" mode="aspectFit"></image>
  8. <text style="font-weight: 500;">待审核</text>
  9. </view>
  10. <!-- <text style="color: #999;">{{updateTime }}</text> -->
  11. </view>
  12. <view style="color: #666666;">{{updateTime }} 提交的店铺信息待审核中</view>
  13. </view>
  14. <view v-if="status== 1">
  15. <view class="flex justify-between">
  16. <view class="status">
  17. <image src="/static/login/status2.png" mode="aspectFit"></image>
  18. <text style="font-weight: 500;color: #509B45;">审核通过</text>
  19. </view>
  20. <!-- <text style="color: #999;">{{updateTime }}</text> -->
  21. </view>
  22. <view style="color: #666666;">{{ updateTime }} 提交的店铺信息审核通过</view>
  23. </view>
  24. <view v-if="status == 2">
  25. <view class="flex justify-between">
  26. <view class="status">
  27. <image src="/static/login/status3.png" mode="aspectFit"></image>
  28. <text style="color: #F34F4F;font-weight: 500;">审核驳回</text>
  29. </view>
  30. <!-- <text style="color: #999;">{{updateTime }}</text> -->
  31. </view>
  32. <view>驳回原因:{{ remark }}<br/>补充说明:{{reason}}<br/>审批时间:{{updateTime }} </view>
  33. </view>
  34. </view>
  35. </template>
  36. <script>
  37. export default {
  38. props:{
  39. status: {
  40. type: Number,
  41. default: null
  42. },
  43. reason: {
  44. type: String,
  45. default: null
  46. },
  47. updateTime: {
  48. type: String,
  49. default: ''
  50. },
  51. remark: {
  52. type: String,
  53. default: ''
  54. }
  55. }
  56. }
  57. </script>
  58. <style scoped lang="scss">
  59. .progress-statu {
  60. // position: none;
  61. width: 100%;
  62. // z-index: 9999;
  63. background: #FFFFFF;
  64. border-top: 1px solid #EEEEEE;
  65. .status {
  66. font-size: 38upx;
  67. color: #596ABB;
  68. font-weight: 500;
  69. margin-bottom: 10upx;
  70. text {
  71. margin-left: 5upx
  72. }
  73. image {
  74. vertical-align: text-top;
  75. width: 42upx;
  76. height: 42upx;
  77. }
  78. }
  79. }
  80. </style>