diff --git a/pages.json b/pages.json index d91988a..40a8597 100644 --- a/pages.json +++ b/pages.json @@ -222,6 +222,42 @@ "style": { "navigationBarTitleText": "提交反馈" } + }, + { + "path": "pages/device/user", + "style": { + "navigationBarTitleText": "子用户" + } + }, + { + "path": "pages/mine/user", + "style": { + "navigationBarTitleText": "子用户" + } + }, + { + "path": "pages/mine/userDetail", + "style": { + "navigationBarTitleText": "用户设备" + } + }, + { + "path": "pages/user/basic", + "style": { + "navigationBarTitleText": "个人信息" + } + }, + { + "path": "pages/user/head", + "style": { + "navigationBarTitleText": "更换头像" + } + }, + { + "path": "pages/user/changeName", + "style": { + "navigationBarTitleText": "修改昵称" + } } ], "tabBar": { diff --git a/pages/device/APF/detail.vue b/pages/device/APF/detail.vue index e26bd15..a37c27c 100644 --- a/pages/device/APF/detail.vue +++ b/pages/device/APF/detail.vue @@ -72,12 +72,12 @@ export default { }, { text: 'I/O' }], - content: [ { - iconPath: '/static/record.png', - text: '记录', - }, { + content: [{ iconPath: '/static/report.png', text: '告警', + }, { + iconPath: '/static/record.png', + text: '记录', }, { iconPath: '/static/about.png', text: '关于', @@ -114,6 +114,8 @@ export default { uni.navigateTo({ url: '/pages/device/transfer' }) } else if (e.item.text === '反馈') { uni.navigateTo({ url: '/pages/device/feedback' }) + } else if (e.item.text === '用户') { + uni.navigateTo({ url: '/pages/device/user' }) } this.$refs.fab.close() }, @@ -131,15 +133,19 @@ export default { }) break; case 4: - this.content.splice(0, 0, { + this.content.splice(1, 0, { iconPath: '/static/share.png', text: '分享', + }, { + iconPath: '/static/subordinate.png', + text: '用户', }, { iconPath: '/static/delate.png', text: '删除', }) + break; case 5: - this.content.splice(0, 0, { + this.content.push({ iconPath: '/static/feedback.png', text: '反馈', }) diff --git a/pages/device/DVR/detail.vue b/pages/device/DVR/detail.vue index a129471..c0cd66e 100644 --- a/pages/device/DVR/detail.vue +++ b/pages/device/DVR/detail.vue @@ -20,7 +20,7 @@ - + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/pages/gateway/list.vue b/pages/gateway/list.vue index 43a53a0..c5c0bb5 100644 --- a/pages/gateway/list.vue +++ b/pages/gateway/list.vue @@ -57,7 +57,4 @@ export default { } } -/deep/ .uni-list-item { - background-color: $uni-theme-white !important; -} \ No newline at end of file diff --git a/pages/index/mine.vue b/pages/index/mine.vue index 4c4faed..973658d 100644 --- a/pages/index/mine.vue +++ b/pages/index/mine.vue @@ -5,7 +5,7 @@ 灿能电力 - {{roleName}} + {{ roleName }} @@ -14,7 +14,7 @@ 角色升级 --> - + 子用户列表 @@ -97,6 +97,12 @@ export default { case 'upgrade': this.$refs.inputDialog.open() break; + case 'basic': + uni.navigateTo({ + url: `/pages/user/basic` + }) + break; + break; default: uni.navigateTo({ url: `/pages/mine/${type}` diff --git a/pages/mine/user.vue b/pages/mine/user.vue new file mode 100644 index 0000000..6253f60 --- /dev/null +++ b/pages/mine/user.vue @@ -0,0 +1,55 @@ + + + \ No newline at end of file diff --git a/pages/mine/userDetail.vue b/pages/mine/userDetail.vue new file mode 100644 index 0000000..a426e39 --- /dev/null +++ b/pages/mine/userDetail.vue @@ -0,0 +1,73 @@ + + + \ No newline at end of file diff --git a/pages/user/basic.vue b/pages/user/basic.vue new file mode 100644 index 0000000..df884d4 --- /dev/null +++ b/pages/user/basic.vue @@ -0,0 +1,72 @@ + + + diff --git a/pages/user/changeName.vue b/pages/user/changeName.vue new file mode 100644 index 0000000..74f67dc --- /dev/null +++ b/pages/user/changeName.vue @@ -0,0 +1,61 @@ + + + \ No newline at end of file diff --git a/pages/user/head.vue b/pages/user/head.vue new file mode 100644 index 0000000..5c58a8b --- /dev/null +++ b/pages/user/head.vue @@ -0,0 +1,59 @@ + + + \ No newline at end of file diff --git a/uni_modules/uni-popup/components/uni-popup-share/uni-popup-share.vue b/uni_modules/uni-popup/components/uni-popup-share/uni-popup-share.vue index ab08656..1dd4604 100644 --- a/uni_modules/uni-popup/components/uni-popup-share/uni-popup-share.vue +++ b/uni_modules/uni-popup/components/uni-popup-share/uni-popup-share.vue @@ -44,21 +44,21 @@ icon: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/c2b17470-50be-11eb-b680-7980c8a877b8.png', name: 'wx' }, - { - text: '支付宝', - icon: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/d684ae40-50be-11eb-8ff1-d5dcf8779628.png', - name: 'wx' - }, + // { + // text: '支付宝', + // icon: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/d684ae40-50be-11eb-8ff1-d5dcf8779628.png', + // name: 'wx' + // }, { text: 'QQ', icon: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/e7a79520-50be-11eb-b997-9918a5dda011.png', name: 'qq' }, - { - text: '新浪', - icon: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/0dacdbe0-50bf-11eb-8ff1-d5dcf8779628.png', - name: 'sina' - }, + // { + // text: '新浪', + // icon: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/0dacdbe0-50bf-11eb-8ff1-d5dcf8779628.png', + // name: 'sina' + // }, // { // text: '百度', // icon: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/1ec6e920-50bf-11eb-8a36-ebb87efcf8c0.png',