222
schangxiang@126.com
2025-09-24 68941a04cb2320daa22ba0d5ac79a4447c29998d
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<template>
  <div id="middle2">
    <dv-flyline-chart-enhanced :config="config" :dev="true" />
  </div>
</template>
 
<script>
  export default {
    name: 'Middle2',
    data() {
      return {
        config: {
          points: [{
              name: '运城',
              coordinate: [0.43, 0.66],
              halo: {
                show: true
              },
              icon: {
                src: require('./img/mapCenterPoint.png'),
                width: 30,
                height: 30
              },
              text: {
                // show: false
              }
            },
            {
              name: '平陆县',
              coordinate: [0.53, 0.80]
            },
            {
              name: '芮城县',
              coordinate: [0.27, 0.91]
            },
            {
              name: '永济市',
              coordinate: [0.14, 0.77]
            },
            {
              name: '临猗县',
              coordinate: [0.31, 0.54]
            },
            {
              name: '夏县',
              coordinate: [0.55, 0.54]
            },
            {
              name: '垣曲县',
              coordinate: [0.78, 0.42]
            },
            {
              name: '闻喜县',
              coordinate: [0.55, 0.37]
            },
            {
              name: '万荣县',
              coordinate: [0.35, 0.33]
            },
            {
              name: '绛县',
              coordinate: [0.73, 0.26]
            },
            {
              name: '新绛县',
              coordinate: [0.55, 0.17]
            },
            {
              name: '稷山县',
              coordinate: [0.43, 0.17]
            },
            {
              name: '河津市',
              coordinate: [0.28, 0.18]
            }
          ],
          lines: [{
              source: '平陆县',
              target: '运城'
            },
            {
              source: '芮城县',
              target: '运城'
            },
            {
              source: '永济市',
              target: '运城'
            },
            {
              source: '临猗县',
              target: '运城'
            },
            {
              source: '夏县',
              target: '运城'
            },
            {
              source: '垣曲县',
              target: '运城'
            },
            {
              source: '闻喜县',
              target: '运城'
            },
            {
              source: '万荣县',
              target: '运城'
            },
            {
              source: '绛县',
              target: '运城'
            },
            {
              source: '新绛县',
              target: '运城'
            },
            {
              source: '稷山县',
              target: '运城'
            },
            {
              source: '河津市',
              target: '运城'
            }
          ],
          icon: {
            show: true,
            src: require('./img/mapPoint.png')
          },
          text: {
            show: true
          },
          bgImgSrc: require('./img/map2.png')
        }
      }
    }
  }
</script>
 
<style lang="less">
  #middle2 {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-color: rgba(6, 30, 93, 0.5);
 
    .dv-flyline-chart-enhanced {
      width: 100%;
      height: 100%;
      // position: absolute;
      // top: 5px;
      // right: 5px;
      // bottom: 5px;
      // left: 5px;
    }
  }
</style>