From 666bcc20d989be1c7a2acb314594e8e017a611ac Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期日, 11 八月 2024 23:18:51 +0800 Subject: [PATCH] update花店的一些问题等 --- pages/home/home.vue | 19 +++++++++++++++---- 1 files changed, 15 insertions(+), 4 deletions(-) diff --git a/pages/home/home.vue b/pages/home/home.vue index 21a16f3..350ca04 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -71,7 +71,7 @@ <!-- 置顶的花列表 --> <home-top-flow></home-top-flow> - <view style="min-height:200rpx"> + <view style="min-height:180rpx"> </view> <common-footer flg="0"></common-footer> @@ -250,8 +250,8 @@ } } this.banners = result - } - console.log('this.banners',this.banners) + } + console.log('this.banners', this.banners) } }) @@ -277,7 +277,18 @@ }, 2000) //公告 - this.$http.request('get', '/api/pub/announcement/list', { + var type = '' + // #ifdef PUB_CUSTOMER + type = 'customer' + // #endif + // #ifdef PUB_SUPPLIER + type = 'supplier' + // #endif + // #ifdef PUB_PARTNER + type = 'partner' + // #endif + + this.$http.request('get', '/api/pub/announcement/list/' + type, { params: { size: 5, // status: 'A' -- Gitblit v1.9.3