<view class="chat-message" data-theme="{{themeStyle}}"><block wx:if="{{message.contentType=='sendGood'}}"><block><ns-chat-goods vue-id="2ba1227c-1" isCanSend="{{send}}" skuId="{{message.sku_id}}" data-event-opts="{{[['^sendMsg',[['sendGood']]]]}}" bind:sendMsg="__e" bind:__l="__l"></ns-chat-goods></block></block><block wx:if="{{message.contentType=='sendOrder'}}"><block><ns-chat-order vue-id="2ba1227c-2" isCanSend="{{send}}" orderId="{{message.order_id}}" data-event-opts="{{[['^sendMsg',[['sendOrder']]]]}}" bind:sendMsg="__e" bind:__l="__l"></ns-chat-order></block></block><block wx:if="{{message.contentType=='string'}}"><view class="message"><view class="{{['message-item ',message.isItMe?'right':'left']}}"><block wx:if="{{message.isItMe}}"><block><view class="head_img"><block wx:if="{{myHeadImg}}"><image class="img" src="{{myHeadImg}}" mode="aspectFill" data-event-opts="{{[['error',[['e0',['$event']]]]]}}" binderror="__e"></image></block><block wx:else><image class="img" src="{{defaultHead}}" mode="aspectFill"></image></block></view></block></block><block wx:else><block><view class="head_img"><block wx:if="{{avatar}}"><image class="img" src="{{avatar}}" mode="aspectFill" data-event-opts="{{[['error',[['e1',['$event']]]]]}}" binderror="__e"></image></block><block wx:else><image class="img" src="{{defaultAvatar}}" mode="aspectFill"></image></block></view></block></block><view class="chat_text"><block wx:if="{{message.isItMe&&!message.sendStatus}}"><text class="iconfont iconwarn margin-right"></text></block><view class="content"><rich-text nodes="{{$root.m0}}"></rich-text></view></view></view></view></block><block wx:if="{{message.contentType=='image'}}"><view class="message"><view class="{{['message-item ',message.isItMe?'right':'left']}}"><block wx:if="{{message.isItMe}}"><block><view class="head_img"><block wx:if="{{myHeadImg}}"><image class="img" src="{{myHeadImg}}" mode="aspectFill" data-event-opts="{{[['error',[['e2',['$event']]]]]}}" binderror="__e"></image></block><block wx:else><image class="img" src="{{defaultHead}}" mode="aspectFill"></image></block></view></block></block><block wx:else><block><view class="head_img"><block wx:if="{{avatar}}"><image class="img" src="{{avatar}}" mode="aspectFill" data-event-opts="{{[['error',[['e3',['$event']]]]]}}" binderror="__e"></image></block><block wx:else><image class="img" src="{{defaultAvatar}}" mode="aspectFill"></image></block></view></block></block><view class="chat_img"><block wx:if="{{message.isItMe&&!message.sendStatus}}"><text class="iconfont iconwarn margin-right color-base-text"></text></block><view data-event-opts="{{[['tap',[['previewMedia',[$root.g0]]]]]}}" class="content_img" style="{{'background-image:'+('url('+$root.g1+')')+';'+('background-position:'+(message.isItMe?'center right':'center left')+';')}}" bindtap="__e"></view></view></view></view></block><block wx:else><block wx:if="{{message.contentType=='goods'}}"><view><ns-chat-goods vue-id="2ba1227c-3" isCanSend="{{!1}}" skuId="{{message.sku_id}}" bind:__l="__l"></ns-chat-goods></view></block><block wx:else><block wx:if="{{message.contentType=='order'}}"><view><ns-chat-order vue-id="2ba1227c-4" isCanSend="{{!1}}" orderId="{{message.order_id}}" bind:__l="__l"></ns-chat-order></view></block></block></block><block wx:if="{{message.contentType=='noline'}}"><view class="no-connect-box"><view class="no-connect">客服不在线</view></view></block><block wx:if="{{message.contentType=='online'}}"><view class="no-connect-box"><view class="no-connect">客服在线</view></view></block><uni-popup class="vue-ref" vue-id="2ba1227c-5" type="center" data-ref="imgPopup" bind:__l="__l" vue-slots="{{['default']}}"><view class="imagePop"><image src="{{$root.g2}}" mode="aspectFit"></image></view></uni-popup></view>