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
55
56
57
58
59
60
61
62
63
64
65
| <template>
| <div class="right2">
| <div class="chart-name">
| 老人类型
| <dv-decoration-1 style="width:200px;height:20px;" />
| </div>
| <dv-conical-column-chart :config="config" />
| </div>
| </template>
|
| <script>
| export default {
| name: 'Right2',
| data() {
| return {
| config: {
| data: [{
| name: '三五老人',
| value: 3500
| },
| {
| name: '五保老人',
| value: 2500
| },
| {
| name: '社会代养',
| value: 2000
| },
| {
| name: '其他',
| value: 1000
| }
| ],
| img: [],
| showValue: true
| }
| }
| }
| }
| </script>
|
| <style lang="less">
| .right2 {
| width: 100%;
| height: 100%;
| box-sizing: border-box;
| background-color: rgba(6, 30, 93, 0.5);
|
| .chart-name {
| position: absolute;
| left: 10px;
| font-size: 14px;
| top: 10px;
| color: #6BD4E0;
| }
|
| .dv-conical-column-chart {
| // width: 98%;
| // position: absolute;
| // top: 20%;
| // left: 2px;
| // bottom: 0px;
| }
| }
| </style>
|
|