123456789101112131415161718192021222324252627282930313233343536373839 |
- import Vue from 'vue'
- import App from './App'
- import store from './store'
- import Toast from '@/wxcomponents/vant/toast/toast';
- import loadSke from '@/components/skeleton/index/index.vue'
- Vue.component('loadSke', loadSke)
- import '@/components/topbar/topbar.js'
- import '@/components/loading/loading.js'
- import {
- goMiniApp,
- goPage,
- clickJumpType,
- wxPay,
- getUTCDay,
- getDay,
- goPageGetData
- } from '@/utils/utils.js'
- import utils from '@/utils/utils.js'
- Vue.config.productionTip = false
- App.mpType = 'app'
- Vue.prototype.goMiniApp = goMiniApp
- Vue.prototype.goPage = goPage
- Vue.prototype.Toast = Toast
- Vue.prototype.clickJumpType = clickJumpType
- Vue.prototype.wxPay = wxPay
- Vue.prototype.getUTCDay = getUTCDay
- Vue.prototype.getDay = getDay
- Vue.prototype.goPageGetData = goPageGetData
- Vue.prototype.$utils = utils
- const app = new Vue({
- store,
- ...App
- })
- app.$mount()
|