屏幕分块
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user