修改搜索中心
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user