From b84c3a4d0a0498f0e972b4343935116618128ce5 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期四, 03 七月 2025 17:50:40 +0800 Subject: [PATCH] 推荐页搜索按钮 --- pages/tabbar/index/home.vue | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pages/tabbar/index/home.vue b/pages/tabbar/index/home.vue index b353bdd..3f07dde 100644 --- a/pages/tabbar/index/home.vue +++ b/pages/tabbar/index/home.vue @@ -120,13 +120,15 @@ <!-- 瑙嗛淇℃伅灞� --> <view class="video-info" :style="{bottom: marginBottom + 20 + 'px'}"> - <view> - <text class="video-author" @click="jumpToSearch">@{{item.authorName}}</text> + <view style="width: 100%; position: relative;"> + <text class="video-author">@{{item.authorName}}</text> + <text class="iconfont" @click="jumpToSearch" style="position: absolute;right: 45px;"></text> </view> <view style="width: 100%;word-wrap: break-word;white-space: normal;overflow-wrap: break-word;"> <text class="video-title">{{item.title}}</text> <text class="video-tag" v-for="(tag, index) in item.tagList" :key="tag.id">#{{tag.tagName}}</text> </view> + </view> <!-- 鍙充晶浜掑姩鎸夐挳 --> @@ -1116,7 +1118,7 @@ } .video-info { - width: 70%; + width: 100%; position: absolute; bottom: 20px; left: 20px; -- Gitblit v1.8.0