From 84bab8b8c86f0e34adabd42e9b35e4d500aeba81 Mon Sep 17 00:00:00 2001
From: pengxiaolong <15716207+pengxiaolong711@user.noreply.gitee.com>
Date: Mon, 13 Oct 2025 13:19:08 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/App.vue | 23 +++++++++++------------
src/utils/pythonBridge.js | 11 ++++++++++-
src/views/hosts/hostsList.vue | 21 +++++++--------------
3 files changed, 28 insertions(+), 27 deletions(-)
diff --git a/src/App.vue b/src/App.vue
index 1be4b00..cb831ba 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -5,29 +5,28 @@
\ No newline at end of file
+ -->
diff --git a/src/utils/pythonBridge.js b/src/utils/pythonBridge.js
index 7405148..0a7faaf 100644
--- a/src/utils/pythonBridge.js
+++ b/src/utils/pythonBridge.js
@@ -128,6 +128,14 @@ export function usePythonBridge() {
});
}
};
+ //跳转到主播页面
+ const openAnchorIdRooms = (id) => {
+ console.log("id",id);
+ if (pyBridge.value) {
+ pyBridge.value.openAnchorIdRoom(id, function (result) {
+ });
+ }
+ };
//导出表格
const exportToExcel = (data) => {
@@ -169,6 +177,7 @@ export function usePythonBridge() {
deleteStorageData,
Specifystreaming,
setStorageStreamId,
- getStorageStreamId
+ getStorageStreamId,
+ openAnchorIdRooms
};
}
\ No newline at end of file
diff --git a/src/views/hosts/hostsList.vue b/src/views/hosts/hostsList.vue
index c8611dd..e4b060e 100644
--- a/src/views/hosts/hostsList.vue
+++ b/src/views/hosts/hostsList.vue
@@ -184,22 +184,21 @@
-
+ >
-
+
{
- openhostDisplayId(event);
- }, 500);
-}
-//长按结束
-function resetTimer() {
- clearTimeout(longPressTimer);
+ openAnchorIdRooms(event);
}
//复制单元格内容
function handleCellDbClick(row, column, cell, event) {
@@ -610,6 +602,7 @@ const {
Specifystreaming,
setStorageStreamId,
getStorageStreamId,
+ openAnchorIdRooms,
} = usePythonBridge();
let num = ref(0);