update
1.副屏标题
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user