Commit 8e67da8c by tangjiale

修改BUG

parent 8efdb069
......@@ -26,6 +26,7 @@
"postcss-px2rem": "0.3.0",
"vant": "2.12.6",
"vue-loader": "15.7.1",
"flv.js": "^1.6.2"
"flv.js": "^1.6.2",
"swiper": "^3.0.4"
}
}
......@@ -69,13 +69,13 @@
mounted(){
const Swiper = require('Swiper')
const swiper = require('swiper')
const flvjs = require('flv.js')
//轮播参数
let _this = this;
this.videoSwiper = new Swiper(this.$refs['video-swiper'], {
this.videoSwiper = new swiper(this.$refs['video-swiper'], {
direction: "horizontal",
initialSlide: _this.active,
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