2023-09-08 15:17:21 +08:00
|
|
|
import App from './App'
|
2025-11-08 16:50:26 +08:00
|
|
|
// import './uni.scss';
|
|
|
|
|
// import './assets/common.scss'
|
|
|
|
|
// import './assets/iconfont.css'
|
|
|
|
|
// import './assets/iconfont-weapp-icon.css'
|
2023-09-08 15:17:21 +08:00
|
|
|
import store from './store'
|
|
|
|
|
Vue.prototype.$store = store;
|
|
|
|
|
// js
|
|
|
|
|
import tools from '@/tools/tools.js'
|
|
|
|
|
Vue.prototype.$tools = tools;
|
|
|
|
|
//请求
|
|
|
|
|
import http from '@/tools/https.js'
|
|
|
|
|
Vue.prototype.$http = http;
|
|
|
|
|
//接口
|
|
|
|
|
import model from '@/tools/model.js'
|
|
|
|
|
Vue.prototype.$model = model;
|
|
|
|
|
//模拟数据
|
2025-11-08 16:50:26 +08:00
|
|
|
import json from '@/content.json'
|
2023-09-08 15:17:21 +08:00
|
|
|
Vue.prototype.$json = json;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// #ifndef VUE3
|
|
|
|
|
import Vue from 'vue'
|
|
|
|
|
Vue.config.productionTip = false
|
|
|
|
|
App.mpType = 'app'
|
|
|
|
|
const app = new Vue({
|
|
|
|
|
...App
|
|
|
|
|
})
|
|
|
|
|
app.$mount()
|
|
|
|
|
// #endif
|
|
|
|
|
|
|
|
|
|
// #ifdef VUE3
|
|
|
|
|
import {
|
|
|
|
|
createSSRApp
|
|
|
|
|
} from 'vue'
|
|
|
|
|
export function createApp() {
|
|
|
|
|
const app = createSSRApp(App)
|
|
|
|
|
return {
|
|
|
|
|
app
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
// #endif
|