From 30daccd0d36c1d3259888559e399781fbe088536 Mon Sep 17 00:00:00 2001 From: chenJinxu <2183691628@qq.com> Date: Mon, 18 Dec 2023 09:21:01 +0800 Subject: [PATCH] =?UTF-8?q?`2023=E5=B9=B412=E6=9C=8816=E6=97=A5`=20FETURE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 增加 接口文件 - 增加 store 文件 - 增加 封装 toast ,notify 和 dialog - 增加 亲情号码,增加/修改亲情号码页面 - 修改 tabBar 文件 --- README.md | 4 +- src/components/TabBar.vue | 47 +- src/plugins/vant.js | 95 +++- src/router/router.config.js | 18 + src/services/notify-service.js | 15 + src/views/development/index.vue | 6 +- src/views/insight/index.vue | 6 +- src/views/layouts/index.vue | 8 +- src/views/myself/addFamilyNumber.vue | 552 ++++++++++++++++++++++ src/views/myself/changeFamilyNumber.vue | 594 ++++++++++++++++++++++++ src/views/myself/familyNumber.vue | 310 +++++++++++++ src/views/myself/index.vue | 12 +- src/views/optimize/index.vue | 6 +- src/views/today/index.vue | 6 +- 14 files changed, 1658 insertions(+), 21 deletions(-) create mode 100644 src/services/notify-service.js create mode 100644 src/views/myself/addFamilyNumber.vue create mode 100644 src/views/myself/changeFamilyNumber.vue create mode 100644 src/views/myself/familyNumber.vue 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 @@