From 62a9caf9ac95aa69d36f41cdcf0fdfc9b8d01d37 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Sun, 18 Feb 2024 15:40:43 +0800
Subject: [PATCH] 房屋管理,标签显示调整

---
 src/views/userHouse/houseList.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/views/userHouse/houseList.vue b/src/views/userHouse/houseList.vue
index 446363c..c785db9 100644
--- a/src/views/userHouse/houseList.vue
+++ b/src/views/userHouse/houseList.vue
@@ -61,8 +61,8 @@
 
                 <el-dialog title="标签管理" append-to-body :visible.sync="labelFlag" center width="600px">
                     <div id="" class="grid-container2">
-                        <div class="grid-item" v-for="(item, index) in labelData" :key="index" @click="changLabel(item)">
-                            {{ item.color }}
+                        <div class="grid-item" :style="{ backgroundColor: getColor(item.color) }"
+                            v-for="(item, index) in labelData" :key="index" @click="changLabel(item)">
                             {{ item.name }}
                         </div>
                     </div>

--
Gitblit v1.9.3