This commit is contained in:
2022-02-08 11:05:21 +08:00
parent 85f9a091c9
commit 4020f1f6eb
3 changed files with 39 additions and 40 deletions

View File

@@ -36,7 +36,7 @@
@success="getMessageList" />
<sent-text v-if="chatType === 1" :conversationType="conversationType" :targetId="targetId"
@success="getMessageList" />
<view class="msg-type msg-push" @click="showPopups = !showPopups">
<view class="msg-type" @click="showPopups = !showPopups">
<image class="icon" src="@/static/icon/popups-icon.png"></image>
</view>
</view>
@@ -73,7 +73,8 @@
portraitUrl: ''
},
chatType: 1, // 0 语音1 文本
showPopups: false
showPopups: false,
inputFocus: false // 输入框是否获得了焦点
}
},
components: {
@@ -197,11 +198,11 @@
}
&.right {
flex-direction: row-reverse;
.state {
flex-direction: row;
justify-content: flex-end;
flex-direction: row-reverse;
.state {
flex-direction: row;
justify-content: flex-end;
}
}