Ver Fonte

四性检测样式修改

duy há 9 meses atrás
pai
commit
f3083d3696
2 ficheiros alterados com 12 adições e 3 exclusões
  1. 10 1
      src/views/custody/components/hc-card1.vue
  2. 2 2
      src/views/custody/testing.vue

+ 10 - 1
src/views/custody/components/hc-card1.vue

@@ -82,7 +82,9 @@ const isSlotAction = ref(!!slots.action)
 const isSlotSearchBar = ref(!!slots.search)
 </script>
 
-<style lang="scss">
+
+
+<style lang="scss" scoped>
 .hc-card-box-1.el-card {
     height: 100%;
     position: relative;
@@ -92,6 +94,7 @@ const isSlotSearchBar = ref(!!slots.search)
     --el-text-color-primary: #1A1A1A;
     box-shadow: -2px 0 10px 0 rgba(32, 37, 50, 0.03), 0 10px 21px 20px rgba(32, 37, 50, 0.03);
     border: 0;
+ 
     .el-card__header {
         height: 70px;
         padding: 14px 24px;
@@ -180,3 +183,9 @@ const isSlotSearchBar = ref(!!slots.search)
     background-color: white !important;
 }
 </style>
+
+<style lang="scss">
+.hc-card-box-1 .el-card__body{
+    --el-card-padding: 0px;
+}
+</style>

+ 2 - 2
src/views/custody/testing.vue

@@ -1,5 +1,5 @@
 <template>
-    <div class="hc-page-box" style="backgroundcolor:white">
+    <div class="hc-page-box">
         <HcCard1 scrollbar>
             <div v-if="isStatus" :style="`background-image: url(${testBgbig});`" class="bannerbox">
                 <div class="infobox">
@@ -465,7 +465,7 @@ const viewReport = () => {
     display: flex;
     justify-content: space-around;
     align-items: flex-end;
-    min-height: 280px;
+    // min-height: 280px;
     // height: 28vh;
     // height: 350px;
     width: 80%;