Forráskód Böngészése

调整职位类型左右间隔

lifanagju_citu 1 éve
szülő
commit
5b59a2ee9a
1 módosított fájl, 4 hozzáadás és 3 törlés
  1. 4 3
      src/components/jobTypeCard/index.vue

+ 4 - 3
src/components/jobTypeCard/index.vue

@@ -32,7 +32,7 @@
         </div>
       </div>
     </v-card>
-    <v-card v-if="rightObj.show" class="card rightCardBox ml-3">
+    <v-card v-if="rightObj.show" class="card rightCardBox">
       <div class="rightCard">
         <div class="categoryName">{{ rightObj.data.nameCn }}</div>
         <div v-for="(item, index) in rightObj.data.children" :key="item.id">
@@ -47,7 +47,7 @@
         </div>
       </div>
     </v-card>
-    <v-card height="392px" v-if="isPage && !rightObj.show" class="card rightCardBox ml-3">
+    <v-card height="392px" v-if="isPage && !rightObj.show" class="card rightCardBox">
       <v-carousel show-arrows="hover" cycle>
         <v-carousel-item v-for="(item, i) in carouselList" :key="i">
           <div style="height: 392px; overflow: hidden;">
@@ -159,6 +159,7 @@ const carouselList = ref([
     }
     .rowItem { justify-content: space-between; }
   }
+  .rightCardBox { margin-left: 4px; }
   .rightCard {
     height: 242px;
     width: 525px;
@@ -235,7 +236,7 @@ const carouselList = ref([
       }
     }
   }
-  .rightCardBox { flex: 1; }
+  .rightCardBox { flex: 1; margin-left: 12px;}
   .rightCard {
     height: 384px;
     // min-width: 786px;