From 32526e5bddb7b14328b2467cd18783f480b33f3b Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期六, 31 八月 2024 01:51:53 +0800
Subject: [PATCH] update合伙人

---
 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..396d4e7 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:140rpx">
 		</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