mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-19 04:29:45 +08:00
fix(loading): 定位可选
This commit is contained in:
@@ -32,11 +32,15 @@ const props = defineProps({
|
|||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false,
|
default: false,
|
||||||
},
|
},
|
||||||
|
position: {
|
||||||
|
type: String,
|
||||||
|
default: "absolute",
|
||||||
|
},
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<style lang="css">
|
<style lang="css">
|
||||||
.loading-div {
|
.loading-div {
|
||||||
position: fixed;
|
position: v-bind(position);
|
||||||
display: flex;
|
display: flex;
|
||||||
top: 25%;
|
top: 25%;
|
||||||
left: 25%;
|
left: 25%;
|
||||||
|
|||||||
Reference in New Issue
Block a user