diff --git a/txw-mhzc-web/src/pages/index/views/fwsc/fwsc.vue b/txw-mhzc-web/src/pages/index/views/fwsc/fwsc.vue index 6f4fc38..01bd6e3 100644 --- a/txw-mhzc-web/src/pages/index/views/fwsc/fwsc.vue +++ b/txw-mhzc-web/src/pages/index/views/fwsc/fwsc.vue @@ -201,7 +201,7 @@ export default { { label: '碳服务市场', path: '/tfwsc' }, { label: '碳需求市场', path: '/txqsc' }, { label: '碳数据市场', path: '/tsjsc' }, - { label: '碳金融市场', path: '/tjrsc', disable: true }, + { label: '碳金融市场', path: '/tjrsc', url: 'https://www.unionecredit.com/greenfinance/#/home' }, ], // 筛选条件 filter: { @@ -452,10 +452,14 @@ export default { isActiveTab(path) { return this.$route.path === path; }, - goToTab({path, disable}) { + goToTab({path, disable, url}) { + if (url) { + window.open(url, '_blank', 'noopener,noreferrer'); + return; + } if (disable) { this.showComingSoon(); - return + return } this.$router.push(path); }, diff --git a/txw-mhzc-web/src/pages/index/views/fwsc/sjsc.vue b/txw-mhzc-web/src/pages/index/views/fwsc/sjsc.vue index 2cc2bc7..ef6cfba 100644 --- a/txw-mhzc-web/src/pages/index/views/fwsc/sjsc.vue +++ b/txw-mhzc-web/src/pages/index/views/fwsc/sjsc.vue @@ -189,7 +189,7 @@ export default { { label: '碳服务市场', path: '/tfwsc' }, { label: '碳需求市场', path: '/txqsc' }, { label: '碳数据市场', path: '/tsjsc' }, - { label: '碳金融市场', path: '/tjrsc', disable: true }, + { label: '碳金融市场', path: '/tjrsc', url: 'https://www.unionecredit.com/greenfinance/#/home' }, ], // 筛选条件 filter: { @@ -389,7 +389,11 @@ export default { isActiveTab(path) { return this.$route.path === path; }, - goToTab({ path, disable }) { + goToTab({ path, disable, url }) { + if (url) { + window.open(url, '_blank', 'noopener,noreferrer'); + return; + } if (disable) { this.showComingSoon(); return; diff --git a/txw-mhzc-web/src/pages/index/views/fwsc/xqsc.vue b/txw-mhzc-web/src/pages/index/views/fwsc/xqsc.vue index 232b231..fc5ccd8 100644 --- a/txw-mhzc-web/src/pages/index/views/fwsc/xqsc.vue +++ b/txw-mhzc-web/src/pages/index/views/fwsc/xqsc.vue @@ -234,7 +234,7 @@ export default { { label: '碳服务市场', path: '/tfwsc' }, { label: '碳需求市场', path: '/txqsc' }, { label: '碳数据市场', path: '/tsjsc' }, - { label: '碳金融市场', path: '/tjrsc', disable: true }, + { label: '碳金融市场', path: '/tjrsc', url: 'https://www.unionecredit.com/greenfinance/#/home' }, ], // 筛选条件 filter: { @@ -435,7 +435,11 @@ export default { isActiveTab(path) { return this.$route.path === path; }, - goToTab({path, disable}) { + goToTab({path, disable, url}) { + if (url) { + window.open(url, '_blank', 'noopener,noreferrer'); + return; + } if (disable) { this.showComingSoon(); return; diff --git a/txw-mhzc-web/src/pages/index/views/home2/index.vue b/txw-mhzc-web/src/pages/index/views/home2/index.vue index 776c4a9..2bac4e8 100644 --- a/txw-mhzc-web/src/pages/index/views/home2/index.vue +++ b/txw-mhzc-web/src/pages/index/views/home2/index.vue @@ -499,7 +499,7 @@ export default { // 绿色服务 '服务市场': '/tfwsc', '需求市场': '/txqsc', - '金融市场': '', + '金融市场': 'https://www.unionecredit.com/greenfinance/#/home', '数据市场': '/tsjsc', }, kxtfwzx: '',