From 1d109550d49dd846275af38d25354f4dbad8945e Mon Sep 17 00:00:00 2001 From: jazz <jazzxhunter@163.com> Date: 星期三, 13 十二月 2023 11:42:08 +0800 Subject: [PATCH] update_202312131141_房间增加敷麻状态,且刷新按钮改为刷新整个浏览器页面 --- src/components/xio_room_status_chg/index.vue | 32 ++++++++++++++++++++++---------- 1 files changed, 22 insertions(+), 10 deletions(-) diff --git a/src/components/xio_room_status_chg/index.vue b/src/components/xio_room_status_chg/index.vue index 208e4d2..3d06852 100644 --- a/src/components/xio_room_status_chg/index.vue +++ b/src/components/xio_room_status_chg/index.vue @@ -5,29 +5,37 @@ <div class="btn_box flex flex-center"> <div style="width: 100%;"> <div class="line flex flex-ver flex-sb"> - <div class="btn_box_item flex flex-center white" @click="changeStatus('绌洪棽')"> + <div class="btn_box_item flex flex-center white" @click="changeStatus('绌洪棽', 0)"> <div class="flex flex-ver"> - <img class="icon" src="../../assets/img/free.png"> + <div class="icon"> + <img class="img" src="static/imgs/free.png"> + </div> <div class="tx">绌洪棽</div> </div> </div> - <div class="btn_box_item flex flex-center blue" @click="changeStatus('浣跨敤涓�')"> + <div class="btn_box_item flex flex-center blue" @click="changeStatus('浣跨敤涓�', 1)"> <div class="flex flex-ver"> - <img class="icon" src="../../assets/img/using.png"> + <div class="icon"> + <img class="img" src="static/imgs/using.png"> + </div> <div class="tx white">浣跨敤涓�</div> </div> </div> </div> <div class="line flex flex-ver flex-sb"> - <div class="btn_box_item flex flex-center yellow" @click="changeStatus('瀹汉浼戞伅')"> + <div class="btn_box_item flex flex-center yellow" @click="changeStatus('瀹汉浼戞伅', 2)"> <div class="flex flex-ver"> - <img class="icon" src="../../assets/img/rest.png"> + <div class="icon"> + <img class="img" src="static/imgs/rest.png"> + </div> <div class="tx">瀹汉浼戞伅</div> </div> </div> - <div class="btn_box_item flex flex-center gray" @click="changeStatus('閫氱煡鎵撴壂')"> + <div class="btn_box_item flex flex-center gray" @click="changeStatus('閫氱煡鎵撴壂', 3)"> <div class="flex flex-ver"> - <img class="icon" src="../../assets/img/clear.png"> + <div class="icon"> + <img class="img" src="static/imgs/clear.png"> + </div> <div class="tx">閫氱煡鎵撴壂</div> </div> </div> @@ -57,8 +65,8 @@ return }, // 鏇存崲鐘舵�� - changeStatus(tx) { - this.$emit('changeStatus', { statusTx: tx }) + changeStatus(tx, status) { + this.$emit('changeStatus', { statusTx: tx, status: status * 1 }) }, // 鏄剧ず寮圭獥 showDialog() { @@ -126,6 +134,10 @@ display: block; margin-right: 17px; } +.xio_room_status_chg_dialog .btn_box_item .icon .img { + width: 100%; + height: 100%; +} .xio_room_status_chg_dialog .btn_box_item .tx { line-height: 37px; color: rgba(51,51,51,1); -- Gitblit v1.8.0