Browse Source

提交代码

release/210823_需求对对碰
parent
commit
ace6b82c66
2 changed files with 6 additions and 4 deletions
  1. 5
    3
      pages/msgModule/wechat2/wechat2.js
  2. 1
    1
      pages/msgModule/wechat2/wechat2.wxml

+ 5
- 3
pages/msgModule/wechat2/wechat2.js View File

@@ -136,9 +136,7 @@ Page({
list = _this.data.newsList;
let _data = JSON.parse(res.data);
_data.chatRecord = JSON.parse(_data.chatRecord);
console.log('--------------对方给你发消息拉 beg -------------')
console.log(_data);
console.log('--------------对方给你发消息拉 end -------------')
let msgData = {};
// type 0 自己 1 对方
if (_data.chatRecord.sender != _this.data.receiveMemberId) {
@@ -155,6 +153,10 @@ Page({
})
_this.setMsgRead('newsList', _this.data.newsList, 0)
_this.scrollBottom()
console.log('--------------对方给你发消息拉 beg -------------')
console.log(_data);
console.log(_this.data.newsList)
console.log('--------------对方给你发消息拉 end -------------')
},
)


+ 1
- 1
pages/msgModule/wechat2/wechat2.wxml View File

@@ -70,7 +70,7 @@
<view wx:else class="product-item-view" bindtap="goDetails" data-value="{{ item.transactionId }}">
<view class="content-view">
<view class="product-info-item">{{ item.object.info }}</view>
<view class="product-send-time">{{ item.date }} 由你发起沟通</view>
<view class="product-send-time">{{ item.date }} 由{{ receiveMemberId != item.sender ? '对方':'' }}发起沟通</view>
</view>
</view>
</block>

Loading…
Cancel
Save