diff --git a/public/static/libs/mapbox/style/TemporaryProject.json b/public/static/libs/mapbox/style/TemporaryProject.json index 9c29117..597235a 100644 --- a/public/static/libs/mapbox/style/TemporaryProject.json +++ b/public/static/libs/mapbox/style/TemporaryProject.json @@ -121,7 +121,8 @@ "text-color": "#ffffff", "text-halo-color": "rgba(255,0,0,1)", "text-halo-width": 1, - "text-halo-blur": 1 + "text-halo-blur": 1, + "text-opacity": ["step", ["zoom"], 0, 13, 1] }, "layout": { "icon-image": [ @@ -154,6 +155,7 @@ "text-font": [ "KlokanTech Noto Sans Regular" ], + "text-size": 16, "text-line-height": 3, "text-anchor": "bottom", diff --git a/public/static/libs/mapbox/style/TemporaryProject.json b/public/static/libs/mapbox/style/TemporaryProject.json index 9c29117..597235a 100644 --- a/public/static/libs/mapbox/style/TemporaryProject.json +++ b/public/static/libs/mapbox/style/TemporaryProject.json @@ -121,7 +121,8 @@ "text-color": "#ffffff", "text-halo-color": "rgba(255,0,0,1)", "text-halo-width": 1, - "text-halo-blur": 1 + "text-halo-blur": 1, + "text-opacity": ["step", ["zoom"], 0, 13, 1] }, "layout": { "icon-image": [ @@ -154,6 +155,7 @@ "text-font": [ "KlokanTech Noto Sans Regular" ], + "text-size": 16, "text-line-height": 3, "text-anchor": "bottom", diff --git a/vite.config.js b/vite.config.js index e8abe46..e75b139 100644 --- a/vite.config.js +++ b/vite.config.js @@ -9,8 +9,8 @@ const Timestamp = new Date().getTime(); //随机时间戳 -const targetUrl = 'http://192.168.20.52:7300'; //杨辉 -// const targetUrl = 'https://server2.wh-nf.cn:8082/prod-api'; //线上 +// const targetUrl = 'http://192.168.20.52:7300'; //杨辉 +const targetUrl = 'https://server2.wh-nf.cn:8082/prod-api'; //线上 export default defineConfig({ // 地址是和router中和ngix中配置的名称一致