Compare commits

..

2 Commits

Author SHA1 Message Date
c26d749d77 Merge branch 'new-clean-branch' into refactor/clear 2026-06-16 03:56:18 +08:00
liulong
d68cf20891 feat(fwsc): 碳金融市场点击跳转绿金平台
服务中心三个子市场页 (fwsc/xqsc/sjsc) 顶部 navTab 第四项 '碳金融市场' 由 disable:true 改为带 url 字段,goToTab 增加 url 分支优先 window.open 跳外链;首页 home2 '绿色低碳服务' 卡片的 '金融市场' 按钮 buttonLinks 同步填入同一外链。

目标外链:https://www.unionecredit.com/greenfinance/#/home
2026-06-16 03:51:20 +08:00
4 changed files with 20 additions and 8 deletions

View File

@ -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);
},

View File

@ -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;

View File

@ -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;

View File

@ -499,7 +499,7 @@ export default {
// 绿
'服务市场': '/tfwsc',
'需求市场': '/txqsc',
'金融市场': '',
'金融市场': 'https://www.unionecredit.com/greenfinance/#/home',
'数据市场': '/tsjsc',
},
kxtfwzx: '',