diff --git a/src/assets/imgs/show/icon_select.png b/src/assets/imgs/show/icon_select.png new file mode 100644 index 0000000..b010a9e Binary files /dev/null and b/src/assets/imgs/show/icon_select.png differ diff --git a/src/assets/imgs/show/icon_timing_fault.png b/src/assets/imgs/show/icon_timing_fault.png new file mode 100644 index 0000000..053d29f Binary files /dev/null and b/src/assets/imgs/show/icon_timing_fault.png differ diff --git a/src/assets/imgs/show/icon_timing_killvirus.png b/src/assets/imgs/show/icon_timing_killvirus.png new file mode 100644 index 0000000..9e3f621 Binary files /dev/null and b/src/assets/imgs/show/icon_timing_killvirus.png differ diff --git a/src/router-demo.ts b/src/router-demo.ts index 74959a8..82221a0 100644 --- a/src/router-demo.ts +++ b/src/router-demo.ts @@ -36,15 +36,6 @@ 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/router.ts b/src/router.ts index db98e76..ee97e1e 100644 --- a/src/router.ts +++ b/src/router.ts @@ -40,32 +40,42 @@ const projectRoutes = [ path: "/tabs", component: () => import("@/view/tabs/tabs.vue"), meta: { - title: '智慧屏首頁' - } + title: "智慧屏首頁", + }, }, { name: "timingAdd", path: "/timingAdd", component: () => import("@/view/timing/timing-add.vue"), meta: { - title: '智慧屏首頁' - } + title: "", + }, }, { name: "timingSureDelete", path: "/timingSureDelete", component: () => import("@/view/timing/timing-sure-delete.vue"), meta: { - title: '智慧屏首頁' - } + title: "", + }, }, { name: "device-detail", path: "/device-detail", component: () => import("@/view/device-detail/device-detail.vue"), meta: { - title: '设备详情页' - } + title: "设备详情页", + }, + }, + { + name: "timingSelectDevice", + path: "/timingSelectDevice", + component: () => import("@/view/timing/timing-select-device.vue"), + }, + { + name: "timingSelectTime", + path: "/timingSelectTime", + component: () => import("@/view/timing/timing-select-time.vue"), }, // 非哈希路由暂不启用 { diff --git a/src/styles/framework/base/flexbox.scss b/src/styles/framework/base/flexbox.scss index 968c1c7..ec3b711 100644 --- a/src/styles/framework/base/flexbox.scss +++ b/src/styles/framework/base/flexbox.scss @@ -240,6 +240,7 @@ Flex, Grow, & Shrink 待确定 line-height: 1; } } + //智慧屏标题 .zhp-title { padding-top: 31px; @@ -247,6 +248,7 @@ Flex, Grow, & Shrink 待确定 width: 100vw; position: relative; } + //智慧屏标题 .zhp-title-text { margin-top: 4px; @@ -254,11 +256,14 @@ Flex, Grow, & Shrink 待确定 text-align: center; font-size: 40px; } + //智慧屏背景 .base-bg { + display: flex; + flex-direction: column; position: relative; background-image: url("@/assets/imgs/show/bg_timing.png"); - height: 720px; + height: 100vh; width: 720px; //智慧屏返回键 .leftImg { @@ -267,4 +272,46 @@ Flex, Grow, & Shrink 待确定 position: absolute; left: 24px; } + + .bottom-s-c { + left: 24px; + right: 24px; + position: absolute; + bottom: 0; + flex-wrap: wrap; + display: flex; + justify-content: space-between; + padding-top: 30px; + padding-bottom: 30px; + background-color: rgba($color: #0A101A, $alpha: 0.7); + + .bottom-s { + margin-left: 20px; + display: flex; + align-items: center; + justify-content: center; + background-repeat: no-repeat; + background-size: contain; + color: #ffffff; + font-size: 40px; + font-weight: 400; + width: 326px; + height: 110px; + background-image: url("@/assets/imgs/show/bg_btn_blue.png"); + } + + .bottom-c { + display: flex; + align-items: center; + justify-content: center; + background-repeat: no-repeat; + background-size: contain; + color: #ffffff; + font-size: 40px; + font-weight: 400; + width: 326px; + height: 110px; + background-image: url("@/assets/imgs/show/bg_btn_gray.png"); + } + } } diff --git a/src/view/tabs/device-control.vue b/src/view/tabs/device-control.vue index b23b8ee..a8eff0b 100644 --- a/src/view/tabs/device-control.vue +++ b/src/view/tabs/device-control.vue @@ -16,7 +16,6 @@ 'air-quality-liang': item.airQuality === '良', 'air-quality-cha': item.airQuality === '差', }" - @click="goToDetail(item)" >