diff --git a/src/assets/img/icon/message/chat/able-camera.png b/src/assets/img/icon/message/chat/able-camera.png new file mode 100644 index 0000000..263a02b Binary files /dev/null and b/src/assets/img/icon/message/chat/able-camera.png differ diff --git a/src/assets/img/icon/message/chat/able-volume.png b/src/assets/img/icon/message/chat/able-volume.png new file mode 100644 index 0000000..25a3bbc Binary files /dev/null and b/src/assets/img/icon/message/chat/able-volume.png differ diff --git a/src/assets/img/icon/message/chat/add.png b/src/assets/img/icon/message/chat/add.png new file mode 100644 index 0000000..04e827b Binary files /dev/null and b/src/assets/img/icon/message/chat/add.png differ diff --git a/src/assets/img/icon/message/chat/call-end.png b/src/assets/img/icon/message/chat/call-end.png new file mode 100644 index 0000000..5ac9459 Binary files /dev/null and b/src/assets/img/icon/message/chat/call-end.png differ diff --git a/src/assets/img/icon/message/chat/call-float.png b/src/assets/img/icon/message/chat/call-float.png new file mode 100644 index 0000000..6142729 Binary files /dev/null and b/src/assets/img/icon/message/chat/call-float.png differ diff --git a/src/assets/img/icon/message/chat/disabled-camera.png b/src/assets/img/icon/message/chat/disabled-camera.png new file mode 100644 index 0000000..9493a1d Binary files /dev/null and b/src/assets/img/icon/message/chat/disabled-camera.png differ diff --git a/src/assets/img/icon/message/chat/disabled-volume.png b/src/assets/img/icon/message/chat/disabled-volume.png new file mode 100644 index 0000000..9b32f56 Binary files /dev/null and b/src/assets/img/icon/message/chat/disabled-volume.png differ diff --git a/src/assets/img/icon/message/chat/narrow.png b/src/assets/img/icon/message/chat/narrow.png new file mode 100644 index 0000000..bd87b74 Binary files /dev/null and b/src/assets/img/icon/message/chat/narrow.png differ diff --git a/src/pages/message/chat/Chat.vue b/src/pages/message/chat/Chat.vue index 12b89c7..88d4def 100644 --- a/src/pages/message/chat/Chat.vue +++ b/src/pages/message/chat/Chat.vue @@ -8,7 +8,8 @@ zzzz
- +
@@ -120,7 +121,7 @@ - +
@@ -160,6 +161,48 @@ + +
+ + + + 呼叫中 +
+ + +
+
+
+ +
+ + 等待对方接听... +
+
+
+ + 摄像头 +
+
+ + 免提 +
+
+ + +
+
+
+ + +
+
+
+
@@ -549,7 +593,7 @@ export default { font-size: 1.4rem; .chat-content { - .header { + > .header { z-index: 2; background: @main-bg; width: 100%; @@ -891,6 +935,125 @@ export default { } + + .audio-call { + position: fixed; + top: 0; + left: 0; + width: 100vw; + height: 100vh; + //background: black; + background: linear-gradient(to bottom, #262626, black); + + .float { + position: fixed; + top: 0; + left: 0; + width: 100vw; + height: 100vh; + display: flex; + flex-direction: column; + align-items: center; + justify-content: space-between; + + > .header { + width: 100vw; + padding: @padding-page; + box-sizing: border-box; + display: flex; + align-items: flex-start; + justify-content: space-between; + + img { + width: 2.4rem; + height: 2.4rem; + } + + .center { + display: flex; + align-items: center; + + img { + width: 2rem; + height: 2rem; + background: white; + padding: .2rem; + border-radius: 50%; + } + + span { + margin-left: .5rem; + } + } + + .right { + display: flex; + flex-direction: column; + font-size: 1rem; + + .option { + margin-bottom: 2.4rem; + display: flex; + align-items: center; + flex-direction: column; + + span { + margin-top: 1rem; + } + } + + .shrink { + transform: rotate(90deg) scale(.6) !important; + } + } + } + + .big-avatar { + position: absolute; + left: 50%; + top: 50%; + transform: translate3d(-50%, -50%, 0); + width: 10rem; + border-radius: 50%; + } + + .footer { + display: flex; + flex-direction: column; + align-items: center; + font-size: 1.2rem; + margin-bottom: 4rem; + + img { + width: 5rem; + margin-bottom: .5rem; + } + + } + + + } + + } + + .call-float { + position: fixed; + top: 20vh; + left: @padding-page; + background: white; + display: flex; + align-items: center; + border-radius: .6rem; + justify-content: center; + flex-direction: column; + color: #14BF5F; + padding: 1rem; + + img { + width: 3rem; + margin-bottom: .2rem; + } + } } \ No newline at end of file