|
@@ -1,21 +1,33 @@
|
|
|
<template>
|
|
<template>
|
|
|
<q-card flat class="dashboard-chart-card card-ring">
|
|
<q-card flat class="dashboard-chart-card card-ring">
|
|
|
<div class="flex justify-between items-center no-wrap q-mb-sm">
|
|
<div class="flex justify-between items-center no-wrap q-mb-sm">
|
|
|
- <span class="text-subtitle2 text-weight-medium">Aniversariantes do Mês</span>
|
|
|
|
|
- <q-btn flat round dense icon="mdi-book-open-outline" color="grey-6" size="sm" />
|
|
|
|
|
|
|
+ <span class="text-subtitle2 text-weight-regular">Aniversariantes do Mês</span>
|
|
|
|
|
+ <q-icon name="mdi-cake-variant-outline" color="secondary" size="sm" />
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <div class="text-caption text-grey-6 q-mb-xs">Nome</div>
|
|
|
|
|
|
|
+ <div class="header-row text-caption text-grey-6 q-mb-xs">
|
|
|
|
|
+ <div class="flex items-center" style="gap: 4px">
|
|
|
|
|
+ <q-icon name="mdi-calendar-outline" size="14px" color="secondary" />
|
|
|
|
|
+ <span>Nome</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <span>Ações</span>
|
|
|
|
|
+ </div>
|
|
|
<q-separator />
|
|
<q-separator />
|
|
|
|
|
|
|
|
- <q-list>
|
|
|
|
|
|
|
+ <q-list dense>
|
|
|
<template v-for="(person, index) in people" :key="index">
|
|
<template v-for="(person, index) in people" :key="index">
|
|
|
- <q-item class="q-px-none q-py-md">
|
|
|
|
|
- <q-item-section avatar>
|
|
|
|
|
|
|
+ <q-item class="q-px-none person-item">
|
|
|
|
|
+ <q-item-section avatar style="min-width: 36px">
|
|
|
<div class="day-badge">{{ person.day }}</div>
|
|
<div class="day-badge">{{ person.day }}</div>
|
|
|
</q-item-section>
|
|
</q-item-section>
|
|
|
<q-item-section>
|
|
<q-item-section>
|
|
|
- <q-item-label>{{ person.name }}</q-item-label>
|
|
|
|
|
|
|
+ <q-item-label class="text-body2">{{ person.name }}</q-item-label>
|
|
|
|
|
+ </q-item-section>
|
|
|
|
|
+ <q-item-section side>
|
|
|
|
|
+ <div class="flex items-center no-wrap" style="gap: 4px">
|
|
|
|
|
+ <q-btn flat round dense size="sm" icon="mdi-whatsapp" color="dark" />
|
|
|
|
|
+ <q-btn flat round dense size="sm" icon="mdi-email-outline" color="dark" />
|
|
|
|
|
+ </div>
|
|
|
</q-item-section>
|
|
</q-item-section>
|
|
|
</q-item>
|
|
</q-item>
|
|
|
<q-separator v-if="index < people.length - 1" />
|
|
<q-separator v-if="index < people.length - 1" />
|
|
@@ -35,19 +47,32 @@ defineProps({
|
|
|
|
|
|
|
|
<style scoped>
|
|
<style scoped>
|
|
|
.dashboard-chart-card {
|
|
.dashboard-chart-card {
|
|
|
- border-radius: 8px;
|
|
|
|
|
- padding: 16px;
|
|
|
|
|
|
|
+ border-radius: 12px;
|
|
|
|
|
+ padding: 20px 24px;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
|
|
|
+ max-height: 370px;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.header-row {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.person-item {
|
|
|
|
|
+ padding-top: 6px;
|
|
|
|
|
+ padding-bottom: 6px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.day-badge {
|
|
.day-badge {
|
|
|
- width: 32px;
|
|
|
|
|
- height: 32px;
|
|
|
|
|
|
|
+ width: 30px;
|
|
|
|
|
+ height: 30px;
|
|
|
border-radius: 50%;
|
|
border-radius: 50%;
|
|
|
background-color: #f97316;
|
|
background-color: #f97316;
|
|
|
color: #fff;
|
|
color: #fff;
|
|
|
- font-size: 13px;
|
|
|
|
|
|
|
+ font-size: 12px;
|
|
|
font-weight: 600;
|
|
font-weight: 600;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|