Skip to content

Commit bffe1e5

Browse files
committed
【update】 组件button样式优化; 房产模板地图显示优化; review by songym
1 parent fa61b3e commit bffe1e5

6 files changed

+17
-3
lines changed

examples/component/components_estateMonitoringPlatform_vue.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,15 +207,13 @@
207207
);
208208
return { ...mergeData, showMap: false };
209209
},
210-
mounted() {
211-
console.log(this.showMap);
210+
beforeMount() {
212211
let screenWidth = document.body.clientWidth;
213212
if (screenWidth <= 540) {
214213
this.showMap = false;
215214
} else {
216215
this.showMap = true;
217216
}
218-
console.log(this.showMap);
219217
SuperMap.Components.setTheme({
220218
background: 'transparent',
221219
textColor: '#fff',

examples/component/components_layerManager_vue.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
width: 100%;
1818
height: 100%;
1919
}
20+
.sm-component-layer-manager .sm-component-tree {
21+
font-size: 12px;
22+
}
2023
</style>
2124
</head>
2225

examples/component/components_query_vue.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
width: 100%;
1616
height: 100%;
1717
}
18+
.mapboxgl-ctrl button:not(:disabled):hover {
19+
background-color: #269ff0;
20+
}
1821
</style>
1922
</head>
2023

examples/component/components_tianditu_home_vue.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@
6161
width: 100%;
6262
height: calc(100% - 63px);
6363
}
64+
65+
.mapboxgl-ctrl button:not(:disabled):hover {
66+
background-color: #269ff0;
67+
}
6468
</style>
6569
</head>
6670

examples/component/components_tianditu_route_vue.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
width: 100%;
1515
height: 100%;
1616
}
17+
.mapboxgl-ctrl button:not(:disabled):hover {
18+
background-color: #269ff0;
19+
}
1720
</style>
1821
</head>
1922

examples/component/components_zoom_vue.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
width: 100%;
1616
height: 100%;
1717
}
18+
.mapboxgl-ctrl button:not(:disabled):hover {
19+
background-color: transparent;
20+
}
1821
</style>
1922
</head>
2023

0 commit comments

Comments
 (0)