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