diff --git a/pageD/components/GoEasyAudioPlayer/GoEasyAudioPlayer.vue b/pageD/components/GoEasyAudioPlayer/GoEasyAudioPlayer.vue new file mode 100644 index 0000000..4b72cf0 --- /dev/null +++ b/pageD/components/GoEasyAudioPlayer/GoEasyAudioPlayer.vue @@ -0,0 +1,62 @@ + + + + + {{Math.ceil(duration) || 0}} + + + + + + + \ No newline at end of file diff --git a/pageD/components/GoEasyAudioPlayer/images/play.gif b/pageD/components/GoEasyAudioPlayer/images/play.gif new file mode 100644 index 0000000..e367c87 Binary files /dev/null and b/pageD/components/GoEasyAudioPlayer/images/play.gif differ diff --git a/pageD/components/GoEasyAudioPlayer/images/voice.png b/pageD/components/GoEasyAudioPlayer/images/voice.png new file mode 100644 index 0000000..93d6090 Binary files /dev/null and b/pageD/components/GoEasyAudioPlayer/images/voice.png differ diff --git a/pageD/components/GoEasyVideoPlayer/GoEasyVideoPlayer.vue b/pageD/components/GoEasyVideoPlayer/GoEasyVideoPlayer.vue new file mode 100644 index 0000000..450d6f1 --- /dev/null +++ b/pageD/components/GoEasyVideoPlayer/GoEasyVideoPlayer.vue @@ -0,0 +1,55 @@ + + + + + + + + \ No newline at end of file diff --git a/pageD/components/GoEasyVideoPlayer/images/play.png b/pageD/components/GoEasyVideoPlayer/images/play.png new file mode 100644 index 0000000..0e6338e Binary files /dev/null and b/pageD/components/GoEasyVideoPlayer/images/play.png differ diff --git a/pageD/images/Arrow-Left.png b/pageD/images/Arrow-Left.png new file mode 100644 index 0000000..66a11c5 Binary files /dev/null and b/pageD/images/Arrow-Left.png differ diff --git a/pageD/images/Avatar-1.png b/pageD/images/Avatar-1.png new file mode 100644 index 0000000..fa57b53 Binary files /dev/null and b/pageD/images/Avatar-1.png differ diff --git a/pageD/images/Avatar-2.png b/pageD/images/Avatar-2.png new file mode 100644 index 0000000..7ab92a8 Binary files /dev/null and b/pageD/images/Avatar-2.png differ diff --git a/pageD/images/Avatar-3.png b/pageD/images/Avatar-3.png new file mode 100644 index 0000000..eeaed52 Binary files /dev/null and b/pageD/images/Avatar-3.png differ diff --git a/pageD/images/Avatar-4.png b/pageD/images/Avatar-4.png new file mode 100644 index 0000000..df26452 Binary files /dev/null and b/pageD/images/Avatar-4.png differ diff --git a/pageD/images/GoEasyDemo-Vue-IM-Chat-gif.gif b/pageD/images/GoEasyDemo-Vue-IM-Chat-gif.gif new file mode 100644 index 0000000..cf2c56d Binary files /dev/null and b/pageD/images/GoEasyDemo-Vue-IM-Chat-gif.gif differ diff --git a/pageD/images/Vector.png b/pageD/images/Vector.png new file mode 100644 index 0000000..5b6c3d7 Binary files /dev/null and b/pageD/images/Vector.png differ diff --git a/pageD/images/file-content.png b/pageD/images/file-content.png new file mode 100644 index 0000000..306f4fd Binary files /dev/null and b/pageD/images/file-content.png differ diff --git a/pageD/images/file-icon.png b/pageD/images/file-icon.png new file mode 100644 index 0000000..c0d6651 Binary files /dev/null and b/pageD/images/file-icon.png differ diff --git a/pageD/images/file.png b/pageD/images/file.png new file mode 100644 index 0000000..0afabe5 Binary files /dev/null and b/pageD/images/file.png differ diff --git a/pageD/images/green-dot.png b/pageD/images/green-dot.png new file mode 100644 index 0000000..3b84707 Binary files /dev/null and b/pageD/images/green-dot.png differ diff --git a/pageD/images/group-icon.png b/pageD/images/group-icon.png new file mode 100644 index 0000000..5d1bb15 Binary files /dev/null and b/pageD/images/group-icon.png differ diff --git a/pageD/images/group.png b/pageD/images/group.png new file mode 100644 index 0000000..90181ab Binary files /dev/null and b/pageD/images/group.png differ diff --git a/pageD/images/im.gif b/pageD/images/im.gif new file mode 100644 index 0000000..99fe9d1 Binary files /dev/null and b/pageD/images/im.gif differ diff --git a/pageD/images/jianpan.png b/pageD/images/jianpan.png new file mode 100644 index 0000000..260e6f3 Binary files /dev/null and b/pageD/images/jianpan.png differ diff --git a/pageD/images/loading.gif b/pageD/images/loading.gif new file mode 100644 index 0000000..53edda2 Binary files /dev/null and b/pageD/images/loading.gif differ diff --git a/pageD/images/logo.png b/pageD/images/logo.png new file mode 100644 index 0000000..f3d2503 Binary files /dev/null and b/pageD/images/logo.png differ diff --git a/pageD/images/pending.gif b/pageD/images/pending.gif new file mode 100644 index 0000000..e846e1d Binary files /dev/null and b/pageD/images/pending.gif differ diff --git a/pageD/images/play.png b/pageD/images/play.png new file mode 100644 index 0000000..0e6338e Binary files /dev/null and b/pageD/images/play.png differ diff --git a/pageD/images/record-appearance-icon.png b/pageD/images/record-appearance-icon.png new file mode 100644 index 0000000..e77eed5 Binary files /dev/null and b/pageD/images/record-appearance-icon.png differ diff --git a/pageD/images/recording-loading.gif b/pageD/images/recording-loading.gif new file mode 100644 index 0000000..3c8c141 Binary files /dev/null and b/pageD/images/recording-loading.gif differ diff --git a/pageD/images/vedio.png b/pageD/images/vedio.png new file mode 100644 index 0000000..e7c3234 Binary files /dev/null and b/pageD/images/vedio.png differ diff --git a/pageD/privateChat/privateChat.vue b/pageD/privateChat/privateChat.vue new file mode 100644 index 0000000..17aadff --- /dev/null +++ b/pageD/privateChat/privateChat.vue @@ -0,0 +1,532 @@ + + + + + + {{allHistoryLoaded ? '已经没有更多的历史消息' : '点击加载更多历史消息'}} + + + + + + + + + + + {{message.payload.text}} + + + + + + + + + + + + + + + + + + + {{message.payload.text}} + + + + + + + + + + + + + + {{audio.recording ? '松开发送' : '按住录音'}} + + + + + + 发送 + + + + + + + + + + diff --git a/pages.json b/pages.json index cde9fe0..eda50f0 100644 --- a/pages.json +++ b/pages.json @@ -420,6 +420,15 @@ { "root": "pageD", "pages": [ + { + "path": "privateChat/privateChat", + "style": { + "navigationBarTitleText": "uni-app", + "app-plus": { + "titleNView": true + } + } + }, { "path": "logistics/logistics", "style": { diff --git a/pages/information/information.vue b/pages/information/information.vue index 633a970..2bee790 100644 --- a/pages/information/information.vue +++ b/pages/information/information.vue @@ -16,7 +16,7 @@ - + @@ -117,6 +117,15 @@ } }, methods: { + gochat(id){ + this.$u.route({ + url:"/pageD/privateChat/privateChat", + params:{ + id:JSON.stringify(id) + } + + }) + }, onFriendListChange(onlineFriends) { //todo:比较垃圾的处理方式,因为Uniapp的基于MAP的双向绑定在H5端不稳定,H5端偶尔会抽风 // 下边这一行删掉,有时候页面可以更新,有时候不行,大家有优雅的方式,也欢迎跟我们沟通