From 80ba96be504ebac728f692b2dad16301628689b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=B2=E4=B9=88=E4=BA=86?= Date: Wed, 1 Mar 2023 08:48:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=B7=A5=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 6 +++ pages/gateway/detail.vue | 13 +++++-- pages/gateway/list.vue | 11 +++--- pages/index/comp/indexGongCheng.vue | 5 +++ pages/index/comp/indexYunWei.vue | 5 +++ pages/index/comp/indexZhuanZhi.vue | 14 ++++++- pages/index/comp/indexZiYongHu.vue | 5 +++ pages/project/list.vue | 8 ++-- pages/zhuanzhi/warning.vue | 57 +++++++++++++++++++++++++++++ 9 files changed, 110 insertions(+), 14 deletions(-) create mode 100644 pages/zhuanzhi/warning.vue diff --git a/pages.json b/pages.json index 80ab1d7..fa78884 100644 --- a/pages.json +++ b/pages.json @@ -339,6 +339,12 @@ "style": { "navigationBarTitleText": "角色升级审核" } + }, + { + "path": "pages/zhuanzhi/warning", + "style": { + "navigationBarTitleText": "报警设备" + } } ], "tabBar": { diff --git a/pages/gateway/detail.vue b/pages/gateway/detail.vue index 518faaf..d5f3930 100644 --- a/pages/gateway/detail.vue +++ b/pages/gateway/detail.vue @@ -15,11 +15,12 @@ 版本号:v1.0.0 设备列表 - 注册设备 + 注册设备 + - + @click="goDevice" padding="0" thumbnail="/static/device.png"> + @@ -33,6 +34,7 @@ export default { data () { return { loading: false, + userInfo: {}, deviceList: [ { name: '设备1', @@ -62,6 +64,7 @@ export default { } }, onLoad (options) { + this.userInfo = uni.getStorageSync('userInfo') }, } @@ -83,6 +86,7 @@ export default { font-size: 36rpx; color: #111; font-weight: 700; + .footer-btn { padding: 0 20rpx; height: 50rpx; @@ -105,4 +109,5 @@ export default { box-sizing: border-box; } -} \ No newline at end of file +} + \ No newline at end of file diff --git a/pages/gateway/list.vue b/pages/gateway/list.vue index 06498d5..a179afb 100644 --- a/pages/gateway/list.vue +++ b/pages/gateway/list.vue @@ -1,18 +1,18 @@