diff --git a/src/components/chatInformation.vue b/src/components/chatInformation.vue
new file mode 100644
index 0000000..a665ec5
--- /dev/null
+++ b/src/components/chatInformation.vue
@@ -0,0 +1,48 @@
+
+
+
open chat
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/chatInformations.vue b/src/components/chatInformations.vue
deleted file mode 100644
index a70cc1c..0000000
--- a/src/components/chatInformations.vue
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/components/topBanner.vue b/src/components/topBanner.vue
index ed151e4..98005f0 100644
--- a/src/components/topBanner.vue
+++ b/src/components/topBanner.vue
@@ -7,7 +7,7 @@
{{roomInfo.name}}
{{roomInfo.user.length}} members
-
+
@@ -19,6 +19,11 @@ export default {
components:{
icon
},
+ methods:{
+ showChatInfo(){
+ document.getElementById("chatInformation").style.display = 'block';
+ }
+ },
data(){
return {
roomInfo: {
diff --git a/src/views/chat.vue b/src/views/chat.vue
index 353a6f0..c510341 100644
--- a/src/views/chat.vue
+++ b/src/views/chat.vue
@@ -27,6 +27,7 @@
+
@@ -35,6 +36,7 @@ import message from '@/components/message.vue';
import messageReceive from '@/components/messageReceive.vue';
import newMessage from '@/components/newMessage.vue';
import topBanner from "@/components/topBanner";
+import chatInformation from "@/components/chatInformation";
export default {
name: 'chat',
@@ -42,7 +44,8 @@ export default {
message,
messageReceive,
newMessage,
- topBanner
+ topBanner,
+ chatInformation
}
}