chore(front): 清理 loading.gif 并微调通用表格/字典页样式

- 删除 public/image/loading.gif 与 src/assets/image/loading.gif(未被引用的残留资源)
- main.scss 样式微调
- TablePageAlovaNew.vue 与 ServiceDictManage.vue 同步调整
This commit is contained in:
chenxing
2026-10-20 15:12:53 +08:00
parent 6cc5e892c5
commit e9009dc53a
5 changed files with 24 additions and 8 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 186 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 186 KiB

+13 -5
View File
@@ -97,17 +97,25 @@ h4.subtitle {
}
}
/* 表格加载(规范 §4 表格加载行):图形=通道 .ysch-spin(随 --brand),本地零图形资产 */
.table-spin-load {
position: relative;
width: 60px;
height: 90px;
padding-top: 60px;
background-image: url(../image/loading.gif);
background-size: 60px 60px;
background-position: top center;
background-repeat: no-repeat;
border: none;
color: #577afb;
color: var(--brand);
margin: 0 auto;
text-align: center;
}
.table-spin-load .ysch-spin {
position: absolute;
left: 50%;
top: 0;
width: 60px;
height: 60px;
margin-left: -30px;
font-size: 60px; /* .ysch-spin 尺寸=1em,60px 图形用字号给 */
}
.ivu-table-cell-tree {
+1 -1
View File
@@ -3,7 +3,7 @@
<Table :columns="columns" :data="list" :height="tableH" :loading="loading" no-data-text="暂无数据"
class="link-table table-bottom-box" @on-selection-change="selectChange">
<template #loading>
<div class="table-spin-load">加载中</div>
<div class="table-spin-load"><i class="ysch-spin"></i>加载中</div>
</template>
<template v-for="slotName in tableSlotNames" :key="slotName" v-slot:[slotName]="slotProps">
<slot :name="slotName" v-bind="slotProps" />
+10 -2
View File
@@ -133,7 +133,11 @@ onMounted(async () => {
</div>
<div class="table-region" ref="objectRegionRef">
<Table :columns="cols" :data="objectRows" :loading="objectLoading" class="link-table table-bottom-box"
:height="objectH || undefined" no-data-text="暂无数据" />
:height="objectH || undefined" no-data-text="暂无数据">
<template #loading>
<div class="table-spin-load"><i class="ysch-spin"></i>加载中</div>
</template>
</Table>
</div>
</div>
@@ -149,7 +153,11 @@ onMounted(async () => {
</div>
<div class="table-region" ref="categoryRegionRef">
<Table :columns="cols" :data="categoryRows" :loading="categoryLoading" class="link-table table-bottom-box"
:height="categoryH || undefined" no-data-text="暂无数据" />
:height="categoryH || undefined" no-data-text="暂无数据">
<template #loading>
<div class="table-spin-load"><i class="ysch-spin"></i>加载中</div>
</template>
</Table>
</div>
</div>
</div>