eating sentence quiz
This commit is contained in:
1 parent
ee6d704d48
commit
30f48e1fc7
2 files changed
+317
-13
No files matched your search
@@ -60,12 +60,11 @@
|
||||
</button>
|
||||
</summary>
|
||||
<SentenceAudio v-if="example" :v="example" lang="en" />
|
||||
<blockquote v-if="v.notes" :class="$style.notes">
|
||||
<div v-if="Array.isArray(v.notes)">
|
||||
<div v-for="(n, i) in v.notes" :key="i" v-html="n"></div>
|
||||
</div>
|
||||
<div v-else v-html="v.notes"></div>
|
||||
|
||||
<blockquote v-if="notes.length" :class="$style.notes">
|
||||
<div v-for="(n, i) in notes" :key="i" v-html="n"></div>
|
||||
</blockquote>
|
||||
|
||||
<div>
|
||||
<button
|
||||
type="button"
|
||||
@@ -193,6 +192,11 @@ const sent_ko = computed(() => {
|
||||
return v.value?.ko || "";
|
||||
});
|
||||
|
||||
const notes = computed(() => [
|
||||
...[example.value?.notes || []].flat(),
|
||||
...[v.value?.notes || []].flat(),
|
||||
]);
|
||||
|
||||
const MAX_VOC = 5;
|
||||
|
||||
const { frontmatter, page } = useData();
|
||||
|
||||
Reference in new issue
Block a user