@heycar/heycars-map 0.9.5 → 0.9.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -2
- package/dist/index.cjs +24 -12
- package/dist/index.js +24 -12
- package/dist/src/business-components/PickupPoints/PickupPoints.d.ts +1 -0
- package/dist/src/hooks/usePlacesLabelDirection.d.ts +1 -0
- package/dist/src/style.css.d.ts +1 -0
- package/dist/src/var.css.d.ts +5 -0
- package/dist/style.css +14 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -22,6 +22,19 @@ npm install @heycar/heycars-map --save
|
|
|
22
22
|
import "@heycar/heycars-map/dist/style.css";
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
+
### 自定义字体
|
|
26
|
+
|
|
27
|
+
目前地图提供了 3 个字体 css variables 用于外部制定特殊字体
|
|
28
|
+
|
|
29
|
+
```css
|
|
30
|
+
/* 使用特殊字体 HarmonyOS_Sans_SC_Regular */
|
|
31
|
+
body {
|
|
32
|
+
--HEYCAR_MAP_CSS_VAR_FONT_REGULAR: HarmonyOS_Sans_SC_Regular, "PingFangSC-Regular", "PingFang SC";
|
|
33
|
+
--HEYCAR_MAP_CSS_VAR_FONT_MEDIUM: HarmonyOS_Sans_SC_Medium, "PingFangSC-Medium", "PingFang SC";
|
|
34
|
+
--HEYCAR_MAP_CSS_VAR_FONT_SEMI_BOLD: HarmonyOS_Sans_SC_Bold, "PingFangSC-Semibold", "PingFang SC";
|
|
35
|
+
}
|
|
36
|
+
```
|
|
37
|
+
|
|
25
38
|
### 使用
|
|
26
39
|
|
|
27
40
|
常用数据结构
|
|
@@ -202,7 +215,7 @@ export default defineComponent({
|
|
|
202
215
|
" 最终的地址是: ",
|
|
203
216
|
place,
|
|
204
217
|
" 是否在绿区内: ",
|
|
205
|
-
isInZone
|
|
218
|
+
isInZone,
|
|
206
219
|
);
|
|
207
220
|
}}
|
|
208
221
|
onClickLocator={() =>
|
|
@@ -313,7 +326,7 @@ export default defineComponent({
|
|
|
313
326
|
" 最终的地址是: ",
|
|
314
327
|
place,
|
|
315
328
|
" 是否在绿区内: ",
|
|
316
|
-
isInZone
|
|
329
|
+
isInZone,
|
|
317
330
|
);
|
|
318
331
|
}}
|
|
319
332
|
onGeoError={() => {
|
package/dist/index.cjs
CHANGED
|
@@ -7,9 +7,9 @@ var __publicField = (obj, key, value) => {
|
|
|
7
7
|
};
|
|
8
8
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
9
9
|
const Vue = require("vue");
|
|
10
|
-
const
|
|
10
|
+
const style_css_ts_vanilla = "";
|
|
11
11
|
const name = "@heycar/heycars-map";
|
|
12
|
-
const version = "0.9.
|
|
12
|
+
const version = "0.9.7";
|
|
13
13
|
const type = "module";
|
|
14
14
|
const scripts = {
|
|
15
15
|
dev: "vite -c vite.config.dev.ts",
|
|
@@ -1529,12 +1529,12 @@ const GmapAdvancedMarkerView = defineSetup(function GmapAdvancedMarkerView2(prop
|
|
|
1529
1529
|
return () => null;
|
|
1530
1530
|
});
|
|
1531
1531
|
const createDom = (tag, props, innerHtml) => {
|
|
1532
|
-
const { class: className, style
|
|
1532
|
+
const { class: className, style, ...restProps } = props != null ? props : {};
|
|
1533
1533
|
const elm = document.createElement(tag);
|
|
1534
1534
|
if (className)
|
|
1535
1535
|
elm.className = className;
|
|
1536
|
-
if (
|
|
1537
|
-
elm.style.cssText =
|
|
1536
|
+
if (style)
|
|
1537
|
+
elm.style.cssText = style;
|
|
1538
1538
|
Object.assign(elm, restProps);
|
|
1539
1539
|
if (innerHtml)
|
|
1540
1540
|
elm.innerHTML = innerHtml;
|
|
@@ -6247,12 +6247,12 @@ const APassengerCircle = defineSetup(function APassengerCircle2(props) {
|
|
|
6247
6247
|
angle
|
|
6248
6248
|
} = props;
|
|
6249
6249
|
const src = size === "large" ? angle === void 0 ? imgPassengerCircle : imgPassengerCircleArrow : angle === void 0 ? imgPassengerSmall : imgPassengerSmallArrow;
|
|
6250
|
-
const
|
|
6250
|
+
const style = angle === void 0 ? "" : `transform: rotate(var(${angle}))`;
|
|
6251
6251
|
const type2 = size === "large" ? angle === void 0 ? "large" : "largeArrow" : angle === void 0 ? "small" : "smallArrow";
|
|
6252
6252
|
return `
|
|
6253
6253
|
<img class="APassengerCircle ${passengerCircle({
|
|
6254
6254
|
type: type2
|
|
6255
|
-
})}" style="${
|
|
6255
|
+
})}" style="${style}" src="${src}">
|
|
6256
6256
|
`;
|
|
6257
6257
|
});
|
|
6258
6258
|
return () => {
|
|
@@ -6274,14 +6274,14 @@ const GPassengerCircle = defineSetup(function GPassengerCircle2(props) {
|
|
|
6274
6274
|
angle
|
|
6275
6275
|
} = props;
|
|
6276
6276
|
const src = size === "large" ? angle === void 0 ? imgPassengerCircle : imgPassengerCircleArrow : angle === void 0 ? imgPassengerSmall : imgPassengerSmallArrow;
|
|
6277
|
-
const
|
|
6277
|
+
const style = angle === void 0 ? "" : `transform: rotate(var(${angle}))`;
|
|
6278
6278
|
const type2 = size === "large" ? angle === void 0 ? "large" : "largeArrow" : angle === void 0 ? "small" : "smallArrow";
|
|
6279
6279
|
return createDom("img", {
|
|
6280
6280
|
class: `GPassengerCircle ${passengerCircle({
|
|
6281
6281
|
type: type2
|
|
6282
6282
|
})}`,
|
|
6283
6283
|
src,
|
|
6284
|
-
style
|
|
6284
|
+
style
|
|
6285
6285
|
});
|
|
6286
6286
|
});
|
|
6287
6287
|
return () => Vue.h(GmapAdvancedMarkerView, {
|
|
@@ -6346,10 +6346,15 @@ const usePointsLabelDirection = (props) => {
|
|
|
6346
6346
|
const labeledPlacesRef = Vue.ref([]);
|
|
6347
6347
|
const isContainBasePlaceRef = Vue.ref(false);
|
|
6348
6348
|
watchEffectForDeepOption(
|
|
6349
|
-
() => [[...props.places], { ...props.basePlace }, zoomRef.value],
|
|
6350
|
-
([places, basePlace]) => {
|
|
6349
|
+
() => [[...props.places], { ...props.basePlace }, props.skip, zoomRef.value],
|
|
6350
|
+
([places, basePlace, skip]) => {
|
|
6351
6351
|
const placesExcludeBase = places.filter((place) => !isPlaceEqual(place, basePlace));
|
|
6352
6352
|
isContainBasePlaceRef.value = placesExcludeBase.length < places.length;
|
|
6353
|
+
if (skip) {
|
|
6354
|
+
labeledPlacesRef.value = placesExcludeBase;
|
|
6355
|
+
directionsRef.value = Array(placesExcludeBase.length).fill("right");
|
|
6356
|
+
return;
|
|
6357
|
+
}
|
|
6353
6358
|
const sortedPlaces = placesExcludeBase.sort(
|
|
6354
6359
|
({ lat: lat1 }, { lat: lat2 }) => lat1 < lat2 ? 1 : lat1 > lat2 ? -1 : 0
|
|
6355
6360
|
);
|
|
@@ -6677,7 +6682,8 @@ const PickupPoints = defineSetup(function PickupPoints2(props, {
|
|
|
6677
6682
|
basePlace: Vue.toRef(props, "basePlace"),
|
|
6678
6683
|
places: Vue.toRef(props, "places"),
|
|
6679
6684
|
heightLimit: 9,
|
|
6680
|
-
widthLimit: 34
|
|
6685
|
+
widthLimit: 34,
|
|
6686
|
+
skip: Vue.toRef(props, "noLabel")
|
|
6681
6687
|
}));
|
|
6682
6688
|
return () => {
|
|
6683
6689
|
const {
|
|
@@ -6768,6 +6774,7 @@ const BusinessRecomendPlaceMap = defineLagecySetup(function BusinessRecomendPlac
|
|
|
6768
6774
|
}) => {
|
|
6769
6775
|
const place = toPlaceType(inputPlace);
|
|
6770
6776
|
const recommends = toRecommendZonePlacesType(inputRecommends);
|
|
6777
|
+
spaceLog("setCenterPlaceByUserSpecifiedInZone", "place, recommends.places = ", JSON.stringify(place), JSON.stringify(recommends.places));
|
|
6771
6778
|
const isSameZone = recommends.zone && isZoneEqual(recommends.zone, zoneRef.value);
|
|
6772
6779
|
if (!isSameZone)
|
|
6773
6780
|
setZoom(ZONE_ZOOM);
|
|
@@ -6938,6 +6945,7 @@ const BusinessRecomendPlaceMap = defineLagecySetup(function BusinessRecomendPlac
|
|
|
6938
6945
|
"attrs": {
|
|
6939
6946
|
"basePlace": centerPlace,
|
|
6940
6947
|
"places": placeCandidates.value,
|
|
6948
|
+
"noLabel": !!zoneRef.value,
|
|
6941
6949
|
"zoomIconMin": zoneRef.value ? RECOMMEND_PLACE_ZONE_ICON_MIN : RECOMMEND_PLACE_ICON_ZOOM_MIN,
|
|
6942
6950
|
"zoomTextMin": zoneRef.value ? RECOMMEND_PLACE_ZONE_TEXT_MIN : RECOMMEND_PLACE_TEXT_ZOOM_MIN
|
|
6943
6951
|
},
|
|
@@ -7013,6 +7021,7 @@ const BusinessReselectPlaceMap = defineLagecySetup(function BusinessReselectPlac
|
|
|
7013
7021
|
}) => {
|
|
7014
7022
|
const place = toPlaceType(inputPlace);
|
|
7015
7023
|
const recommends = toRecommendZonePlacesType(inputRecommends);
|
|
7024
|
+
spaceLog("setCenterPlaceByUserSpecifiedInZone", "place, recommends.places = ", JSON.stringify(place), JSON.stringify(recommends.places));
|
|
7016
7025
|
const isSameZone = recommends.zone && isZoneEqual(recommends.zone, zoneRef.value);
|
|
7017
7026
|
if (!isSameZone)
|
|
7018
7027
|
setZoom(ZONE_ZOOM);
|
|
@@ -7122,6 +7131,8 @@ const BusinessReselectPlaceMap = defineLagecySetup(function BusinessReselectPlac
|
|
|
7122
7131
|
});
|
|
7123
7132
|
watchPostEffectOnce(async () => {
|
|
7124
7133
|
const value = await updatePlaceCandidates(defaultPlace);
|
|
7134
|
+
if (value.isInZone)
|
|
7135
|
+
setZoom(ZONE_ZOOM);
|
|
7125
7136
|
emit("changeRecomandPlace", value);
|
|
7126
7137
|
});
|
|
7127
7138
|
Vue.watchEffect(() => {
|
|
@@ -7162,6 +7173,7 @@ const BusinessReselectPlaceMap = defineLagecySetup(function BusinessReselectPlac
|
|
|
7162
7173
|
"attrs": {
|
|
7163
7174
|
"basePlace": centerPlace,
|
|
7164
7175
|
"places": placeCandidates.value,
|
|
7176
|
+
"noLabel": !!zoneRef.value,
|
|
7165
7177
|
"zoomIconMin": zoneRef.value ? RECOMMEND_PLACE_ZONE_ICON_MIN : RECOMMEND_PLACE_ICON_ZOOM_MIN,
|
|
7166
7178
|
"zoomTextMin": zoneRef.value ? RECOMMEND_PLACE_ZONE_TEXT_MIN : RECOMMEND_PLACE_TEXT_ZOOM_MIN
|
|
7167
7179
|
},
|
package/dist/index.js
CHANGED
|
@@ -5,9 +5,9 @@ var __publicField = (obj, key, value) => {
|
|
|
5
5
|
return value;
|
|
6
6
|
};
|
|
7
7
|
import Vue, { defineComponent, h, computed, inject, provide, watch, onMounted, onUnmounted, watchPostEffect, shallowRef, ref, watchEffect, reactive, toRefs, toRef } from "vue";
|
|
8
|
-
const
|
|
8
|
+
const style_css_ts_vanilla = "";
|
|
9
9
|
const name = "@heycar/heycars-map";
|
|
10
|
-
const version = "0.9.
|
|
10
|
+
const version = "0.9.7";
|
|
11
11
|
const type = "module";
|
|
12
12
|
const scripts = {
|
|
13
13
|
dev: "vite -c vite.config.dev.ts",
|
|
@@ -1527,12 +1527,12 @@ const GmapAdvancedMarkerView = defineSetup(function GmapAdvancedMarkerView2(prop
|
|
|
1527
1527
|
return () => null;
|
|
1528
1528
|
});
|
|
1529
1529
|
const createDom = (tag, props, innerHtml) => {
|
|
1530
|
-
const { class: className, style
|
|
1530
|
+
const { class: className, style, ...restProps } = props != null ? props : {};
|
|
1531
1531
|
const elm = document.createElement(tag);
|
|
1532
1532
|
if (className)
|
|
1533
1533
|
elm.className = className;
|
|
1534
|
-
if (
|
|
1535
|
-
elm.style.cssText =
|
|
1534
|
+
if (style)
|
|
1535
|
+
elm.style.cssText = style;
|
|
1536
1536
|
Object.assign(elm, restProps);
|
|
1537
1537
|
if (innerHtml)
|
|
1538
1538
|
elm.innerHTML = innerHtml;
|
|
@@ -6245,12 +6245,12 @@ const APassengerCircle = defineSetup(function APassengerCircle2(props) {
|
|
|
6245
6245
|
angle
|
|
6246
6246
|
} = props;
|
|
6247
6247
|
const src = size === "large" ? angle === void 0 ? imgPassengerCircle : imgPassengerCircleArrow : angle === void 0 ? imgPassengerSmall : imgPassengerSmallArrow;
|
|
6248
|
-
const
|
|
6248
|
+
const style = angle === void 0 ? "" : `transform: rotate(var(${angle}))`;
|
|
6249
6249
|
const type2 = size === "large" ? angle === void 0 ? "large" : "largeArrow" : angle === void 0 ? "small" : "smallArrow";
|
|
6250
6250
|
return `
|
|
6251
6251
|
<img class="APassengerCircle ${passengerCircle({
|
|
6252
6252
|
type: type2
|
|
6253
|
-
})}" style="${
|
|
6253
|
+
})}" style="${style}" src="${src}">
|
|
6254
6254
|
`;
|
|
6255
6255
|
});
|
|
6256
6256
|
return () => {
|
|
@@ -6272,14 +6272,14 @@ const GPassengerCircle = defineSetup(function GPassengerCircle2(props) {
|
|
|
6272
6272
|
angle
|
|
6273
6273
|
} = props;
|
|
6274
6274
|
const src = size === "large" ? angle === void 0 ? imgPassengerCircle : imgPassengerCircleArrow : angle === void 0 ? imgPassengerSmall : imgPassengerSmallArrow;
|
|
6275
|
-
const
|
|
6275
|
+
const style = angle === void 0 ? "" : `transform: rotate(var(${angle}))`;
|
|
6276
6276
|
const type2 = size === "large" ? angle === void 0 ? "large" : "largeArrow" : angle === void 0 ? "small" : "smallArrow";
|
|
6277
6277
|
return createDom("img", {
|
|
6278
6278
|
class: `GPassengerCircle ${passengerCircle({
|
|
6279
6279
|
type: type2
|
|
6280
6280
|
})}`,
|
|
6281
6281
|
src,
|
|
6282
|
-
style
|
|
6282
|
+
style
|
|
6283
6283
|
});
|
|
6284
6284
|
});
|
|
6285
6285
|
return () => h(GmapAdvancedMarkerView, {
|
|
@@ -6344,10 +6344,15 @@ const usePointsLabelDirection = (props) => {
|
|
|
6344
6344
|
const labeledPlacesRef = ref([]);
|
|
6345
6345
|
const isContainBasePlaceRef = ref(false);
|
|
6346
6346
|
watchEffectForDeepOption(
|
|
6347
|
-
() => [[...props.places], { ...props.basePlace }, zoomRef.value],
|
|
6348
|
-
([places, basePlace]) => {
|
|
6347
|
+
() => [[...props.places], { ...props.basePlace }, props.skip, zoomRef.value],
|
|
6348
|
+
([places, basePlace, skip]) => {
|
|
6349
6349
|
const placesExcludeBase = places.filter((place) => !isPlaceEqual(place, basePlace));
|
|
6350
6350
|
isContainBasePlaceRef.value = placesExcludeBase.length < places.length;
|
|
6351
|
+
if (skip) {
|
|
6352
|
+
labeledPlacesRef.value = placesExcludeBase;
|
|
6353
|
+
directionsRef.value = Array(placesExcludeBase.length).fill("right");
|
|
6354
|
+
return;
|
|
6355
|
+
}
|
|
6351
6356
|
const sortedPlaces = placesExcludeBase.sort(
|
|
6352
6357
|
({ lat: lat1 }, { lat: lat2 }) => lat1 < lat2 ? 1 : lat1 > lat2 ? -1 : 0
|
|
6353
6358
|
);
|
|
@@ -6675,7 +6680,8 @@ const PickupPoints = defineSetup(function PickupPoints2(props, {
|
|
|
6675
6680
|
basePlace: toRef(props, "basePlace"),
|
|
6676
6681
|
places: toRef(props, "places"),
|
|
6677
6682
|
heightLimit: 9,
|
|
6678
|
-
widthLimit: 34
|
|
6683
|
+
widthLimit: 34,
|
|
6684
|
+
skip: toRef(props, "noLabel")
|
|
6679
6685
|
}));
|
|
6680
6686
|
return () => {
|
|
6681
6687
|
const {
|
|
@@ -6766,6 +6772,7 @@ const BusinessRecomendPlaceMap = defineLagecySetup(function BusinessRecomendPlac
|
|
|
6766
6772
|
}) => {
|
|
6767
6773
|
const place = toPlaceType(inputPlace);
|
|
6768
6774
|
const recommends = toRecommendZonePlacesType(inputRecommends);
|
|
6775
|
+
spaceLog("setCenterPlaceByUserSpecifiedInZone", "place, recommends.places = ", JSON.stringify(place), JSON.stringify(recommends.places));
|
|
6769
6776
|
const isSameZone = recommends.zone && isZoneEqual(recommends.zone, zoneRef.value);
|
|
6770
6777
|
if (!isSameZone)
|
|
6771
6778
|
setZoom(ZONE_ZOOM);
|
|
@@ -6936,6 +6943,7 @@ const BusinessRecomendPlaceMap = defineLagecySetup(function BusinessRecomendPlac
|
|
|
6936
6943
|
"attrs": {
|
|
6937
6944
|
"basePlace": centerPlace,
|
|
6938
6945
|
"places": placeCandidates.value,
|
|
6946
|
+
"noLabel": !!zoneRef.value,
|
|
6939
6947
|
"zoomIconMin": zoneRef.value ? RECOMMEND_PLACE_ZONE_ICON_MIN : RECOMMEND_PLACE_ICON_ZOOM_MIN,
|
|
6940
6948
|
"zoomTextMin": zoneRef.value ? RECOMMEND_PLACE_ZONE_TEXT_MIN : RECOMMEND_PLACE_TEXT_ZOOM_MIN
|
|
6941
6949
|
},
|
|
@@ -7011,6 +7019,7 @@ const BusinessReselectPlaceMap = defineLagecySetup(function BusinessReselectPlac
|
|
|
7011
7019
|
}) => {
|
|
7012
7020
|
const place = toPlaceType(inputPlace);
|
|
7013
7021
|
const recommends = toRecommendZonePlacesType(inputRecommends);
|
|
7022
|
+
spaceLog("setCenterPlaceByUserSpecifiedInZone", "place, recommends.places = ", JSON.stringify(place), JSON.stringify(recommends.places));
|
|
7014
7023
|
const isSameZone = recommends.zone && isZoneEqual(recommends.zone, zoneRef.value);
|
|
7015
7024
|
if (!isSameZone)
|
|
7016
7025
|
setZoom(ZONE_ZOOM);
|
|
@@ -7120,6 +7129,8 @@ const BusinessReselectPlaceMap = defineLagecySetup(function BusinessReselectPlac
|
|
|
7120
7129
|
});
|
|
7121
7130
|
watchPostEffectOnce(async () => {
|
|
7122
7131
|
const value = await updatePlaceCandidates(defaultPlace);
|
|
7132
|
+
if (value.isInZone)
|
|
7133
|
+
setZoom(ZONE_ZOOM);
|
|
7123
7134
|
emit("changeRecomandPlace", value);
|
|
7124
7135
|
});
|
|
7125
7136
|
watchEffect(() => {
|
|
@@ -7160,6 +7171,7 @@ const BusinessReselectPlaceMap = defineLagecySetup(function BusinessReselectPlac
|
|
|
7160
7171
|
"attrs": {
|
|
7161
7172
|
"basePlace": centerPlace,
|
|
7162
7173
|
"places": placeCandidates.value,
|
|
7174
|
+
"noLabel": !!zoneRef.value,
|
|
7163
7175
|
"zoomIconMin": zoneRef.value ? RECOMMEND_PLACE_ZONE_ICON_MIN : RECOMMEND_PLACE_ICON_ZOOM_MIN,
|
|
7164
7176
|
"zoomTextMin": zoneRef.value ? RECOMMEND_PLACE_ZONE_TEXT_MIN : RECOMMEND_PLACE_TEXT_ZOOM_MIN
|
|
7165
7177
|
},
|
|
@@ -4,6 +4,7 @@ export interface PickupPointsProps {
|
|
|
4
4
|
basePlace: Place;
|
|
5
5
|
zoomTextMin: number;
|
|
6
6
|
zoomIconMin: number;
|
|
7
|
+
noLabel: boolean;
|
|
7
8
|
onClick?: (value: Place) => any;
|
|
8
9
|
}
|
|
9
10
|
export declare const PickupPoints: import("vue-demi").DefineComponent<import("vue/types/v3-component-props").ComponentObjectPropsOptions<PickupPointsProps>, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").Empty, import("../../types/helper").EmitByProps<PickupPointsProps, Required<PickupPointsProps>>, "click", PickupPointsProps, {}>;
|
|
@@ -5,6 +5,7 @@ export interface UsePointsLabelDirectionProps {
|
|
|
5
5
|
places: Place[];
|
|
6
6
|
widthLimit: number;
|
|
7
7
|
heightLimit: number;
|
|
8
|
+
skip: boolean;
|
|
8
9
|
}
|
|
9
10
|
export declare const usePointsLabelDirection: (props: UsePointsLabelDirectionProps) => {
|
|
10
11
|
directionsRef: import("vue-demi").Ref<LabelDirection[]>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const fontVars: {
|
|
2
|
+
regular: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
3
|
+
medium: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
4
|
+
semiBold: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
5
|
+
};
|
package/dist/style.css
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
:root {
|
|
2
|
+
--HEYCAR_MAP_CSS_VAR_FONT_REGULAR: PingFangSC-Regular, PingFang SC;
|
|
3
|
+
--HEYCAR_MAP_CSS_VAR_FONT_MEDIUM: PingFangSC-Medium, PingFang SC;
|
|
4
|
+
--HEYCAR_MAP_CSS_VAR_FONT_SEMI_BOLD: PingFangSC-Semibold, PingFang SC;
|
|
5
|
+
}.n8tgem0 {
|
|
2
6
|
pointer-events: none;
|
|
3
7
|
position: absolute;
|
|
4
8
|
bottom: 50%;
|
|
@@ -28,7 +32,7 @@
|
|
|
28
32
|
.n8tgem5 {
|
|
29
33
|
display: -webkit-box;
|
|
30
34
|
font-size: 3.47vw;
|
|
31
|
-
font-family:
|
|
35
|
+
font-family: var(--HEYCAR_MAP_CSS_VAR_FONT_SEMI_BOLD);
|
|
32
36
|
font-weight: 600;
|
|
33
37
|
color: #FFFFFF;
|
|
34
38
|
line-height: 4.8vw;
|
|
@@ -39,7 +43,7 @@
|
|
|
39
43
|
.n8tgem6 {
|
|
40
44
|
margin-top: 0.53vw;
|
|
41
45
|
font-size: 2.93vw;
|
|
42
|
-
font-family:
|
|
46
|
+
font-family: var(--HEYCAR_MAP_CSS_VAR_FONT_REGULAR);
|
|
43
47
|
font-weight: 400;
|
|
44
48
|
color: #FFFFFF;
|
|
45
49
|
line-height: 4.27vw;
|
|
@@ -82,7 +86,7 @@
|
|
|
82
86
|
}
|
|
83
87
|
._15rq2xn2 {
|
|
84
88
|
font-size: 3.47vw;
|
|
85
|
-
font-family:
|
|
89
|
+
font-family: var(--HEYCAR_MAP_CSS_VAR_FONT_SEMI_BOLD);
|
|
86
90
|
font-weight: 600;
|
|
87
91
|
color: #FFFFFF;
|
|
88
92
|
line-height: 4.8vw;
|
|
@@ -90,7 +94,7 @@
|
|
|
90
94
|
}
|
|
91
95
|
._15rq2xn3 {
|
|
92
96
|
font-size: 2.93vw;
|
|
93
|
-
font-family:
|
|
97
|
+
font-family: var(--HEYCAR_MAP_CSS_VAR_FONT_REGULAR);
|
|
94
98
|
font-weight: 400;
|
|
95
99
|
color: #EAFAF8;
|
|
96
100
|
line-height: 4.27vw;
|
|
@@ -172,7 +176,7 @@ a[title*="Google"]>div>img[alt="Google"], .gmnoprint {
|
|
|
172
176
|
max-width: 41.33vw;
|
|
173
177
|
width: max-content;
|
|
174
178
|
font-size: 3.2vw;
|
|
175
|
-
font-family:
|
|
179
|
+
font-family: var(--HEYCAR_MAP_CSS_VAR_FONT_MEDIUM);
|
|
176
180
|
font-weight: 500;
|
|
177
181
|
color: #1E1E1E;
|
|
178
182
|
line-height: 4vw;
|
|
@@ -183,7 +187,7 @@ a[title*="Google"]>div>img[alt="Google"], .gmnoprint {
|
|
|
183
187
|
._4a4ovk4 {
|
|
184
188
|
padding-top: 0.6vw;
|
|
185
189
|
font-size: 2.4vw;
|
|
186
|
-
font-family:
|
|
190
|
+
font-family: var(--HEYCAR_MAP_CSS_VAR_FONT_REGULAR);
|
|
187
191
|
font-weight: 400;
|
|
188
192
|
color: #7E7E7E;
|
|
189
193
|
line-height: 3.47vw;
|
|
@@ -191,7 +195,7 @@ a[title*="Google"]>div>img[alt="Google"], .gmnoprint {
|
|
|
191
195
|
}
|
|
192
196
|
._4a4ovk5 {
|
|
193
197
|
color: #4471FF;
|
|
194
|
-
font-family:
|
|
198
|
+
font-family: var(--HEYCAR_MAP_CSS_VAR_FONT_MEDIUM);
|
|
195
199
|
font-weight: 500;
|
|
196
200
|
}
|
|
197
201
|
._4a4ovk6 {
|
|
@@ -275,7 +279,7 @@ a[title*="Google"]>div>img[alt="Google"], .gmnoprint {
|
|
|
275
279
|
.fhyw8c {
|
|
276
280
|
display: -webkit-box;
|
|
277
281
|
font-size: 3.2vw;
|
|
278
|
-
font-family:
|
|
282
|
+
font-family: var(--HEYCAR_MAP_CSS_VAR_FONT_SEMI_BOLD);
|
|
279
283
|
font-weight: 600;
|
|
280
284
|
color: #243E66;
|
|
281
285
|
line-height: 4.53vw;
|
|
@@ -301,7 +305,7 @@ a[title*="Google"]>div>img[alt="Google"], .gmnoprint {
|
|
|
301
305
|
}
|
|
302
306
|
._65j3sr4 {
|
|
303
307
|
font-size: 3.2vw;
|
|
304
|
-
font-family:
|
|
308
|
+
font-family: var(--HEYCAR_MAP_CSS_VAR_FONT_MEDIUM);
|
|
305
309
|
font-weight: 500;
|
|
306
310
|
color: #1E1E1E;
|
|
307
311
|
line-height: 3.8vw;
|