|
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- import App from './App'
- import Vue from 'vue'
-
- import './uni.promisify.adaptor'
- Vue.config.productionTip = false
-
- App.mpType = 'app'
-
- import uView from "uview-ui"
- Vue.use(uView)
-
- import {
- router,
- RouterMount
- } from '@/router'
- Vue.use(router)
-
- import store from '@/store'
-
- import api from '@/api'
- import urls from '@/utils/pictureUrls.js'
- Vue.prototype.$api = api.api
- Vue.prototype.$baseUrl = api.baseUrl
- Vue.prototype.$themeColor = '#F3D4A3'
- Vue.prototype.$themeDeepColor = '#E19F4B'
-
- Vue.prototype.$urls = urls
- import util from 'utils/index.js'
- Vue.prototype.$util = util
-
-
- plus.runtime.quit = () => {
-
- };
- plus.nativeUI.toast = () => {
- return false;
- };
-
-
-
- const app = new Vue({
- ...App,
- store
- })
-
-
- RouterMount(app, router, '#app')
-
-
-
- app.$mount();
-
|