20260805173201
This commit is contained in:
1 parent
7c9761a4fc
commit
bca59a2755
7 files changed
+812
-31
No files matched your search
@@ -1,7 +1,30 @@
|
||||
<script setup>
|
||||
import zhCN from "antdv-next/locale/zh_CN";
|
||||
|
||||
const themeConfig = {};
|
||||
const themeConfig = {
|
||||
token: {
|
||||
controlHeight: 28,
|
||||
},
|
||||
components: {
|
||||
Splitter: {
|
||||
splitBarSize: 1,
|
||||
},
|
||||
Button: {
|
||||
contentFontSize: 13,
|
||||
paddingInline: 10,
|
||||
},
|
||||
Form: {
|
||||
labelFontSize: 13,
|
||||
verticalLabelMargin: "0 0 2px",
|
||||
itemMarginBottom: 8,
|
||||
},
|
||||
Collapse: {
|
||||
headerBg: "#ffffff",
|
||||
contentBg: "#ffffff",
|
||||
borderlessContentBg: "#ffffff",
|
||||
},
|
||||
},
|
||||
};
|
||||
const timePickerLocale = {
|
||||
...zhCN.TimePicker,
|
||||
placeholder: "",
|
||||
@@ -45,3 +68,11 @@ const locale = {
|
||||
</a-app>
|
||||
</a-config-provider>
|
||||
</template>
|
||||
|
||||
<style>
|
||||
/* 全局:按钮内图标跟随 contentFontSize(13px),覆盖 Lucide 的固定 size */
|
||||
.ant-btn svg {
|
||||
width: 1em !important;
|
||||
height: 1em !important;
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user