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