...
|
...
|
@@ -27,7 +27,7 @@ |
|
|
<a href="{:url('Index/index')}"><img class="search_left" src="__TMPL__/public/assets/images/25.png" alt=""></a>
|
|
|
<div class="se_input">
|
|
|
<img src="__TMPL__/public/assets/images/1.png" alt="">
|
|
|
<input type="text" name="book_name" placeholder="{$search_content}" value="{$search_content}" >
|
|
|
<input type="text" name="book_name" value="{$search_content}" >
|
|
|
</div>
|
|
|
<p class="se_searchNo" onclick="my_submit()"><!--<input type="submit" placeholder="搜索" value="搜索">--> 搜索</p>
|
|
|
</div>
|
...
|
...
|
@@ -78,6 +78,7 @@ |
|
|
$.post("{:url('Index/my_search')}",{book_name:book_name},function(data){
|
|
|
data_arr = JSON.parse(data);
|
|
|
$('.in_hotLi').remove();
|
|
|
$("input[name='search_content']").val(book_name);
|
|
|
for(var i=0;i<data_arr.length;i++){
|
|
|
show_img = data_arr[i].show_img;
|
|
|
url = "{:url('Goodsdetails/Goods_details')}?goods_id="+data_arr[i].id;
|
...
|
...
|
|