修改搜索显示

master
于肖磊 2026-03-03 11:11:34 +08:00
parent 43a67fc0ab
commit ed6ae34839
4 changed files with 11 additions and 5 deletions

View File

@ -44,8 +44,8 @@
<view class="flex-row align-c jc-sb">
<view class="video-date">{{ item.add_time_date }}</view>
<view class="video-likes flex-row align-c gap-4">
<iconfont name="icon-givealike-o-fine" size="24rpx"></iconfont>
<text>{{ item.give_thumbs_count }}</text>
<iconfont name="icon-eye" size="24rpx"></iconfont>
<text>{{ item.access_count }}</text>
</view>
</view>
</view>

View File

@ -1,3 +1,9 @@
.search-record-container {
width: 100%;
height: 100vh;
background: #fff;
}
.header-top {
position: sticky;
top: 0;

View File

@ -1,5 +1,5 @@
<template>
<view class="wh-auto pr bg-white bottom-line-exclude-bottom">
<view class="search-record-container pr bottom-line-exclude-bottom">
<template v-if="search_history_data.length > 0">
<!-- 搜索框 -->
<view class="header-top" :style="top_content_style + menu_button_info">

View File

@ -38,8 +38,8 @@
<view class="flex-row align-c jc-sb">
<view class="video-date">{{ item.add_time_date }}</view>
<view class="video-likes flex-row align-c gap-4">
<iconfont name="icon-givealike-o-fine" size="24rpx"></iconfont>
<text>{{ item.give_thumbs_count }}</text>
<iconfont name="icon-eye" size="24rpx"></iconfont>
<text>{{ item.access_count }}</text>
</view>
</view>
</view>