From a6a16af889e5db528db8d6d8c08eb1071b7b8b59 Mon Sep 17 00:00:00 2001 From: liulujian Date: Tue, 12 May 2026 10:53:36 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=A2=B3=E8=AF=81=E4=B8=AD=E5=BF=83?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8D=95=E7=8B=AC=E9=A1=B5=E9=9D=A2=EF=BC=8C?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E5=85=B1=E6=80=A7=E8=83=BD=E5=8A=9B=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0=E9=93=BE=E6=8E=A5=E3=80=81=E8=B0=83=E6=95=B4=E6=96=87?= =?UTF-8?q?=E6=A1=A3=E8=81=94=E7=B3=BB=E4=BA=BA=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- txw-mhzc-web/public/docs/carbon-guide.md | 7 +- .../src/pages/index/components/nav/index2.vue | 1 + txw-mhzc-web/src/pages/index/router/routes.js | 15 ++++ .../src/pages/index/views/gxnlpt/index.vue | 25 ++++--- txw-mhzc-web/src/pages/index/views/main.vue | 11 +-- .../src/pages/index/views/tzzx/index.vue | 68 +++++++++++++++++++ txw-mhzc-web/vue.config.js | 16 ++--- 7 files changed, 120 insertions(+), 23 deletions(-) create mode 100644 txw-mhzc-web/src/pages/index/views/tzzx/index.vue diff --git a/txw-mhzc-web/public/docs/carbon-guide.md b/txw-mhzc-web/public/docs/carbon-guide.md index 63807db..d3ea168 100644 --- a/txw-mhzc-web/public/docs/carbon-guide.md +++ b/txw-mhzc-web/public/docs/carbon-guide.md @@ -48,7 +48,8 @@ ## 技术联系 -> 联系人: 谢老师 -> 联系电话: 15601721332 -> 联系邮箱: pjsl_service@chainable.com.cn +- 联系人: 谢老师 +- 联系电话: 15601721332 +- 联系邮箱: pjsl_service@chainable.com.cn + --- diff --git a/txw-mhzc-web/src/pages/index/components/nav/index2.vue b/txw-mhzc-web/src/pages/index/components/nav/index2.vue index 3525aef..2f0aabe 100644 --- a/txw-mhzc-web/src/pages/index/components/nav/index2.vue +++ b/txw-mhzc-web/src/pages/index/components/nav/index2.vue @@ -117,6 +117,7 @@ export default { '/qych': 'qych', '/hyzt': 'hyzt', '/login': 'login', + '/tzzx': 'tzzx', }, menuOptions: [ diff --git a/txw-mhzc-web/src/pages/index/router/routes.js b/txw-mhzc-web/src/pages/index/router/routes.js index 98affb1..67478e0 100644 --- a/txw-mhzc-web/src/pages/index/router/routes.js +++ b/txw-mhzc-web/src/pages/index/router/routes.js @@ -117,6 +117,10 @@ function mdviewer() { } +// md文档查看器 +function tzzx() { + return import(/* webpackChunkName: "tzzx" */ '@/pages/index/views/tzzx/index.vue'); +} export default [ @@ -329,4 +333,15 @@ export default [ disableBack: true, }, }, + { + name: 'tzzx', + path: '/tzzx', + component: tzzx, + meta: { + title: '碳证中心', + isShowSideBar: false, + hasHome: true, + disableBack: true, + }, + }, ]; diff --git a/txw-mhzc-web/src/pages/index/views/gxnlpt/index.vue b/txw-mhzc-web/src/pages/index/views/gxnlpt/index.vue index 631e247..3b7b540 100644 --- a/txw-mhzc-web/src/pages/index/views/gxnlpt/index.vue +++ b/txw-mhzc-web/src/pages/index/views/gxnlpt/index.vue @@ -12,7 +12,7 @@
{{ item.title }}
-
+
@@ -54,19 +54,21 @@ export default { cardList: [ { img: '', - title: '碳足迹计算器', - context: '提供企业碳足迹核算、产品碳足迹计算、供应链碳管理等功能', + title: '产品碳足迹', + context: '管理你的LCA项目,使用数据集采集与LCA计算功能', + url: 'https://www.ouyeel.com/lca/', + }, + { + img: '', + title: 'CBAM', + context: '助力企业快速应对欧盟碳关税政策,了解碳成本,完成CBAM报告', + url: 'https://www.ouyeel.com/cbam/', }, { img: '', title: '企业碳管理平台', context: '全链条碳足迹追踪,支持多级供应商碳数据管理和分析', }, - { - img: '', - title: '供应链碳追踪', - context: '提供企业碳足迹核算、产品碳足迹计算、供应链碳管理等功能', - }, ], }, { @@ -197,6 +199,13 @@ export default { el.scrollIntoView({ behavior: 'smooth', block: 'start' }); } }, + handleCardClick(v) { + if (v.url) { + window.open(v.url, '_blank'); + } else { + this.$message.warning('敬请期待'); + } + }, getIconUrl(iconName) { // 使用require动态加载图片 return require(`../../assets/icon/${iconName}`); diff --git a/txw-mhzc-web/src/pages/index/views/main.vue b/txw-mhzc-web/src/pages/index/views/main.vue index 1b98bc9..0c45245 100644 --- a/txw-mhzc-web/src/pages/index/views/main.vue +++ b/txw-mhzc-web/src/pages/index/views/main.vue @@ -2,9 +2,9 @@