屏幕分块

This commit is contained in:
2023-11-20 09:10:08 +08:00
parent 85d63fbc95
commit 7370217ca0
2 changed files with 13 additions and 0 deletions

View File

@@ -1,5 +1,12 @@
<template>
<div class="n_container">
<div class="style_block" style="left: calc(100% / 3);top:0;"></div>
<div class="style_block" style="background: green;left: calc(100% / 3);top:calc(100% / 3);"></div>
<div class="style_block" style="left: calc(100% / 3);bottom: 0"></div>
<div class="style_block" style="background: green;left: calc(200% / 3);top:0;"></div>
<div class="style_block" style="left: calc(200% / 3);top:calc(100% / 3);"></div>
<div class="style_block" style="background: blue;left: calc(200% / 3);bottom: 0"></div>
<div class="style_block" style="background: yellow;top: calc(100% / 3);bottom: 0"></div>
<div class="n_header">
<div class="n_header_h1">
<h1>晟华生产数</h1>
@@ -63,7 +70,11 @@ export default {
.n_left_wraper
width 49.5%
height 100%
background #fff
opacity 0.5
.n_right_wraper
width 49.5%
height 100%
background #fff
opacity 0.5
</style>

View File

@@ -63,7 +63,9 @@ export default {
.n_left_wraper
width 49.5%
height 100%
background #fff
.n_right_wraper
width 49.5%
height 100%
background #fff
</style>