index.vue
1.03 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!--
* @Date: 2023-10-09 11:02:29
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2023-10-09 11:14:26
* @FilePath: /print-web/src/views/index.vue
* @Description: 文件描述
-->
<template>
<el-row :gutter="10">
<el-col :xs="8" :sm="6" :md="4" :lg="3" :xl="1"
><div class="grid-content ep-bg-purple"
/>1</el-col>
<el-col :xs="4" :sm="6" :md="8" :lg="9" :xl="11"
><div class="grid-content ep-bg-purple-light"
/>2</el-col>
<el-col :xs="4" :sm="6" :md="8" :lg="9" :xl="11"
><div class="grid-content ep-bg-purple"
/>3</el-col>
<el-col :xs="8" :sm="6" :md="4" :lg="3" :xl="1"
><div class="grid-content ep-bg-purple-light"
/>4</el-col>
</el-row>
</template>
<script setup>
import { ref } from "vue";
import { useRoute, useRouter } from "vue-router";
</script>
<style lang="less" scoped>
.el-col {
border-radius: 4px;
}
.grid-content {
border-radius: 4px;
min-height: 36px;
}
.ep-bg-purple {
background: #d3dce6;
}
.ep-bg-purple-light {
background: #e5e9f2;
}
</style>