# Conflicts:
#	src/pages/index/components/chat/ChatQuickAccess/index.vue
This commit is contained in:
2025-10-16 19:19:16 +08:00
9 changed files with 159 additions and 11 deletions

View File

@@ -17,6 +17,4 @@ defineProps({
});
</script>
<style lang="scss" scoped>
@import "./styles/index.scss";
</style>
<style lang="scss" scoped></style>

View File

@@ -275,7 +275,7 @@ const handleReply = (text) => {
const handleReplyInstruct = async (item) => {
await checkToken();
if (item.type === "MyOrder") {
if (item.type === "Command.myOrder") {
// 订单
uni.navigateTo({
url: "/pages-order/order/list",
@@ -775,6 +775,4 @@ const resetConfig = () => {
};
</script>
<style lang="scss" scoped>
@import "./styles/index.scss";
</style>
<style lang="scss" scoped></style>

View File

@@ -35,8 +35,8 @@ const itemList = ref([
},
{
icon: "",
title: "反馈意见",
type: "Command.feedbackCard",
title: "呼叫服务",
type: "Command.createWorkOrderCard",
},
{
icon: "https://oss.nianxx.cn/mp/static/version_101/home/more.png",
@@ -48,6 +48,10 @@ const itemList = ref([
const emits = defineEmits(["replySent"]);
const sendReply = (item) => {
if (item.type === "Command.more") {
uni.$emit("SHOW_MORE_POPUP");
return;
}
emits("replySent", item); // 向父组件传递数据
};
@@ -85,7 +89,7 @@ const initData = () => {
showIcon: false,
title: "订单/工单",
content: "我的订单/工单",
type: "MyOrder",
type: "Command.myOrder",
},
]
: [
@@ -108,7 +112,7 @@ const initData = () => {
showIcon: false,
title: "订单/工单",
content: "我的订单/工单",
type: "MyOrder",
type: "Command.myOrder",
},
{
icon: "https://oss.nianxx.cn/mp/static/quick/quick_icon_call.png",