From ceadff3b61f49ab2326020aac0358f6c3b0f3683 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期三, 02 七月 2025 16:18:44 +0800 Subject: [PATCH] 视频搜索页及搜索页视频的播放 --- pages/tabbar/index/home.vue | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/pages/tabbar/index/home.vue b/pages/tabbar/index/home.vue index 87916dc..4589ccd 100644 --- a/pages/tabbar/index/home.vue +++ b/pages/tabbar/index/home.vue @@ -121,7 +121,7 @@ <!-- 瑙嗛淇℃伅灞� --> <view class="video-info" :style="{bottom: marginBottom + 20 + 'px'}"> <view> - <text class="video-author">@{{item.authorName}}</text> + <text class="video-author" @click="jumpToSearch">@{{item.authorName}}</text> </view> <view style="width: 100%;word-wrap: break-word;white-space: normal;overflow-wrap: break-word;"> <text class="video-title">{{item.title}}</text> @@ -399,6 +399,12 @@ } }, methods: { + jumpToSearch() { + uni.navigateTo({ + url: '/pages/video/video-search' + }); + }, + // 鍒囨崲椤堕儴瀵艰埅鏍� topBarChange(titleObj) { if (titleObj.index === 'home') { uni.switchTab({ -- Gitblit v1.8.0