From 04102f7237efefa744090ed7c25f7b5d0807b679 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Thu, 05 Feb 2026 18:11:57 +0800
Subject: [PATCH] 完成运营中心提现和运营中心权限管理

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

diff --git a/mobile/pages/shop/shop_list.vue b/mobile/pages/shop/shop_list.vue
index ae87e84..e18ac8d 100644
--- a/mobile/pages/shop/shop_list.vue
+++ b/mobile/pages/shop/shop_list.vue
@@ -164,11 +164,22 @@
 		mounted() {
 			this.init();
 			this._freshing = false;
+			
 			this.restoreData();
 			// 获取分类 by lyzflash
 			this.getCategory();
 			/*获取订单列表*/
 			this.getData();
+		},
+		onLoad(option) {
+			let self = this;
+			if( option.category_id){
+				self.category.forEach(function(index,item){
+					if(item.category_id==option.category_id){
+						self.tabChange(index)
+					}
+				})
+			}
 		},
 		methods: {
 			/*初始化*/
@@ -220,6 +231,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 +259,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;
 				})
 			},

--
Gitblit v1.9.2