diff --git a/src/assets/imgs/show/bg_item_scene.png b/src/assets/imgs/show/bg_item_scene.png
new file mode 100644
index 0000000..1d279e1
Binary files /dev/null and b/src/assets/imgs/show/bg_item_scene.png differ
diff --git a/src/assets/imgs/show/bg_item_timing_select.png b/src/assets/imgs/show/bg_item_timing_select.png
new file mode 100644
index 0000000..de74928
Binary files /dev/null and b/src/assets/imgs/show/bg_item_timing_select.png differ
diff --git a/src/assets/imgs/show/bg_item_timing_unselect.png b/src/assets/imgs/show/bg_item_timing_unselect.png
new file mode 100644
index 0000000..d4914ef
Binary files /dev/null and b/src/assets/imgs/show/bg_item_timing_unselect.png differ
diff --git a/src/assets/imgs/show/bg_timing.png b/src/assets/imgs/show/bg_timing.png
new file mode 100644
index 0000000..3392ef4
Binary files /dev/null and b/src/assets/imgs/show/bg_timing.png differ
diff --git a/src/assets/imgs/show/btn_item_timing_add.png b/src/assets/imgs/show/btn_item_timing_add.png
new file mode 100644
index 0000000..0a2ccb2
Binary files /dev/null and b/src/assets/imgs/show/btn_item_timing_add.png differ
diff --git a/src/assets/imgs/show/btn_item_timing_close.png b/src/assets/imgs/show/btn_item_timing_close.png
new file mode 100644
index 0000000..1dd1b64
Binary files /dev/null and b/src/assets/imgs/show/btn_item_timing_close.png differ
diff --git a/src/assets/imgs/show/btn_item_timing_delete.png b/src/assets/imgs/show/btn_item_timing_delete.png
new file mode 100644
index 0000000..3e5a36b
Binary files /dev/null and b/src/assets/imgs/show/btn_item_timing_delete.png differ
diff --git a/src/assets/imgs/show/btn_item_timing_open.png b/src/assets/imgs/show/btn_item_timing_open.png
new file mode 100644
index 0000000..12322c1
Binary files /dev/null and b/src/assets/imgs/show/btn_item_timing_open.png differ
diff --git a/src/assets/imgs/show/icon_hwxf.png b/src/assets/imgs/show/icon_hwxf.png
new file mode 100644
index 0000000..d093445
Binary files /dev/null and b/src/assets/imgs/show/icon_hwxf.png differ
diff --git a/src/assets/imgs/show/icon_kszl.png b/src/assets/imgs/show/icon_kszl.png
new file mode 100644
index 0000000..baad7eb
Binary files /dev/null and b/src/assets/imgs/show/icon_kszl.png differ
diff --git a/src/assets/imgs/show/icon_kszr.png b/src/assets/imgs/show/icon_kszr.png
new file mode 100644
index 0000000..9cfe0d0
Binary files /dev/null and b/src/assets/imgs/show/icon_kszr.png differ
diff --git a/src/assets/imgs/show/icon_ty.png b/src/assets/imgs/show/icon_ty.png
new file mode 100644
index 0000000..f068637
Binary files /dev/null and b/src/assets/imgs/show/icon_ty.png differ
diff --git a/src/assets/imgs/show/icon_tyzl.png b/src/assets/imgs/show/icon_tyzl.png
new file mode 100644
index 0000000..80f8a36
Binary files /dev/null and b/src/assets/imgs/show/icon_tyzl.png differ
diff --git a/src/assets/imgs/show/icon_tyzr.png b/src/assets/imgs/show/icon_tyzr.png
new file mode 100644
index 0000000..560b91a
Binary files /dev/null and b/src/assets/imgs/show/icon_tyzr.png differ
diff --git a/src/assets/imgs/show/icon_zhqg.png b/src/assets/imgs/show/icon_zhqg.png
new file mode 100644
index 0000000..adae350
Binary files /dev/null and b/src/assets/imgs/show/icon_zhqg.png differ
diff --git a/src/dto/scene-dto.ts b/src/dto/scene-dto.ts
new file mode 100644
index 0000000..b331261
--- /dev/null
+++ b/src/dto/scene-dto.ts
@@ -0,0 +1,21 @@
+/**
+ * 定时
+ */
+export type SceneDto = {
+ /**
+ * id
+ */
+ id: number;
+ /**
+ * 名称
+ */
+ name: string;
+ /**
+ * 图标
+ */
+ img: string;
+ /**
+ * 进度
+ */
+ progress: number;
+};
diff --git a/src/dto/timing-dto.ts b/src/dto/timing-dto.ts
new file mode 100644
index 0000000..fa61de4
--- /dev/null
+++ b/src/dto/timing-dto.ts
@@ -0,0 +1,25 @@
+/**
+ * 定时
+ */
+export type TimingDto = {
+ /**
+ * id
+ */
+ id: number;
+ /**
+ * 定时时间
+ */
+ time: string;
+ /**
+ * 开关机状态
+ */
+ state: boolean;
+ /**
+ * 设备名称
+ */
+ name: string;
+ /**
+ * 选中状态
+ */
+ selectState: boolean;
+};
diff --git a/src/router-demo.ts b/src/router-demo.ts
index 82221a0..74959a8 100644
--- a/src/router-demo.ts
+++ b/src/router-demo.ts
@@ -36,6 +36,15 @@ export const demoRoutes = [
requireAuth: false,
},
},
+ {
+ name: "timing",
+ path: "base-components-demo/timing",
+ component: () => import("@/view/show/timing.vue"),
+ meta: {
+ title: "定时",
+ requireAuth: false,
+ },
+ },
{
name: "animation-demo",
path: "base-components-demo/animation-demo",
diff --git a/src/view/demo/base-components-demo.vue b/src/view/demo/base-components-demo.vue
index dd66661..68dcf2b 100644
--- a/src/view/demo/base-components-demo.vue
+++ b/src/view/demo/base-components-demo.vue
@@ -45,7 +45,7 @@ const navList = [
name: "animation",
icon: "iconfont icon-chongzhima",
click: () => {
- router.push("/demo/base-components-demo/animation-demo");
+ router.push("/demo/base-components-demo/timing");
},
color: "bg-red",
},
@@ -280,16 +280,16 @@ const navList = [
\ No newline at end of file
+
diff --git a/src/view/tabs/scene.vue b/src/view/tabs/scene.vue
index e28b516..f19bd8a 100644
--- a/src/view/tabs/scene.vue
+++ b/src/view/tabs/scene.vue
@@ -1,13 +1,155 @@
-
+
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
-
+
\ No newline at end of file
+