consumer模块完成度95%,完成部署消费者端(外网可访问consumer.meitizs.com),消费者小程序能正常运行在微信开发者工具上

This commit is contained in:
cyh666666
2026-03-05 16:54:00 +08:00
parent 7f7f723d93
commit 3b0e397714
728 changed files with 1495 additions and 985 deletions

View File

@@ -433,6 +433,8 @@ const sendMessage = async () => {
// 清空输入框
inputMessage.value = ''
// 发送消息时确保收起表情面板
showEmoji.value = false
// 发送到 Supabase
if (merchantId.value != '') {
@@ -461,12 +463,17 @@ const simulateCustomerReply = async () => {
// 插入表情
function insertEmoji(emoji: string): void {
inputMessage.value += emoji
showEmoji.value = false // 选中表情后收起表情列表
inputFocus.value = true
}
// 显示表情选择器
function showEmojiPicker(): void {
showEmoji.value = !showEmoji.value
if (showEmoji.value) {
// 如果打开表情,通常需要收起键盘
uni.hideKeyboard()
}
}
// 显示图片选择器