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) + }) }) } }