mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: 比赛广播消息时显示发送者uid
This commit is contained in:
1 parent
923d10fb84
commit
549c68cfa4
7 files changed
+35
-27
No files matched your search
@@ -13,7 +13,7 @@ export default class DomDialog extends DOMAttachedObject {
|
||||
this.options = {
|
||||
cancelByClickingBack: false,
|
||||
cancelByEsc: false,
|
||||
onDispatch: () => {},
|
||||
onDispatch: () => { },
|
||||
...options,
|
||||
};
|
||||
this._defer = null;
|
||||
@@ -37,17 +37,17 @@ export default class DomDialog extends DOMAttachedObject {
|
||||
opacity: 0,
|
||||
});
|
||||
$wrap.width();
|
||||
$wrap.transition({
|
||||
opacity: 1,
|
||||
}, {
|
||||
duration: 100,
|
||||
easing: 'easeOutCubic',
|
||||
});
|
||||
$wrap.transition(
|
||||
{ opacity: 1 },
|
||||
{
|
||||
duration: 100,
|
||||
easing: 'easeOutCubic',
|
||||
}
|
||||
);
|
||||
|
||||
const $dgContent = this.$dom.find('.dialog__content');
|
||||
$dgContent.css({
|
||||
scale: 0.8,
|
||||
});
|
||||
$dgContent.css({ scale: 0.8 });
|
||||
$dgContent.trigger('vjContentNew');
|
||||
await $dgContent
|
||||
.transition({
|
||||
scale: 1,
|
||||
|
||||
Reference in new issue
Block a user