|
|
@ -9,8 +9,8 @@ |
|
|
<img @click="setVoice" src="../../assets/images/search/search-voice.png" class="voice-icon" alt="" /> |
|
|
<img @click="setVoice" src="../../assets/images/search/search-voice.png" class="voice-icon" alt="" /> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="flex"> |
|
|
|
|
|
<div class="right-box" v-show="!showVoice"> |
|
|
|
|
|
|
|
|
<div class="flex" v-if="!showVoice"> |
|
|
|
|
|
<div class="right-box"> |
|
|
<h1 class="title">快捷入口</h1> |
|
|
<h1 class="title">快捷入口</h1> |
|
|
<h1 class="title-en">Quick entrance</h1> |
|
|
<h1 class="title-en">Quick entrance</h1> |
|
|
<div class="facility-list"> |
|
|
<div class="facility-list"> |
|
|
@ -23,20 +23,8 @@ |
|
|
<keyboardByWritten @del="del" @handle-word="handleLetter" v-else /> |
|
|
<keyboardByWritten @del="del" @handle-word="handleLetter" v-else /> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<!-- <div class="left-box" v-show="!keywords.length && !showVoice"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
<SearchResultList |
|
|
|
|
|
@handle-shop="handleShop" |
|
|
|
|
|
@handle-activity="handleActivity" |
|
|
|
|
|
:list="searchShopListRef" |
|
|
|
|
|
:config="config" |
|
|
|
|
|
v-show="keywords.length && !showVoice" |
|
|
|
|
|
/> --> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<div v-show="!keywords.length && !showVoice"> |
|
|
<h1 class="title">万象热搜</h1> |
|
|
<h1 class="title">万象热搜</h1> |
|
|
<h1 class="title-en">MIXC hot search</h1> |
|
|
<h1 class="title-en">MIXC hot search</h1> |
|
|
<ScrollView class="hot-scroll" :list="hotRecommend" scrollbar> |
|
|
<ScrollView class="hot-scroll" :list="hotRecommend" scrollbar> |
|
|
@ -56,11 +44,11 @@ |
|
|
</Transition> |
|
|
</Transition> |
|
|
</Teleport> |
|
|
</Teleport> |
|
|
</div> |
|
|
</div> |
|
|
<!-- <div class="search-right"> |
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<SearchResultList @handle-shop="handleShop" @handle-activity="handleActivity" :list="searchShopListRef" :config="config" v-if="keywords.length && !showVoice" /> |
|
|
|
|
|
|
|
|
<Voice @handle-question="showClassify = true" v-if="showVoice" /> |
|
|
<Voice @handle-question="showClassify = true" v-if="showVoice" /> |
|
|
</div> --> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
<div class="search-btn" @click="close"> |
|
|
<div class="search-btn" @click="close"> |
|
|
<img src="../../assets/images/search/back.png" alt="" /> |
|
|
<img src="../../assets/images/search/back.png" alt="" /> |
|
|
@ -201,7 +189,7 @@ onBeforeUnmount(() => { |
|
|
.input { |
|
|
.input { |
|
|
border: none; |
|
|
border: none; |
|
|
outline: none; |
|
|
outline: none; |
|
|
width: 255px; |
|
|
|
|
|
|
|
|
width: 262px; |
|
|
height: 78px; |
|
|
height: 78px; |
|
|
background: transparent; |
|
|
background: transparent; |
|
|
font-weight: 700; |
|
|
font-weight: 700; |
|
|
|