HHSLinkSLink/HSLink-wx/unpackage/dist/dev/mp-weixin/pages/tabbar/message/chat-page.wxml

1 line
1.9 KiB
Plaintext
Raw Permalink Normal View History

2020-12-19 12:13:27 +08:00
<view class="pages data-v-09426338"><view class="cu-chat data-v-09426338" style="{{'margin-bottom:'+(50+InputBottom+'px')+';'}}" id="chart-page"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{item.m0}}"><block wx:if="{{item.$orig.send_id!==userInfo.user_id}}"><view data-event-opts="{{[['tap',[['goToOther',['$0'],[[['letterList','',index]]]]]]]}}" class="cu-avatar radius data-v-09426338" bindtap="__e"><avatar vue-id="{{'707b7f22-1-'+index}}" userName="{{otherInfo.real_name}}" size="45" class="data-v-09426338" bind:__l="__l"></avatar></view></block><view class="main data-v-09426338"><view class="{{item.m1}}"><text class="data-v-09426338">{{item.$orig.content}}</text></view></view><block wx:if="{{item.$orig.send_id===userInfo.user_id}}"><view data-event-opts="{{[['tap',[['goToMy',['$event']]]]]}}" class="cu-avatar radius data-v-09426338" bindtap="__e"><avatar vue-id="{{'707b7f22-2-'+index}}" userName="{{userInfo.real_name}}" size="45" class="data-v-09426338" bind:__l="__l"></avatar></view></block><view class="date data-v-09426338">{{item.$orig.letter_create_time}}</view></view></block></view><view class="cu-bar foot input data-v-09426338" style="{{'bottom:'+(InputBottom+'px')+';'}}"><view class="action data-v-09426338"><text class="cuIcon-sound text-grey data-v-09426338"></text></view><input class="solid-bottom data-v-09426338" adjust-position="{{false}}" focus="{{false}}" maxlength="300" cursor-spacing="10" data-event-opts="{{[['focus',[['InputFocus',['$event']]]],['blur',[['InputBlur',['$event']]]],['input',[['__set_model',['','messageContent','$event',[]]]]]]}}" value="{{messageContent}}" bindfocus="__e" bindblur="__e" bindinput="__e"/><view class="action data-v-09426338"><text class="cuIcon-emojifill text-grey data-v-09426338"></text></view><button data-event-opts="{{[['tap',[['sendMessage',['$event']]]]]}}" class="cu-btn bg-green shadow data-v-09426338" bindtap="__e">发送</button></view></view>