代码拉取完成,页面将自动刷新
import App from './App'
// #ifndef VUE3
import Vue from 'vue'
//import store from './store'
Vue.config.productionTip = false
// 判断是否是平板
uni.getSystemInfo({
success: (res)=>{
//console.log("屏幕尺寸:", res.windowWidth, res.windowHeight)
if(res.windowWidth > 500){
Vue.prototype.pad = true;
}else{
Vue.prototype.pad = false;
}
}
});
import reqUrl from "./common/reqUrl"
Vue.prototype.serverUrl = reqUrl
Vue.prototype.defHead = 'https://hxy2022-1309823386.cos.ap-beijing.myqcloud.com/userHead/default_head.png';
import regX from './common/regX'
Vue.prototype.regX = regX
// import request from "./common/request";
// Vue.prototype.$http = request
import User from "./common/user"
Vue.prototype.User = User
import config from "./common/config.js"
Vue.prototype.config = config
import util from './common/util.js'
Vue.prototype.util = util
import crypto from './common/crypto.js'
Vue.prototype.crypto = crypto;
Vue.prototype.limit = 15;
Vue.prototype.zhuXueServer = 'https://www.zhu-xue.cn';
//Vue.prototype.$store = store;
App.mpType = 'app'
const app = new Vue({
//store,
...App
})
app.$mount()
// #endif
// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
const app = createSSRApp(App)
return {
app
}
}
// #endif
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。