1
0
mirror of https://github.com/zclzone/vue-naive-admin.git synced 2025-12-29 04:20:22 +08:00

style: 调整测试页面和组件示例页面样式

This commit is contained in:
张传龙
2022-03-20 17:33:07 +08:00
parent 4f78bcb77c
commit ff2c25ff75
7 changed files with 16 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
<template>
<div>
<div p24>
<div class="action-btns">
<n-button size="small" type="primary" @click="handleCreate">新建文章</n-button>
</div>
@@ -11,7 +11,7 @@
:columns="columns"
:pagination="pagination"
:row-key="(row) => row.id"
max-height="calc(100vh - 260px)"
max-height="calc(100vh - 250px)"
@update:checked-row-keys="handleCheck"
/>
</div>

View File

@@ -4,7 +4,7 @@
<input v-model="post.title" type="text" placeholder="输入文章标题..." class="title" />
<n-button type="primary" style="width: 80px" :loading="btnLoading" @click="handleSavePost">保存</n-button>
</div>
<md-editor v-model="post.content" style="height: calc(100vh - 180px)" />
<md-editor v-model="post.content" style="height: calc(100vh - 140px)" />
</div>
</template>