HHSLinkSLink/HSLink-app/unpackage/dist/build/mp-weixin/pages/tabbar/message/chat-page.wxml

1 line
2.0 KiB
Plaintext
Raw Normal View History

2020-12-19 12:13:27 +08:00
<view class="pages data-v-54408d5d"><view class="cu-chat data-v-54408d5d" 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="{{['cu-item data-v-54408d5d',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-54408d5d" bindtap="__e"><avatar vue-id="{{'707b7f22-1-'+index}}" userName="{{otherInfo.real_name}}" size="45" class="data-v-54408d5d" bind:__l="__l"></avatar></view></block><view class="main data-v-54408d5d"><view class="{{['content shadow data-v-54408d5d',item.m1]}}"><text class="data-v-54408d5d">{{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-54408d5d" bindtap="__e"><avatar vue-id="{{'707b7f22-2-'+index}}" userName="{{userInfo.real_name}}" size="45" class="data-v-54408d5d" bind:__l="__l"></avatar></view></block><view class="date data-v-54408d5d">{{item.$orig.letter_create_time}}</view></view></block></view><view class="cu-bar foot input data-v-54408d5d" style="{{'bottom:'+(InputBottom+'px')+';'}}"><view class="action data-v-54408d5d"><text class="cuIcon-sound text-grey data-v-54408d5d"></text></view><input class="solid-bottom data-v-54408d5d" 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-54408d5d"><text class="cuIcon-emojifill text-grey data-v-54408d5d"></text></view><button data-event-opts="{{[['tap',[['sendMessage',['$event']]]]]}}" class="cu-btn bg-green shadow data-v-54408d5d" bindtap="__e">发送</button></view></view>