style: self assessment

This commit is contained in:
skytek_xinliang
2026-06-23 09:59:44 +08:00
parent eb952d31cb
commit 250d1b6e40
4 changed files with 49 additions and 78 deletions
+6 -11
View File
@@ -130,9 +130,7 @@
<v-icon color="secondary" icon="mdi-numeric-1-circle" size="24" />
</template>
<v-list-item-title class="font-weight-bold"
>下肢肌力坐站起立訓練</v-list-item-title
>
<v-list-item-title class="font-weight-bold">下肢肌力坐站起立訓練</v-list-item-title>
<v-list-item-subtitle class="text-caption mt-1">
每週 2 每次 3 每組 10-12 <br />
@@ -145,9 +143,7 @@
<v-icon color="secondary" icon="mdi-numeric-2-circle" size="24" />
</template>
<v-list-item-title class="font-weight-bold"
>靜態平衡扶椅單腳站立</v-list-item-title
>
<v-list-item-title class="font-weight-bold">靜態平衡扶椅單腳站立</v-list-item-title>
<v-list-item-subtitle class="text-caption mt-1">
每週 3 左右腳各 30 重複 3 <br />
@@ -176,8 +172,7 @@
color="primary"
variant="flat"
@click="prescriptionDialog = false"
>確認關閉</v-btn
>
>確認關閉</v-btn>
</v-card-actions>
</v-card>
</v-dialog>
@@ -260,7 +255,7 @@ const prescriptionDialog = ref(false)
const displayedHealthScore = ref(1)
let healthScoreTimer: number | undefined
function animateHealthScore(targetScore: number) {
function animateHealthScore (targetScore: number) {
if (healthScoreTimer !== undefined) {
window.clearInterval(healthScoreTimer)
}
@@ -298,9 +293,9 @@ onBeforeUnmount(() => {
watch(
() => store.healthScore,
(score) => {
score => {
animateHealthScore(score)
}
},
)
const todayTimeString = computed(() => {