style: add hover
This commit is contained in:
parent
b3fc09e716
commit
2ca8c49ae4
1 changed files with 7 additions and 2 deletions
|
|
@ -7,12 +7,17 @@ defineProps<{
|
|||
|
||||
<template>
|
||||
<div
|
||||
class="q-pl-md q-pr-sm row items-center justify-between rounded"
|
||||
class="q-pl-md q-pr-sm row items-center justify-between rounded hover-item"
|
||||
:style="`border:1px solid ${color};color:${color}`"
|
||||
@click.stop="$emit('viewDetail')"
|
||||
>
|
||||
{{ $t(label) }}
|
||||
<q-icon name="mdi-arrow-right" class="q-ml-md" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped></style>
|
||||
<style scoped>
|
||||
.hover-item:hover {
|
||||
background-color: var(--surface-3);
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue