From a83890881e2afa33a293640e166960f0555d3a1b Mon Sep 17 00:00:00 2001 From: XiuYun CHEN Date: Fri, 30 May 2025 17:23:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- features/Home/Index.ets | 4 +++- .../expert/src/main/ets/pages/SearchPage/VideoSearchPage.ets | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/features/Home/Index.ets b/features/Home/Index.ets index 260c4f9..0a93765 100644 --- a/features/Home/Index.ets +++ b/features/Home/Index.ets @@ -26,4 +26,6 @@ export { ItemCompPast } from './src/main/ets/components/ItemCompPastk' export { MeetingItemModel,MeetingModel,MeetingModels,ItemModel } from './src/main/ets/model/ItemModel' -export { VideoSelected } from './src/main/ets/pages/VideoSelected' \ No newline at end of file +export { VideoSelected } from './src/main/ets/pages/VideoSelected' + +export { videoTools } from './src/main/ets/polyv/VideoUtil' \ No newline at end of file diff --git a/products/expert/src/main/ets/pages/SearchPage/VideoSearchPage.ets b/products/expert/src/main/ets/pages/SearchPage/VideoSearchPage.ets index c9df48a..afcafa5 100644 --- a/products/expert/src/main/ets/pages/SearchPage/VideoSearchPage.ets +++ b/products/expert/src/main/ets/pages/SearchPage/VideoSearchPage.ets @@ -5,7 +5,7 @@ import { VideoList,DataModel,MeetingItemModel,ItemModel,MeetingModels } from 'ho import HashMap from '@ohos.util.HashMap'; import { BusinessError } from '@kit.BasicServicesKit'; import inputMethod from '@ohos.inputMethod'; -import { ItemCompPast } from 'home' +import { ItemCompPast,videoTools } from 'home' @Entry @Component @@ -198,6 +198,9 @@ struct VideoSearchPage { ListItem() { VideoSearchComp({ model: item }) } + .onClick(()=>{ + videoTools.getVideoDetail(item.uuid) + }) }) } }