mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-06-07 00:30:14 +08:00
🚧 WIP(custom): optimzie setting page and add several custom components
This commit is contained in:
11
src/renderer/components/common/settingCard.vue
Normal file
11
src/renderer/components/common/settingCard.vue
Normal file
@@ -0,0 +1,11 @@
|
||||
<template>
|
||||
<div class="relative rounded-lg border border-border bg-bg-secondary shadow-sm" :class="p1 ? 'p-1' : 'p-4'">
|
||||
<slot></slot>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
const { p1 = false } = defineProps<{
|
||||
p1?: boolean
|
||||
}>()
|
||||
</script>
|
||||
Reference in New Issue
Block a user