소스 검색

bug 修改

wangxy 3 년 전
부모
커밋
8520ea76f0
2개의 변경된 파일5개의 추가작업 그리고 8개의 파일을 삭제
  1. 2 1
      components/common/layout/imgDes/imgCardLv1_index.vue
  2. 3 7
      pages/index.vue

+ 2 - 1
components/common/layout/imgDes/imgCardLv1_index.vue

@@ -181,7 +181,8 @@ export default {
   }
 
   @media (max-width: 768px) {
-    margin: 0 auto 60px;
+    margin: 0 auto 3%;
+    padding: 20px;
 
     .mta-card-content-h5 {
       img {

+ 3 - 7
pages/index.vue

@@ -50,17 +50,13 @@
     <!-- 产品和服务 -->
     <div class="client-products-services">
       <h4 class="client-title">产品和服务</h4>
-      <imgCardLv1 class="img-card" :option="item" v-for="(item,index) in productList" :key="index" :col-pc="3" :is-row="true"
-                  :col-h5="2">
-
+      <imgCardLv1 class="img-card" :option="item" v-for="(item,index) in productList" :key="index" :col-pc="3" :is-row="true" :col-h5="2">
         <div class="btn-groups">
           <applyBtn class="apply-btn btn-item" v-if="item.shenqing" @active-pc="onApplyBtnActive"
                     @active-h5="onApplyBtnActiveH5"/>
           <freeTrialBtn class="free-train-btn btn-item" v-if="item.mianfei" :myType="item.myType"/>
           <onlineInformationBtn class="online-information-btn btn-item" v-if="item.zixun"/>
         </div>
-
-
       </imgCardLv1>
     </div>
 
@@ -495,10 +491,10 @@ export default {
 <style lang="scss" scoped>
 
 .client-products-services {
-  .img-card:nth-child(1) {
+  .img-card:nth-child(3) {
     background: #fafffc;
   }
-  .img-card:nth-child(3) {
+  .img-card:nth-child(5) {
     background: #fafffc;
   }
 }