jquery实现搜索功能
2024-11-25 16:16:54
<script> function _search(){ var val = $(".banner-search__search").val(); if(!val){ layer.msg('不能为空'); return false; } location.href='/index.php?s=mall&c=search&m=show&keywords='+val; } </script>