From bd19dfbd5ad48b7e36b032ccc036bd3138d76b52 Mon Sep 17 00:00:00 2001 From: TianZhou <3570544406@qq.com> Date: Thu, 29 Aug 2024 17:13:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E4=BA=86=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E9=80=9A=E7=9F=A5=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/index.scss | 4 + pages.json | 32 ++++-- pages/Message/Message.vue | 11 +- pages/Repair/Repair.vue | 228 ++++++++++++++++++++++++++++++++++++++++++ pages/Repair/RepairDetail.vue | 170 +++++++++++++++++++++++++++++++ static/line.svg | 6 ++ 6 files changed, 433 insertions(+), 18 deletions(-) create mode 100644 css/index.scss create mode 100644 pages/Repair/Repair.vue create mode 100644 pages/Repair/RepairDetail.vue create mode 100644 static/line.svg diff --git a/css/index.scss b/css/index.scss new file mode 100644 index 0000000..5dd296f --- /dev/null +++ b/css/index.scss @@ -0,0 +1,4 @@ + +:root{ + --tabs-bottom-bar-color:blue +} \ No newline at end of file diff --git a/pages.json b/pages.json index bb54b2f..7374747 100644 --- a/pages.json +++ b/pages.json @@ -1,10 +1,14 @@ { "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { - "path" : "pages/login/login", - "style" : - { - "navigationStyle":"custom" + "path": "pages/Repair/Repair", + "style": { + "navigationBarTitleText": "报修管理" + } + }, { + "path": "pages/login/login", + "style": { + "navigationStyle": "custom" } }, { @@ -30,8 +34,16 @@ "style": { "navigationBarTitleText": "个人资料" } + }, + { + "path" : "pages/Repair/RepairDetail", + "style" : + { + "navigationBarTitleText" : "报修详情" + } } - + + ], "globalStyle": { "navigationBarTextStyle": "black", @@ -44,14 +56,18 @@ "selectedColor": "#03A8F6", "borderStyle": "black", "backgroundColor": "#FFFFFF", - "list": [ - { + "list": [{ "pagePath": "pages/Workbench/Workbench", "iconPath": "static/tabbar/workbench.png", "selectedIconPath": "static/tabbar/workbench._select.png", "text": "工作台" }, { + "pagePath": "pages/Repair/Repair", + "iconPath": "static/tabbar/message.png", + "selectedIconPath": "static/tabbar/message_select.png", + "text": "报修" + }, { "pagePath": "pages/Message/Message", "iconPath": "static/tabbar/message.png", "selectedIconPath": "static/tabbar/message_select.png", @@ -66,4 +82,4 @@ ] }, "uniIdRouter": {} -} +} \ No newline at end of file diff --git a/pages/Message/Message.vue b/pages/Message/Message.vue index c0e7658..b23795e 100644 --- a/pages/Message/Message.vue +++ b/pages/Message/Message.vue @@ -5,16 +5,7 @@ \ No newline at end of file diff --git a/pages/Repair/RepairDetail.vue b/pages/Repair/RepairDetail.vue new file mode 100644 index 0000000..29cdf74 --- /dev/null +++ b/pages/Repair/RepairDetail.vue @@ -0,0 +1,170 @@ + + + + + \ No newline at end of file diff --git a/static/line.svg b/static/line.svg new file mode 100644 index 0000000..c06bb60 --- /dev/null +++ b/static/line.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file