From c183f91ace7b913926b0a18d95e7fab519fc3366 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=B2=E4=B9=88=E4=BA=86?= Date: Wed, 15 Feb 2023 16:32:21 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=88=87=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 11 +++-- pages.json | 6 +++ pages/device/list.vue | 12 ++--- pages/gateway/new.vue | 2 +- pages/index/mine.vue | 11 ++++- pages/mine/project.vue | 108 +++++++++++++++++++++++++++++++++++++++++ 6 files changed, 138 insertions(+), 12 deletions(-) create mode 100644 pages/mine/project.vue diff --git a/manifest.json b/manifest.json index 62a9954..45ec424 100644 --- a/manifest.json +++ b/manifest.json @@ -25,7 +25,8 @@ "modules" : { "Maps" : {}, "Barcode" : {}, - "Camera" : {} + "Camera" : {}, + "Push" : {} }, /* 应用发布信息 */ "distribute" : { @@ -67,8 +68,12 @@ } }, "push" : { - "unipush" : null - } + "unipush" : { + "version" : "2", + "offline" : false + } + }, + "share" : {} }, "icons" : { "android" : { diff --git a/pages.json b/pages.json index 40a8597..e094c94 100644 --- a/pages.json +++ b/pages.json @@ -258,6 +258,12 @@ "style": { "navigationBarTitleText": "修改昵称" } + }, + { + "path": "pages/mine/project", + "style": { + "navigationBarTitleText": "项目管理" + } } ], "tabBar": { diff --git a/pages/device/list.vue b/pages/device/list.vue index 92f83dd..3149ed3 100644 --- a/pages/device/list.vue +++ b/pages/device/list.vue @@ -2,16 +2,11 @@ -
- -
- 设备基础信息 -
@@ -36,6 +31,11 @@ export default { onClickItem (e) { this.current = e.currentIndex }, + jump () { + uni.navigateTo({ + url: '/pages/device/APF/detail' + }) + }, trigger (e) { if (e.index === 0) { uni.navigateTo({ diff --git a/pages/gateway/new.vue b/pages/gateway/new.vue index f3b0760..cdfa1bd 100644 --- a/pages/gateway/new.vue +++ b/pages/gateway/new.vue @@ -5,7 +5,7 @@ - + diff --git a/pages/index/mine.vue b/pages/index/mine.vue index 973658d..f153f3b 100644 --- a/pages/index/mine.vue +++ b/pages/index/mine.vue @@ -14,17 +14,24 @@ 角色升级 --> - + + 子用户列表 - + + 项目管理 + + + 网关列表 + 设置 diff --git a/pages/mine/project.vue b/pages/mine/project.vue new file mode 100644 index 0000000..bb509eb --- /dev/null +++ b/pages/mine/project.vue @@ -0,0 +1,108 @@ + + + + + \ No newline at end of file