@@ -51,8 +51,15 @@ const show = $computed(() => !clicked && notice.enable);
<teleport to="body">
<div
v-if="show"
- style="position: absolute; top: 0; left: 0; width: 100vw; height: 100vh"
- class="tw-flex tw-justify-center tw-items-center tw-bg-slate-300 tw-opacity-95"
+ style="
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100vw;
+ height: 100vh;
+ background-color: white;
+ "
+ class="tw-flex tw-justify-center tw-items-center tw-opacity-95"
>
style="
@@ -400,7 +400,7 @@ onUnmounted(() => $message.destroyAll());
background: linear-gradient(to bottom, #38f6f5 0%, #8efdf4 100%);
"
- @load="(e) => ((e.target as HTMLImageElement).style.backgroundColor = '')"
+ @load="(e) => ((e.target as HTMLImageElement).style.backgroundImage = 'none')"
/>
<!-- 加上它,在logo加载失败的时候有用 -->
</div>