From 3543dc1726ad39c26d973da6881e007da0407f3d Mon Sep 17 00:00:00 2001 From: jscyl13849007907 <13849007907@163.com> Date: Tue, 11 Mar 2025 09:49:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=B6=88=E6=81=AF-chat?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.json | 7 +++--- assets/images/chat.svg | 1 + pages/message/index.js | 10 +++++++- subPage/chat/index.js | 66 +++++++++++++++++++++++++++++++++++++++++++++++++ subPage/chat/index.json | 3 +++ subPage/chat/index.wxml | 2 ++ subPage/chat/index.wxss | 1 + 7 files changed, 85 insertions(+), 5 deletions(-) create mode 100644 assets/images/chat.svg create mode 100644 subPage/chat/index.js create mode 100644 subPage/chat/index.json create mode 100644 subPage/chat/index.wxml create mode 100644 subPage/chat/index.wxss diff --git a/app.json b/app.json index 3d4e2b9..0e98aaa 100644 --- a/app.json +++ b/app.json @@ -102,7 +102,8 @@ "billShowInfo/index", "systemMessage/index", "todayBill/index", - "addAddress/index" + "addAddress/index", + "chat/index" ] } ], @@ -116,8 +117,7 @@ "navigationBarTitleText": "Weixin", "navigationBarTextStyle": "black" }, - "plugins": { - }, + "plugins": {}, "tabBar": { "custom": true, "color": "#444", @@ -148,7 +148,6 @@ "pagePath": "pages/myBill/index", "text": "工单" }, - { "iconPath": "./assets/images/tabbar/user.png", "selectedIconPath": "./assets/images/tabbar/user_active.png", diff --git a/assets/images/chat.svg b/assets/images/chat.svg new file mode 100644 index 0000000..57bcfe5 --- /dev/null +++ b/assets/images/chat.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/pages/message/index.js b/pages/message/index.js index fb883c0..2d6dd5b 100644 --- a/pages/message/index.js +++ b/pages/message/index.js @@ -20,13 +20,21 @@ Page({ img: '../../assets/images/ptxx.svg', content: '新春祝福与品牌升级...', time: '下午 2:30', - }, { + }, + { title: '每日发单', url: '/subPage/todayBill/index', img: '../../assets/images/mrfd.svg', content: '按偏好订阅每日接收推送', time: '下午 1:30', }, + { + title: '智能匹配', + url: '/subPage/chat/index', + img: '../../assets/images/chat.svg', + content: 'AI大模型智能匹配', + time: '下午 1:30', + }, ] }, diff --git a/subPage/chat/index.js b/subPage/chat/index.js new file mode 100644 index 0000000..713565c --- /dev/null +++ b/subPage/chat/index.js @@ -0,0 +1,66 @@ +// subPage/chat/index.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad(options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady() { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow() { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide() { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload() { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh() { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom() { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage() { + + } +}) \ No newline at end of file diff --git a/subPage/chat/index.json b/subPage/chat/index.json new file mode 100644 index 0000000..8835af0 --- /dev/null +++ b/subPage/chat/index.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/subPage/chat/index.wxml b/subPage/chat/index.wxml new file mode 100644 index 0000000..a96c7a8 --- /dev/null +++ b/subPage/chat/index.wxml @@ -0,0 +1,2 @@ + +subPage/chat/index.wxml \ No newline at end of file diff --git a/subPage/chat/index.wxss b/subPage/chat/index.wxss new file mode 100644 index 0000000..c3077a3 --- /dev/null +++ b/subPage/chat/index.wxss @@ -0,0 +1 @@ +/* subPage/chat/index.wxss */ \ No newline at end of file