hookehuyr

新背景图更新

Showing 62 changed files with 13 additions and 13 deletions
...@@ -14,18 +14,18 @@ set -e ...@@ -14,18 +14,18 @@ set -e
14 path=/Users/huyirui/program/itomix/git/isp/f 14 path=/Users/huyirui/program/itomix/git/isp/f
15 15
16 # 编译输出文件夹 16 # 编译输出文件夹
17 -output=voice 17 +output=map
18 18
19 # 打包 19 # 打包
20 npm run build 20 npm run build
21 21
22 # 移除Git服务器目录下项目文件夹 22 # 移除Git服务器目录下项目文件夹
23 -rm -r $path"/${output:?}/images" 23 +# rm -r $path"/${output:?}/images"
24 rm -r $path"/${output:?}/index.html" 24 rm -r $path"/${output:?}/index.html"
25 rm -r $path"/${output:?}/static" 25 rm -r $path"/${output:?}/static"
26 26
27 # 把本地编译输出文件夹添加到服务器目录 27 # 把本地编译输出文件夹添加到服务器目录
28 -mv "${output:?}/images" $path"/${output:?}" 28 +# mv "${output:?}/images" $path"/${output:?}"
29 mv "${output:?}/index.html" $path"/${output:?}" 29 mv "${output:?}/index.html" $path"/${output:?}"
30 mv "${output:?}/static" $path"/${output:?}" 30 mv "${output:?}/static" $path"/${output:?}"
31 31
...@@ -37,4 +37,4 @@ git commit -m '前端网页更新' ...@@ -37,4 +37,4 @@ git commit -m '前端网页更新'
37 git push 37 git push
38 38
39 # 更新SSH服务器上文件 39 # 更新SSH服务器上文件
40 -ssh -p 22 itomix@ipadbiz.cn 'cd /opt/voice/f/voice && git pull' 40 +ssh -p 22 itomix@ipadbiz.cn 'cd /opt/space-dev/ && git pull origin develop'
......
...@@ -93,7 +93,7 @@ export default { ...@@ -93,7 +93,7 @@ export default {
93 }, 93 },
94 infoWindow(val) { 94 infoWindow(val) {
95 if (val) { 95 if (val) {
96 - if (this.info?.details[this.isActive]['audio']) { 96 + if (this.info?.details[this.isActive]['audio']) { // 实体有音频时
97 // 存放到pinia里面控制 97 // 存放到pinia里面控制
98 this.changeAudio(this.audio); 98 this.changeAudio(this.audio);
99 this.changeAudioStatus('pause'); 99 this.changeAudioStatus('pause');
......
1 <!-- 1 <!--
2 * @Date: 2023-05-19 14:54:27 2 * @Date: 2023-05-19 14:54:27
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2023-06-12 14:04:04 4 + * @LastEditTime: 2023-06-26 14:31:57
5 * @FilePath: /map-demo/src/views/index.vue 5 * @FilePath: /map-demo/src/views/index.vue
6 * @Description: 地图主体页面 6 * @Description: 地图主体页面
7 --> 7 -->
...@@ -287,7 +287,7 @@ export default { ...@@ -287,7 +287,7 @@ export default {
287 showIndoorMap: false, 287 showIndoorMap: false,
288 defaultCursor: 'pointer', // 地图默认鼠标样式 288 defaultCursor: 'pointer', // 地图默认鼠标样式
289 showBuildingBlock: false, // 是否展示地图 3D 楼块 289 showBuildingBlock: false, // 是否展示地图 3D 楼块
290 - zooms: [17, 20], // 地图显示的缩放级别范围, 默认为 [2, 20] ,取值范围 [2 ~ 30] 290 + zooms: [17, 19], // 地图显示的缩放级别范围, 默认为 [2, 20] ,取值范围 [2 ~ 30]
291 showLabel: true, // 是否展示地图文字和 POI 信息 291 showLabel: true, // 是否展示地图文字和 POI 信息
292 zoom: 18, // 设置地图显示的缩放级别 292 zoom: 18, // 设置地图显示的缩放级别
293 pitch: 0, // 俯仰角度,默认 0,最大值根据地图当前 zoom 级别不断增大,2D地图下无效 。 293 pitch: 0, // 俯仰角度,默认 0,最大值根据地图当前 zoom 级别不断增大,2D地图下无效 。
...@@ -311,7 +311,7 @@ export default { ...@@ -311,7 +311,7 @@ export default {
311 _.each(coord.spotInfo, (x, i) => { 311 _.each(coord.spotInfo, (x, i) => {
312 var marker = new AMap.ElasticMarker({ 312 var marker = new AMap.ElasticMarker({
313 position: coord.spotInfo[i].position, 313 position: coord.spotInfo[i].position,
314 - zooms: [17, 20], 314 + zooms: [17, 19],
315 styles: [{ 315 styles: [{
316 icon: { 316 icon: {
317 img: coord.spotInfo[i].icon, 317 img: coord.spotInfo[i].icon,
...@@ -351,7 +351,7 @@ export default { ...@@ -351,7 +351,7 @@ export default {
351 _.each(coord.toiletInfo, (x, i) => { 351 _.each(coord.toiletInfo, (x, i) => {
352 var marker = new AMap.ElasticMarker({ 352 var marker = new AMap.ElasticMarker({
353 position: coord.toiletInfo[i].position, 353 position: coord.toiletInfo[i].position,
354 - zooms: [17, 20], 354 + zooms: [17, 19],
355 styles: [{ 355 styles: [{
356 icon: { 356 icon: {
357 img: coord.toiletInfo[i].icon, 357 img: coord.toiletInfo[i].icon,
...@@ -388,7 +388,7 @@ export default { ...@@ -388,7 +388,7 @@ export default {
388 _.each(coord.warnInfo, (x, i) => { 388 _.each(coord.warnInfo, (x, i) => {
389 var marker = new AMap.ElasticMarker({ 389 var marker = new AMap.ElasticMarker({
390 position: coord.warnInfo[i].position, 390 position: coord.warnInfo[i].position,
391 - zooms: [17, 20], 391 + zooms: [17, 19],
392 styles: [{ 392 styles: [{
393 icon: { 393 icon: {
394 img: coord.warnInfo[i].icon, 394 img: coord.warnInfo[i].icon,
...@@ -425,7 +425,7 @@ export default { ...@@ -425,7 +425,7 @@ export default {
425 _.each(coord.activityInfo, (x, i) => { 425 _.each(coord.activityInfo, (x, i) => {
426 var marker = new AMap.ElasticMarker({ 426 var marker = new AMap.ElasticMarker({
427 position: coord.activityInfo[i].position, 427 position: coord.activityInfo[i].position,
428 - zooms: [17, 20], 428 + zooms: [17, 19],
429 styles: [{ 429 styles: [{
430 icon: { 430 icon: {
431 img: coord.activityInfo[i].icon, 431 img: coord.activityInfo[i].icon,
...@@ -462,7 +462,7 @@ export default { ...@@ -462,7 +462,7 @@ export default {
462 _.each(coord.publicInfo, (x, i) => { 462 _.each(coord.publicInfo, (x, i) => {
463 var marker = new AMap.ElasticMarker({ 463 var marker = new AMap.ElasticMarker({
464 position: coord.publicInfo[i].position, 464 position: coord.publicInfo[i].position,
465 - zooms: [17, 20], 465 + zooms: [17, 19],
466 styles: [{ 466 styles: [{
467 icon: { 467 icon: {
468 img: coord.publicInfo[i].icon, 468 img: coord.publicInfo[i].icon,
...@@ -664,7 +664,7 @@ export default { ...@@ -664,7 +664,7 @@ export default {
664 fail() 664 fail()
665 }; 665 };
666 666
667 - img.src = `images/tiles/${z}/${x}_${y}.jpg` 667 + img.src = `images/tiles/${z}/${x}_${y}.png`
668 }, 668 },
669 // createTile: function (x, y, z, success, fail) { 669 // createTile: function (x, y, z, success, fail) {
670 // console.warn(z); 670 // console.warn(z);
......