Commit 47589bcc by 施宇

1111

parent ab06d6e9
......@@ -151,7 +151,7 @@
</div> -->
</div>
<div class="bottom clr">
<div class="gt_div fl btn btn_yellow" imid="{{item.im_username}}" userid="{{item.user_id}}">
<div class="gt_div fl btn btn_yellow" imid="{{item.im_username}}" userid="{{item.user_id}}" avatar="{{item.avatar}}">
<span class="icon iconfont iconjuxing7 va-m"></span>
在线沟通
</div>
......
......@@ -81,6 +81,7 @@ $(function () {
self.isClick = false;
var userId = $(this).attr('imid'),
id = $(this).attr('userid'),
userImg = $(this).attr('avatar'),
parent = $(this).parents('.bj_item'),
type = parent.find('.goods_name').text(),
price = parent.find('.price').text(),
......@@ -103,8 +104,10 @@ $(function () {
time: time,
goodImage: img,
userName: name,
targetId:id
targetId:id,
userImg:userImg
};
Util.setCookie('templateBoolean', '1', 1, cookieHostname)
Util.setCookie('template', JSON.stringify(obj), 1, cookieHostname)
window.location.href = '/chat'
} else {
......
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