chore(config): 更新格式化和 lint 配置,格式化部分文件
This commit was merged in pull request #10.
This commit is contained in:
@@ -135,10 +135,10 @@ onMounted(async () => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="relative grid w-full min-h-screen">
|
||||
<div class="relative grid min-h-screen w-full">
|
||||
<header>
|
||||
<h1 class="inline-flex flex-col">
|
||||
<span class="text-lg text-neutral-600 dark:text-neutral-300 font-bold">
|
||||
<span class="text-lg font-bold text-neutral-600 dark:text-neutral-300">
|
||||
AIGC 微课视频研创平台
|
||||
</span>
|
||||
<!-- <span class="text-xs text-neutral-600 dark:text-neutral-300">眩生花科技</span> -->
|
||||
@@ -198,7 +198,7 @@ onMounted(async () => {
|
||||
</UBadge>
|
||||
</p>
|
||||
<p
|
||||
class="truncate whitespace-nowrap max-w-40 font-medium text-gray-900 dark:text-white"
|
||||
class="max-w-40 truncate whitespace-nowrap font-medium text-gray-900 dark:text-white"
|
||||
>
|
||||
{{ loginState.user?.username }}
|
||||
</p>
|
||||
@@ -208,7 +208,7 @@ onMounted(async () => {
|
||||
<span class="truncate">{{ item.label }}</span>
|
||||
<UIcon
|
||||
:name="item.icon"
|
||||
class="flex-shrink-0 h-4 w-4 text-gray-400 dark:text-gray-500 ms-auto"
|
||||
class="ms-auto size-4 flex-shrink-0 text-gray-400 dark:text-gray-500"
|
||||
/>
|
||||
</template>
|
||||
</UDropdown>
|
||||
@@ -230,7 +230,7 @@ onMounted(async () => {
|
||||
|
||||
<style>
|
||||
body {
|
||||
@apply bg-neutral-50 dark:bg-neutral-950 bg-fixed;
|
||||
@apply bg-neutral-50 bg-fixed dark:bg-neutral-950;
|
||||
/* @apply bg-[url('~/assets/background-pattern.svg')] dark:bg-[url('~/assets/background-pattern-dark.svg')]; */
|
||||
}
|
||||
|
||||
@@ -271,10 +271,10 @@ body {
|
||||
|
||||
<style scoped>
|
||||
header {
|
||||
@apply fixed inset-x-0 h-16 bg-white border-b z-30;
|
||||
@apply dark:bg-neutral-900 dark:border-neutral-800;
|
||||
@apply fixed inset-x-0 z-30 h-16 border-b bg-white;
|
||||
@apply dark:border-neutral-800 dark:bg-neutral-900;
|
||||
@apply flex flex-row items-center justify-between px-4;
|
||||
@apply bg-opacity-50 dark:bg-opacity-50 backdrop-blur-3xl backdrop-saturate-150;
|
||||
@apply bg-opacity-50 backdrop-blur-3xl backdrop-saturate-150 dark:bg-opacity-50;
|
||||
}
|
||||
|
||||
main {
|
||||
@@ -282,8 +282,8 @@ main {
|
||||
}
|
||||
|
||||
footer {
|
||||
@apply h-16 bg-white border-t z-30;
|
||||
@apply dark:bg-neutral-900 dark:border-neutral-800;
|
||||
@apply z-30 h-16 border-t bg-white;
|
||||
@apply dark:border-neutral-800 dark:bg-neutral-900;
|
||||
@apply flex flex-row items-center justify-between px-4;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user