63 lines
1.1 KiB
Vue
63 lines
1.1 KiB
Vue
<template>
|
|
<div class="sourse">
|
|
<div class="left">
|
|
<div class="top">
|
|
<LeftTop />
|
|
</div>
|
|
<div class="bottom">
|
|
<LeftBottom />
|
|
</div>
|
|
</div>
|
|
<div class="right">
|
|
<div class="top">
|
|
<RightTop />
|
|
</div>
|
|
<div class="bottom">
|
|
<RightBottom />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import LeftTop from './leftTop.vue'
|
|
import LeftBottom from './leftBottom.vue'
|
|
import RightTop from './rightTop.vue'
|
|
import RightBottom from './rightBottom.vue'
|
|
export default {
|
|
components: { LeftTop, LeftBottom, RightTop, RightBottom }
|
|
}
|
|
</script>
|
|
|
|
<style lang="less" scoped>
|
|
.sourse {
|
|
width: 100%;
|
|
height: 100%;
|
|
color: #fff;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
// background: url(../assets/temp/3.png) no-repeat;
|
|
// background-size: 100% 100%;
|
|
.left {
|
|
width: 22%;
|
|
height: 100%;
|
|
.top {
|
|
height: 50%;
|
|
}
|
|
.bottom {
|
|
height: 50%;
|
|
}
|
|
}
|
|
.right {
|
|
width: calc(78% - 40px);
|
|
height: 100%;
|
|
.top {
|
|
height: 60%;
|
|
}
|
|
.bottom {
|
|
height: 40%;
|
|
}
|
|
}
|
|
}
|
|
</style>
|