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 17bce9d..2423d16 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: #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/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 d9e1e44..acecb4f 100644 --- a/src/components/TablePageAlovaNew.vue +++ b/src/components/TablePageAlovaNew.vue @@ -3,7 +3,7 @@