diff --git a/api/message.js b/api/message.js
index c6e7dd8..9b8a4f2 100644
--- a/api/message.js
+++ b/api/message.js
@@ -48,6 +48,24 @@ export function messageMarkAsRead(ids) {
});
}
+//读取站内消息
+export function editMessages(message_id,params){
+ return http.request({
+ url:`/message/member/${message_id}`,
+ method:Method.PUT,
+ needToken:true,
+ params
+ })
+}
+//获取站内消息
+export function messages(params) {
+ return http.request({
+ url: "/message/member",
+ method: Method.GET,
+ needToken: true,
+ params,
+ });
+}
/**
* 获取物流消息列表
diff --git a/pages.json b/pages.json
index 7744e98..af9e598 100644
--- a/pages.json
+++ b/pages.json
@@ -26,6 +26,12 @@
}
}
},
+ {
+ "path": "pages/tabbar/home/title",
+ "style": {
+ "navigationBarTitleText": "消息"
+ }
+ },
{
"path": "pages/tabbar/cart/cartList",
"style": {
diff --git a/pages/tabbar/home/template/tpl_search.vue b/pages/tabbar/home/template/tpl_search.vue
index 2bbc598..4332785 100644
--- a/pages/tabbar/home/template/tpl_search.vue
+++ b/pages/tabbar/home/template/tpl_search.vue
@@ -4,6 +4,9 @@