<view class="m-item" id="{{'message'+cid}}"><view class="m-left"><block wx:if="{{message.user=='home'}}"><image class="head_icon" src="/static/img/img004.png"></image></block></view><view class="m-content"><view class="{{['m-content-head',(message.user=='customer')?'m-content-head-right':'']}}"><view class="{{['m-content-head-'+message.user]}}"><rich-text nodes="{{$root.g0}}"></rich-text></view></view></view><view class="m-right"><block wx:if="{{message.user=='customer'}}"><image class="head_icon" src="/static/img/img004.png"></image></block></view></view>