Commit 1131a069 by 施宇

1111

parent f82041c9
......@@ -63,7 +63,7 @@
<script type="text/html" id="sphtml">
<div class="my_xj_list clr ">
{{# layui.each(d, function(index, item){ }}
<div class="my_xj_item fl boxsiz sp_item" goodid="{{item.goods_id}}" style="cursor:pointer">
<div class="my_xj_item fl boxsiz sp_item" goodid="{{item.goods_id}}" style="cursor:pointer">
<div class="item_top clr">
<div class="fl num ellipsis">{{item.goods_name}}</div>
</div>
......@@ -163,9 +163,13 @@
{{# }); }}
</div>
{{# if(d.length === 0){ }}
<div class="no_data" style="padding:60px 0 60px">
<div class="no_data">
<img src="__PUBLIC__/images/nosearchdata.png" alt="">
<p class="bold">未搜索到相关信息</p>
<div class="customer">
<img src="__PUBLIC__/icons/customer.png" alt="" class="va-m">
<span class="lx_cus">联系客服帮您找</span>
</div>
</div>
{{# } }}
</script>
......
......@@ -173,7 +173,7 @@
$('#nav_logo').on('click',function(){
var token = Util.getCookie('token') || "";
if(token){
window.location.href = index_url;
window.location.href = '/homes';
}else{
window.location.href = index_url;
}
......
......@@ -136,6 +136,9 @@ $(function () {
var goodid = $(this).attr('goodid');
window.location.href = "/gooddetail?type=2&id=" + goodid
});
$('.goods_data_list').on('click', '.lx_cus', function () {
window.location.href = "/chat"
});
}
};
search.init();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment