Skip to content

Commit 26e15ef

Browse files
committed
重构:优化 config 的列表样式
1 parent 74d225c commit 26e15ef

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/components/ContentWrap/src/ContentWrap.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ defineProps({
1313
</script>
1414

1515
<template>
16-
<ElCard :class="[prefixCls, 'mb-20px']" shadow="never">
16+
<ElCard :class="[prefixCls, 'mb-15px']" shadow="never">
1717
<template v-if="title" #header>
1818
<div class="flex items-center">
1919
<span class="text-16px font-700">{{ title }}</span>

src/views/infra/config/index.vue

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
2+
<!-- 搜索 -->
23
<content-wrap>
3-
<!-- 搜索工作栏 -->
4-
<el-form :model="queryParams" ref="queryFormRef" :inline="true" label-width="68px">
4+
<el-form class="-mb-15px" :model="queryParams" ref="queryFormRef" :inline="true">
55
<el-form-item label="参数名称" prop="name">
66
<el-input
77
v-model="queryParams.name"
@@ -56,8 +56,10 @@
5656
</el-button>
5757
</el-form-item>
5858
</el-form>
59+
</content-wrap>
5960

60-
<!-- 列表 -->
61+
<!-- 列表 -->
62+
<content-wrap>
6163
<el-table v-loading="loading" :data="list" align="center">
6264
<el-table-column label="参数主键" align="center" prop="id" />
6365
<el-table-column label="参数分类" align="center" prop="category" />

0 commit comments

Comments
 (0)