Commit cbc2282a by 胡悦

修改搜索

1 parent b65475f6
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2022-04-27 10:28:50 * @Date: 2022-04-27 10:28:50
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2022-05-06 09:51:07 * @LastEditTime: 2022-05-06 17:29:35
--> -->
<template> <template>
...@@ -21,10 +21,10 @@ ...@@ -21,10 +21,10 @@
<li>无数据</li> <li>无数据</li>
</template> </template>
</ul> </ul>
<el-input slot="reference" style="width: 320px" v-model="searchKey.merchantName" :size="size" @input="handleInput" @blur="handleBlur" placeholder="请输入内容"> <el-input slot="reference" debounce style="width: 320px" v-model="searchKey.merchantName" :size="size" @input="handleInput" @blur="handleBlur" placeholder="请输入内容">
<!-- <i slot="suffix" class="el-input__icon el-icon-arrow-down" :class="isOpen ? 'is-focus' : ''"></i> --> <!-- <i slot="suffix" class="el-input__icon el-icon-arrow-down" :class="isOpen ? 'is-focus' : ''"></i> -->
<template slot="append"> <template slot="append">
<div class="input_append" @click="arrowClick"> <div class="input_append" @click.stop="arrowClick">
<img src="@/assets/add_merchant.png" alt="" /> <img src="@/assets/add_merchant.png" alt="" />
</div> </div>
</template> </template>
...@@ -123,7 +123,8 @@ export default { ...@@ -123,7 +123,8 @@ export default {
}, },
methods: { methods: {
arrowClick() { arrowClick() {
this.isOpen = !this.isOpen console.log(1)
this.isOpen = true
this.visible = false this.visible = false
if (this.isOpen) { if (this.isOpen) {
this.$refs.merchantTree.visible = true this.$refs.merchantTree.visible = true
...@@ -208,8 +209,8 @@ export default { ...@@ -208,8 +209,8 @@ export default {
border: 1px solid #5850ff; border: 1px solid #5850ff;
} }
.input_append { .input_append {
width: 40px; width: 38px;
height: 36px; height: 30px;
} }
</style> </style>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!