🚸 处理搜索交互

This commit is contained in:
BTMuli
2026-03-11 00:42:01 +08:00
parent 9c79e0b822
commit 69f40cd495
2 changed files with 5 additions and 7 deletions

View File

@@ -77,12 +77,11 @@
<v-text-field
v-model="search"
:hide-details="true"
:single-line="true"
append-inner-icon="mdi-magnify"
class="post-switch-item"
label="请输入帖子 ID 或搜索词"
variant="outlined"
@click:append="searchPost"
@click:append-inner="searchPost"
@keyup.enter="searchPost"
/>
<v-btn

View File

@@ -6,9 +6,9 @@
<TMiImg :ori="true" :src="topicInfo.topic.cover" alt="cover" />
<div class="post-topic-info">
<span class="post-topic-title">{{ topicInfo.topic.name }}</span>
<span :title="topicInfo.topic.desc" class="post-topic-desc">{{
topicInfo.topic.desc
}}</span>
<span :title="topicInfo.topic.desc" class="post-topic-desc">
{{ topicInfo.topic.desc }}
</span>
</div>
<div :title="`话题ID${topicInfo.topic.id}`" class="post-topic-id">
{{ topicInfo.topic.id }}
@@ -67,12 +67,11 @@
<v-text-field
v-model="search"
:hide-details="true"
:single-line="true"
append-inner-icon="mdi-magnify"
class="post-switch-item"
label="请输入帖子 ID 或搜索词"
variant="outlined"
@click:append="searchPost"
@click:append-inner="searchPost"
@keyup.enter="searchPost"
/>
<v-btn