Commit ce473cfd authored by xiaoye's avatar xiaoye

简单上个背景色

parent 699c8fe2
<template> <template>
<view id = 'main_page'>
<transition name = 'page'> <transition name = 'page'>
<view v-show = 'loading' class = 'background'> <view v-show = 'loading' class = 'background'>
<view class = 'pic' v-html = 'Const.pic.hajimi'></view> <view class = 'pic' v-html = 'Const.pic.hajimi'></view>
</view> </view>
</transition> </transition>
<Tabulator/> <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,10 +41,15 @@ ...@@ -39,10 +41,15 @@
</script> </script>
<style scoped lang = 'scss'> <style scoped lang = 'scss'>
@import '../style/transition.scss'; @import '../style/transition.scss';
#main_page {
background: linear-gradient(to right, rgb(255, 228, 230), white, white, white, rgb(204, 251, 241));
height: 100%;
min-height: 100vh;
width: 100%;
.background { .background {
position: fixed; position: fixed;
background: linear-gradient(45deg, rgb(0, 162, 255), rgb(0, 72, 255)); background: linear-gradient(to right, rgb(134, 239, 172), rgb(59, 130, 246), rgb(147, 51, 234));
width: 100vw; width: 100%;
height: 100vh; height: 100vh;
z-index: 100; z-index: 100;
font-family: 'Courier New', monospace; font-family: 'Courier New', monospace;
...@@ -62,4 +69,5 @@ ...@@ -62,4 +69,5 @@
position: fixed; position: fixed;
z-index: 1; 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