style: 新增背景,部分页面bbs适配移动端

This commit is contained in:
橙子
2024-11-17 12:19:48 +08:00
parent a7bf5e8873
commit d8286fb005
8 changed files with 107 additions and 8 deletions

View File

@@ -1,9 +1,14 @@
<template>
<StarBackground :speed="0.2" :number="1000"/>
<div class="content-main">
<RouterView />
</div>
</template>
</template>
<script setup>
import StarBackground from "@/components/StarBackground.vue";
</script>
<style scoped>
.content-main {
width: 100%;
@@ -11,6 +16,6 @@
display: flex;
justify-content: center;
/* min-height: 1150px; */
background-color: #f0f2f5;
/*background-color: #f0f2f5;*/
}
</style>

View File

@@ -68,7 +68,7 @@ const handleScroll = () => {
margin: 0;
padding: 0;
min-height: 10rem;
background-color: #f0f2f5;
//background-color: #f0f2f5;
}
.fixed {

View File

@@ -12,10 +12,11 @@
</div>
</div>
</div>
<StarBackground :speed="0.01" :number="4000"/>
</template>
<!-- <style src="@/assets/styles/login.scss" scoped></style> -->
<script setup>
import StarBackground from "@/components/StarBackground.vue";
import useConfigStore from "@/stores/config";
const configStore=useConfigStore();
const isIcp=import.meta.env.VITE_APP_ICP==="true";