add event record rank

This commit is contained in:
Timi
2026-08-12 22:27:16 +08:00
parent 9dcc38bdd9
commit f9efbd109f
13 changed files with 694 additions and 83 deletions
+3 -14
View File
@@ -74,9 +74,9 @@
:src="getRecordPhotoURL(item)"
:alt="getRecordEventName(item)"
fit="cover"
class="photo"
class="avatar"
/>
<div v-else class="photo fallback" v-text="getRecordCustomerInitial(item)" />
<div v-else class="avatar fallback" v-text="getRecordCustomerInitial(item)" />
</template>
</t-cell>
<template v-if="canDeleteRecord" #right>
@@ -666,20 +666,9 @@ onUnmounted(() => {
white-space: nowrap;
}
.photo {
.avatar {
width: 3.5rem;
height: 3.5rem;
border-radius: .5rem;
&.fallback {
color: #2563eb;
display: flex;
font-size: 1.25rem;
background: #dbeafe;
align-items: center;
font-weight: 600;
justify-content: center;
}
}
}