mirror of
https://github.com/viarotel-org/escrcpy.git
synced 2024-11-23 23:21:02 +01:00
style: 💄 Update styles
This commit is contained in:
parent
792525a492
commit
8bae34d2b3
@ -19,10 +19,10 @@
|
||||
type: 'default',
|
||||
content: $t(item.tips || item.label),
|
||||
circle: true,
|
||||
plain: true,
|
||||
borderless: true,
|
||||
size: 'small',
|
||||
effect: 'light',
|
||||
buttonClass: '!active:bg-primary-500 !active:text-white',
|
||||
...slotProps,
|
||||
}"
|
||||
>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<el-tooltip>
|
||||
<ElButton
|
||||
v-bind="{ ...$props }"
|
||||
:class="{ '!border-none': borderless }"
|
||||
:class="[{ '!border-none': borderless }, buttonClass]"
|
||||
@click="emit('click', $event)"
|
||||
>
|
||||
<slot name="icon"></slot>
|
||||
@ -22,6 +22,10 @@ const props = defineProps({
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
buttonClass: {
|
||||
type: [String, Array, Object],
|
||||
default: '',
|
||||
},
|
||||
})
|
||||
|
||||
const emit = defineEmits(['click'])
|
||||
|
Loading…
Reference in New Issue
Block a user