Explorar o código

update pc_chat

luke %!s(int64=6) %!d(string=hai) anos
pai
achega
3b3efdeb1a
Modificáronse 1 ficheiros con 9 adicións e 1 borrados
  1. 9 1
      pc_chat/src/components/chat.vue

+ 9 - 1
pc_chat/src/components/chat.vue

@@ -460,7 +460,7 @@
 									</div>
 									<div>
 										<span>职务:</span>
-										<span>{{service.serverInfo ? service.serverInfo.groupname : '咨询客服'}}</span>
+										<span class="duty">{{service.serverInfo ? service.serverInfo.groupname : '咨询客服'}}</span>
 									</div>
 								</div>
 								<div class="headPortrait">
@@ -2463,4 +2463,12 @@
 		position: relative;
 		top: 10px;
 	}
+	.duty {
+		display: inline-block;
+		width: 60px;
+		white-space: nowrap;
+		overflow: hidden;
+		text-overflow: ellipsis;
+		vertical-align: bottom;
+	}
 </style>