Commit ce473cfd authored by xiaoye's avatar xiaoye

简单上个背景色

parent 699c8fe2
<template> <template>
<transition name = 'page'> <view id = 'main_page'>
<view v-show = 'loading' class = 'background'> <transition name = 'page'>
<view class = 'pic' v-html = 'Const.pic.hajimi'></view> <view v-show = 'loading' class = 'background'>
</view> <view class = 'pic' v-html = 'Const.pic.hajimi'></view>
</transition> </view>
<Tabulator/> </transition>
<Tabulator/>
</view>
</template> </template>
<script setup lang = 'ts'> <script setup lang = 'ts'>
import { ref, reactive, onMounted, onUnmounted, onBeforeMount, watch} from 'vue'; import { ref, reactive, onMounted, onUnmounted, onBeforeMount, watch} from 'vue';
...@@ -39,27 +41,33 @@ ...@@ -39,27 +41,33 @@
</script> </script>
<style scoped lang = 'scss'> <style scoped lang = 'scss'>
@import '../style/transition.scss'; @import '../style/transition.scss';
.background { #main_page {
position: fixed; background: linear-gradient(to right, rgb(255, 228, 230), white, white, white, rgb(204, 251, 241));
background: linear-gradient(45deg, rgb(0, 162, 255), rgb(0, 72, 255)); height: 100%;
width: 100vw; min-height: 100vh;
height: 100vh; width: 100%;
z-index: 100; .background {
font-family: 'Courier New', monospace; position: fixed;
display: flex; background: linear-gradient(to right, rgb(134, 239, 172), rgb(59, 130, 246), rgb(147, 51, 234));
justify-content: center; width: 100%;
align-items: center; height: 100vh;
margin: 0; z-index: 100;
.pic { font-family: 'Courier New', monospace;
color: white; display: flex;
white-space: pre; justify-content: center;
line-height: 1; align-items: center;
letter-spacing: 0; margin: 0;
font-size: 12px; .pic {
color: white;
white-space: pre;
line-height: 1;
letter-spacing: 0;
font-size: 12px;
}
}
.Tabulator {
position: fixed;
z-index: 1;
} }
}
.Tabulator {
position: fixed;
z-index: 1;
} }
</style> </style>
\ No newline at end of file
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
.match { .match {
border: 1px solid gray; border: 1px solid gray;
z-index: 1; z-index: 0;
// left : 100%; // left : 100%;
width: 100%; width: 100%;
background-color: white; background-color: white;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment