feat:add shuffle mode

This commit is contained in:
Zyronon
2025-11-04 01:37:24 +08:00
parent 2752f13e72
commit 42608d6303
10 changed files with 259 additions and 104 deletions

View File

@@ -7,7 +7,7 @@ interface IProps {
disabled?: boolean
loading?: boolean
size?: 'small' | 'normal' | 'large',
type?: 'primary' | 'link' | 'info'
type?: 'primary' | 'link' | 'info' | 'orange'
}
withDefaults(defineProps<IProps>(), {
@@ -97,7 +97,7 @@ defineEmits(['click'])
}
}
&:hover {
&:hover:not(.disabled) {
opacity: .8;
}
@@ -120,6 +120,11 @@ defineEmits(['click'])
color: var(--color-main-text);
}
&.orange {
background: #FACC15;
color: black;
}
&.active {
opacity: .4;
}