Skip to content

Commit fc1436a

Browse files
author
fengtianxi
committed
feat: 删除无效的样式
1 parent df23721 commit fc1436a

File tree

1 file changed

+1
-60
lines changed

1 file changed

+1
-60
lines changed

src/App.vue

+1-60
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import {
3232
} from '@/components'
3333
import { provide } from 'vue'
3434
import { Layout } from '@/layout'
35-
import { useTurbine } from '@/hooks/useTurbine'
35+
import { useTurbine } from '@/hooks'
3636
3737
const {
3838
container,
@@ -51,62 +51,3 @@ provide('events', {
5151
stopWarning,
5252
})
5353
</script>
54-
<style lang="scss" scoped>
55-
.layout {
56-
width: 100%;
57-
height: 100%;
58-
background-color: #000;
59-
.layout-main {
60-
position: relative;
61-
width: 100%;
62-
height: calc(100% - 80px);
63-
background-color: #05326a;
64-
background-image: url(@/assets/images/grid_bg_01.png);
65-
background-repeat: repeat;
66-
.main-left {
67-
position: absolute;
68-
top: 10px;
69-
left: 10px;
70-
z-index: 999;
71-
box-sizing: border-box;
72-
display: grid;
73-
grid-template-rows: repeat(3, calc((100% - 40px) / 3));
74-
grid-gap: 20px;
75-
width: 420px;
76-
height: calc(100% - 20px);
77-
}
78-
.main-right {
79-
position: absolute;
80-
top: 10px;
81-
right: 10px;
82-
z-index: 999;
83-
box-sizing: border-box;
84-
display: grid;
85-
grid-template-rows: repeat(3, calc((100% - 40px) / 3));
86-
grid-gap: 20px;
87-
width: 420px;
88-
height: calc(100% - 20px);
89-
}
90-
.main-middle {
91-
position: absolute;
92-
top: 0;
93-
left: 0;
94-
z-index: 2;
95-
width: 100%;
96-
height: 100%;
97-
&::before {
98-
position: absolute;
99-
top: 0;
100-
left: 0;
101-
z-index: 2;
102-
z-index: 99;
103-
width: 100%;
104-
height: 100%;
105-
pointer-events: none;
106-
content: '';
107-
background-image: radial-gradient(circle, transparent 30%, #000 70%);
108-
}
109-
}
110-
}
111-
}
112-
</style>

0 commit comments

Comments
 (0)