重构:优化 config 的列表样式

This commit is contained in:
YunaiV 2023-03-11 00:46:21 +08:00
parent 74d225cce4
commit 26e15ef2e8
2 changed files with 6 additions and 4 deletions

View File

@ -13,7 +13,7 @@ defineProps({
</script>
<template>
<ElCard :class="[prefixCls, 'mb-20px']" shadow="never">
<ElCard :class="[prefixCls, 'mb-15px']" shadow="never">
<template v-if="title" #header>
<div class="flex items-center">
<span class="text-16px font-700">{{ title }}</span>

View File

@ -1,7 +1,7 @@
<template>
<!-- 搜索 -->
<content-wrap>
<!-- 搜索工作栏 -->
<el-form :model="queryParams" ref="queryFormRef" :inline="true" label-width="68px">
<el-form class="-mb-15px" :model="queryParams" ref="queryFormRef" :inline="true">
<el-form-item label="参数名称" prop="name">
<el-input
v-model="queryParams.name"
@ -56,8 +56,10 @@
</el-button>
</el-form-item>
</el-form>
</content-wrap>
<!-- 列表 -->
<!-- 列表 -->
<content-wrap>
<el-table v-loading="loading" :data="list" align="center">
<el-table-column label="参数主键" align="center" prop="id" />
<el-table-column label="参数分类" align="center" prop="category" />