|
|
|
|
|
|
|
|
<image class='other-head-img' src='{{item.senderHeadPortrait}}'></image> |
|
|
<image class='other-head-img' src='{{item.senderHeadPortrait}}'></image> |
|
|
<view class='other-record-content-triangle'></view> |
|
|
<view class='other-record-content-triangle'></view> |
|
|
<view class='other-record-content' style="user-select:text!important;-webkit-user-select:text"> |
|
|
<view class='other-record-content' style="user-select:text!important;-webkit-user-select:text"> |
|
|
<text selectable="{{true}}" user-select='true'>{{item.content}}</text> |
|
|
|
|
|
|
|
|
<text selectable="{{true}}" user-select='true'> |
|
|
|
|
|
{{item.content}} |
|
|
|
|
|
</text> |
|
|
<!-- <view class="msg-isRead left">{{ item.isRead ? '已读' : '未读' }}</view> --> |
|
|
<!-- <view class="msg-isRead left">{{ item.isRead ? '已读' : '未读' }}</view> --> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
</view> |
|
|
</view> |
|
|
<view class='own-record'> |
|
|
<view class='own-record'> |
|
|
<view class='own-record-content' style="user-select:text!important;-webkit-user-select:text"> |
|
|
<view class='own-record-content' style="user-select:text!important;-webkit-user-select:text"> |
|
|
<text selectable="{{true}}" user-select='true'>{{item.content}}</text> |
|
|
|
|
|
|
|
|
<text selectable="{{true}}" user-select='true'> |
|
|
|
|
|
{{item.content}} |
|
|
|
|
|
</text> |
|
|
<view class="msg-isRead right"> |
|
|
<view class="msg-isRead right"> |
|
|
{{ item.isRead ? '已读' : '未读' }} |
|
|
{{ item.isRead ? '已读' : '未读' }} |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view wx:else class="product-item-view" bindtap="goDetails" data-value="{{ item.transactionId }}"> |
|
|
<view wx:else class="product-item-view" bindtap="goDetails" data-value="{{ item.transactionId }}"> |
|
|
<view class="content-view"> |
|
|
<view class="content-view"> |
|
|
<view class="product-info-item">{{ item.object.info }}</view> |
|
|
<view class="product-info-item">{{ item.object.info }}</view> |
|
|
<view class="product-send-time">{{ item.date }} 由{{ receiveMemberId != item.sender ? '对方':'你' }}发起沟通</view> |
|
|
|
|
|
|
|
|
<view class="product-send-time"> |
|
|
|
|
|
{{ item.date }} 由{{ receiveMemberId != item.sender ? '对方':'你' }}发起沟通 |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</block> |
|
|
</block> |
|
|
|
|
|
|
|
|
<!-- 图片消息 左 --> |
|
|
<!-- 图片消息 左 --> |
|
|
<view wx:elif="{{item.type==1 && item.messageType == 2}}" id="scrollid{{index}}"> |
|
|
<view wx:elif="{{item.type==1 && item.messageType == 2}}" id="scrollid{{index}}"> |
|
|
<view> |
|
|
<view> |
|
|
<text class='chat-time' style="display:none;" user-select='true'>{{item.date}}</text> |
|
|
|
|
|
|
|
|
<text class='chat-time' style="display:none;" user-select='true'> |
|
|
|
|
|
{{item.date}} |
|
|
|
|
|
</text> |
|
|
</view> |
|
|
</view> |
|
|
<view class='other-record'> |
|
|
<view class='other-record'> |
|
|
<image class='other-head-img' src='{{receivebaseInfo.avatar}}'></image> |
|
|
<image class='other-head-img' src='{{receivebaseInfo.avatar}}'></image> |
|
|
|
|
|
|
|
|
<view wx:else class="product-item-view" bindtap="goDetails" data-value="{{ item.transactionId }}"> |
|
|
<view wx:else class="product-item-view" bindtap="goDetails" data-value="{{ item.transactionId }}"> |
|
|
<view class="content-view"> |
|
|
<view class="content-view"> |
|
|
<view class="product-info-item">{{ item.object.info }}</view> |
|
|
<view class="product-info-item">{{ item.object.info }}</view> |
|
|
<view class="product-send-time">{{ item.date }} 由{{ receiveMemberId != item.sender ? '对方':'你' }}发起沟通</view> |
|
|
|
|
|
|
|
|
<view class="product-send-time"> |
|
|
|
|
|
{{ item.date }} 由{{ receiveMemberId != item.sender ? '对方':'你' }}发起沟通 |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</block> |
|
|
</block> |
|
|
<view id="sendmessage"></view> |
|
|
<view id="sendmessage"></view> |
|
|
</scroll-view> |
|
|
</scroll-view> |
|
|
|
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="sendmessage"> |
|
|
<view class="sendmessage"> |
|
|
<view class="send-message"> |
|
|
<view class="send-message"> |
|
|
<input class="chat-input" type="text" bindinput="bindChange" confirm-type="send" value='{{input}}' cursor-spacing="16px" hold-keyboard="{{true}}" placeholder="" bindconfirm="send" focus="{{inputShowed}}" /> |
|
|
|
|
|
|
|
|
<van-cell-group> |
|
|
|
|
|
<van-field value="{{ input }}" placeholder="" border="{{ false }}" bind:change="bindChange" /> |
|
|
|
|
|
</van-cell-group> |
|
|
|
|
|
<!-- <input class="chat-input" type="text" bindinput="bindChange" confirm-type="send" value='{{input}}' cursor-spacing="16px" hold-keyboard="{{true}}" placeholder="" bindconfirm="send" focus="{{inputShowed}}" /> --> |
|
|
<image class="expression-msg-img" src="/images/home/expression-msg-icon.png" bind:tap="emotionChange" /> |
|
|
<image class="expression-msg-img" src="/images/home/expression-msg-icon.png" bind:tap="emotionChange" /> |
|
|
<image class="img-msg-img" src="/images/home/img-msg-icon.png" bindtap="upImg" /> |
|
|
<image class="img-msg-img" src="/images/home/img-msg-icon.png" bindtap="upImg" /> |
|
|
</view> |
|
|
</view> |