Jelajahi Sumber

修复一些bug

blue 2 tahun lalu
induk
melakukan
3c75e6b4a7

+ 1 - 1
im-ui/src/components/chat/ChatBox.vue

@@ -13,7 +13,7 @@
 							<div class="im-chat-box">
 								<ul>
 									<li v-for="(msgInfo, idx) in chat.messages" :key="idx">
-										<chat-message-item v-show="idx >= showMinIdx" 
+										<chat-message-item v-if="idx >= showMinIdx" 
 											@call="onCall(msgInfo.type)"
 											:mine="msgInfo.sendId == mine.id"
 											:headImage="headImage(msgInfo)" :showName="showName(msgInfo)" :msgInfo="msgInfo"

+ 4 - 1
im-ui/src/components/chat/ChatPrivateVideo.vue

@@ -424,7 +424,8 @@
 				video {
 					width: 100%;
 					height: 100%;
-					object-fit: fill;
+					object-fit: cover;
+					transform: rotateY(180deg);
 				}
 			}
 
@@ -439,6 +440,8 @@
 
 				video {
 					width: 100%;
+					object-fit: cover;
+					transform: rotateY(180deg);
 				}
 			}
 		}