import Vue from 'vue' import App from './App' import store from './store' import {toast} from './utils/tools' import Cache from './utils/cache' import uView from "@/components/uview-ui"; import minxinsApp from '@/mixins/app' import MescrollBody from "@/components/mescroll-uni/mescroll-body.vue" import {router,RouterMount} from './router.js' import routerLink from './js_sdk/uni-simple-router/link.vue' Vue.component('mescroll-body', MescrollBody) Vue.prototype.$toast = toast Vue.prototype.$Cache = Cache Vue.prototype.$payWait = 2500 Vue.prototype.$aliOSS = 'https://zjeloong.oss-cn-hangzhou.aliyuncs.com/' Vue.config.productionTip = false Vue.component('RouterLink', routerLink) Vue.use(router) Vue.mixin(minxinsApp); Vue.use(uView); App.mpType = 'app' const app = new Vue({ ...App, store }) // #ifdef H5 RouterMount(app,router,'#app'); // #endif // #ifndef H5 app.$mount(); // #endif