mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-11-12 15:33:45 +08:00
6 lines
599 B
JavaScript
6 lines
599 B
JavaScript
export const GalaxyLoading = {
|
|
props: { message: { type: String, default: 'Just a moment!' }, refresh: Boolean },
|
|
methods: { reload() { location.reload() } },
|
|
template: `<section class="gx-boot" role="status"><img class="gx-boot__logo" src="./assets/galaxy-icon.svg" width="160" height="160" alt="" /><h1>Galaxy</h1><div class="gx-boot__orbit" aria-hidden="true"></div><p>{{ message }}</p><button v-if="refresh" type="button" class="gx-icon-btn" aria-label="Refresh Galaxy" title="Refresh Galaxy" @click="reload"><i class="bi bi-arrow-clockwise" aria-hidden="true"></i></button></section>`,
|
|
}
|