Commit 8e67da8c by tangjiale

修改BUG

parent 8efdb069
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
"postcss-px2rem": "0.3.0", "postcss-px2rem": "0.3.0",
"vant": "2.12.6", "vant": "2.12.6",
"vue-loader": "15.7.1", "vue-loader": "15.7.1",
"flv.js": "^1.6.2" "flv.js": "^1.6.2",
"swiper": "^3.0.4"
} }
} }
...@@ -69,13 +69,13 @@ ...@@ -69,13 +69,13 @@
mounted(){ mounted(){
const Swiper = require('Swiper') const swiper = require('swiper')
const flvjs = require('flv.js') const flvjs = require('flv.js')
//轮播参数 //轮播参数
let _this = this; let _this = this;
this.videoSwiper = new Swiper(this.$refs['video-swiper'], { this.videoSwiper = new swiper(this.$refs['video-swiper'], {
direction: "horizontal", direction: "horizontal",
initialSlide: _this.active, initialSlide: _this.active,
observer: true, observer: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment