mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-08-28 19:47:49 +08:00
fix loading banner
This commit is contained in:
@@ -1,28 +1,15 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
// 定义输入参数
|
// 定义输入参数
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
progress: Number,
|
progress: Number,
|
||||||
text: String
|
text: String,
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div
|
<div class="w-full text-center text-gray-500 text-sm flex flex-col items-center">
|
||||||
class="w-full text-center text-gray-500 text-sm flex flex-col items-center"
|
<VProgressCircular v-if="!props.text || !props.progress" size="48" indeterminate color="primary" />
|
||||||
>
|
<VProgressCircular v-if="props.progress" class="mb-3" color="primary" :model-value="props.progress" size="64" />
|
||||||
<VProgressCircular
|
|
||||||
v-if="!props.text"
|
|
||||||
size="48"
|
|
||||||
indeterminate
|
|
||||||
color="primary"
|
|
||||||
/>
|
|
||||||
<VProgressCircular
|
|
||||||
v-if="props.progress"
|
|
||||||
class="mb-3"
|
|
||||||
color="primary"
|
|
||||||
:model-value="props.progress"
|
|
||||||
size="64"
|
|
||||||
/>
|
|
||||||
<span>{{ props.text }}</span>
|
<span>{{ props.text }}</span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user