From 039111ed27cc59b43a8001d8d1180a96f6f494ab Mon Sep 17 00:00:00 2001 From: Sun_sun <469361609@qq.com> Date: Thu, 9 Oct 2025 15:13:48 +0800 Subject: [PATCH] =?UTF-8?q?2025-09-29=20=E8=81=8A=E5=A4=A9=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E4=B8=8A=E6=8B=89=E8=8E=B7=E5=8F=96=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .hbuilderx/launch.json | 10 + api/group.js | 1 + api/message.js | 17 ++ manifest.json | 4 +- pages.json | 3 +- pages/message/chat.vue | 314 +++++++++++++++++++++++++------- pages/message/message.vue | 209 +++++++++++++++------ pages/program/programDetail.vue | 9 + static/icon/More horizontal.png | Bin 0 -> 423 bytes static/icon/search.png | Bin 0 -> 685 bytes static/message/customer.png | Bin 0 -> 5379 bytes static/message/order.png | Bin 0 -> 4795 bytes static/message/process.png | Bin 0 -> 6195 bytes static/message/system.png | Bin 0 -> 4404 bytes 14 files changed, 445 insertions(+), 122 deletions(-) create mode 100644 .hbuilderx/launch.json create mode 100644 api/message.js create mode 100644 static/icon/More horizontal.png create mode 100644 static/icon/search.png create mode 100644 static/message/customer.png create mode 100644 static/message/order.png create mode 100644 static/message/process.png create mode 100644 static/message/system.png diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json new file mode 100644 index 0000000..07b129c --- /dev/null +++ b/.hbuilderx/launch.json @@ -0,0 +1,10 @@ +{ + "version" : "1.0", + "configurations" : [ + { + "customPlaygroundType" : "device", + "playground" : "standard", + "type" : "uni-app:app-android" + } + ] +} diff --git a/api/group.js b/api/group.js index f0e2965..e7e2162 100644 --- a/api/group.js +++ b/api/group.js @@ -8,4 +8,5 @@ export const groupAPI = { getList: (params) => http.get(baseURL + '/group/list', params), add: (data) => http.post(baseURL + '/group/', data), getOne: (params) => http.get(baseURL + '/group/one', params), + getById: (groupId) => http.get(baseURL + '/group/'+ groupId), } \ No newline at end of file diff --git a/api/message.js b/api/message.js new file mode 100644 index 0000000..13513ba --- /dev/null +++ b/api/message.js @@ -0,0 +1,17 @@ +import { + http +} from "../util/api" + +const baseURL = "http://192.168.0.15:3007" + +// 项目相关API +export const messageAPI = { + // 列表 + read: (params) => http.post(baseURL + '/message/read', params), + unread: (params) => http.get(baseURL + '/message/unread', params), + list: (params) => http.get(baseURL + "/message/list", params) +} + +export default { + messageAPI +} \ No newline at end of file diff --git a/manifest.json b/manifest.json index 905739b..54c3a8f 100644 --- a/manifest.json +++ b/manifest.json @@ -45,7 +45,9 @@ ] }, /* ios打包配置 */ - "ios" : {}, + "ios" : { + "dSYMs" : false + }, /* SDK配置 */ "sdkConfigs" : { "payment" : { diff --git a/pages.json b/pages.json index 9a051aa..afca67f 100644 --- a/pages.json +++ b/pages.json @@ -69,7 +69,8 @@ "style" : { "navigationBarTitleText" : "聊天页面", - "navigationStyle": "custom" + "navigationStyle": "custom", + "enablePullDownRefresh": true } } ], diff --git a/pages/message/chat.vue b/pages/message/chat.vue index 340fe66..677f1f2 100644 --- a/pages/message/chat.vue +++ b/pages/message/chat.vue @@ -1,9 +1,9 @@