fix: 修复多个UI样式问题和优化代码格式
Some checks failed
Lock Threads / action (push) Has been cancelled
Issue Close Require / close-issues (push) Has been cancelled
Close stale issues / stale (push) Has been cancelled
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled

-调整VXE表格搜索表单和分页样式间距
-优化use-layout-style和use-priority-value代码格式
This commit is contained in:
2026-01-09 17:03:34 +08:00
parent ccfa4b5f15
commit f93751e74a
8 changed files with 30 additions and 38 deletions

View File

@@ -16,16 +16,16 @@
<link rel="icon" href="/favicon.ico" />
<script>
// 生产环境下注入百度统计
if (window._VBEN_ADMIN_PRO_APP_CONF_) {
var _hmt = _hmt || [];
(function () {
var hm = document.createElement('script');
hm.src =
'https://hm.baidu.com/hm.js?b38e689f40558f20a9a686d7f6f33edf';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(hm, s);
})();
}
// if (window._VBEN_ADMIN_PRO_APP_CONF_) {
// var _hmt = _hmt || [];
// (function () {
// var hm = document.createElement('script');
// hm.src =
// 'https://hm.baidu.com/hm.js?b38e689f40558f20a9a686d7f6f33edf';
// var s = document.getElementsByTagName('script')[0];
// s.parentNode.insertBefore(hm, s);
// })();
// }
</script>
</head>
<body>

View File

@@ -14,9 +14,7 @@ const { isDark } = usePreferences();
const { tokens } = useAntdDesignTokens();
const tokenTheme = computed(() => {
const algorithm = isDark.value
? [theme.darkAlgorithm]
: [theme.defaultAlgorithm];
const algorithm = isDark.value ? [theme.darkAlgorithm] : [theme.defaultAlgorithm];
// antd 紧凑模式算法
if (preferences.app.compact) {

View File

@@ -325,7 +325,8 @@ function onCompleteCheckCreated() {
width: 100%;
:deep(.ant-card-body) {
padding: 1px !important;
height: calc(100% - 46px); // 减去标签页头部高度
height: calc(100% - 41px); // 减去标签页头部高度
overflow: hidden;
// background-color: #f1f3f6;
}
}