shaogen1995 2 роки тому
батько
коміт
12f0c36f11
2 змінених файлів з 2 додано та 2 видалено
  1. 1 1
      SWKK/src/components/Hot.vue
  2. 1 1
      SWKK/src/components/Rbottom.vue

+ 1 - 1
SWKK/src/components/Hot.vue

@@ -164,7 +164,7 @@ export default {
       this.data = this.info[val];
       this.$nextTick(() => {
         setTimeout(() => {
-          this.Swiper = new Swiper(".swiper-container", {
+          this.Swiper = new Swiper(".Hot .swiper-container", {
             slidesPerView: 1,
             // 如果需要前进后退按钮
             navigation: {

+ 1 - 1
SWKK/src/components/Rbottom.vue

@@ -312,7 +312,7 @@ export default {
     baseSw(data) {
       this.list = data;
       this.$nextTick(() => {
-        this.Swiper = new Swiper(".swiper-container", {
+        this.Swiper = new Swiper(".Rbottom .swiper-container", {
           slidesPerView: 9,
           spaceBetween: 25,
           scrollbar: {