From 0dc3124bba78b33e902c2ab39f5cb0732a66aadb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B?= <994041296@163.com> Date: Thu, 29 Dec 2022 18:20:06 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E5=88=97=E8=A1=A8=E5=8F=91?= =?UTF-8?q?=E9=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- im/.env | 1 + im/src/App.vue | 2 +- im/src/api/user.js | 4 + im/src/components/chat/panel/OtherLink.vue | 34 +++--- im/src/components/chat/panel/TalkPanel.vue | 41 ++++++- .../chat/panel/template/footPrint.vue | 92 ++++++++++----- .../chat/panel/template/goodsLink.vue | 88 +++++++++++--- im/src/config/config.js | 1 + im/src/main.js | 4 + im/src/views/message/index.vue | 110 +++++++++--------- seller/src/views/home/home.vue | 75 ++++++------ 11 files changed, 299 insertions(+), 153 deletions(-) diff --git a/im/.env b/im/.env index 59d0738d..38ee6b50 100644 --- a/im/.env +++ b/im/.env @@ -4,3 +4,4 @@ VUE_APP_API_BASE_URL=https://im-api.pickmall.cn VUE_APP_WEB_SOCKET_URL=wss://im-api.pickmall.cn/lili/webSocket VUE_APP_COMMON=https://common-api.pickmall.cn VUE_APP_WEBSITE_NAME="LiLi IM" +VUE_APP_PC_ORDER_URL=https://store-b2b2c.pickmall.cn diff --git a/im/src/App.vue b/im/src/App.vue index aef9b510..172d870b 100644 --- a/im/src/App.vue +++ b/im/src/App.vue @@ -27,9 +27,9 @@ export default { unloadHandler (e) { this.Handler = new Date().getTime() - this.beforeUnload; if (this.Handler <= 5) { - localStorage.setItem('btnHide', 1) var storage = window.localStorage; storage.clear() + localStorage.setItem('btnHide', 1) } }, }, diff --git a/im/src/api/user.js b/im/src/api/user.js index 061b9513..fb13624d 100644 --- a/im/src/api/user.js +++ b/im/src/api/user.js @@ -24,3 +24,7 @@ export const ServeGetStoreDetail = (storeId) => { export const ServeGetFootPrint = (params) => { return get(`/im/user/history`,params); }; +// 获取订单列表信息 +export const ServeGetOrderPrint = (params) => { + return get(`/im/orders/orders`,params); +}; diff --git a/im/src/components/chat/panel/OtherLink.vue b/im/src/components/chat/panel/OtherLink.vue index 3d1f433f..d82a70c7 100644 --- a/im/src/components/chat/panel/OtherLink.vue +++ b/im/src/components/chat/panel/OtherLink.vue @@ -4,7 +4,8 @@