cyl/master-0822
wangxia 3 months ago
parent 41b5a0c064
commit fe66e9c508

@ -520,7 +520,7 @@ const getList = ($type = "init") => {
}) })
); );
} }
console.log('query.value.list',query.value.list) console.log("query.value.list", query.value.list);
} }
); );
}; };
@ -552,7 +552,8 @@ const sendJob = (_item) => {
msg: customMsg, msg: customMsg,
conversationId, conversationId,
sendBefore: () => { sendBefore: () => {
jobListShow.value = false jobListShow.value = false;
uni.$emit(events.ON_SCROLL_BOTTOM);
// scrollBottom(); // scrollBottom();
}, },
}); });

@ -134,12 +134,12 @@
</div> </div>
<div class="icon-text">{{ "发送职位" }}</div> <div class="icon-text">{{ "发送职位" }}</div>
</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()"> <div class="send-more-panel-item" @tap="(event) => handleSetting()">
<Icon type="icon-shezhi" :size="30"></Icon> <Icon type="icon-shezhi" :size="30"></Icon>
</div> </div>
<div class="icon-text">设置</div> <div class="icon-text">设置</div>
</div> </div> -->
<!-- <div class="msg-input-button"> <!-- <div class="msg-input-button">
<Icon @tap="handleSetting" type="icon-shezhi" :size="20" /> <Icon @tap="handleSetting" type="icon-shezhi" :size="20" />
@ -158,7 +158,7 @@
import Face from "./face.vue"; import Face from "./face.vue";
import VoicePanel from "./voice-panel.vue"; import VoicePanel from "./voice-panel.vue";
import Icon from "../../../components/Icon.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 { ALLOW_AT, events, REPLY_MSG_TYPE_MAP } from "../../../utils/constants";
import { emojiMap } from "../../../utils/emoji"; import { emojiMap } from "../../../utils/emoji";
import { t } from "../../../utils/i18n"; import { t } from "../../../utils/i18n";
@ -385,7 +385,7 @@ const keyboardheightchange = (e) => {
// //
// #ifdef MP-WEIXIN // #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); // uni.$emit("msgKeyHeight", availableHeight); //
writeStyle.value = `bottom: calc(${e.detail.height}px - env(safe-area-inset-bottom))`; 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); uni.$emit(events.ON_SCROLL_BOTTOM);
}, 100); }, 100);
}; };
watch(sendMoreVisible, (val) => {
if (val) {
uni.$emit("msgKeyHeight", uni.getSystemInfoSync().windowHeight - 320); //
} else {
uni.$emit("msgKeyHeight", "100%"); //
}
});
// "+" // "+"
const handleSendMoreVisible = () => { const handleSendMoreVisible = () => {
if (isTeamMute.value) return; if (isTeamMute.value) return;

@ -151,7 +151,7 @@
screenHeight1.value = res; screenHeight1.value = res;
// 100% // 100%
if (typeof res === 'number') { if (typeof res === 'number') {
msgKeyHeight.value = `${res - 34}px`; msgKeyHeight.value = `${(res) * 2}rpx`;
} else { } else {
msgKeyHeight.value = res; // '100%' msgKeyHeight.value = res; // '100%'
} }

Loading…
Cancel
Save