Skip to content

Instantly share code, notes, and snippets.

Avatar

Leo Miranda leomiranda

View GitHub Profile
View list.vue
<template>
<div class="q-mt-lg">
<q-card v-for="expense in expenses" :key="expense.date" class="q-mb-md cc-card" @click="ccToggle(expense)">
<q-card-title>
R$ {{ expense.amount }}
<span :class="{ done: expense.done }" slot="subtitle" v-html="dateFormat(expense.date)"></span>
</q-card-title>
<q-card-separator />
<q-card-main :class="{ done: expense.done }">
{{ expense.description }}