chore(projects): add unocss eslint config

This commit is contained in:
Soybean
2024-03-03 10:32:00 +08:00
parent b4c00ce199
commit 4063529a25
34 changed files with 165 additions and 64 deletions

View File

@ -23,8 +23,8 @@ const columns = defineModel<FilteredColumn[]>('columns', {
</NButton>
</template>
<VueDraggable v-model="columns">
<div v-for="item in columns" :key="item.key" class="flex-y-center h-36px hover:(bg-primary bg-opacity-20) rd-4px">
<icon-mdi-drag class="mr-8px text-icon cursor-move" />
<div v-for="item in columns" :key="item.key" class="h-36px flex-y-center rd-4px hover:(bg-primary bg-opacity-20)">
<icon-mdi-drag class="mr-8px cursor-move text-icon" />
<NCheckbox v-model:checked="item.checked">
{{ item.title }}
</NCheckbox>

View File

@ -29,7 +29,7 @@ const icon = computed(() => iconMap[props.type]);
</script>
<template>
<div class="flex-vertical-center gap-24px min-h-520px size-full overflow-hidden">
<div class="size-full min-h-520px flex-vertical-center gap-24px overflow-hidden">
<div class="flex text-400px text-primary">
<SvgIcon :local-icon="icon" />
</div>

View File

@ -7,12 +7,12 @@ defineOptions({
</script>
<template>
<div class="flex-vertical-center gap-24px min-h-520px size-full overflow-hidden">
<div class="size-full min-h-520px flex-vertical-center gap-24px overflow-hidden">
<div class="flex text-400px text-primary">
<SvgIcon local-icon="expectation" />
</div>
<slot>
<h3 class="text-28px font-500 text-primary">{{ $t('common.lookForward') }}</h3>
<h3 class="text-28px text-primary font-500">{{ $t('common.lookForward') }}</h3>
</slot>
</div>
</template>

View File

@ -5,7 +5,7 @@ defineOptions({
</script>
<template>
<div class="size-72px rd-1/2 overflow-hidden">
<div class="size-72px overflow-hidden rd-1/2">
<img src="@/assets/imgs/soybean.jpg" class="size-full" />
</div>
</template>

View File

@ -36,7 +36,7 @@ const darkColor = computed(() => getColorPalette(props.themeColor, 6));
</g>
</svg>
</div>
<div class="absolute -left-200px -bottom-400px <sm:(-left-100px -bottom-760px)">
<div class="absolute -bottom-400px -left-200px <sm:(-bottom-760px -left-100px)">
<svg height="896" width="967.8852157128662">
<defs>
<path