refactor: css of pay success
This commit is contained in:
parent
afb9ddf424
commit
552f13abe4
2 changed files with 17 additions and 13 deletions
|
|
@ -28,6 +28,11 @@ defineProps<{
|
|||
code: string;
|
||||
status?: Step;
|
||||
imgUrl?: string;
|
||||
installmentInfo?: {
|
||||
total: number;
|
||||
paid?: number;
|
||||
};
|
||||
paySuccess: boolean;
|
||||
}>();
|
||||
|
||||
// NOTE: Function
|
||||
|
|
@ -35,6 +40,7 @@ defineProps<{
|
|||
<template>
|
||||
<q-expansion-item
|
||||
dense
|
||||
:class="{ 'status-unpaid': !paySuccess }"
|
||||
class="overflow-hidden"
|
||||
switch-toggle-side
|
||||
style="border-radius: var(--radius-2)"
|
||||
|
|
@ -175,6 +181,12 @@ defineProps<{
|
|||
</q-expansion-item>
|
||||
</template>
|
||||
<style scoped>
|
||||
.status-unpaid {
|
||||
opacity: 0.5;
|
||||
filter: grayscale(90%);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
:deep(i.q-icon.mdi.mdi-chevron-down-circle.q-expansion-item__toggle-icon) {
|
||||
color: hsl(var(--text-mute));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue