diff --git a/src/components/Portal/guideBox.vue b/src/components/Portal/guideBox.vue index b0113d75..9514bbb6 100644 --- a/src/components/Portal/guideBox.vue +++ b/src/components/Portal/guideBox.vue @@ -17,13 +17,13 @@
- +
-
+
@@ -71,8 +71,8 @@ delay: 2000, }, speed: 2000, //切换速度,即slider自动滑动开始到结束的时间(单位ms) - loop:true, //循环切换 - observe:true, + initialSlide:1, + loop:false, //循环切换 peed: 300,//循环速度 scrollbar: '.swiper-scrollbar', pagination: { @@ -90,7 +90,6 @@ created() { //这里的以后要去掉的,不应该是这样计算的 let width = document.body.clientWidth; - console.log(width,'width'); if(width > 1921) { this.dlgWidth = '1088px'; this.leftWidth='220px'; @@ -121,6 +120,7 @@ }, mounted() { this.getlist(); + // this.swiper.slideTo(3,2000,false); }, methods:{ show(){ @@ -152,7 +152,6 @@ } else { this.resonimgTow = item.images; } - } }, notYet() {