diff --git a/src/style.css b/src/style.css index 2e9314c..577287a 100644 --- a/src/style.css +++ b/src/style.css @@ -65,7 +65,10 @@ button:focus-visible { /* padding: 2rem; */ text-align: center; } - +.flex-center { + display: flex; + align-items: center; +} @media (prefers-color-scheme: light) { :root { color: #213547; diff --git a/src/views/Room.vue b/src/views/Room.vue index 76e1ce5..ea2f7d2 100644 --- a/src/views/Room.vue +++ b/src/views/Room.vue @@ -19,21 +19,125 @@
房型信息 +
+
+ 房型名称: + + + + +
+
+ 房型数量: + +
+
灯光信息 +
+
+

{{ item.label }}

+

+ +

+
+
空调信息 +
+
盘管类型
+ + {{item.label}} + + + {{item.label}} + + + {{item.label}} + +
+

温控器数量

+

+ +

+
+
面板信息 +
+
面板类型
+ + {{item.label}} + +
+

面板数量

+

+ +

+
+
+

按钮数量

+

+ +

+
+
窗帘信息 +
+
窗帘类型
+ + {{item.label}} + +
+

窗帘数量

+

+ +

+
+
+

窗纱数量

+

+ +

+
+
其他信息 +
+
+
+

{{ item.label }}

+

+ +

+
+ +
+ + + {{ item.label }} + + +
+ +
+
+ 备注 +
+
+ +
+
@@ -50,11 +154,122 @@ const new_room = reactive({ number: 55, }) +const options = reactive([{ + label: '房型A', + value: 1, +},{ + label: '房型B', + value: 2, +}]) +const form = reactive({ + roomName: options[0].value, + num1: 1, + num100: 1, + num101: 1, + type1: 0, + type2: 0, + type3: 0, + type4: 0, + type5: 0, + mbnum: 0, + btnnum: 0, + chlnum: 0, + chshnum: 0, + checkone: [], + desc:'' +}) + +const lightArr = reactive([{ + label: '开关回路', + value: 1, +},{ + label: '0-10V调光', + value: 2, +},{ + label: '前沿调光', + value: 3, +},{ + label: '后沿调光', + value: 4, +},{ + label: 'DALI灯', + value: 5, +}]) +const otherArr = reactive([{ + label: '红外', + value: 1, +},{ + label: '双鉴红外', + value: 2, +},{ + label: '门磁', + value: 3, +},{ + label: '窗磁', + value: 4, +},{ + label: '门铃', + value: 5, +}]) +const radioGroup1 = reactive([{ + label: '普通三速风机', + value: 1, +},{ + label: '直流无刷风机', + value: 2, +},{ + label: '三方协议风机', + value: 3, +}]) +const radioGroup2 = reactive([{ + label: '两管制', + value: 4, +},{ + label: '四管制', + value: 5, +}]) +const radioGroup3 = reactive([{ + label: '两通阀', + value: 6, +},{ + label: '调节阀', + value: 7, +}]) +const radioGroup4 = reactive([{ + label: '普通面板(无背光)', + value: 8, +},{ + label: '普通面板(带背光)', + value: 9, +},{ + label: '协议面板', + value: 10, +}]) +const radioGroup5 = reactive([{ + label: '干接点电机', + value: 11, +},{ + label: '485电机', + value: 12, +}]) +const checkList = reactive([{ + label: 'DND', + value: 11, +},{ + label: 'MUR', + value: 12, +},{ + label: 'SOS', + value: 13, +}]) const addRoom = () => { room_data.list.push({ name: new_room.name, number: new_room.number, }); +} +const check = () => { + } \ No newline at end of file