From c21816d0772e7906573a2546207034ca4a3e1d4b Mon Sep 17 00:00:00 2001 From: LuoShijie Date: Tue, 14 Nov 2023 00:33:31 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BD=97=E4=B8=96=E6=9D=B0=EF=BC=9A=E5=AE=8C?= =?UTF-8?q?=E6=88=90=E9=A6=96=E9=A1=B5=E6=95=B0=E6=8D=AE=E5=88=86=E6=9E=90?= =?UTF-8?q?=E3=80=81=E5=AE=A2=E6=9C=8D=E6=82=AC=E6=B5=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ShowShopListItem/ShowShopListItem.vue | 12 +- pages/index/HomeMainContent/Statistics.vue | 152 ++++++++++++++++-- pages/index/index.vue | 14 +- 3 files changed, 161 insertions(+), 17 deletions(-) diff --git a/components/ShowShopListItem/ShowShopListItem.vue b/components/ShowShopListItem/ShowShopListItem.vue index 57e24b4..2c7c0e6 100644 --- a/components/ShowShopListItem/ShowShopListItem.vue +++ b/components/ShowShopListItem/ShowShopListItem.vue @@ -63,7 +63,12 @@ - + 已将该店推给 {{shopInfo.promotionNum}} @@ -143,6 +148,11 @@ uni.navigateTo({ url: '/pages/detail/detail' }) + }, + handleAD(){ + uni.navigateTo({ + url: '/pages/publish/publishTransfer/publishTransfer' + }) } } } diff --git a/pages/index/HomeMainContent/Statistics.vue b/pages/index/HomeMainContent/Statistics.vue index f7647d0..003fa01 100644 --- a/pages/index/HomeMainContent/Statistics.vue +++ b/pages/index/HomeMainContent/Statistics.vue @@ -7,21 +7,39 @@ height="320rpx" /> - + 累计用户 + {{ sumUser.total }} + + 昨日新增{{ sumUser.yesterday }}位 + - - + + + + + 累计转店 + {{ sumTrans.total }} + + 昨日新增{{ sumTrans.yesterday }}位 + - - + + + + + 累计找店 + {{ sumSearch.total }} + + 昨日新增{{ sumSearch.yesterday }}位 + @@ -29,6 +47,31 @@ \ No newline at end of file diff --git a/pages/index/index.vue b/pages/index/index.vue index 53d8bbd..891b519 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -2,6 +2,9 @@ + + + @@ -34,11 +37,12 @@ return { notice: '寒雨连江夜入吴 平明送客楚山孤 洛阳亲友如相问 一片冰心在玉壶', chooseIndex: 0, - statisticsNum: [231753, 1345] + statisticsNum: [231753, 1345], + swiperList:[] } }, onLoad() { - + }, methods: { @@ -56,6 +60,12 @@ .home-content { margin: 0 10px; + .service { + position: fixed; + right: 17rpx; + top: 1109rpx; + z-index: 1; + } } .show-and-search {