diff --git a/src/config/index.js b/src/config/index.js index 253ccc47d..7d975c6a8 100644 --- a/src/config/index.js +++ b/src/config/index.js @@ -5,7 +5,7 @@ * */ -let apiDomain, imgDomain, assetsUrl, mainUrl, payUrl // 保融支付的收银台服务地址 +let apiDomain, imgDomain, assetsUrl, mainUrl, payUrl, zssqUrl // 保融支付的收银台服务地址 // 可以多个接口域名,按需添加 console.log('环境:', process.env.VUE_APP_FLAG) @@ -17,6 +17,7 @@ switch (process.env.VUE_APP_FLAG) { assetsUrl = 'http://139.199.50.151:8000/app/' mainUrl = 'http://139.199.50.151' payUrl = 'http://funduat.e-guofu.com/s3-modules-gateway/embed/gateway.action' + zssqUrl = 'http://139.199.50.151/html/test/index.html#/' break case 'uat': apiDomain = 'http://115.159.235.59:7000/api/v1' // 国富api @@ -25,6 +26,7 @@ switch (process.env.VUE_APP_FLAG) { assetsUrl = 'http://115.159.235.59:8000/app/' mainUrl = 'http://115.159.235.59' payUrl = 'http://funduat.e-guofu.com/s3-modules-gateway/embed/gateway.action' + zssqUrl = 'http://139.199.50.151/html/test/index.html#/' break case 'prd': apiDomain = 'https://iagentsales.e-guofu.com/api/v1' @@ -32,6 +34,7 @@ switch (process.env.VUE_APP_FLAG) { assetsUrl = 'https://iagentsales-sr.e-guofu.com:8443/' mainUrl = 'https://iagentsales.e-guofu.com' payUrl = 'https://uns3.e-guofu.com/s3-modules-gateway/embed/gateway.action' + zssqUrl = 'http://139.199.50.151/html/test/index.html#/' break case 'dat': apiDomain = '' @@ -40,6 +43,7 @@ switch (process.env.VUE_APP_FLAG) { assetsUrl = '' mainUrl = '' payUrl = '' + zssqUrl = '' break } /** @@ -56,5 +60,6 @@ export default { // 静态服务资源 assetsUrl, mainUrl, - payUrl -} \ No newline at end of file + payUrl, + zssqUrl //知识社区地址 +} diff --git a/src/main.js b/src/main.js index 7565d641a..519a95440 100644 --- a/src/main.js +++ b/src/main.js @@ -25,6 +25,8 @@ Vue.use(Button) Vue.use(Dialog) Vue.prototype.$assetsUrl = config.assetsUrl Vue.prototype.$mainUrl = config.mainUrl +Vue.prototype.$zssqUrl = config.zssqUrl + // 全局 防重复点击 Vue.directive('no-more-click', noMoreClick) //解决ios移动端input调软键盘问题 diff --git a/src/views/ebiz/product/HomeProduct.vue b/src/views/ebiz/product/HomeProduct.vue index 2ea6e4fb7..1c2cb36a9 100644 --- a/src/views/ebiz/product/HomeProduct.vue +++ b/src/views/ebiz/product/HomeProduct.vue @@ -5,7 +5,7 @@