From c08d0ebace5e9f20eb442ad7cb1db05d61ecbd0d Mon Sep 17 00:00:00 2001
From: hejianhao <15708179461@qq.com>
Date: 星期一, 21 四月 2025 14:56:28 +0800
Subject: [PATCH] 修改bug
---
src/components/RightPanel.vue | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/src/components/RightPanel.vue b/src/components/RightPanel.vue
index f8ac585..a01ab28 100644
--- a/src/components/RightPanel.vue
+++ b/src/components/RightPanel.vue
@@ -51,7 +51,7 @@
<span class="action-btn" :style="{ backgroundColor: item.leaseStatus == 2 ? '#FFB822' : item.leaseStatus == 1 ? '#66BAF8' : '#FF6B6B' }">{{ ['待出租', '已出租', '维修中'][item.leaseStatus - 1] }}</span>
</div>
</div>
- <div v-for="(item, index) in realTimeRentData" :key="'duplicate-' + index" class="status-item">
+ <div v-for="(item, index) in realTimeRentData" v-if="realTimeRentData.length>10" :key="'duplicate-' + index" class="status-item">
<span class="area-name">{{ item.streetName }}</span>
<span class="area-name">{{ item.roomName }}</span>
<div class="status-actions">
@@ -73,10 +73,6 @@
type: Object,
default: () => { }
},
- realTimeRentData: {
- type: Array,
- default: () => []
- }
},
data() {
return {
@@ -166,7 +162,7 @@
.right-panel-top,
.right-panel-top1 {
display: flex;
- background: rgba(146, 146, 146, 0.5);
+ background: rgba(146, 146, 146, 0.7);
padding: 15px;
border-radius: 8px;
gap: 10px;
@@ -184,7 +180,7 @@
}
.status-list {
- background: rgba(146, 146, 146, 0.5);
+ background: rgba(146, 146, 146, 0.7);
border-radius: 8px;
margin-top: 10px;
padding: 15px;
--
Gitblit v1.7.1