diff --git a/txw-mhzc-web/src/pages/index/components/footer/index.vue b/txw-mhzc-web/src/pages/index/components/footer/index.vue index 9d3e119..c059930 100644 --- a/txw-mhzc-web/src/pages/index/components/footer/index.vue +++ b/txw-mhzc-web/src/pages/index/components/footer/index.vue @@ -89,7 +89,7 @@ diff --git a/txw-mhzc-web/src/pages/index/views/fwsc/index.vue b/txw-mhzc-web/src/pages/index/views/fwsc/index.vue index a3627b1..26a556d 100644 --- a/txw-mhzc-web/src/pages/index/views/fwsc/index.vue +++ b/txw-mhzc-web/src/pages/index/views/fwsc/index.vue @@ -72,7 +72,7 @@ -
+
@@ -80,7 +80,7 @@

打通"碳"与"金融"的通道。提供碳质押、碳回购、绿色信贷及碳基金对接服务。

- 查看金融产品 + 走进绿金平台
@@ -105,11 +105,16 @@ export default { this.$router.push('/view/mhzc/home'); }, goToPage(path) { - if (path) { - this.$router.push(path); - } else { + if (!path) { this.$message.info('敬请期待'); + return; } + // 外链:浏览器新标签页打开 + if (/^https?:\/\//.test(path)) { + window.open(path, '_blank'); + return; + } + this.$router.push(path); } } }; diff --git a/txw-mhzc-web/src/pages/index/views/fwsc/sjlbc.vue b/txw-mhzc-web/src/pages/index/views/fwsc/sjlbc.vue index 94b02fb..48d89e3 100644 --- a/txw-mhzc-web/src/pages/index/views/fwsc/sjlbc.vue +++ b/txw-mhzc-web/src/pages/index/views/fwsc/sjlbc.vue @@ -20,10 +20,10 @@

{{ sjscInfo.sjms || '暂无描述' }}

-
+
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 624e066..8c5fd73 100644 --- a/txw-mhzc-web/src/pages/index/views/home2/index.vue +++ b/txw-mhzc-web/src/pages/index/views/home2/index.vue @@ -67,7 +67,7 @@
碳数字身份证
-
办证指南
+
开始办证
碳证查询
碳证核验
场景推介
@@ -86,7 +86,7 @@
-
绿色服务
+
绿色低碳服务
服务市场
@@ -140,7 +140,8 @@
- + + +

五大核心能力,全面支撑企业绿色转型

@@ -165,6 +166,7 @@ + -->
@@ -354,6 +356,7 @@ import { calcHomeFigmaScale } from '@/pages/index/utils/home-figma-scale'; import portalFigmaScaleMixin from '@/pages/index/utils/portal-figma-scale-mixin'; import fullpageScrollMixin from '@/pages/index/utils/fullpage-scroll-mixin'; import comingSoonMixin from '@/pages/index/utils/coming-soon-mixin'; +import { hasLogin } from '@/pages/index/api/login'; export default { name: 'Home2Index', @@ -367,7 +370,7 @@ export default { newsLoading: true, scrollRoot: null, sectionOffsets: [], - sectionIds: ['section-hero', 'section-core', 'section-capability', 'section-overseas', 'section-news', 'section-partner', 'section-bottom'], + sectionIds: ['section-hero', 'section-core', /* 'section-capability' 共性能力模块暂去掉 */ 'section-overseas', 'section-news', 'section-partner', 'section-bottom'], // 当前激活的 section(用于导航高亮),由 IntersectionObserver 驱动 activeSectionIndex: 0, coreSelectedIndex: 3, @@ -393,7 +396,7 @@ export default { { name1: '核心底座', name2: '国家区块链网络', - desc: '依托区块链网络基础底座上海枢纽,确保每一笔碳数据拥有唯一的"链上基因",实现国家级权威存证与不可篡改。', + desc: '依托国家区块链网络,确保每一笔碳数据拥有唯一的"链上基因",实现国家级权威存证与不可篡改。', icon: require('@/pages/index/views/home2/assets/core-base@2x.png'), iconWidth: 192, iconHeight: 183 @@ -711,11 +714,14 @@ export default { } }, openService() { - if (location.host.indexOf('cciw') >= 0) { - window.open('http://101.230.193.133:8888/') - } else { - window.open('http://carbon_did.liantu.tech/'); + // 未登录:提示并跳转登录页 + if (!hasLogin()) { + window.location.href = '/view/mhzc/login'; + return; } + // 已登录:iframe 跳转到碳证中心 + const url = `${this.buttonLinkHost}${this.buttonLinks['碳证中心']}`; + this.$emit('gotoIfreamPage', url); }, diff --git a/txw-mhzc-web/src/pages/index/views/hyzt/index.vue b/txw-mhzc-web/src/pages/index/views/hyzt/index.vue index b26eca9..95e2786 100644 --- a/txw-mhzc-web/src/pages/index/views/hyzt/index.vue +++ b/txw-mhzc-web/src/pages/index/views/hyzt/index.vue @@ -26,7 +26,7 @@

{{ item.desc }}

- {{ item.btnText || defaultBtnText(index) }} + 进入专题
@@ -52,9 +52,6 @@ export default { ...mapState('settings', ['hyztList']), }, methods: { - defaultBtnText(index) { - return index === 2 ? '进入交易大厅' : '进入专题'; - }, goToHref(href) { if (href && href.startsWith('http')) { window.open(href, '_blank'); diff --git a/txw-mhzc-web/src/pages/index/views/qych/index.vue b/txw-mhzc-web/src/pages/index/views/qych/index.vue index 66e897b..5e1266f 100644 --- a/txw-mhzc-web/src/pages/index/views/qych/index.vue +++ b/txw-mhzc-web/src/pages/index/views/qych/index.vue @@ -1,7 +1,7 @@