From c3319db3d83f2d4fa7fdf06e3792496ce77d90aa Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期一, 09 九月 2024 02:24:16 +0800
Subject: [PATCH] update 提及的修复问题和会员信息相关的

---
 pages/home/home.vue |   37 +++++++++++++++++++++++++++----------
 1 files changed, 27 insertions(+), 10 deletions(-)

diff --git a/pages/home/home.vue b/pages/home/home.vue
index 21a16f3..9cd7764 100644
--- a/pages/home/home.vue
+++ b/pages/home/home.vue
@@ -31,8 +31,8 @@
 		</view>
 
 		<!-- banner -->
-		<uni-swiper-dot class="uni-swiper-dot-box" @clickItem=clickItem :info="info" :current="currentBanner"
-			:mode="'dot'" :dots-styles="dotsStyles[0]" field="content">
+	<!-- 	<uni-swiper-dot class="uni-swiper-dot-box" @clickItem=clickItem :info="info" :current="currentBanner"
+			:mode="'dot'" :dots-styles="dotsStyles[0]" field="content"> -->
 			<swiper class="swiper-box" @change="changeBanner" :interval="10000" :circular="true" :current="0"
 				v-if="banners&&banners.length>0" :autoplay="true">
 				<swiper-item v-for="(item, index) in banners" :key="index">
@@ -53,7 +53,7 @@
 					</view>
 				</swiper-item>
 			</swiper>
-		</uni-swiper-dot>
+		<!-- </uni-swiper-dot> -->
 		<!-- tip -->
 		<view class="m-t-12" @click="getNoticeMore">
 			<uni-notice-bar class="notice-bar" color="#333" background-color="#fff" show-get-more show-icon
@@ -69,9 +69,9 @@
 		<!-- 几个专区 -->
 		<home-zones></home-zones>
 		<!-- 置顶的花列表 -->
-		<home-top-flow></home-top-flow>
+		<home-top-flow ref="home_top_flow"></home-top-flow>
 
-		<view style="min-height:200rpx">
+		<view style="min-height:140rpx">
 		</view>
 		<common-footer flg="0"></common-footer>
 
@@ -188,7 +188,13 @@
 				path: url,
 			}
 		},
-
+		onReachBottom() {
+			console.log('onReachBottom')
+			if(this.$refs&&this.$refs.home_top_flow){
+				// console.log(this.$refs.home_top_flow)
+				this.$refs.home_top_flow.fun_GetMore()
+			}
+		},
 		onLoad(options) {
 			// if(options.partnerUserId){
 			// 	//需要前往注册了
@@ -250,8 +256,8 @@
 							}
 						}
 						this.banners = result
-					}
-					console.log('this.banners',this.banners)
+					}
+					console.log('this.banners', this.banners)
 				}
 			})
 
@@ -277,10 +283,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