Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | <template>
<v-card-title>{{ item.title }}</v-card-title>
<v-card-subtitle>
<div>{{ item.description }}</div>
</v-card-subtitle>
<v-card-actions class="ga-4">
<div>
<v-icon color="teal-darken-4">mdi-calendar</v-icon>
<strong> До:</strong> {{ new Date(item.date).toLocaleDateString() }}
</div>
<div>
<v-icon color="teal-darken-4">mdi-calendar-text</v-icon>
<strong> Вопросов:</strong> {{ item.questions }}
</div>
<div v-if="item.time">
<v-icon color="teal-darken-4">mdi-clock</v-icon>
<strong> Время:</strong> {{ item.time }}
</div>
<div v-if="item.attempts">
<v-icon color="deep-orange-accent-4">mdi-alert-outline</v-icon>
<strong> Попытки:</strong> {{ item.attempts }}
</div>
</v-card-actions>
</template>
<script>
export default {
props: {
item: {
type: Object,
required: true
}
}
};
</script>
|