搜索修改
parent
8fae6238f8
commit
ac4a658ff3
|
@ -289,8 +289,12 @@
|
|||
border: .02rem solid #868686;
|
||||
}
|
||||
|
||||
.search-input {
|
||||
.search-form{
|
||||
width: calc(100% - .6rem);
|
||||
}
|
||||
|
||||
.search-input {
|
||||
width: 100%;
|
||||
line-height: .8rem;
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
|
|
@ -148,4 +148,13 @@ jQuery(function($){
|
|||
}
|
||||
});
|
||||
}
|
||||
|
||||
// 搜索
|
||||
$('.search-form').on('submit',function(){
|
||||
console.log('搜索关键词',$('.search-input').val())
|
||||
// 查询结果
|
||||
// getList();
|
||||
// 取消提交表单
|
||||
return false;
|
||||
})
|
||||
})
|
|
@ -18,7 +18,7 @@
|
|||
<body class="business-body">
|
||||
<!-- 商户搜索 -->
|
||||
<div class="search radius25 border-box flex">
|
||||
<form action="">
|
||||
<form action="" class="search-form">
|
||||
<input class="search-input font24" type="search" placeholder="商户搜索" autocomplete="off">
|
||||
</form>
|
||||
<img src="../images/icon/icon-search.png" alt="搜索">
|
||||
|
|
Loading…
Reference in New Issue