$(".search-btn").click(function(){ if($("#search-input").val()!=''){ location.href='/wap/search/cloud/v/PC/searchKey/'+$("#search-input").val(); }else{ alert_sm('搜索内容不能为空'); } }) $("#search-form").submit(function(){ $(".search-btn").trigger('click'); return false; })
请登录   
意见反馈