diff --git a/pages.json b/pages.json index c043322..58a88ef 100644 --- a/pages.json +++ b/pages.json @@ -278,6 +278,26 @@ } } + ,{ + "path" : "pages/account-management/index", + "style" : + { + "navigationBarTitleText": "账号管理", + "navigationStyle": "custom", + "enablePullDownRefresh": false + } + + } + ,{ + "path" : "pages/add-account/index", + "style" : + { + "navigationBarTitleText": "新增企业账号", + "navigationStyle": "custom", + "enablePullDownRefresh": false + } + + } ], "globalStyle": { "navigationBarTextStyle": "black", diff --git a/pages/account-management/index.vue b/pages/account-management/index.vue new file mode 100644 index 0000000..03dc090 --- /dev/null +++ b/pages/account-management/index.vue @@ -0,0 +1,46 @@ + + + + + diff --git a/pages/add-account/index.vue b/pages/add-account/index.vue new file mode 100644 index 0000000..8183fd0 --- /dev/null +++ b/pages/add-account/index.vue @@ -0,0 +1,22 @@ + + + + + diff --git a/pages/setting/index.vue b/pages/setting/index.vue index ed871ec..da28e6f 100644 --- a/pages/setting/index.vue +++ b/pages/setting/index.vue @@ -7,13 +7,15 @@ - - - {{item}} + + + + {{ item }} + - + @@ -23,23 +25,26 @@ import { back, go2, uploadFile } from '@/utils/hook.js' export default { data() { return { - name:['用户名','账号管理','用户协议','系统权限','关于纸掌柜'] + name: ['用户名', '账号管理', '用户协议', '系统权限', '关于纸掌柜'] } }, methods: { back, - checkList(item){ - switch (item){ + checkList(item) { + switch (item) { case 0: - go2('user-info') - break; - case 4: + go2('user-info') + break + case 1: + go2('account-management') + break + case 4: go2('about') - break; + break default: - break; + break } - }, + } } } @@ -54,16 +59,16 @@ export default { text-align: center; font-weight: 500; } - .list-main{ - background-color: #FFFFFF; + .list-main { + background-color: #ffffff; } - .list-border{ - border-bottom: 2rpx solid #d8d8d8; + .list-border { + border-bottom: 2rpx solid #d8d8d8; } .list-flex { display: flex; justify-content: space-between; - + margin: 0rpx 32rpx; height: 100rpx; align-items: center;