You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
zhishifufei_uniapp/main.js

61 lines
1.6 KiB

import App from './App';
import Tabbar from "@/components/Tabbar/index";
import BaseContainer from "@/components/BaseContainer/index";
import BaseLogin from "@/components/BaseLogin/index";
import NavBar from "@/components/NavBar/index";
import NavBarTitle from "@/components/NavBartitle/index";
import store from "@/store/index";
import util from "@/utils/utils";
import poster from "@/utils/poster";
import reg from "@/utils/reg";
import fontSize from '@/mixins/fontSize';
import configMixin from '@/mixins/config'
import duration from "dayjs/plugin/duration";
import objectSupport from "dayjs/plugin/objectSupport";
import dayjs from 'dayjs';
import TkiQrcode from "tki-qrcode";
import operation from "@/utils/operation";
// #ifdef H5
import "@/static/style/google.min.css";
// #endif
dayjs.extend(objectSupport);
dayjs.extend(duration);
// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
Vue.mixin(fontSize);
Vue.mixin(configMixin);
Vue.prototype.$util = util;
Vue.prototype.$poster = poster;
Vue.prototype.$reg = reg;
Vue.prototype.$operation = operation;
// 引入微信js-sdk
import wxjs from 'weixin-js-sdk'
Vue.prototype.$wxjs = wxjs;
Vue.component("TkiQrcode", TkiQrcode);
Vue.component("NavBar", NavBar);
Vue.component("NavBarTitle", NavBarTitle);
Vue.component("Tabbar", Tabbar);
Vue.component("BaseContainer", BaseContainer);
Vue.component("BaseLogin", BaseLogin);
const app = new Vue({
...App,
store
})
app.$mount()
// #endif
// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
const app = createSSRApp(App)
return {
app
}
}
// #endif