import Vue from 'vue'; import App from './App'; import http from '@/utils/request.js' import uView from "uview-ui"; // 弹出框 import DialogBox from './components/DialogBox/DialogBox'; Vue.config.productionTip = false Vue.prototype.$http = http Vue.prototype.$imgUrl = (url) => { return ("http://8.130.38.56:8027/local/file/static" + url); }; // 全局组件 Vue.component('DialogBox', DialogBox); //mescroll import MescrollBody from "@/components/mescroll-uni/mescroll-body.vue" import MescrollUni from "@/components/mescroll-uni/mescroll-uni.vue" Vue.component('mescroll-body', MescrollBody) Vue.component('mescroll-uni', MescrollUni) App.mpType = 'app' Vue.use(uView); const app = new Vue({ ...App }) app.$mount()