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
| <template>
| <div class="inner-panel">
| <div v-for="item in basemapList" :key="item.code" class="basemap-layer-item">
| <img src="" width="40" height="40" :title="item.name"/>
| <input type="checkbox" title="显示标注" />
| </div>
| </div>
| </template>
|
| <script>
| export default {
| name: 'LcBaseMap',
| components: {},
| porps:['helper'],
| data() {
| return {
| basemapList:[]
| }
| },
| mounted(){
| console.log('03步骤:', this.helper)
| },
| methods:{
|
| }
| }
| </script>
|
| <style scoped lang="less">
| .inner-panel{
| display: flex;
| justify-content: center;
| align-items: center;
| }
| .basemap-layer-item{
| width: 40px;
| height: 40px;
| margin: 10px;
| }
| </style>
|
|