Bläddra i källkod

fix:移动pc样式修改

shenchunlv 2 år sedan
förälder
incheckning
92f2ba9646
3 ändrade filer med 8 tillägg och 9 borttagningar
  1. 1 1
      pages/index.vue
  2. 4 5
      pages/user/m_user.vue
  3. 3 3
      static/m_index.less

+ 1 - 1
pages/index.vue

@@ -146,7 +146,7 @@
         </div>
       </div>
     </div>
-    <div class="home-qa">
+    <div class="home-qa"  v-if="homeList3 !== []">
       <div class="home-content">
         <div class="home-title">咨询信息</div>
         <div class="home-title-sub" @click="amodalFn">

+ 4 - 5
pages/user/m_user.vue

@@ -170,7 +170,7 @@
         </div>
       </div>
     </div>
-    <div class="home-qa">
+    <div class="home-qa" v-if="homeList3 !== []">
       <div class="home-content">
         <div class="home-title">咨询信息</div>
         <div class="home-title-sub" @click="amodalFn">
@@ -434,7 +434,7 @@ export default {
   border-color: #526eea !important;
   color: #fff !important;
   // width: 150px;
-  width: 500px !important;
+  width: 80% !important;
   height: 200px !important;
   font-size: 60px !important;
 }
@@ -463,9 +463,6 @@ export default {
 .ant-btn-primary {
   height: 200px;
 }
-.ant-modal-title {
-  // font-size: 80px !important;
-}
 
 .van-nav-bar {
   background-color: #1f1d29 !important;
@@ -510,5 +507,7 @@ export default {
 }
 .ant-modal-footer{
   border-top: 0 !important;
+  padding-bottom: 300px;
+
 }
 </style>

+ 3 - 3
static/m_index.less

@@ -78,7 +78,7 @@ body {
 
         &>img {
           width: 100%;
-          height: 500px;
+          // height: 500px;
         }
 
         .home-qa-img-row-item-absolute {
@@ -309,9 +309,9 @@ body {
     border: 1px solid #ECECEC;
   }
 }
-.add-title{
+// .add-title{
   // font-size: 50px;
-}
+// }
 
 .yc {
   white-space: nowrap;