|
|
|
@@ -53,6 +53,8 @@ import { Message } from "element-ui"; |
|
|
|
|
|
|
|
import { i18nVue } from "./features/i18nVue.js"; |
|
|
|
import './features/ad.js'; |
|
|
|
import { Fancybox } from "@fancyapps/ui"; |
|
|
|
|
|
|
|
|
|
|
|
Vue.use(ElementUI); |
|
|
|
Vue.prototype.$axios = axios; |
|
|
|
@@ -5177,3 +5179,31 @@ function initChartsNpu() { |
|
|
|
} |
|
|
|
|
|
|
|
initChartsNpu(); |
|
|
|
|
|
|
|
Fancybox.bind('.gallery img', { |
|
|
|
// Do not create a gallery |
|
|
|
groupAttr: null, |
|
|
|
|
|
|
|
// Do not hide page scrollbars |
|
|
|
hideScrollbar: false, |
|
|
|
|
|
|
|
// Disable drag to close guesture |
|
|
|
dragToClose: false, |
|
|
|
|
|
|
|
// Hide close button |
|
|
|
closeButton: false, |
|
|
|
|
|
|
|
// Disable toolbar |
|
|
|
Toolbar: false, |
|
|
|
|
|
|
|
// Disable zoom animation; close on click and wheel events |
|
|
|
Image: { |
|
|
|
zoom: false, |
|
|
|
click: "close", |
|
|
|
wheel: "close", |
|
|
|
}, |
|
|
|
|
|
|
|
// Custom animations |
|
|
|
showClass: "fancybox-zoomIn", |
|
|
|
hideClass: "fancybox-zoomOut", |
|
|
|
}); |