perf:优化文章卡片
This commit is contained in:
@@ -19,15 +19,17 @@
|
||||
>添加子文章</el-button
|
||||
>
|
||||
<!--目录在这里 -->
|
||||
<TreeArticleInfo
|
||||
:data="articleData"
|
||||
@remove="delArticle"
|
||||
@update="updateArticle"
|
||||
@create="addNextArticle"
|
||||
@handleNodeClick="handleNodeClick"
|
||||
:currentNodeKey="currentNodeKey"
|
||||
:isArticleUser="isArticleUser"
|
||||
/>
|
||||
<el-scrollbar height="410px">
|
||||
<TreeArticleInfo
|
||||
:data="articleData"
|
||||
@remove="delArticle"
|
||||
@update="updateArticle"
|
||||
@create="addNextArticle"
|
||||
@handleNodeClick="handleNodeClick"
|
||||
:currentNodeKey="currentNodeKey"
|
||||
:isArticleUser="isArticleUser"
|
||||
/>
|
||||
</el-scrollbar>
|
||||
</template>
|
||||
</InfoCard>
|
||||
</el-col>
|
||||
|
||||
@@ -81,10 +81,12 @@ const userImageSrc = computed(() => {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
.left {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex: 1;
|
||||
.icon {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
Reference in New Issue
Block a user