历史搜索框添加滚动条

This commit is contained in:
2023-08-07 14:52:53 +08:00
parent e2e583532d
commit 6e67e1dfd4

View File

@@ -20,6 +20,7 @@
搜索
</div>
<div class="seach-hiosory-box" :class="{ 'seach-history-h': historyShow }">
<el-scrollbar height="375px">
<div class="seach-history-info">
<div>
<div class="title">
@@ -44,6 +45,7 @@
</div>
</div>
</div>
</el-scrollbar>
</div>
</div>
<!-- <div class="tool-btn dis-f jus-x al-item map-btn">
@@ -185,9 +187,9 @@ let seachList = (item) => {
}
//设置点击一级区域
let setLocation=(type,data)=>{
let setLocation = (type, data) => {
seachAllType[type] = data
seachAllType['school']=''
seachAllType['school'] = ''
}
//设置搜索数据
@@ -401,6 +403,8 @@ defineExpose({
.btn {
margin: 20px 30px 0 0;
cursor: pointer;
word-wrap: break-word;
max-width: 100%;
}
}
}