From b74cc40192ab11a1c8c3970296a51c9062188c61 Mon Sep 17 00:00:00 2001 From: wangzenghua <1048523306@qq.com> Date: Fri, 25 Apr 2025 02:22:19 +0100 Subject: [PATCH 1/3] =?UTF-8?q?=E6=8A=95=E5=85=A5=E5=93=81=E8=B7=AF?= =?UTF-8?q?=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/custom-scroll-title/index.vue | 2 +- src/router/modules/demo.js | 6 ----- src/router/modules/v2.js | 28 ++++++++++---------- 3 files changed, 15 insertions(+), 21 deletions(-) diff --git a/src/components/custom-scroll-title/index.vue b/src/components/custom-scroll-title/index.vue index 6472b01..cc6f49a 100644 --- a/src/components/custom-scroll-title/index.vue +++ b/src/components/custom-scroll-title/index.vue @@ -48,7 +48,7 @@ const props = defineProps({ return [ { label: '首页', value: 'home' }, { label: '土地资源', value: 'land' }, - { label: '投入品', value: 'inputs' }, + { label: '投入品监管', value: 'inputs' }, { label: '生产经营主体', value: 'entities' }, // { label: '智慧种植监测', value: 'plant' }, // { label: '智慧养殖监测', value: 'breed' }, diff --git a/src/router/modules/demo.js b/src/router/modules/demo.js index 6dfba05..21efc26 100644 --- a/src/router/modules/demo.js +++ b/src/router/modules/demo.js @@ -20,12 +20,6 @@ export default [ component: () => import('@/views/demo/rank.vue'), meta: { title: '滚动排名列表', icon: 'document' }, }, - // { - // path: '/page', - // component: () => import('@/views/demo/test.vue'), - // name: 'page', - // meta: { title: '测试', icon: 'document' }, - // }, ], }, ]; diff --git a/src/router/modules/v2.js b/src/router/modules/v2.js index aa33c41..dbc3920 100644 --- a/src/router/modules/v2.js +++ b/src/router/modules/v2.js @@ -5,55 +5,55 @@ export default { name: 'v2', component: Layout, redirect: '/v2/home', - meta: { title: '首页', icon: 'House' }, + meta: { title: '首页', icon: '' }, children: [ // { // path: '/v2/home', // component: () => import('@/views/home/index.vue'), // name: 'home', - // meta: { title: '首页', icon: 'House' }, + // meta: { title: '首页', icon: '' }, // }, { path: '/v2/land', component: () => import('@/views/land/index.vue'), name: 'land', - meta: { title: '土地资源', icon: 'House' }, + meta: { title: '土地资源', icon: '' }, + }, + { + path: 'inputs', + name: 'inputs', + component: () => import('@/views/inputs/index.vue'), + meta: { title: '投入品监管', icon: '' }, }, - // { - // path: 'inputs', - // name: 'inputs', - // component: () => import('@/views/inputs/index.vue'), - // hidden: true, - // }, // { // path: 'entities', // name: 'entities', // component: () => import('@/views/entities/index.vue'), - // hidden: true, + // meta: { title: '', icon: '' }, // }, // { // path: 'breed', // name: 'breed', // component: () => import('@/views/breed/index.vue'), - // hidden: true, + // meta: { title: '', icon: '' }, // }, // { // path: 'plant', // name: 'plant', // component: () => import('@/views/plant/index.vue'), - // hidden: true, + // meta: { title: '', icon: '' }, // }, // { // path: 'trace', // name: 'trace', // component: () => import('@/views/trace/index.vue'), - // hidden: true, + // meta: { title: '', icon: '' }, // }, // { // path: 'early', // name: 'early', // component: () => import('@/views/early/index.vue'), - // hidden: true, + // meta: { title: '', icon: '' }, // }, ], }; From b30874fa48f55b166df250f52bfe7302c7d15e50 Mon Sep 17 00:00:00 2001 From: wangzenghua <1048523306@qq.com> Date: Fri, 25 Apr 2025 02:42:34 +0100 Subject: [PATCH 2/3] feat:title --- src/views/inputs/index.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/views/inputs/index.vue b/src/views/inputs/index.vue index 255d418..6f642e1 100644 --- a/src/views/inputs/index.vue +++ b/src/views/inputs/index.vue @@ -3,21 +3,21 @@
- +
- +
- + @@ -29,21 +29,21 @@
- +
- +
- + From 13936b8b5b9be1f3eb14f70d99eb9aaa50100425 Mon Sep 17 00:00:00 2001 From: wangzenghua <1048523306@qq.com> Date: Fri, 25 Apr 2025 02:45:53 +0100 Subject: [PATCH 3/3] fix --- src/views/inputs/index.vue | 107 +++++++++++++++++++------------------ 1 file changed, 54 insertions(+), 53 deletions(-) diff --git a/src/views/inputs/index.vue b/src/views/inputs/index.vue index 6f642e1..7ded830 100644 --- a/src/views/inputs/index.vue +++ b/src/views/inputs/index.vue @@ -1,57 +1,55 @@