|
|
|
|
@ -134,12 +134,12 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="icon-text">{{ "发送职位" }}</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="send-more-panel-item-wrapper">
|
|
|
|
|
<!-- <div class="send-more-panel-item-wrapper">
|
|
|
|
|
<div class="send-more-panel-item" @tap="(event) => handleSetting()">
|
|
|
|
|
<Icon type="icon-shezhi" :size="30"></Icon>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="icon-text">设置</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div> -->
|
|
|
|
|
|
|
|
|
|
<!-- <div class="msg-input-button">
|
|
|
|
|
<Icon @tap="handleSetting" type="icon-shezhi" :size="20" />
|
|
|
|
|
@ -158,7 +158,7 @@
|
|
|
|
|
import Face from "./face.vue";
|
|
|
|
|
import VoicePanel from "./voice-panel.vue";
|
|
|
|
|
import Icon from "../../../components/Icon.vue";
|
|
|
|
|
import { ref, getCurrentInstance, computed, onUnmounted, onMounted, defineProps, withDefaults,defineEmits } from "../../../utils/transformVue";
|
|
|
|
|
import { ref, getCurrentInstance, computed, onUnmounted, onMounted, defineProps, withDefaults, defineEmits,watch } from "../../../utils/transformVue";
|
|
|
|
|
import { ALLOW_AT, events, REPLY_MSG_TYPE_MAP } from "../../../utils/constants";
|
|
|
|
|
import { emojiMap } from "../../../utils/emoji";
|
|
|
|
|
import { t } from "../../../utils/i18n";
|
|
|
|
|
@ -385,7 +385,7 @@ const keyboardheightchange = (e) => {
|
|
|
|
|
|
|
|
|
|
// 输入框定位适配
|
|
|
|
|
// #ifdef MP-WEIXIN
|
|
|
|
|
const availableHeight = systemInfo.windowHeight - e.detail.height - safeBottom - 134;
|
|
|
|
|
const availableHeight = systemInfo.windowHeight - e.detail.height - safeBottom - 120;
|
|
|
|
|
uni.$emit("msgKeyHeight", availableHeight); // 传递实际可用高度
|
|
|
|
|
|
|
|
|
|
writeStyle.value = `bottom: calc(${e.detail.height}px - env(safe-area-inset-bottom))`;
|
|
|
|
|
@ -548,7 +548,13 @@ const handleEmojiVisible = () => {
|
|
|
|
|
uni.$emit(events.ON_SCROLL_BOTTOM);
|
|
|
|
|
}, 100);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
watch(sendMoreVisible, (val) => {
|
|
|
|
|
if (val) {
|
|
|
|
|
uni.$emit("msgKeyHeight", uni.getSystemInfoSync().windowHeight - 320); // 传递实际可用高度
|
|
|
|
|
} else {
|
|
|
|
|
uni.$emit("msgKeyHeight", "100%"); // 传递实际可用高度
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
// 显示发送更多"+"面板
|
|
|
|
|
const handleSendMoreVisible = () => {
|
|
|
|
|
if (isTeamMute.value) return;
|
|
|
|
|
|