@@ -13,7 +13,7 @@ import animated from 'animate.css';
// 滚动动画 wow.js
import{
WOW
}from'wowjs'
}from'../public/static/js/wow'
import{
getFullUrl
}from'@/utils/index'
...
...
@@ -25,19 +25,19 @@ Vue.use(ElementUI);
// 全局注册动画效果
Vue.use(animated);
Vue.prototype.$wow=newWOW({
boxClass:'wow',// default
animateClass:'animated',// default
offset:0,// default
mobile:true,// default
live:true,
scrollContainer:null,
resetAnimation:true,
// live为true时,控制台会提示:MutationObserver is not supported by your browser. & WOW.js cannot detect dom mutations, please call .sync() after loading new content.
// // live为true时,控制台会提示:MutationObserver is not supported by your browser. & WOW.js cannot detect dom mutations, please call .sync() after loading new content.