提交聊天
This commit is contained in:
@@ -294,6 +294,8 @@ Component({
|
||||
isEmoji: false,
|
||||
text: '按住说话',
|
||||
focus: false,
|
||||
message:'',
|
||||
sendMessageBtn:false
|
||||
});
|
||||
this.setData({
|
||||
displayFlag: '',
|
||||
@@ -443,6 +445,7 @@ Component({
|
||||
}
|
||||
this.setData({
|
||||
displayFlag: targetFlag,
|
||||
isAudio:false
|
||||
});
|
||||
var myEventDetail = {} // detail对象,提供给事件监听函数
|
||||
myEventDetail.displayFlag = targetFlag;
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
<view class="TUI-sendMessage-btn" wx:if="{{ has_emoji }}">
|
||||
<image class="TUI-icon" bindtap="handleEmoji" src="../../../../static/assets/face-emoji.svg" />
|
||||
</view>
|
||||
<view class="TUI-sendMessage-btn" wx:if="{{!isAudio || isEmoji}}">
|
||||
<view class="TUI-sendMessage-btn" >
|
||||
<view wx:if="{{!sendMessageBtn}}" bindtap="handleExtensions" class="TUI-sendMessage-btn">
|
||||
<image class="TUI-icon" src="{{static_host}}/applet/doctor/static/images/chat/tianjia.png" />
|
||||
</view>
|
||||
|
||||
@@ -111,7 +111,7 @@
|
||||
border-radius: 10rpx;
|
||||
color: #fff;
|
||||
max-height: 200rpx;
|
||||
padding: 20rpx 0;
|
||||
padding: 13rpx 0;
|
||||
height: 50rpx;
|
||||
}
|
||||
.TUI-sendMessage-btn-input{
|
||||
|
||||
Reference in New Issue
Block a user