# Conflicts:
#	src/pages/index/components/module/MoreService/index.vue
This commit is contained in:
2025-10-16 20:40:30 +08:00
14 changed files with 150 additions and 266 deletions

View File

@@ -273,19 +273,7 @@ const handleReplyText = (text) => {
// 是发送指令消息
const handleReplyInstruct = async (item) => {
await checkToken();
// 更多服务
if (item.type === "Command.more") {
uni.$emit("SHOW_MORE_POPUP");
return;
}
if (item.type === "Command.myOrder") {
// 订单
uni.navigateTo({
url: "/pages-order/order/list",
});
return;
}
commonType = item.type;
// 重置消息状态准备接收新的AI回复
resetMessageState();

View File

@@ -47,6 +47,11 @@ const itemList = ref([
]);
const sendReply = (item) => {
// 更多服务
if (item.type === Command.more) {
uni.$emit("SHOW_MORE_POPUP");
return;
}
uni.$emit(SEND_MESSAGE_COMMAND_TYPE, item);
};
</script>