diff --git a/public/image/loading.gif b/public/image/loading.gif deleted file mode 100644 index 37eea7b..0000000 Binary files a/public/image/loading.gif and /dev/null differ diff --git a/src/assets/image/loading.gif b/src/assets/image/loading.gif deleted file mode 100644 index 37eea7b..0000000 Binary files a/src/assets/image/loading.gif and /dev/null differ diff --git a/src/assets/styles/main.scss b/src/assets/styles/main.scss index d75fb48..e98de0b 100644 --- a/src/assets/styles/main.scss +++ b/src/assets/styles/main.scss @@ -98,17 +98,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: var(--brand, #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 { diff --git a/src/components/TablePage.vue b/src/components/TablePage.vue index 9fcb872..fd2d055 100644 --- a/src/components/TablePage.vue +++ b/src/components/TablePage.vue @@ -116,7 +116,7 @@ defineExpose({ no-data-text="暂无数据" >
diff --git a/src/components/TablePageAlova.vue b/src/components/TablePageAlova.vue index 1d04aa2..7dee012 100644 --- a/src/components/TablePageAlova.vue +++ b/src/components/TablePageAlova.vue @@ -3,7 +3,7 @@ diff --git a/src/components/TablePageAlovaNew.vue b/src/components/TablePageAlovaNew.vue index e6b0a6a..41b7d6f 100644 --- a/src/components/TablePageAlovaNew.vue +++ b/src/components/TablePageAlovaNew.vue @@ -3,7 +3,7 @@