From 73b874c72ad55eb9eef21c36160ac0de58f0189e Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Thu, 05 Feb 2026 10:30:43 +0800
Subject: [PATCH] 优化名片

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

diff --git a/mobile/pages/shop/shop_list.vue b/mobile/pages/shop/shop_list.vue
index d43467e..e18ac8d 100644
--- a/mobile/pages/shop/shop_list.vue
+++ b/mobile/pages/shop/shop_list.vue
@@ -164,12 +164,23 @@
 		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: {
 			/*初始化*/
 			init() {

--
Gitblit v1.9.2