lanxin 1 hónapja
szülő
commit
6cdc2fc3e7
1 módosított fájl, 7 hozzáadás és 5 törlés
  1. 7 5
      src/views/Home.vue

+ 7 - 5
src/views/Home.vue

@@ -47,7 +47,7 @@
         </div>
       </div>
 
-      <div class="swiper-pagination"></div>
+      <div class="swiper-pagination" v-if="data[myType] && data[myType].length > 1"></div>
 
       <!-- 下面的文字介绍 -->
       <div class="flooTxt" :class="{ flooTxtOne: oneTxt }">
@@ -292,7 +292,7 @@ export default {
       width: 24px;
       height: 4px;
       border-radius: 2px;
-      background: white;
+      background: #66442c49;
       opacity: 1;
 
       &.swiper-pagination-bullet-active {
@@ -334,7 +334,7 @@ export default {
       border-radius: 6px;
       overflow: hidden;
       width: 100%;
-      height: calc(100% - 200px);
+      height: calc(100% - 300px);
       .oneTabNum {
         z-index: 10;
         position: absolute;
@@ -412,7 +412,8 @@ export default {
       margin: 0 auto;
       margin-top: 10px;
       width: 70%;
-      max-height: 120px;
+      height: 100%;
+      max-height: 200px;
       .flooTxtBox {
         width: 100%;
         height: 100%;
@@ -508,6 +509,7 @@ export default {
       position: absolute;
       .myTitle {
         font-size: 16px;
+        margin: 8px 0;
       }
       .mainCon {
         border-radius: 0;
@@ -551,7 +553,7 @@ export default {
         margin-top: -5px;
         width: 100%;
         padding: 10px 15px 0px 15px;
-        max-height: 98px;
+        max-height: 250px;
 
         .flooTxtBox {
           padding: 0;