You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
2.6 KiB
1 lines
2.6 KiB
<view class="chat data-v-1cb55ef0" style="{{'height:'+(phoneHight)+';'}}"><far-bottom vue-id="79f70016-1" class="data-v-1cb55ef0" bind:__l="__l"></far-bottom><view class="container data-v-1cb55ef0"><scroll-view class="scrollView data-v-1cb55ef0" style="{{'height:'+(scrollHeight)+';'}}" scroll-y="true" scroll-top="{{scrollTop}}" data-event-opts="{{[['scrolltoupper',[['reachToupper',['$event']]]]]}}" bindscrolltoupper="__e"><view class="content p-top-bom-50 data-v-1cb55ef0"><block wx:for="{{chatList}}" wx:for-item="chatItem" wx:for-index="index" wx:key="index"><block class="data-v-1cb55ef0"><block wx:if="{{chatItem.is_my==='1'}}"><view class="chat-left-item dis-flex flex-y-center m-btm80 data-v-1cb55ef0"><view class="chat-avatar m-right30 data-v-1cb55ef0" style="{{'background-image:'+('url('+chatItem.avatar+')')+';'}}"></view><view class="chat-message f-28 col-3 b-f p-r data-v-1cb55ef0"><rich-text nodes="{{chatItem.content}}" class="data-v-1cb55ef0"></rich-text><view class="message-time message-time_1 f-24 col-9 data-v-1cb55ef0">{{chatItem.date_time}}</view></view></view></block><block wx:if="{{chatItem.is_my==='0'}}"><view class="chat-right-item dis-flex flex-y-center flex-x-end m-btm80 data-v-1cb55ef0"><view class="chat-message f-28 chat-message_2 col-f p-r data-v-1cb55ef0"><rich-text nodes="{{chatItem.content}}" class="data-v-1cb55ef0"></rich-text><view class="message-time message-time_2 f-24 col-9 data-v-1cb55ef0">{{chatItem.date_time}}</view></view><view class="chat-avatar m-left30 data-v-1cb55ef0" style="{{'background-image:'+('url('+chatItem.avatar+')')+';'}}"></view></view></block></block></block></view></scroll-view><view class="sendbox dis-flex flex-y-center flex-x-between padding-box-all b-f data-v-1cb55ef0"><textarea class="f-24 data-v-1cb55ef0" type="text" value="{{chatcontent}}" placeholder="请输入内容" maxlength="-1" auto-height="{{$root.g0>150?false:true}}" fixed="true" show-confirm-bar="{{false}}" cursor-spacing="20" data-event-opts="{{[['blur',[['lose',['$event']]]],['input',[['__set_model',['','chatcontent','$event',[]]]]]]}}" bindblur="__e" bindinput="__e"></textarea><view data-event-opts="{{[['tap',[['messageSend',['$event']]]]]}}" class="send-box-btn t-c col-f f-24 data-v-1cb55ef0" bindtap="__e">发送</view></view></view><phone-mask vue-id="79f70016-2" show1="{{popShow}}" data-event-opts="{{[['^clickmask1',[['closePop']]]]}}" bind:clickmask1="__e" class="data-v-1cb55ef0" bind:__l="__l"></phone-mask><getvxphone vue-id="79f70016-3" show="{{vxshow}}" data-event-opts="{{[['^showFalse',[['showFalse']]]]}}" bind:showFalse="__e" class="data-v-1cb55ef0" bind:__l="__l"></getvxphone></view>
|