小小儁爺
2025-08-01 d07500fef337fc0366d5c51723ddb3ba2071f33d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
import Vue from 'vue'
import App from './App'
 
Vue.config.productionTip = false
 
App.mpType = 'app'
 
// main.js
// 引入全局 uView 框架
import uView from '@/uni_modules/uview-ui'
Vue.use(uView)
 
 
Vue.prototype.vuePrototype = ''
 
const app = new Vue({
    // store,
    ...App
})
 
// Vue.prototype.$appVersion = 'v1.0.3' //APP当前版本   //圣沣版本
// Vue.prototype.$appVersion = 'v1.0.1' //APP当前版本   //大岛版本
Vue.prototype.$appVersion = 'v1.0.1' //APP当前版本   //上靖版本
// Vue.prototype.$baseUrl = 'http://121.196.36.24:8021/api' //本地产品   巨力的数据库
// Vue.prototype.$baseUrl = 'http://122.227.18.22:8000/api' //本地产品   巨立防护(客户地址)
// Vue.prototype.$baseUrl = 'http://121.196.36.24:8019/api' //
// Vue.prototype.$baseUrl = 'http://121.196.36.24:8032/api' //圣沣项目
// Vue.prototype.$baseUrl = 'http://192.168.2.254:8000/api' //圣沣项目      客户现场实际服务器ip
 
// Vue.prototype.$baseUrl = 'http://121.196.36.24:8039/api' //大岛项目(2.0)
// Vue.prototype.$baseUrl = 'http://192.168.2.138:8080/api' //大岛项目(2.0) 客户现场实际服务器ip
 
Vue.prototype.$baseUrl = 'http://192.168.0.32:8000/api' //上靖项目      客户现场实际服务器ip
 
// Vue.prototype.$baseUrl = 'http://121.196.36.24:9090/api' //最新产品 2025/5/8
 
 
 
 
 
Vue.prototype.$companyType = 'C' //企业类型(项目类型) A:巨力,B:圣沣,、B: 产品 ,C:上靖
 
// A:  http://121.196.36.24:8021/api  http://122.227.18.22:8000/api
// B:  http://121.196.36.24:8032/api  
 
import global from '@/static/js/global.js'; //引入自定义全局 js方法
Vue.prototype.global = global;
 
setTimeout(() => {
    uni.getSystemInfo({
        success: (res) => {
            console.log(res, 9999)
            Vue.prototype.$DeviceInformation = res
        }
    })
}, 1000)
 
 
// 引入请求封装,将app参数传递到配置中
require('./config/request')(app)
 
app.$mount()
 
// // #ifndef VUE3
// import Vue from 'vue'
// import './uni.promisify.adaptor'
// 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