style: lint fix

This commit is contained in:
张传龙
2023-05-08 14:15:03 +08:00
parent e84dd01365
commit 386d9ec27a
14 changed files with 67 additions and 67 deletions

View File

@@ -1,7 +1,7 @@
<template>
<n-dropdown :options="options" @select="handleSelect">
<div flex items-center cursor-pointer>
<img :src="userStore.avatar" mr10 w-35 h-35 rounded-full />
<div flex cursor-pointer items-center>
<img :src="userStore.avatar" mr10 h-35 w-35 rounded-full />
<span>{{ userStore.name }}</span>
</div>
</n-dropdown>

View File

@@ -1,7 +1,7 @@
<template>
<router-link h-60 f-c-c to="/">
<icon-custom-logo text-36 color-primary></icon-custom-logo>
<h2 v-show="!appStore.collapsed" ml-10 color-primary text-16 font-bold max-w-140 flex-shrink-0>
<h2 v-show="!appStore.collapsed" ml-10 max-w-140 flex-shrink-0 text-16 font-bold color-primary>
{{ title }}
</h2>
</router-link>

View File

@@ -4,7 +4,7 @@
v-for="tag in tagsStore.tags"
ref="tabRefs"
:key="tag.path"
class="px-15 mx-5 rounded-4 cursor-pointer hover:color-primary"
class="mx-5 cursor-pointer rounded-4 px-15 hover:color-primary"
:type="tagsStore.activeTag === tag.path ? 'primary' : 'default'"
:closable="tagsStore.tags.length > 1"
@click="handleTagClick(tag.path)"

View File

@@ -11,15 +11,15 @@
<SideBar />
</n-layout-sider>
<article flex-1 flex-col overflow-hidden>
<article flex-col flex-1 overflow-hidden>
<header
class="bg-white px-15 border-b bc-eee flex items-center"
class="flex items-center border-b bg-white px-15 bc-eee"
dark="bg-dark border-0"
:style="`height: ${header.height}px`"
>
<AppHeader />
</header>
<section v-if="tags.visible" border-b bc-eee dark:border-0 hidden sm:block>
<section v-if="tags.visible" hidden border-b bc-eee sm:block dark:border-0>
<AppTags :style="{ height: `${tags.height}px` }" />
</section>
<section flex-1 overflow-hidden bg-hex-f5f6fb dark:bg-hex-101014>