添加 老项目的代码 参考
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<template>
|
||||
<div class="bed">
|
||||
<HomePage />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import HomePage from '@/pages/HomePage.vue'
|
||||
|
||||
const globalBg = `url(https://digit-person.oss-cn-beijing.aliyuncs.com/digital_cloth/1720063985760.png)`
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.bed {
|
||||
width: 100%;
|
||||
min-height: 100vh;
|
||||
height: 100vh;
|
||||
background-image: v-bind(globalBg);
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
background-size: cover;
|
||||
// overflow: hidden;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user