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://test-skfq.zrgy-bbg.com' Vue.prototype.$webHost = 'https://rbb98765.zrgy-bbg.com' Vue.prototype.$util = util Vue.prototype.$baseUrl = 'https://qxg1996.lllykj.com' // if(process.env.NODE_ENV === 'development') { // Vue.prototype.$webHost = 'https://test-skfq.zrgy-bbg.com' // } 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