perf: 整体优化细节

This commit is contained in:
橙子
2025-02-06 12:54:48 +08:00
parent 9c94953e0e
commit 37b16e8395
7 changed files with 33 additions and 20 deletions

View File

@@ -4,7 +4,7 @@
<el-col :span="5">
<el-row class="art-info-left">
<el-col :span="24">
<InfoCard header="文章信息" text="展开" hideDivider="true">
<InfoCard header="文章信息" text="展开" hideDivider="true" :isPadding="false" style="padding: 10px">
<template #content>
<el-button
style="width: 100%; margin-bottom: 0.8rem"
@@ -21,7 +21,7 @@
</el-button
>
<!--目录在这里 -->
<el-scrollbar style="min-height: 410px">
<el-scrollbar style="height:600px;overflow-y: auto;">
<TreeArticleInfo
:data="articleData"
@remove="delArticle"
@@ -36,7 +36,7 @@
</InfoCard>
</el-col>
<el-col :span="24">
<InfoCard :items="authorList" :isPadding="false" header="作者分享" height="410" text="更多">
<InfoCard :items="authorList" :isPadding="false" header="作者分享" height="410" text="更多" style="padding:0 20px">
<template #item="temp">
<ThemeData :themeData="temp"/>
</template>
@@ -160,7 +160,7 @@
</InfoCard>
</el-col>
<el-col :span="24">
<InfoCard :items="themeList" :isPadding="false" header="推荐主题" text="更多" height="500">
<InfoCard :items="themeList" :isPadding="false" header="推荐主题" text="更多" height="500" style="padding:0 20px">
<template #item="temp">
<ThemeData :themeData="temp"/>
</template>