From 92a7cfe17da488b686ebec034c4793815901002f Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期二, 13 八月 2024 11:00:16 +0800
Subject: [PATCH] 1
---
pages/home/home.vue | 21 ++++++++++++++++-----
1 files changed, 16 insertions(+), 5 deletions(-)
diff --git a/pages/home/home.vue b/pages/home/home.vue
index 21a16f3..9900960 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,10 +277,21 @@
}, 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'
+ status: 'A'
}
}).then(res => {
if (res.code === 0) {
--
Gitblit v1.9.3