修改搜索中心中英文切换

This commit is contained in:
qq787203167
2022-03-31 11:50:18 +08:00
parent fbd7b7109a
commit 3f050d33ec
4 changed files with 12 additions and 6 deletions
@@ -16,7 +16,7 @@
:maxLength="100"
v-model="selectValueTwo"
style="width: calc(100% - 128px)"
placeholder="请输入搜索内容"
:placeholder="$t('pleaseEnter')+$t('searchContent')"
@search="onSearch"
></a-input-search>
</a-input-group>
@@ -26,13 +26,13 @@
v-else-if="active === $t('whole')"
class="inputSearch"
allow-clear
placeholder="请输入搜索内容"
:placeholder="$t('pleaseEnter')+$t('searchContent')"
@search="wholeOnSearch"
></a-input-search>
<span v-if="active === $t('whole') || active === $t('DocumentLibrary')" class="textSearch"
@click="wholeTextSearch(selectValueTwo)">结果中检索</span>
@click="wholeTextSearch(selectValueTwo)">{{$t('searchInResults')}}</span>
<span v-if="active === $t('whole') || active === $t('DocumentLibrary')" class="textSearch"
@click="ResetSearch()">重置</span>
@click="ResetSearch()">{{$t('reset')}}</span>
</div>
</div>
<div class="search-center-content">