Browse Source

修改文件

ZaiZai 10 months ago
parent
commit
79df9b0874
2 changed files with 11 additions and 3 deletions
  1. 8 0
      src/styles/home/home.scss
  2. 3 3
      src/views/home/index.vue

+ 8 - 0
src/styles/home/home.scss

@@ -1,4 +1,12 @@
+.hc-home-chart-main .el-scrollbar__bar.is-vertical {
+    right: -10px;
+}
 .hc-home-chart-body {
+    position: relative;
+    overflow: hidden;
+    .el-card.hc-card-box.hc-new-card-box {
+        box-shadow: none;
+    }
     .chart-title {
         display: flex;
         font-weight: 700;

+ 3 - 3
src/views/home/index.vue

@@ -1,8 +1,8 @@
 <template>
-    <hc-body scrollbar padding="12px">
+    <hc-body scrollbar padding="12px" class="hc-home-chart-main">
         <HcAgentCharge :active="agentChargeIndex" @load="agentChargeLoad" />
-        <div class="hc-home-chart-body relative mb-5 mt-5 h-[500px]">
-            <el-row :gutter="20" class="h-full">
+        <div class="hc-home-chart-body relative mb-14px mt-14px h-[500px]">
+            <el-row :gutter="14" class="h-full">
                 <el-col :span="8" class="h-full">
                     <hc-card>
                         <template #header>