diff --git a/src/style.css b/src/style.css index 5213d42..2e9314c 100644 --- a/src/style.css +++ b/src/style.css @@ -59,10 +59,10 @@ button:focus-visible { } #app { - width: 1920px; - height:1080px; + width: 100%; + height:100%; margin: 0 auto; - padding: 2rem; + /* padding: 2rem; */ text-align: center; } diff --git a/src/views/Room.vue b/src/views/Room.vue index 3ebc6d9..76e1ce5 100644 --- a/src/views/Room.vue +++ b/src/views/Room.vue @@ -17,12 +17,24 @@ -
-
-
-
-
-
+
+ 房型信息 +
+
+ 灯光信息 +
+
+ 空调信息 +
+
+ 面板信息 +
+
+ 窗帘信息 +
+
+ 其他信息 +
@@ -95,6 +107,35 @@ const addRoom = () => { >div { border: 1px solid #ddd; + display: flex; + border-radius: 8px; + .name { + width: 50px; + color:#fff; + font-size: 18px; + text-align: center; + display: flex; + align-items: center; + } + .name1 { + background: #de868f; + } + .name2 { + background: #e99d42; + } + .name3 { + background: #cba43f; + } + .name4 { + background: #bfbf3d; + } + .name5 { + background: #54bcbd; + } + .name6 { + background: #e99d42; + } + } .div-1 {