From 01439f14432ee731be561d193c88e3ea31399345 Mon Sep 17 00:00:00 2001 From: zxl <763096477@qq.com> Date: 星期五, 11 七月 2025 09:58:59 +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