liuYb 6 éve%!(EXTRA string=óta)
szülő
commit
bfe4d77276
2 módosított fájl, 16 hozzáadás és 16 törlés
  1. 15 12
      src/components/swiperr.vue
  2. 1 4
      src/views/Home.vue

+ 15 - 12
src/components/swiperr.vue

@@ -65,18 +65,6 @@ export default {
 <style lang="stylus" scoped>
 @import '../assets/swiper.min.css';
 
-@media only screen and (max-width: 479px) {
-  .swiper-button-next img {
-    width: 16px !important;
-    height: 16px !important;
-  }
-
-  .swiper-button-prev img {
-    width: 16px !important;
-    height: 16px !important;
-  }
-}
-
 .swiper-button-next:after, .swiper-button-prev:after {
   display: none;
 }
@@ -150,4 +138,19 @@ body {
   -webkit-align-items: center;
   align-items: center;
 }
+@media only screen and (max-width: 479px) {
+  .swiper-button-next img {
+    width: 16px !important;
+    height: 16px !important;
+  }
+
+  .swiper-button-prev img {
+    width: 16px !important;
+    height: 16px !important;
+  }
+  .swiper-wrapper img {
+    width: 100%;
+    height: 150px;
+}
+}
 </style>

+ 1 - 4
src/views/Home.vue

@@ -242,9 +242,6 @@
     margin-top: 0px !important;
     overflow: auto;
   }
-  #blurr .blurrtext {
-    width: 138px !important;
-  }
 }
 @media only screen and (max-width: 1440px) {
   .liubai {
@@ -727,7 +724,7 @@ export default {
       this.axios
         .post(this.api_address + "/api/api.php", Qs.stringify(sendParam))
         .then(res => {
-          res.data.data.sort(this.sortBy("order", false));
+          res.data.data.sort(this.sortBy("order", true));
           for (let i = 0; i < res.data.data.length; i++) {
             this.messageParent.push({
               src: this.api_address + "/" + res.data.data[i].url