Commit f47d5204 by 施宇

1111

parent c82f6320
...@@ -40,8 +40,7 @@ ...@@ -40,8 +40,7 @@
<script type="text/html" id="zqTpl"> <script type="text/html" id="zqTpl">
<div class="my_xj_list clr "> <div class="my_xj_list clr ">
{{# layui.each(d, function(index, item){ }} {{# layui.each(d, function(index, item){ }}
<div class="my_xj_item fl boxsiz" style="cursor:pointer" userid="{{item.inquiry_items_id}}" <div class="my_xj_item fl boxsiz" style="cursor:pointer" userid="{{item.inquiry_items_id}}">
offerid="{{item.offer_id}}">
<div class="item_top clr"> <div class="item_top clr">
<div class="fl num ellipsis">{{item.goods_name}}</div> <div class="fl num ellipsis">{{item.goods_name}}</div>
</div> </div>
......
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
<script type="text/html" id="xjhtml"> <script type="text/html" id="xjhtml">
<div class="my_xj_list clr "> <div class="my_xj_list clr ">
{{# layui.each(d, function(index, item){ }} {{# layui.each(d, function(index, item){ }}
<div class="my_xj_item fl boxsiz"> <div class="my_xj_item fl boxsiz xj_item" style="cursor:pointer" userid="{{item.inquiry_items_id}}">
<div class="item_top clr"> <div class="item_top clr">
<div class="fl num ellipsis">{{item.goods_name}}</div> <div class="fl num ellipsis">{{item.goods_name}}</div>
</div> </div>
......
...@@ -88,6 +88,7 @@ ...@@ -88,6 +88,7 @@
} }
.chat_content .content .content_div .notice_right .edit_img { .chat_content .content .content_div .notice_right .edit_img {
cursor: pointer; cursor: pointer;
max-width: 100%;
} }
.chat_content .content .content_div .notice_right .chat_item { .chat_content .content .content_div .notice_right .chat_item {
display: none; display: none;
......
...@@ -108,6 +108,7 @@ ...@@ -108,6 +108,7 @@
.edit_img { .edit_img {
cursor: pointer; cursor: pointer;
max-width: 100%;
} }
.chat_item { .chat_item {
......
This diff could not be displayed because it is too large.
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
withCredentials: true withCredentials: true
}, },
success: function (data) { success: function (data) {
//处理token失效的情况 //处理token失效的情况
if (data.errcode === 501 || data.err_code === 501) { if (data.errcode === 501 || data.err_code === 501) {
...@@ -55,7 +55,6 @@ ...@@ -55,7 +55,6 @@
}); });
} else { } else {
typeof callback == 'function' && callback(data); typeof callback == 'function' && callback(data);
layer.close(index); layer.close(index);
......
...@@ -86,7 +86,11 @@ $(function () { ...@@ -86,7 +86,11 @@ $(function () {
time = new Date(Util.getDay(-7)); time = new Date(Util.getDay(-7));
self.getData(spOrXj, 1,time.getTime() / 1000) self.getData(spOrXj, 1,time.getTime() / 1000)
} }
}) });
$('.goods_data_list').on('click','.xj_item',function(){
var userid = $(this).attr('userid');
window.location.href = "/quotedetail?id=" + userid
});
} }
}; };
search.init(); 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