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