ZhangXianQiang
2024-03-12 05e80f0a0531e3b3d10836599f63189af0ee0524
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<template>
  <el-card class="data-container" :body-style="{ height: '100%' }">
    <el-row :gutter="40" style="height: 100%;">
      <el-col :span="12" style="height: 100%;">
        <data-hola></data-hola>
      </el-col>
      <el-col :span="12" style="height: 100%;">
        <data-icon></data-icon>
      </el-col>
    </el-row>
  </el-card>
</template>
 
<script>
import DataIcon from './data-icon.vue';
import DataHola from './data-hola.vue';
export default {
  components: {
    DataIcon,
    DataHola,
  },
}
</script>
 
<style lang="scss" scoped>
.data-container {
  width: 100%;
  aspect-ratio: 6/3;
}
</style>