Browse Source

页面样式修改

tanxue 3 years ago
parent
commit
9f5a66a7a3
2 changed files with 11 additions and 5 deletions
  1. 3 3
      components/common/newsComp.vue
  2. 8 2
      pages/introduction/index.vue

+ 3 - 3
components/common/newsComp.vue

@@ -1,7 +1,7 @@
 <template>
   <div>
     <!-- 新闻资讯 PC-->
-    <div class="client-news-information mta-hidden-xs">
+   <!-- <div class="client-news-information mta-hidden-xs">
       <h4 class="client-title">新闻资讯</h4>
       <div class="client-container">
         <div class="industry-information-box">
@@ -26,7 +26,7 @@
       </div>
     </div>
 
-    <!-- 新闻资讯 手机-->
+    &lt;!&ndash; 新闻资讯 手机&ndash;&gt;
 
       <div class="client-newsInfo-phone mta-hidden-sm">
         <div class="client-container">
@@ -44,7 +44,7 @@
         </el-carousel>
 
       </div>
-    </div>
+    </div>-->
   </div>
 
 </template>

+ 8 - 2
pages/introduction/index.vue

@@ -516,9 +516,13 @@
 @media (max-width: 768px) {
   .company-profile-box {
     margin-top: 20px;
+    height: 300px;
 
     .text-content {
       margin: 0;
+      left:20px;
+      top: 0;
+      right:20px;
 
       h4 {
         margin-top: 20px;
@@ -534,6 +538,7 @@
       p {
         font-size: 14px;
         width: 100%;
+        text-align: justify;
       }
     }
   }
@@ -562,6 +567,7 @@
           box-sizing: border-box;
           background-size: contain;
           background-position: center;
+          background-repeat: no-repeat;
 
           p {
             width: 100%;
@@ -579,9 +585,9 @@
 
 
   .client-banner-box.guanyu {
-    height: 90px;
+    height: 150px;
     .client-platform-banner {
-      height: 90px;
+      height: 150px;
     }
   }
 }