From 2ce375d869caedbb5c6a79f22ab10e325064742b Mon Sep 17 00:00:00 2001 From: yangchunyu <2861518472@qq.com> Date: Wed, 26 Jun 2024 14:55:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 115 ++++--- pages/index/components/drivingLicence.vue | 316 ++++++++++++++++++ pages/index/components/echarts.vue | 86 +++++ pages/index/index.vue | 135 +++++++- .../dist/cache/.vite/deps/_metadata.json | 11 +- 5 files changed, 599 insertions(+), 64 deletions(-) create mode 100644 pages/index/components/drivingLicence.vue create mode 100644 pages/index/components/echarts.vue diff --git a/pages.json b/pages.json index 047a1ef..7ef8fe0 100644 --- a/pages.json +++ b/pages.json @@ -1,56 +1,63 @@ { - "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages - { - "path": "pages/index/index", - "style": { - "navigationStyle": "custom" - } - }, - { - "path": "pages/schedule/index", - "style": { - "navigationStyle": "custom" - } - }, - { - "path": "pages/serve/index", - "style": { - "navigationStyle": "custom" - } - }, - { - "path": "pages/my/index", - "style": { - "navigationBarBackgroundColor": "#2c66a9", - "navigationBarTitleText": "我的", - "navigationBarTextStyle": "white" - } - } - ], - "globalStyle": { - "navigationBarTextStyle": "black", - "navigationBarTitleText": "12123", - "navigationBarBackgroundColor": "#F8F8F8", - "backgroundColor": "#F8F8F8" - }, - "uniIdRouter": {}, - "tabBar": { - "list": [{ - "pagePath": "pages/index/index", - "text": "首页" - }, - { - "pagePath": "pages/schedule/index", - "text": "网办进度" - }, - { - "pagePath": "pages/serve/index", - "text": "服务网点" - }, - { - "pagePath": "pages/my/index", - "text": "我的" - } - ] - } + "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages + { + "path": "pages/index/index", + "style": { + "navigationStyle": "custom" + } + }, + { + "path": "pages/index/components/drivingLicence", + "style": { + "navigationStyle": "custom" + } + }, + { + "path": "pages/schedule/index", + "style": { + "navigationStyle": "custom" + } + }, + + { + "path": "pages/serve/index", + "style": { + "navigationStyle": "custom" + } + }, + { + "path": "pages/my/index", + "style": { + "navigationBarBackgroundColor": "#2c66a9", + "navigationBarTitleText": "我的", + "navigationBarTextStyle": "white" + } + } + ], + "globalStyle": { + "navigationBarTextStyle": "black", + "navigationBarTitleText": "12123", + "navigationBarBackgroundColor": "#F8F8F8", + "backgroundColor": "#F8F8F8" + }, + "uniIdRouter": {}, + "tabBar": { + "list": [{ + "pagePath": "pages/index/index", + "text": "首页" + }, + { + "pagePath": "pages/schedule/index", + "text": "网办进度" + }, + { + "pagePath": "pages/serve/index", + "text": "服务网点" + }, + { + "pagePath": "pages/my/index", + "text": "我的" + } + ] + } } \ No newline at end of file diff --git a/pages/index/components/drivingLicence.vue b/pages/index/components/drivingLicence.vue new file mode 100644 index 0000000..cf9607d --- /dev/null +++ b/pages/index/components/drivingLicence.vue @@ -0,0 +1,316 @@ + + + + + \ No newline at end of file diff --git a/pages/index/components/echarts.vue b/pages/index/components/echarts.vue new file mode 100644 index 0000000..b38caae --- /dev/null +++ b/pages/index/components/echarts.vue @@ -0,0 +1,86 @@ + + + + + \ No newline at end of file diff --git a/pages/index/index.vue b/pages/index/index.vue index 17812eb..e1302f4 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -15,7 +15,7 @@ 未查询到备案的机动车 - + 驾驶证 @@ -35,12 +35,52 @@ - - - + + 资讯中心 + 最新实时地方交通资讯 + + - 2 + + + + + + + + {{'测试数据'}} + + {{'2024-06-14'}} + + + + + + + + + + + \\\\ + + + + + + + + + 未来会有更过服务,更好的体验现在快把我分享给帮你的好友吧 + + + + + + 交管12123版本v3.1.1 B603 + + @@ -101,12 +141,28 @@ id: '10' }, ]) + const info = [{ + content: '内容 A' + }, { + content: '内容 B' + }, { + content: '内容 C' + }] + const current = ref(0) + const change = (e) => { + current.value = e.detail.current; + } + const drivingLicence = () => { + console.log(111); + uni.navigateTo({ + url: './components/drivingLicence', + }) + }