diff --git a/pages.json b/pages.json index ced5360..7ad7c82 100644 --- a/pages.json +++ b/pages.json @@ -135,6 +135,15 @@ "navigationBarTextStyle": "black" } }, + { + "path" : "pages/common/article_info", + "style": { + "navigationBarTitleText": "文章详情", + "navigationStyle": "default", + "navigationBarBackgroundColor": "#292929", + "navigationBarTextStyle": "white" + } + }, { "path" : "pages/common/feedback", "style": { diff --git a/pages/common/article_info.vue b/pages/common/article_info.vue new file mode 100644 index 0000000..7765b5f --- /dev/null +++ b/pages/common/article_info.vue @@ -0,0 +1,193 @@ + + + + + + \ No newline at end of file diff --git a/pages/common/im_chat_info.vue b/pages/common/im_chat_info.vue index 412573b..239f6c0 100644 --- a/pages/common/im_chat_info.vue +++ b/pages/common/im_chat_info.vue @@ -112,7 +112,7 @@ export default { this.filteredData.total = 10//数据总条数 }, - //获取作业列表 + //获取列表 async getList(){ this.loading = true diff --git a/pages/common/my_message.vue b/pages/common/my_message.vue index 761727c..6e9b765 100644 --- a/pages/common/my_message.vue +++ b/pages/common/my_message.vue @@ -139,21 +139,22 @@ export default { }, //跳转页面-系统消息列表 - openViewSysMsgList(){ + openViewSysMsgList(e){ + let hair_staff_id = e.hair_staff_id//发信人id uni.navigateTo({ - url: `/pages/common/sys_msg_list` + url: `/pages/common/sys_msg_list?hair_staff_id=${hair_staff_id}` }) }, //跳转页面-聊天页面 - openViewImChatInfo(v){ + openViewImChatInfo(e){ - if(v.type == 1){ + if(e.type == 1){ //系统消息 - this.openViewSysMsgList + this.openViewSysMsgList(e) }else{ //站内信 - let hair_staff_id = v.hair_staff_id//发信人id + let hair_staff_id = e.hair_staff_id//发信人id uni.navigateTo({ url: `/pages/common/im_chat_info?hair_staff_id=${hair_staff_id}` }) diff --git a/pages/common/sys_msg_list.vue b/pages/common/sys_msg_list.vue index 48f8097..10e61ad 100644 --- a/pages/common/sys_msg_list.vue +++ b/pages/common/sys_msg_list.vue @@ -3,122 +3,140 @@ - - - 吾悦校区停电通知 - - - - 李老师将张包子的跟进人设置为您,需要您 - 继续跟进,点击此消息查看张包子的信息,完 - 成后续跟进 - - - 2024-03-07 10:30:00 + + + {{v.title}} + + + + + + + + + {{v.show_time}} - - 吾悦校区停电通知 - - - - 2024-03-07 10:30:00 - - - - 吾悦校区停电通知 - - - - 李老师将张包子的跟进人设置为您,需要您 - 继续跟进,点击此消息查看张包子的信息,完 - 成后续跟进 - - - 2024-03-07 10:30:00 - - +