From e1e2fe5710a5b5cd9c19bd3aa99c998a1a613ca8 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Sat, 17 Jan 2026 17:58:01 +0800
Subject: [PATCH] 团购组件增加筛选

---
 mobile/pages/shop/shop_list.vue |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/mobile/pages/shop/shop_list.vue b/mobile/pages/shop/shop_list.vue
index 39f522a..d43467e 100644
--- a/mobile/pages/shop/shop_list.vue
+++ b/mobile/pages/shop/shop_list.vue
@@ -220,6 +220,7 @@
 					page: page || 1,
 					list_rows: list_rows,
 					sortType: self.type_active,
+					supplier_type: 10,
 					name: self.keyWord,
 					category_id: self.category_id // 分类id by lyzflash
 				}, (res) => {
@@ -247,7 +248,7 @@
 			/*获取分类*/
 			getCategory() {
 				let self = this;
-				self._post('supplier.index/category', {}, (res) => {
+				self._post('supplier.index/category', {category_type:10}, (res) => {
 					self.category = res.data.category;
 				})
 			},
@@ -287,6 +288,7 @@
 
 			//跳转店铺首页
 			goto_shop(shop_supplier_id) {
+				uni.setStorageSync('shop_supplier_id',shop_supplier_id)
 				this.gotoPage('/pages/shop/shop?shop_supplier_id=' + shop_supplier_id);
 			},
 			//跳转商品页面

--
Gitblit v1.9.2