1.副屏标题
This commit is contained in:
2024-06-15 16:21:54 +08:00
parent 0f391ffc22
commit dcf14220b3
6 changed files with 38 additions and 13 deletions
@@ -1,6 +1,6 @@
<template>
<div class="terminal-container self">
<public-title title="睡眠" />
<public-title title="睡眠" :theme-type="themeType" />
<div class="inner">
<div class="title">
<span class="lightSleep">平均睡眠 {{ nums.avg }} 深睡 {{ nums.avgLong }} 浅睡 {{ nums.avgShort }}</span>
@@ -22,6 +22,7 @@
const props = defineProps({
orgCode: String,
type: String,
themeType: String,
});
const sleepChart = ref<HTMLElement>();
watch(
@@ -110,4 +111,4 @@
height: 80%;
}
}
</style>
</style>