diff --git a/api/pages/message/index.js b/api/pages/message/index.js
new file mode 100644
index 0000000..8adbfa6
--- /dev/null
+++ b/api/pages/message/index.js
@@ -0,0 +1,16 @@
+import request from "../../request.js"
+
+export function getMegVoList(data) {
+ return request({
+ url: `/nurseApplet/chatRecord/getMegVoList`,
+ method: 'GET',
+ data
+ })
+}
+export function getMegList(data) {
+ return request({
+ url: `/nurseApplet/chatRecord/getMegList`,
+ method: 'GET',
+ data
+ })
+}
\ No newline at end of file
diff --git a/pages.json b/pages.json
index 42db9af..184ea93 100644
--- a/pages.json
+++ b/pages.json
@@ -9,30 +9,31 @@
"navigationStyle": "custom",
"enablePullDownRefresh": false
}
- },
- {
+ },{
+ "path": "pages/message/message",
+ "style": {
+ "enablePullDownRefresh": false,
+ "navigationBarTitleText": "消息中心"
+ }
+ }, {
"path": "pages/homepage/homepage",
"style": {
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
- },
-
- {
+ }, {
"path": "pages/myinformation/myinformation",
"style": {
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
- },
- {
+ }, {
"path": "pages/register/register",
"style": {
"navigationBarTitleText": "注册",
"enablePullDownRefresh": false
}
- },
- {
+ }, {
"path": "pages/medicalservice/medicalservice",
"style": {
"enablePullDownRefresh": false,
@@ -45,20 +46,12 @@
"enablePullDownRefresh": false
}
}, {
- "path": "pages/message/message",
- "style": {
- "enablePullDownRefresh": false,
- "navigationStyle": "custom"
- }
- },
- {
"path": "pages/facecollection/facecollection",
"style": {
"navigationBarTitleText": "人脸采集",
"enablePullDownRefresh": false
}
- },
- {
+ }, {
"path": "pages/location/location",
"style": {
"navigationBarTitleText": "定位",
@@ -624,10 +617,25 @@
}
},
{
- "path" : "testreport/testreport",
- "style" :
+ "path": "testreport/testreport",
+ "style": {
+ "navigationBarTitleText": "检测报告",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "notice/notice",
+ "style": {
+ "navigationBarTitleText": "",
+ "onReachBottomDistance": 40, //距离底部多远时触发 单位为px
+ "enablePullDownRefresh": true //设置参数为true
+ }
+ },
+ {
+ "path" : "noticedetails/noticedetails",
+ "style" :
{
- "navigationBarTitleText" : "检测报告",
+ "navigationBarTitleText" : "",
"enablePullDownRefresh" : false
}
}
diff --git a/pages/message/message.vue b/pages/message/message.vue
index cc6846e..743bf17 100644
--- a/pages/message/message.vue
+++ b/pages/message/message.vue
@@ -1,22 +1,202 @@
-
-
+
+
+
+
+ 通知公告
+
+
+
+ {{listone.sendTime}}
+
+
+ {{listone.content}}
+
+
+
+
+
+
+
+
+ 健康推送
+
+
+
+ {{listtwo.sendTime}}
+
+
+ {{listtwo.content}}
+
+
+
+
+
+
+
+
+ 服务推送
+
+
+
+ {{listfour.sendTime}}
+
+
+ {{listfour.content}}
+
+
+
+
+
+
+
+
+ 服务推送
+
+
+ {{item.sendTime}}
+
+
+ {{item.content}}
+
+
+
+
-
diff --git a/pagesC/notice/notice.vue b/pagesC/notice/notice.vue
new file mode 100644
index 0000000..22f06be
--- /dev/null
+++ b/pagesC/notice/notice.vue
@@ -0,0 +1,169 @@
+
+
+
+
+
+
+ {{item.sendTime}}
+
+
+
+ {{item.title?item.title:title}}
+
+
+ {{item.content}}
+ ,点击查看详情>>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pagesC/noticedetails/noticedetails.vue b/pagesC/noticedetails/noticedetails.vue
new file mode 100644
index 0000000..3c79000
--- /dev/null
+++ b/pagesC/noticedetails/noticedetails.vue
@@ -0,0 +1,65 @@
+
+
+
+
+
+
+ {{currentItem.title?currentItem.title:title}}
+
+
+ {{currentItem.sendTime}}
+
+
+
+
+ {{currentItem.content}}
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pagesC/seekadvicefrom/seekadvicefrom.vue b/pagesC/seekadvicefrom/seekadvicefrom.vue
index 110096e..7dbf232 100644
--- a/pagesC/seekadvicefrom/seekadvicefrom.vue
+++ b/pagesC/seekadvicefrom/seekadvicefrom.vue
@@ -88,7 +88,7 @@
return {
baseurl: '',
title: '',
- SOCKETURL: 'ws://192.168.16.212:8088/webSocket/',
+ SOCKETURL: 'ws://8.131.93.145:54010/webSocket/',
socketOpen: false,
sendInfo: {},
currentItem: '',
@@ -157,7 +157,6 @@
this.currentItem = JSON.parse(options.item)
this.title = this.currentItem.doctorName //导航栏标题
this.userName = this.currentItem.patientName
- console.log(this.userName)
this.SOCKETURL = this.SOCKETURL + this.currentItem.patientId
this.getPageHistory()
this.scoket()
@@ -193,6 +192,7 @@
},
Read() {
let markReadData = {
+ readStatus: '1',
consultationId: this.currentItem.id,
recipientId: this.currentItem.patientId,
}
diff --git a/static/pages/fuwu.png b/static/pages/fuwu.png
new file mode 100644
index 0000000..585549c
Binary files /dev/null and b/static/pages/fuwu.png differ
diff --git a/static/pages/jiankang.png b/static/pages/jiankang.png
new file mode 100644
index 0000000..a44a1d6
Binary files /dev/null and b/static/pages/jiankang.png differ
diff --git a/static/pages/tongzhi.png b/static/pages/tongzhi.png
new file mode 100644
index 0000000..480e643
Binary files /dev/null and b/static/pages/tongzhi.png differ