<view class="chat-bottom"><view style="{{'height:'+(height)+';'}}"></view><view class="safe-area-inset-bottom"></view><view class="chat-down-box u-flex-col u-col-center"><block wx:if="{{isjianpan}}"><view class="chat-down-btn u-flex u-row-between"><block wx:if="{{showtype==2}}"><image class="img2" src="/static/images/jianpan.png" mode data-event-opts="{{[['tap',[['openchangyong',['$event']]]]]}}" bindtap="__e"></image></block><block wx:else><text data-event-opts="{{[['tap',[['openchangyong',['$event']]]]]}}" class="changyong" bindtap="__e">常</text></block><input class="input" cursor-spacing="{{15}}" type="text" confirm-type="send" placeholder="请输入消息内容…" data-event-opts="{{[['confirm',[['send',['$event']]]],['input',[['__set_model',['','text','$event',[]]]]]]}}" value="{{text}}" bindconfirm="__e" bindinput="__e"/><image class="img1" src="/static/images/biaoqing.png" mode data-event-opts="{{[['tap',[['openemoji',['$event']]]]]}}" bindtap="__e"></image><block wx:if="{{text}}"><text data-event-opts="{{[['tap',[['send',['$event']]]]]}}" class="send" bindtap="__e">发送</text></block><block wx:else><block wx:if="{{showtype==1}}"><image class="img2" src="/static/images/jianpan.png" mode data-event-opts="{{[['tap',[['openmore',['$event']]]]]}}" bindtap="__e"></image></block><block wx:else><block wx:if="{{showtype!=1}}"><image class="img2" src="/static/images/wenjian.png" mode data-event-opts="{{[['tap',[['openmore',['$event']]]]]}}" bindtap="__e"></image></block></block></block></view></block><block wx:else><view class="chat-down-btn luyin u-flex u-row-between"><image class="img2" src="/static/images/jianpan.png" mode data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" bindtap="__e"></image><button data-event-opts="{{[['longpress',[['longpressBtn']]],['touchend',[['touchendBtn']]]]}}" class="{{['record-btn',longPress=='1'?'record-btn-1':'record-btn-2']}}" bindlongpress="__e" bindtouchend="__e"><text>{{longPress=='1'?'按住说话':'说话中...'}}</text></button></view></block><block wx:if="{{longPress=='2'}}"><view class="prompt-layer prompt-layer-1"><view class="prompt-loader"><block wx:for="{{15}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="em"></view></block></view><text class="span">松手结束录音</text></view></block><block wx:if="{{showtype==1}}"><view class="more-box u-flex acenter"><view data-event-opts="{{[['tap',[['toalbum',['$event']]]]]}}" class="more-item u-flex-col u-col-center" bindtap="__e"><view class="item-img u-flex u-row-center"><image src="/static/images/more2.png" mode></image></view><view class="item-text">相册</view></view><view data-event-opts="{{[['tap',[['tocapture',['$event']]]]]}}" class="more-item u-flex-col u-col-center" bindtap="__e"><view class="item-img u-flex u-row-center"><image src="/static/images/more3.png" mode></image></view><view class="item-text">拍摄</view></view><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="more-item u-flex-col u-col-center" bindtap="__e"><view class="item-img u-flex u-row-center"><image src="/static/images/more4.png" mode></image></view><view class="item-text">语音</view></view></view></block><block wx:if="{{showtype==2}}"><view class="changyong-box u-flex-col"><scroll-view class="changyong-scroll u-flex-1" scroll-y="true"><block wx:for="{{changlist}}" wx:for-item="a" wx:for-index="b" wx:key="b"><view data-event-opts="{{[['tap',[['select',['$0'],[[['changlist','',b]]]]]]]}}" class="changyong-text" bindtap="__e">{{a.content+''}}</view></block></scroll-view><view class="changyong-btn u-flex u-row-between"><text data-event-opts="{{[['tap',[['toadd',['$event']]]]]}}" class="text1" bindtap="__e">新增</text><text class="text2"></text><text data-event-opts="{{[['tap',[['tolist',['$event']]]]]}}" class="text1" bindtap="__e">管理</text></view></view></block><block wx:if="{{showtype==3}}"><scroll-view class="emoji-scroll" scroll-y="true"><view class="empji-box u-flex u-flex-wrap"><block wx:for="{{emoji}}" wx:for-item="a" wx:for-index="b" wx:key="b"><text data-event-opts="{{[['tap',[['changeemoji',['$0'],[[['emoji','',b]]]]]]]}}" bindtap="__e">{{a}}</text></block></view></scroll-view></block><view class="safe-area-inset-bottom"></view></view></view>