seqPopUp.vue 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. <template>
  2. <div class="midPopUp" v-if="modelValue" @click.stop="handleClose">
  3. <div class="container" @click.stop>
  4. <div class="headerTittle">已绑管号</div>
  5. <el-divider />
  6. <el-scrollbar>
  7. <div class="body">
  8. <div
  9. class="info titleText"
  10. v-for="(item, index) in showInfoData"
  11. :key="index"
  12. >
  13. {{ item }}
  14. <span style="margin-right: 10px"></span>
  15. </div>
  16. <Empty v-if="showInfoData.length == 0" />
  17. </div>
  18. </el-scrollbar>
  19. </div>
  20. </div>
  21. </template>
  22. <script lang="ts" setup>
  23. const emits = defineEmits(["update:modelValue"]);
  24. const props = defineProps({
  25. modelValue: {
  26. type: Boolean,
  27. default: false,
  28. },
  29. showInfoData: {
  30. type: Object,
  31. },
  32. showInfo: {
  33. type: Object,
  34. },
  35. });
  36. const scanCode = ref("");
  37. const handleClose = () => {
  38. emits("update:modelValue", false);
  39. };
  40. </script>
  41. <style lang="scss" scoped>
  42. .el-divider {
  43. margin-top: 0;
  44. }
  45. .header {
  46. @include flex;
  47. width: 100%;
  48. margin: $p10 0;
  49. .inputBox {
  50. width: 75%;
  51. }
  52. }
  53. .describeText {
  54. line-height: 25px !important;
  55. }
  56. .infoBox {
  57. width: 100%;
  58. height: 200px;
  59. border-radius: 16px;
  60. display: flex;
  61. justify-content: space-between;
  62. padding: $p20;
  63. border-radius: 16px;
  64. .leftInfo {
  65. display: flex;
  66. flex-direction: column;
  67. justify-content: space-between;
  68. div {
  69. text-align: left !important;
  70. }
  71. }
  72. .rightBox {
  73. display: flex;
  74. flex-direction: column;
  75. justify-content: space-between;
  76. .sumBox {
  77. width: 180px;
  78. height: 80px;
  79. padding-bottom: 40px;
  80. text-align: left;
  81. .describeText {
  82. text-align: left;
  83. line-height: 30px;
  84. }
  85. .sum {
  86. font-size: $f38;
  87. font-weight: bold;
  88. line-height: 20px;
  89. }
  90. }
  91. }
  92. }
  93. .body {
  94. padding: 0 $p20;
  95. .info {
  96. width: 100%;
  97. height: 70px;
  98. padding: 0 $p20;
  99. background-color: white;
  100. border-radius: 16px;
  101. line-height: 70px;
  102. margin-bottom: 10px;
  103. }
  104. }
  105. </style>