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
85
86
87
| import App from './App'
|
| // #ifndef VUE3
| import Vue from 'vue'
| import './uni.promisify.adaptor'
| import util from './util.js'
|
| Vue.config.productionTip = false
| App.mpType = 'app'
|
| Vue.prototype.$webHost = 'https://rbb98765.zrgy-bbg.com'
| // Vue.prototype.$webHost = 'https://test-skfq.zrgy-bbg.com'
| Vue.prototype.$util = util
| Vue.prototype.$baseUrl = 'https://lp1994.lpyx.top'
| console.log('NODE_ENV',process.env.NODE_ENV)
| // if(process.env.NODE_ENV === 'development') {
| // Vue.prototype.$webHost = 'https://test-skfq.zrgy-bbg.com'
| // }
| // 用澜品优选的appid,去后台查对应商城的appid
| Vue.prototype.$APPID = '05928c6e-4b07-41d5-a38d-6c1bfe186269'
| Vue.prototype.$bank = [
| '中国工商银行',
| '中国建设银行',
| '中国银行',
| '中国农业银行',
| '中国邮政储蓄银行',
| '中国交通银行',
| '浦东发展银行',
| '中信银行',
| '华夏银行',
| '中国民生银行',
| '广发银行',
| '兴业银行',
| '平安银行',
| '浙商银行',
| '恒丰银行',
| '渤海银行',
| '上海银行',
| '北京银行',
| ]
| Vue.prototype.$job = [
| '个体工商户',
| '公司企业',
| '政府机关',
| '事业单位',
| '社会组织',
| '灵活就业',
| ]
| Vue.prototype.$relation = [
| '父母',
| '配偶',
| '同事',
| '好友',
| '同学',
| '其他',
| ]
| Vue.prototype.$income = [
| '1000-5000',
| '5000-10000',
| '10000-20000',
| '20000-30000',
| '30000以上',
| ]
| // 全局跳转方法
| Vue.prototype.$goWebUrl = function(url) {
| // #ifdef APP-PLUS
| plus.runtime.openURL(url)
| // #endif
| // #ifdef H5 || WEB
| this.$refs.popup_agree.open()
| // #endif
| }
| const app = new Vue({
| ...App
| })
| app.$mount()
| // #endif
|
| // #ifdef VUE3
| import { createSSRApp } from 'vue'
| export function createApp() {
| const app = createSSRApp(App)
| return {
| app
| }
| }
| // #endif
|
|