HiddenDangerDetection.vue 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <script>
  2. import HiddenDangerTotal from "@/components/HiddenDangerTotal.vue";
  3. import RiskWarning from "@/components/RiskWarning.vue";
  4. import Rectification from "./Rectification.vue";
  5. export default {
  6. name: "HiddenDangerDetection",
  7. components: {
  8. HiddenDangerTotal,
  9. RiskWarning,
  10. Rectification,
  11. },
  12. };
  13. </script>
  14. <template>
  15. <div class="hidden-danger-detection">
  16. <div class="hidden-danger-detection_top">
  17. <div>按排查进度分:</div>
  18. <div class="hidden-danger-detection_top_inner">
  19. <hidden-danger-total number="1302/23768" label="总条数" unit="栋/次" />
  20. <hidden-danger-total number="987/8768" label="隐患数" unit="栋/条" />
  21. </div>
  22. </div>
  23. <div class="hidden-danger-detection_bottom">
  24. <div class="item">
  25. <RiskWarning />
  26. </div>
  27. <div class="item">
  28. <Rectification />
  29. </div>
  30. </div>
  31. </div>
  32. </template>
  33. <style scoped lang="less">
  34. .hidden-danger-detection_top {
  35. margin: 5px 4px;
  36. background-color: rgba(0, 213, 255, 0.12);
  37. padding: 8px;
  38. display: flex;
  39. align-items: center;
  40. .hidden-danger-detection_top_inner {
  41. display: flex;
  42. }
  43. }
  44. .hidden-danger-detection_bottom {
  45. display: flex;
  46. margin: 0px 4px;
  47. gap: 4px;
  48. .item {
  49. background-color: rgba(0, 213, 255, 0.12);
  50. height: 231px;
  51. &:nth-child(1) {
  52. width: 175px;
  53. }
  54. &:nth-child(2) {
  55. width: 259px;
  56. }
  57. }
  58. }
  59. </style>