完善搜索功能:
1. 添加搜索方法实现,支持关键词搜索 2. 实现取消搜索功能,清空搜索结果 3. 添加搜索结果展示组件 4. 优化搜索结果样式,使用Element Plus风格 5. 添加搜索输入验证,防止空搜索
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
<b v-html="item.project_name"></b>
|
||||
</el-text>
|
||||
<el-text>{{ item.answer_num }}份</el-text>
|
||||
<el-text size="small" v-if=item.is_time>{{`${item.start_time} 至 ${item.end_time ?? '无限期'}`}}</el-text>
|
||||
</div>
|
||||
<div class="survey_item_info_status">
|
||||
<el-space spacer="|">
|
||||
@@ -64,7 +65,19 @@
|
||||
</div>
|
||||
<!--问卷描述-->
|
||||
<div v-if="item.introduction">
|
||||
<div v-html="item.introduction" class="survey_item_info_desc"></div>
|
||||
<!--<div v-html="item.introduction" class="survey_item_info_desc"></div>-->
|
||||
<section>
|
||||
<el-text size="small" >回收数量</el-text>
|
||||
{{item.answer_num}}
|
||||
</section>
|
||||
<section >
|
||||
<el-text size="small">回收数量进度</el-text>
|
||||
{{item.recycle_progress}}
|
||||
</section>
|
||||
<section >
|
||||
<el-text size="small">投放时间进度 </el-text>
|
||||
{{ item.recycle_time }}
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
<!-- action 功能位置 -->
|
||||
|
||||
Reference in New Issue
Block a user