修改搜索中心

This commit is contained in:
qq787203167
2022-03-22 14:52:33 +08:00
parent 18562f71a3
commit fd309a4456
3 changed files with 28 additions and 20 deletions
@@ -26,7 +26,7 @@
placeholder="请输入搜索内容"
@search="wholeOnSearch"
></a-input-search>
<span class="textSearch" @click="wholeTextSearch(this.selectValueTwo)">结果中检索</span>
<span v-if="active === $t('whole')" class="textSearch" @click="wholeTextSearch(selectValueTwo)">结果中检索</span>
</div>
</div>
<div class="search-center-content">
@@ -92,6 +92,7 @@
}
},
wholeTextSearch(event){
console.log(event)
if (this.$refs.wholeRef){
this.$refs.wholeRef.searchDataTwo(event)
}
@@ -207,5 +208,6 @@
display: inline-block;
margin-left: 8px;
color: #21c9cc;
cursor: pointer;
}
</style>