chore: 抢单端UI回退前备份当前完整工作区

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
XingQue
2026-06-29 17:59:23 +08:00
parent 6e2f7bc39f
commit e8fb32c1fe
53 changed files with 3410 additions and 1065 deletions

12
utils/kefu-nav.js Normal file
View File

@@ -0,0 +1,12 @@
/** 与消息页「联系客服」一致:跳转客服会话 */
export function openCustomerServiceChat() {
const app = getApp();
if (app.globalData.chatEnabled && app.ensureConnection) {
app.globalData.goEasyConnection.autoReconnect = true;
app.ensureConnection();
}
const param = { teamId: 'support_team' };
wx.navigateTo({
url: '/pages/cs-chat/cs-chat?data=' + encodeURIComponent(JSON.stringify(param)),
});
}