diff --git a/public/icon/UserIcon.png b/public/icon/UserIcon.png new file mode 100644 index 00000000..0ff1e8cc Binary files /dev/null and b/public/icon/UserIcon.png differ diff --git a/src/assets/css/chat/honneyBtn.css b/src/assets/css/chat/honneyBtn.css new file mode 100644 index 00000000..ac3e6cba --- /dev/null +++ b/src/assets/css/chat/honneyBtn.css @@ -0,0 +1,26 @@ +/* 给圆形定义关键帧 */ +@keyframes switch { + 0% { + left: calc(4px * 0.5); + } + 60% { + left:calc(4px * 0.5); + width: calc(112px * 0.5); + } + 100%{ + left: calc(104px * 0.5); + } +} +@keyframes reverse_switch { + 0% { + left: calc(104px * 0.5); + } + 60%{ + left: calc(74px * 0.5); + width: calc(112px * 0.5); + } + 100%{ + left: calc(4px * 0.5); + } +} + diff --git a/src/assets/pictures/chat/Calendar.png b/src/assets/pictures/chat/Calendar.png new file mode 100644 index 00000000..c39deee5 Binary files /dev/null and b/src/assets/pictures/chat/Calendar.png differ diff --git a/src/assets/pictures/chat/GuanZhu.png b/src/assets/pictures/chat/GuanZhu.png new file mode 100644 index 00000000..09d8ea94 Binary files /dev/null and b/src/assets/pictures/chat/GuanZhu.png differ diff --git a/src/assets/pictures/chat/HeiMinDan.png b/src/assets/pictures/chat/HeiMinDan.png new file mode 100644 index 00000000..f2406e08 Binary files /dev/null and b/src/assets/pictures/chat/HeiMinDan.png differ diff --git a/src/assets/pictures/chat/Location.png b/src/assets/pictures/chat/Location.png new file mode 100644 index 00000000..3f262162 Binary files /dev/null and b/src/assets/pictures/chat/Location.png differ diff --git a/src/assets/pictures/chat/SendBtn.png b/src/assets/pictures/chat/SendBtn.png new file mode 100644 index 00000000..dd6e53d6 Binary files /dev/null and b/src/assets/pictures/chat/SendBtn.png differ diff --git a/src/assets/pictures/chat/portrait.png b/src/assets/pictures/chat/portrait.png new file mode 100644 index 00000000..83ad21d7 Binary files /dev/null and b/src/assets/pictures/chat/portrait.png differ diff --git a/src/assets/pictures/chat/search.png b/src/assets/pictures/chat/search.png new file mode 100644 index 00000000..e9c7373b Binary files /dev/null and b/src/assets/pictures/chat/search.png differ diff --git a/src/assets/pictures/chat/tree.png b/src/assets/pictures/chat/tree.png new file mode 100644 index 00000000..07aeeec4 Binary files /dev/null and b/src/assets/pictures/chat/tree.png differ diff --git a/src/views/chat/HonneyBtn.vue b/src/views/chat/HonneyBtn.vue new file mode 100644 index 00000000..f89e469f --- /dev/null +++ b/src/views/chat/HonneyBtn.vue @@ -0,0 +1,67 @@ + + + + + \ No newline at end of file diff --git a/src/views/chat/chat.vue b/src/views/chat/chat.vue index aea4fdd7..c281c8fb 100644 --- a/src/views/chat/chat.vue +++ b/src/views/chat/chat.vue @@ -1,9 +1,279 @@ \ No newline at end of file + + + \ No newline at end of file diff --git a/src/views/login/login.vue b/src/views/login/login.vue index 0848b8e2..863b8428 100644 --- a/src/views/login/login.vue +++ b/src/views/login/login.vue @@ -225,6 +225,7 @@ export default { this.isShow = !this.isShow }, async UserLogin() { + this.$router.push('/main'); if(this.loginUser.code === 'Yj98') { try { const response = await axios.post('', null, {