From 29f3afb7c59d24ec8d75401ce2229a4b3bd72d5b Mon Sep 17 00:00:00 2001 From: peak Date: Mon, 9 Jun 2025 11:44:37 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E7=94=A8=E6=88=B7=E4=B8=8E=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0=E5=AE=A2=E6=9C=8D=E8=81=8A=E5=A4=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 5 + pages.json | 14 + pages/chat/chatKefu.vue | 224 ++++++++++++++++ pages/chat/chatList.vue | 240 ++++++++++++++++++ pages/chat/components/messageList.vue | 110 +++++--- pages/chat/components/messageListItem.vue | 5 +- pages/chat/index.vue | 50 ++-- sheep/api/promotion/kefu.js | 44 ++++ .../s-menu-button/s-menu-button.vue | 24 +- sheep/util/index.js | 14 + 10 files changed, 671 insertions(+), 59 deletions(-) create mode 100644 pages/chat/chatKefu.vue create mode 100644 pages/chat/chatList.vue diff --git a/.env b/.env index c855deb..63561ee 100644 --- a/.env +++ b/.env @@ -11,8 +11,13 @@ SHOPRO_BASE_URL = https://zysc.fjptzykj.com # 后端接口 - 测试环境(通过 process.env.NODE_ENV = development) SHOPRO_DEV_BASE_URL = https://zysc.fjptzykj.com +<<<<<<< Updated upstream #SHOPRO_DEV_BASE_URL = http://192.168.10.36:6127 #SHOPRO_DEV_BASE_URL = http://192.168.10.29:6127 +======= +#SHOPRO_DEV_BASE_URL = http://127.0.0.1:48080 +#SHOPRO_DEV_BASE_URL = http://192.168.10.5:6127 +>>>>>>> Stashed changes #SHOPRO_DEV_BASE_URL = http://192.168.1.12:6127 #SHOPRO_DEV_BASE_URL = http://192.168.10.75:6127 #SHOPRO_DEV_BASE_URL = http://192.168.1.9:6127 diff --git a/pages.json b/pages.json index 58959e5..2339703 100644 --- a/pages.json +++ b/pages.json @@ -801,6 +801,20 @@ "title": "客服", "group": "客服" } + }, + { + "path" : "chatList", + "style" : + { + "navigationBarTitleText" : "" + } + }, + { + "path" : "chatKefu", + "style" : + { + "navigationBarTitleText" : "" + } }] }, { diff --git a/pages/chat/chatKefu.vue b/pages/chat/chatKefu.vue new file mode 100644 index 0000000..7940f89 --- /dev/null +++ b/pages/chat/chatKefu.vue @@ -0,0 +1,224 @@ + + + + + diff --git a/pages/chat/chatList.vue b/pages/chat/chatList.vue new file mode 100644 index 0000000..5628bbb --- /dev/null +++ b/pages/chat/chatList.vue @@ -0,0 +1,240 @@ + + + + + \ No newline at end of file diff --git a/pages/chat/components/messageList.vue b/pages/chat/components/messageList.vue index 4a95cea..12f742c 100644 --- a/pages/chat/components/messageList.vue +++ b/pages/chat/components/messageList.vue @@ -2,6 +2,7 @@ @@ -27,6 +28,8 @@ @@ -43,16 +46,16 @@ diff --git a/pages/chat/components/messageListItem.vue b/pages/chat/components/messageListItem.vue index 9ba06e9..4f09401 100644 --- a/pages/chat/components/messageListItem.vue +++ b/pages/chat/components/messageListItem.vue @@ -46,7 +46,7 @@