80 lines
1.7 KiB
Vue

<template>
<div class="carbon">
<div class="between">
<div class="top"><LeftTop /></div>
<div class="center"><LeftCenter /></div>
<div class="bottom"><LeftBottom /></div>
</div>
<div class="center">
<div class="top"><CenterTop /></div>
<div class="bottom"><CenterBottom /></div>
</div>
<div class="between2">
<div class="top"><RightTop /></div>
<div class="center"><RightCenter /></div>
<div class="bottom"><RightBottom /></div>
</div>
</div>
</template>
<script>
import LeftTop from './leftTop.vue'
import LeftCenter from './leftCenter.vue'
import LeftBottom from './leftBottom.vue'
import CenterTop from './centerTop.vue'
import CenterBottom from './centerBottom.vue'
import RightTop from './rightTop.vue'
import RightCenter from './rightCenter.vue'
import RightBottom from './rightBottom.vue'
export default {
components: { LeftTop, LeftCenter, LeftBottom, CenterTop, CenterBottom, RightTop, RightCenter, RightBottom }
}
</script>
<style lang="less" scoped>
.carbon {
width: 100%;
height: 100%;
display: flex;
justify-content: space-between;
// background: url(../assets/temp/7.png) no-repeat;
// background-size: 100% 100%;
.between {
width: 25%;
height: 100%;
.top {
height: 28%;
}
.center {
height: 40%;
}
.bottom {
height: 22%;
}
}
.between2 {
width: 25%;
height: 100%;
.top {
height: 22%;
}
.center {
height: 46%;
}
.bottom {
height: 32%;
}
}
> .center {
width: calc(50% - 40px);
height: 100%;
.top {
height: 65%;
}
.bottom {
height: 35%;
}
}
}
</style>