From 2baf56f43f1976890b5df8b6ba84cd591425def0 Mon Sep 17 00:00:00 2001
From: ZN <zhang_12370@163.com>
Date: 星期二, 24 三月 2026 09:12:56 +0800
Subject: [PATCH] 禁止提交.vscode配置文件

---
 src/pages/index.vue |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/src/pages/index.vue b/src/pages/index.vue
index c83160f..514c546 100644
--- a/src/pages/index.vue
+++ b/src/pages/index.vue
@@ -11,7 +11,7 @@
 		<view class="hero-section">
 			<view class="bg-img">
 				<view class="hero-content">
-					<text class="hero-title">鍙屽鐐�</text>
+					<text class="hero-title">澶╂触鍙屽鐐�</text>
 				</view>
 				<view class="hero-wave"></view>
 			</view>
@@ -46,6 +46,7 @@
 			</view>
 		</view>
 		<GoodsDetailPopup ref="refGoodsDetailPopup"></GoodsDetailPopup>
+		<ScanListPopup ref="refScanListPopup"></ScanListPopup>
 	</view>
 </template>
 
@@ -56,6 +57,7 @@
 import modal from "@/plugins/modal";
 import useUserStore from "@/store/modules/user";
 import GoodsDetailPopup from './components/GoodsDetailPopup.vue';
+import ScanListPopup from './components/ScanListPopup.vue';
 
 const userStore = useUserStore()
 const factoryId = ref('');
@@ -402,7 +404,7 @@
 			});
 			break
 		case '浜у搧鎵爜':
-			scanQRCode()
+			openScanListPopup()
 			break
 		default:
 			uni.showToast({
@@ -480,6 +482,14 @@
 
 //璋堟鐩稿叧
 const refGoodsDetailPopup = ref(null)
+const refScanListPopup = ref(null)
+
+//鎵撳紑鎵爜鍒楄〃寮圭獥
+const openScanListPopup = () => {
+	if (refScanListPopup.value) {
+		refScanListPopup.value.open()
+	}
+}
 
 
 //鏌ョ湅璇︽儏

--
Gitblit v1.9.3