From e560788e56d02f764eda6e66eec828af1a573b61 Mon Sep 17 00:00:00 2001 From: xiaozhang Date: Tue, 5 Mar 2024 16:14:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BC=81=E4=B8=9A=E5=88=97?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 5 ++ src/views/home.vue | 125 ++++++++++++++++++++------------------------ src/views/index.vue | 84 +++++++++++++++++++++++++---- src/views/show.vue | 5 +- src/views/test.vue | 96 ++++++++++++++++------------------ 5 files changed, 184 insertions(+), 131 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 75dbae1..778ec01 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -18,6 +18,11 @@ const router = createRouter({ path: '/show', name: 'show', component: () => import('../views/show.vue') + }, + { + path: '/test', + name: 'test', + component: () => import('../views/test.vue') } ] }) diff --git a/src/views/home.vue b/src/views/home.vue index 6fb56b4..d04f27a 100644 --- a/src/views/home.vue +++ b/src/views/home.vue @@ -1,30 +1,51 @@ + + diff --git a/src/views/index.vue b/src/views/index.vue index d6af7b2..abded85 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -1,31 +1,93 @@ + + diff --git a/src/views/show.vue b/src/views/show.vue index ae6e394..4e1916f 100644 --- a/src/views/show.vue +++ b/src/views/show.vue @@ -24,7 +24,7 @@ const jsonData = ref(null); // 定义字段的中文名称映射 - const fieldLabels = { + const fieldLabels = ({ FIELD0033: '地址', FIELD0013: '规划 ', FIELD0035: '联系人', @@ -33,7 +33,7 @@ FIELD0007: '产业条件', // ID: 'id', // 添加其他字段的中文名称 - }; + }); //定义二维码地址 const qrCodeUrls = ref([ @@ -88,6 +88,7 @@ font-size: 24px; text-align: center; padding-top: 110px; /* 设置文本内容距离顶部的距离为 50 像素 */ + font-weight: bold; } \ No newline at end of file diff --git a/src/views/test.vue b/src/views/test.vue index a18dba9..45cac94 100644 --- a/src/views/test.vue +++ b/src/views/test.vue @@ -1,8 +1,13 @@