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
47
48
49
50
51
52
53
54
| <template>
| <div>
| <Card
| :padding="0"
| class="card1"
| :bordered="false"
| :style="{
| backgroundImage:
| 'url(' + require('@/assets/dashboard/architecture.jpg') + ')',
| }"
| >
| <div class="info-wrap">
| <a class="title">应用配置</a>
| </div>
| </Card>
| </div>
| </template>
|
| <script>
| export default {
| name: "card1",
| components: {},
| props: {},
| data() {
| return {};
| },
| methods: {
| init() {},
| },
| mounted() {
| this.init();
| },
| };
| </script>
| <style lang="less" scoped>
| .card1 {
| background-size: cover;
| .info-wrap {
| display: flex;
| height: 150px;
| padding: 20px 28px;
| .title {
| display: flex;
| font-size: 20px;
| color: #3f4255;
| font-weight: 600;
| height: 40px;
| &:hover {
| color: #6993ff;
| }
| }
| }
| }
| </style>
|
|