12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- import Vue from 'vue'
- import '../mixins'
- import App from './showMobile.vue'
- import store from '../Store'
- import preview from 'vue-photo-preview'
- import 'vue-photo-preview/dist/skin.css'
- import Videojs from 'video.js'
- import 'video.js/dist/video-js.css'
- import Toast from "vue-toastification";
- import "vue-toastification/dist/index.css";
- const options = {
- transition: 'Vue-Toastification__bounce',
- maxToasts: 3,
- newestOnTop: true,
- position: 'top-right',
- timeout: 2000,
- closeOnClick: true,
- pauseOnFocusLoss: true,
- pauseOnHover: false,
- draggable: true,
- draggablePercent: 0.7,
- showCloseButtonOnHover: false,
- hideProgressBar: true,
- closeButton: 'button',
- icon: true,
- rtl: false
- };
- Vue.use(Toast, options);
- Vue.use(preview,{
- toolbar: 0,
- title:0,
- navbar:false,
- showHideOpacity:true,
- arrowEl:true,
- bgOpacity:0.8,
- pinchToClose:false,
- closeOnVerticalDrag:false
- })
- Vue.prototype.$video = Videojs
- Vue.config.productionTip = false
- new Vue({
- store,
- render: h => h(App)
- }).$mount('#app')
|