From db21651d44a1056cab646b86025acf1c3ff66ebc Mon Sep 17 00:00:00 2001 From: LuoShijie Date: Tue, 14 Nov 2023 23:11:39 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BD=97=E4=B8=96=E6=9D=B0=EF=BC=9Afeat?= =?UTF-8?q?=EF=BC=9A=E8=BD=AE=E6=92=AD=E5=9B=BE=EF=BC=8C=E5=88=86=E6=9E=90?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1=E3=80=81=E8=BD=AE=E6=92=AD=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E6=8E=A5=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/InputAndSwiper/InputAndSwiper.vue | 4 +- pages/index/HomeMainContent/HomeNavCard.vue | 7 +++ pages/index/HomeMainContent/HomeNoticeBar.vue | 7 +-- pages/index/HomeMainContent/Statistics.vue | 45 +++++++++---------- pages/index/index.vue | 24 ++++++++-- service/request.js | 22 ++++++++- 6 files changed, 75 insertions(+), 34 deletions(-) diff --git a/components/InputAndSwiper/InputAndSwiper.vue b/components/InputAndSwiper/InputAndSwiper.vue index 3777e2d..bc7e6fd 100644 --- a/components/InputAndSwiper/InputAndSwiper.vue +++ b/components/InputAndSwiper/InputAndSwiper.vue @@ -13,7 +13,7 @@ - + @@ -22,7 +22,7 @@ export default { name: "inputAndSwiper", props: { - headerBgList: { + bannerURL: { type: Array, default () { return [ diff --git a/pages/index/HomeMainContent/HomeNavCard.vue b/pages/index/HomeMainContent/HomeNavCard.vue index 5ba9577..b3182a6 100644 --- a/pages/index/HomeMainContent/HomeNavCard.vue +++ b/pages/index/HomeMainContent/HomeNavCard.vue @@ -63,7 +63,14 @@ uni.navigateTo({ url: this.navItems[index].url }) + }else if (index == 7) { + uni.makePhoneCall({ + phoneNumber: '123456789', + success: (result) => {}, + fail: (error) => {} + }) } + } } }; diff --git a/pages/index/HomeMainContent/HomeNoticeBar.vue b/pages/index/HomeMainContent/HomeNoticeBar.vue index eb41923..dae115d 100644 --- a/pages/index/HomeMainContent/HomeNoticeBar.vue +++ b/pages/index/HomeMainContent/HomeNoticeBar.vue @@ -10,6 +10,7 @@ customStyle="width:70vw" color="#232323" icon=" " + direction="column" /> @@ -18,14 +19,14 @@