|
@@ -20,6 +20,7 @@
|
|
|
placeholder="搜索商铺名称或商铺编号"
|
|
|
:remote-method="serchShop"
|
|
|
@change="serchShopChange"
|
|
|
+ @focus="getShopFocus"
|
|
|
:clearable="true"
|
|
|
@clear="clearShop"
|
|
|
prefix-icon="el-icon-search"
|
|
@@ -343,7 +344,12 @@ export default {
|
|
|
// 高亮商铺
|
|
|
this.clickMapPlace(shopItem.item);
|
|
|
}
|
|
|
- })
|
|
|
+ });
|
|
|
+
|
|
|
+ },
|
|
|
+ // 获取焦点
|
|
|
+ getShopFocus(){
|
|
|
+ document.getElementsByClassName('serchShop')[0].style.zIndex = "999"
|
|
|
},
|
|
|
/**
|
|
|
* 点击图标事件
|
|
@@ -892,6 +898,7 @@ export default {
|
|
|
// 清空搜索框
|
|
|
this.options = [];
|
|
|
this.serchmsg = '';
|
|
|
+ document.getElementsByClassName('serchShop')[0].style.zIndex = "2"
|
|
|
},
|
|
|
// 选中电井关联的商铺高亮
|
|
|
setHightLight(arr) {
|