diff --git a/README.md b/README.md index b58bea1..e8df1db 100644 --- a/README.md +++ b/README.md @@ -43,4 +43,6 @@ npm run lint - 增加 接口文件 - 增加 store 文件 -- 增加 封装的 toast 和 dialog 文件 +- 增加 封装 toast ,notify 和 dialog +- 增加 亲情号码,增加/修改亲情号码页面 +- 修改 tabBar 文件 diff --git a/src/components/TabBar.vue b/src/components/TabBar.vue index 274820c..7919d3d 100644 --- a/src/components/TabBar.vue +++ b/src/components/TabBar.vue @@ -1,7 +1,7 @@ @@ -63,8 +64,9 @@ import APIUser from '@/api/user'; import APIDevice from '@/api/device'; import ToastService from '@/services/toast-service'; import { isNotNull } from '@/services/utils-service'; +import TabBar from '@/components/TabBar'; export default { - components: { /* NavBar, */ SubmenuList }, + components: { /* NavBar, */ SubmenuList, TabBar }, data() { return { userInfos: {}, @@ -72,7 +74,13 @@ export default { family: { title: '亲情沟通', list: [ - { imgPath: require('../../assets/logo.png'), text: '亲情号码', bgColor: 'red' }, + { + imgPath: require('../../assets/logo.png'), + text: '亲情号码', + bgColor: 'red', + showType: 'newPage', + routerName: 'familyNumber' + }, { imgPath: require('../../assets/logo.png'), text: '留言', bgColor: 'green' }, { imgPath: require('../../assets/logo.png'), text: '通话记录', bgColor: 'red' } ] diff --git a/src/views/optimize/index.vue b/src/views/optimize/index.vue index a137f5e..4f139b0 100644 --- a/src/views/optimize/index.vue +++ b/src/views/optimize/index.vue @@ -1,10 +1,14 @@