diff --git a/dist/base.js b/dist/base.js index 82e1394ab..6077d474d 100644 --- a/dist/base.js +++ b/dist/base.js @@ -20669,17 +20669,16 @@ BI.Toast = BI.inherit(BI.Tip, { } var items = [{ - type: "bi.center_adapt", + type: "bi.icon_button", + disableSelected: true, cls: cls + " toast-icon", - items: [{ - type: "bi.icon" - }], width: 36 }, { el: { type: "bi.label", whiteSpace: "normal", text: o.text, + textHeight: 16, textAlign: "left" }, rgap: o.autoClose ? this._const.hgap : 0 @@ -20703,7 +20702,7 @@ BI.Toast = BI.inherit(BI.Tip, { type: "bi.horizontal_adapt", element: this, items: items, - vgap: 5, + vgap: 7, columnSize: columnSize }); }, diff --git a/dist/bundle.js b/dist/bundle.js index 9d09dbf60..c2d235528 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -56476,17 +56476,16 @@ BI.Toast = BI.inherit(BI.Tip, { } var items = [{ - type: "bi.center_adapt", + type: "bi.icon_button", + disableSelected: true, cls: cls + " toast-icon", - items: [{ - type: "bi.icon" - }], width: 36 }, { el: { type: "bi.label", whiteSpace: "normal", text: o.text, + textHeight: 16, textAlign: "left" }, rgap: o.autoClose ? this._const.hgap : 0 @@ -56510,7 +56509,7 @@ BI.Toast = BI.inherit(BI.Tip, { type: "bi.horizontal_adapt", element: this, items: items, - vgap: 5, + vgap: 7, columnSize: columnSize }); }, diff --git a/dist/fineui.js b/dist/fineui.js index b34ac245d..9c362935a 100644 --- a/dist/fineui.js +++ b/dist/fineui.js @@ -56725,17 +56725,16 @@ BI.Toast = BI.inherit(BI.Tip, { } var items = [{ - type: "bi.center_adapt", + type: "bi.icon_button", + disableSelected: true, cls: cls + " toast-icon", - items: [{ - type: "bi.icon" - }], width: 36 }, { el: { type: "bi.label", whiteSpace: "normal", text: o.text, + textHeight: 16, textAlign: "left" }, rgap: o.autoClose ? this._const.hgap : 0 @@ -56759,7 +56758,7 @@ BI.Toast = BI.inherit(BI.Tip, { type: "bi.horizontal_adapt", element: this, items: items, - vgap: 5, + vgap: 7, columnSize: columnSize }); }, diff --git a/src/base/single/tip/tip.toast.js b/src/base/single/tip/tip.toast.js index a2150b60e..17352bad5 100644 --- a/src/base/single/tip/tip.toast.js +++ b/src/base/single/tip/tip.toast.js @@ -49,17 +49,16 @@ BI.Toast = BI.inherit(BI.Tip, { } var items = [{ - type: "bi.center_adapt", + type: "bi.icon_button", + disableSelected: true, cls: cls + " toast-icon", - items: [{ - type: "bi.icon" - }], width: 36 }, { el: { type: "bi.label", whiteSpace: "normal", text: o.text, + textHeight: 16, textAlign: "left" }, rgap: o.autoClose ? this._const.hgap : 0 @@ -83,7 +82,7 @@ BI.Toast = BI.inherit(BI.Tip, { type: "bi.horizontal_adapt", element: this, items: items, - vgap: 5, + vgap: 7, columnSize: columnSize }); },