提交
This commit is contained in:
parent
43e6f61a0d
commit
1559002cd5
@ -18,8 +18,7 @@
|
||||
popper-style="background: transparent;padding:0;box-shadow: none;border: none;transform: translateX(50px);">
|
||||
<template #reference>
|
||||
<el-input class="search-input" v-model="pitchValue['keyword']" placeholder="搜索房源或输入房源ID"
|
||||
@keyup.enter='seachList' style="height:48px;width:460px;"></el-input>
|
||||
|
||||
@keyup.enter='handleKeyword' style="height:48px;width:460px;"></el-input>
|
||||
</template>
|
||||
<div class="dis-f al-item pos-r">
|
||||
<div class="seach-hiosory-box scrollbar" :class="{ 'seach-history-h': historyShow }">
|
||||
@ -74,8 +73,6 @@
|
||||
</div>
|
||||
<!-- <img class="QR-code" :src="wechat['wechatqrcode']" alt=""> -->
|
||||
</el-popover>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<!-- 展示的 展开和隐藏按钮 -->
|
||||
@ -255,8 +252,12 @@ const rentInput = () => clearingAmountState = false
|
||||
|
||||
// 点击历史搜索和热门推荐
|
||||
const handleKeyword = value => {
|
||||
|
||||
// pitchValue.value['keyword'] = value
|
||||
|
||||
console.log(pitchValue.value['keyword'], "pitchValue.value['keyword']");
|
||||
|
||||
return
|
||||
if (!value) value = pitchValue.value['keyword']
|
||||
|
||||
router.push(`/seachPage?keyword=${value}`)
|
||||
|
Loading…
x
Reference in New Issue
Block a user