style: 新增背景,部分页面bbs适配移动端
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -68,7 +68,7 @@ const handleScroll = () => {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
min-height: 10rem;
|
||||
background-color: #f0f2f5;
|
||||
//background-color: #f0f2f5;
|
||||
}
|
||||
|
||||
.fixed {
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user