status.vue 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <template>
  2. <view class="progress-status"
  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 }}{{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. updateTime: {
  44. type: String,
  45. default: ''
  46. },
  47. remark: {
  48. type: String,
  49. default: ''
  50. }
  51. }
  52. }
  53. </script>
  54. <style scoped lang="scss">
  55. .progress-status {
  56. position: fixed;
  57. width: 100%;
  58. z-index: 9999;
  59. background: #FFFFFF;
  60. border-top: 1px solid #EEEEEE;
  61. .status {
  62. font-size: 38upx;
  63. color: #596ABB;
  64. font-weight: 500;
  65. margin-bottom: 10upx;
  66. text {
  67. margin-left: 5upx
  68. }
  69. image {
  70. vertical-align: text-top;
  71. width: 42upx;
  72. height: 42upx;
  73. }
  74. }
  75. }
  76. </style>