From 911e0ed72a790ba054385ffe594262e123948691 Mon Sep 17 00:00:00 2001 From: long <515897141@qq.com> Date: 星期三, 26 六月 2024 16:27:05 +0800 Subject: [PATCH] 图标配置 --- src/components/xio_room_info_block/index.vue | 22 +++++++++++++++++++--- 1 files changed, 19 insertions(+), 3 deletions(-) diff --git a/src/components/xio_room_info_block/index.vue b/src/components/xio_room_info_block/index.vue index a4486a5..a4a265d 100644 --- a/src/components/xio_room_info_block/index.vue +++ b/src/components/xio_room_info_block/index.vue @@ -1,6 +1,12 @@ <template> <div class="room_info"> <div class="staff_box flex flex-ver flex-sb"> + <div v-if="occupyInfoViewArr.length > 1" class="staff_box_item flex-1 flex flex-center"> + <div> + <div class="staff_box_item__title">瀹㈡埛鍚嶇О</div> + <div class="staff_box_item__name">{{ occupyInfoView.appellationName || occupyInfoView.userName || '' }}</div> + </div> + </div> <div class="staff_box_item flex-1 flex flex-center"> <div> <div class="staff_box_item__title">鍒嗚瘖椤鹃棶</div> @@ -30,12 +36,18 @@ <script> export default { - name: 'XioRoomStatusChg', + name: 'XioRoomInfoBlock', props: { occupyInfoView: { type: [Object, Array], default: () => { return {} + } + }, + occupyInfoViewArr: { + type: Array, + default: () => { + return [] } } }, @@ -81,14 +93,18 @@ height: 180px; } .room_info .staff_box_item:nth-child(1) { - background-color: rgba(255,255,255,0.1); + background-color: rgba(255,255,255,0.3); } .room_info .staff_box_item:nth-child(2) { - background-color: rgba(255,255,255,0.3); + background-color: rgba(255,255,255,0.1); margin: 0 10px; } .room_info .staff_box_item:nth-child(3) { + background-color: rgba(255,255,255,0.3); +} +.room_info .staff_box_item:nth-child(4) { background-color: rgba(255,255,255,0.1); + margin-left: 10px; } .room_info .staff_box_item__title { line-height: 28px; -- Gitblit v1.8.0