feat(fwsc): 碳金融市场点击跳转绿金平台
服务中心三个子市场页 (fwsc/xqsc/sjsc) 顶部 navTab 第四项 '碳金融市场' 由 disable:true 改为带 url 字段,goToTab 增加 url 分支优先 window.open 跳外链;首页 home2 '绿色低碳服务' 卡片的 '金融市场' 按钮 buttonLinks 同步填入同一外链。 目标外链:https://www.unionecredit.com/greenfinance/#/home
This commit is contained in:
parent
26f002f4cb
commit
d68cf20891
@ -201,7 +201,7 @@ export default {
|
|||||||
{ label: '碳服务市场', path: '/tfwsc' },
|
{ label: '碳服务市场', path: '/tfwsc' },
|
||||||
{ label: '碳需求市场', path: '/txqsc' },
|
{ label: '碳需求市场', path: '/txqsc' },
|
||||||
{ label: '碳数据市场', path: '/tsjsc' },
|
{ label: '碳数据市场', path: '/tsjsc' },
|
||||||
{ label: '碳金融市场', path: '/tjrsc', disable: true },
|
{ label: '碳金融市场', path: '/tjrsc', url: 'https://www.unionecredit.com/greenfinance/#/home' },
|
||||||
],
|
],
|
||||||
// 筛选条件
|
// 筛选条件
|
||||||
filter: {
|
filter: {
|
||||||
@ -452,7 +452,11 @@ export default {
|
|||||||
isActiveTab(path) {
|
isActiveTab(path) {
|
||||||
return this.$route.path === path;
|
return this.$route.path === path;
|
||||||
},
|
},
|
||||||
goToTab({path, disable}) {
|
goToTab({path, disable, url}) {
|
||||||
|
if (url) {
|
||||||
|
window.open(url, '_blank', 'noopener,noreferrer');
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (disable) {
|
if (disable) {
|
||||||
this.showComingSoon();
|
this.showComingSoon();
|
||||||
return
|
return
|
||||||
|
|||||||
@ -189,7 +189,7 @@ export default {
|
|||||||
{ label: '碳服务市场', path: '/tfwsc' },
|
{ label: '碳服务市场', path: '/tfwsc' },
|
||||||
{ label: '碳需求市场', path: '/txqsc' },
|
{ label: '碳需求市场', path: '/txqsc' },
|
||||||
{ label: '碳数据市场', path: '/tsjsc' },
|
{ label: '碳数据市场', path: '/tsjsc' },
|
||||||
{ label: '碳金融市场', path: '/tjrsc', disable: true },
|
{ label: '碳金融市场', path: '/tjrsc', url: 'https://www.unionecredit.com/greenfinance/#/home' },
|
||||||
],
|
],
|
||||||
// 筛选条件
|
// 筛选条件
|
||||||
filter: {
|
filter: {
|
||||||
@ -377,7 +377,11 @@ export default {
|
|||||||
isActiveTab(path) {
|
isActiveTab(path) {
|
||||||
return this.$route.path === path;
|
return this.$route.path === path;
|
||||||
},
|
},
|
||||||
goToTab({ path, disable }) {
|
goToTab({ path, disable, url }) {
|
||||||
|
if (url) {
|
||||||
|
window.open(url, '_blank', 'noopener,noreferrer');
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (disable) {
|
if (disable) {
|
||||||
this.showComingSoon();
|
this.showComingSoon();
|
||||||
return;
|
return;
|
||||||
|
|||||||
@ -233,7 +233,7 @@ export default {
|
|||||||
{ label: '碳服务市场', path: '/tfwsc' },
|
{ label: '碳服务市场', path: '/tfwsc' },
|
||||||
{ label: '碳需求市场', path: '/txqsc' },
|
{ label: '碳需求市场', path: '/txqsc' },
|
||||||
{ label: '碳数据市场', path: '/tsjsc' },
|
{ label: '碳数据市场', path: '/tsjsc' },
|
||||||
{ label: '碳金融市场', path: '/tjrsc', disable: true },
|
{ label: '碳金融市场', path: '/tjrsc', url: 'https://www.unionecredit.com/greenfinance/#/home' },
|
||||||
],
|
],
|
||||||
// 筛选条件
|
// 筛选条件
|
||||||
filter: {
|
filter: {
|
||||||
@ -422,7 +422,11 @@ export default {
|
|||||||
isActiveTab(path) {
|
isActiveTab(path) {
|
||||||
return this.$route.path === path;
|
return this.$route.path === path;
|
||||||
},
|
},
|
||||||
goToTab({path, disable}) {
|
goToTab({path, disable, url}) {
|
||||||
|
if (url) {
|
||||||
|
window.open(url, '_blank', 'noopener,noreferrer');
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (disable) {
|
if (disable) {
|
||||||
this.showComingSoon();
|
this.showComingSoon();
|
||||||
return;
|
return;
|
||||||
|
|||||||
@ -498,7 +498,7 @@ export default {
|
|||||||
// 绿色服务
|
// 绿色服务
|
||||||
'服务市场': '/tfwsc',
|
'服务市场': '/tfwsc',
|
||||||
'需求市场': '/txqsc',
|
'需求市场': '/txqsc',
|
||||||
'金融市场': '',
|
'金融市场': 'https://www.unionecredit.com/greenfinance/#/home',
|
||||||
'数据市场': '/tsjsc',
|
'数据市场': '/tsjsc',
|
||||||
},
|
},
|
||||||
kxtfwzx: '',
|
kxtfwzx: '',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user