新增消息-chat页面

cyl/develop
jscyl13849007907 1 year ago
parent ff3cdb0a7d
commit 3543dc1726

@ -102,7 +102,8 @@
"billShowInfo/index", "billShowInfo/index",
"systemMessage/index", "systemMessage/index",
"todayBill/index", "todayBill/index",
"addAddress/index" "addAddress/index",
"chat/index"
] ]
} }
], ],
@ -116,8 +117,7 @@
"navigationBarTitleText": "Weixin", "navigationBarTitleText": "Weixin",
"navigationBarTextStyle": "black" "navigationBarTextStyle": "black"
}, },
"plugins": { "plugins": {},
},
"tabBar": { "tabBar": {
"custom": true, "custom": true,
"color": "#444", "color": "#444",
@ -148,7 +148,6 @@
"pagePath": "pages/myBill/index", "pagePath": "pages/myBill/index",
"text": "工单" "text": "工单"
}, },
{ {
"iconPath": "./assets/images/tabbar/user.png", "iconPath": "./assets/images/tabbar/user.png",
"selectedIconPath": "./assets/images/tabbar/user_active.png", "selectedIconPath": "./assets/images/tabbar/user_active.png",

@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1741657482228" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="23129" xmlns:xlink="http://www.w3.org/1999/xlink" width="64" height="64"><path d="M0 0h1024v1024H0z" fill="#17B582" p-id="23130"></path><path d="M476.38 348.104c-10.626 0-18.282 7.656-18.282 18.226s7.714 18.228 18.284 18.228c10.628 0 18.284-7.658 18.284-18.228 0.056-10.512-7.656-18.226-18.284-18.226z" fill="#FFFFFF" p-id="23131"></path><path d="M701.442 403.184c-7.884-7.886-18.684-12.284-30.396-12.284-2.228 0-4.228 0.228-6.114 0.57v-0.57h-2.056c-3.144-17.484-10.628-34.568-21.77-49.938-10.684-14.684-24.568-27.368-40.452-37.08l14.34-20.456v-1.886c0-0.458 0.23-1.314 0.4-2.172 0.344-1.37 0.8-3.14 0.8-5.084 0-10.57-7.712-18.226-18.284-18.226-5.6 0-11.14 3.256-14.798 8.8l-16.74 24.052c-17.14-5.6-35.654-8.57-53.594-8.57-17.884 0-36.396 2.972-53.594 8.57L442.5 264.8c-3.772-5.486-9.2-8.8-14.856-8.8-10.628 0-18.284 7.656-18.284 18.226 0 3.542 1.428 7.314 3.828 9.942l12.914 18.456c-16.4 9.712-30.568 22.512-41.252 37.196-11.086 15.368-18.284 32.452-20.97 49.936h-3.142v0.572a32.724 32.724 0 0 0-6.114-0.572c-11.6 0-22.398 4.286-30.34 12.17-7.884 7.886-12.284 18.628-12.284 30.282v134.272c0 11.6 4.286 22.34 12.228 30.224 7.884 7.886 18.74 12.286 30.396 12.286 2.228 0 4.228-0.23 6.114-0.572v53.422c0 16.684 13.656 30.34 30.396 30.34h18.226v33.31c0 11.6 4.286 22.34 12.228 30.226 7.884 7.884 18.74 12.284 30.396 12.284 11.6 0 22.398-4.286 30.34-12.17 7.884-7.884 12.284-18.626 12.284-30.282v-33.254h36.454v33.196c0 11.6 4.284 22.34 12.226 30.226 7.886 7.884 18.74 12.284 30.398 12.284 11.654 0 22.396-4.286 30.34-12.34 7.884-7.886 12.282-18.628 12.282-30.284v-33.254h18.228c16.74 0 30.396-13.598 30.396-30.34v-52.22c1.828 0.34 3.828 0.57 6.114 0.57 11.6 0 22.398-4.286 30.34-12.17 7.884-7.886 12.284-18.626 12.284-30.282v-134.272c-0.058-11.598-4.342-22.282-12.228-30.224z m-340.648 164.552c0 3.886-2.228 6.058-6.114 6.058-3.884 0-6.112-2.172-6.112-6.058v-134.328c0-3.884 2.228-6.056 6.112-6.056 3.886 0 6.114 2.172 6.114 6.056v134.328zM435.7 341.02c21.426-15.6 48.738-24.17 77.134-24.17 28.398 0 55.708 8.628 77.134 24.284 18.514 13.54 30.968 30.968 35.826 49.994H399.876c4.856-19.084 17.426-36.568 35.824-50.108z m22.456 385.5c-0.344 3.2-2.514 4.97-6 4.97-3.886 0-6.114-2.172-6.114-6.056V692.18h12.114v34.34z m115.586 4.97c-3.886 0-6.114-2.172-6.114-6.056V692.18h12.114v34.34c-0.344 3.2-2.458 4.97-6 4.97z m54.736-75.764H397.304V427.41H628.48v228.316z m48.68-87.99c0 3.886-2.228 6.058-6.112 6.058-3.886 0-6.114-2.172-6.114-6.058v-134.328c0-3.884 2.228-6.056 6.114-6.056 3.884 0 6.114 2.172 6.114 6.056v134.328z" fill="#FFFFFF" p-id="23132"></path><path d="M549.402 348.104c-10.628 0-18.284 7.656-18.284 18.226s7.714 18.228 18.284 18.228c10.628 0 18.34-7.658 18.34-18.284-0.056-10.628-7.656-18.17-18.34-18.17z" fill="#FFFFFF" p-id="23133"></path></svg>

After

Width:  |  Height:  |  Size: 2.9 KiB

@ -20,13 +20,21 @@ Page({
img: '../../assets/images/ptxx.svg', img: '../../assets/images/ptxx.svg',
content: '新春祝福与品牌升级...', content: '新春祝福与品牌升级...',
time: '下午 2:30', time: '下午 2:30',
}, { },
{
title: '每日发单', title: '每日发单',
url: '/subPage/todayBill/index', url: '/subPage/todayBill/index',
img: '../../assets/images/mrfd.svg', img: '../../assets/images/mrfd.svg',
content: '按偏好订阅每日接收推送', content: '按偏好订阅每日接收推送',
time: '下午 1:30', time: '下午 1:30',
}, },
{
title: '智能匹配',
url: '/subPage/chat/index',
img: '../../assets/images/chat.svg',
content: 'AI大模型智能匹配',
time: '下午 1:30',
},
] ]
}, },

@ -0,0 +1,66 @@
// subPage/chat/index.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
}
})

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

@ -0,0 +1,2 @@
<!--subPage/chat/index.wxml-->
<text>subPage/chat/index.wxml</text>

@ -0,0 +1 @@
/* subPage/chat/index.wxss */
Loading…
Cancel
Save