Browse Source

DEC-13363 feat: 加载动画统一

research/10.0
zsmj1994 5 years ago
parent
commit
58566fa277
  1. 2
      src/less/lib/background.less
  2. 6
      src/modules/components/test_status/tip_icon/tip_fail.ts
  3. 6
      src/modules/components/test_status/tip_icon/tip_icon.ts

2
src/less/lib/background.less

@ -1,5 +1,5 @@
@background-data-connection: "background/data-connection-tip.png"; @background-data-connection: "background/data-connection-tip.png";
@icon-upload-loading: "icon/upload_loading.gif"; @icon-upload-loading: "icon/wave_loading.gif";
@icon-upload-fail: "icon/upload_fail.png"; @icon-upload-fail: "icon/upload_fail.png";
@icon-upload-success: "icon/upload_success.png"; @icon-upload-success: "icon/upload_success.png";
@background-error-page: "background/error_page.png"; @background-error-page: "background/error_page.png";

6
src/modules/components/test_status/tip_icon/tip_fail.ts

@ -29,7 +29,7 @@ export class TipFail extends BI.Widget {
render() { render() {
const { tipCls, tipText, retryText } = this.options; const { tipCls, tipText, retryText } = this.options;
return { return {
type: CenterAdapt, type: CenterAdapt,
items: [ items: [
@ -42,8 +42,8 @@ export class TipFail extends BI.Widget {
bgap: 20, bgap: 20,
items: [{ items: [{
type: 'bi.icon', type: 'bi.icon',
width: 96, width: 60,
height: 96, height: 60,
}], }],
}, { }, {
type: Label, type: Label,

6
src/modules/components/test_status/tip_icon/tip_icon.ts

@ -9,7 +9,7 @@ export class TipIcon extends BI.Widget {
} }
render() { render() {
const { tipCls, tipText } = this.options; const { tipCls, tipText } = this.options;
return { return {
type: CenterAdapt, type: CenterAdapt,
items: [ items: [
@ -22,8 +22,8 @@ export class TipIcon extends BI.Widget {
bgap: 20, bgap: 20,
items: [{ items: [{
type: 'bi.icon', type: 'bi.icon',
width: 96, width: 60,
height: 96, height: 60,
}], }],
}, { }, {
type: Label, type: Label,

Loading…
Cancel
Save