Compare commits

...

4 Commits

  1. 8
      CHANGELOG.md
  2. 4
      package-lock.json
  3. 2
      package.json
  4. 22
      public/static/qm/MainMap_QM.js
  5. 6
      src/views/Guide/Floor.vue

8
CHANGELOG.md

@ -2,6 +2,14 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
### [1.0.4-B.1](https://git.1000my.com/project-chengduSKP/cd_SKP_H_base_daoshi_vue_ts/compare/v1.0.4-B.0...v1.0.4-B.1) (2023-08-10)
### Bug Fixes
* 🧩 地图优化 ([c50567f](https://git.1000my.com/project-chengduSKP/cd_SKP_H_base_daoshi_vue_ts/commit/c50567f82bb15201b8c71ac18d376d387c861bcb))
* 🧩 修改楼层宽度 ([93eee94](https://git.1000my.com/project-chengduSKP/cd_SKP_H_base_daoshi_vue_ts/commit/93eee94f9d4171138bbe491c54ec1224a88f06ea))
### [1.0.4-B.0](https://git.1000my.com/project-chengduSKP/cd_SKP_H_base_daoshi_vue_ts/compare/v1.0.3...v1.0.4-B.0) (2023-08-07)

4
package-lock.json

@ -1,12 +1,12 @@
{
"name": "vue_cli_ts",
"version": "1.0.4-B.0",
"version": "1.0.4-B.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "vue_cli_ts",
"version": "1.0.4-B.0",
"version": "1.0.4-B.1",
"dependencies": {
"@better-scroll/core": "^2.5.0",
"@better-scroll/observe-image": "^2.5.0",

2
package.json

@ -1,6 +1,6 @@
{
"name": "vue_cli_ts",
"version": "1.0.4-B.0",
"version": "1.0.4-B.1",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",

22
public/static/qm/MainMap_QM.js

@ -2075,8 +2075,7 @@ MainMap_QM.prototype = {
*/
changeMapState: function (state) {
Map_QM.controls.reset();
let angle = Map_QM.util.options.deviceAng ? Map_QM.util.deviceObj.angle : Map_QM.util.mapAngle
Map_QM.rotationAngle(angle)
Map_QM.util.options.deviceAng && Map_QM.rotationAngle(Map_QM.util.deviceObj.angle)
if (state === "3d") {
Map_QM.camera = Map_QM.cameraPerspective;
Map_QM.controls.object = Map_QM.camera;
@ -2164,8 +2163,7 @@ MainMap_QM.prototype = {
Map_QM.controls.maxAzimuthAngle = Infinity;
Map_QM.util.pathStateObj.forShopArr = { direction: "", wayList: [] };
Map_QM.controls.reset();
let angle = Map_QM.util.options.deviceAng ? Map_QM.util.deviceObj.angle : Map_QM.util.mapAngle
Map_QM.rotationAngle(angle)
Map_QM.util.options.deviceAng && Map_QM.rotationAngle(Map_QM.util.deviceObj.angle)
if (Map_QM.guide && Map_QM.guide.visible) {
Map_QM.guide.visible = false
}
@ -2358,8 +2356,7 @@ MainMap_QM.prototype = {
Map_QM.camera.updateProjectionMatrix();
Map_QM.shawLight.castShadow = Map_QM.util.options.shadow;
Map_QM.controls.reset();
let angle = Map_QM.util.options.deviceAng ? Map_QM.util.deviceObj.angle : Map_QM.util.mapAngle
Map_QM.rotationAngle(angle)
Map_QM.util.options.deviceAng && Map_QM.rotationAngle(Map_QM.util.deviceObj.angle)
}
},
@ -2444,8 +2441,7 @@ MainMap_QM.prototype = {
this.controls.maxAzimuthAngle = Infinity;
this.shawLight.castShadow = this.util.options.shadow;
this.controls.reset();
let angle = this.util.options.deviceAng ? this.util.deviceObj.angle : this.util.mapAngle
this.rotationAngle(angle)
this.util.options.deviceAng && this.rotationAngle(this.util.deviceObj.angle)
},
/**
* @api {方法} changePathDir(pathState) 切换导航方向
@ -3068,8 +3064,7 @@ MainMap_QM.prototype = {
isJUZ = false;
Map_QM.controls.setZoom(1)
Map_QM.controls.reset()
let angle = Map_QM.util.options.deviceAng ? Map_QM.util.deviceObj.angle : Map_QM.util.mapAngle
Map_QM.rotationAngle(angle)
Map_QM.util.options.deviceAng && Map_QM.rotationAngle(Map_QM.util.deviceObj.angle)
return;
}
TweenMax.killAll(true)
@ -3464,8 +3459,7 @@ MainMap_QM.prototype = {
isJUZ = false;
Map_QM.controls.setZoom(1)
Map_QM.controls.reset()
let angle = Map_QM.util.options.deviceAng ? Map_QM.util.deviceObj.angle : Map_QM.util.mapAngle
Map_QM.rotationAngle(angle)
Map_QM.util.options.deviceAng && Map_QM.rotationAngle(Map_QM.util.deviceObj.angle)
}, 5000);
}
if (debug) {
@ -5065,6 +5059,7 @@ MainMap_QM.prototype = {
Map_QM.util.timeObj.pathTime = setTimeout(() => {
clearTimeout(Map_QM.util.timeObj.pathTime);
Map_QM.controls.reset();
Map_QM.util.options.deviceAng && Map_QM.rotationAngle(Map_QM.util.deviceObj.angle)
if (Map_QM.util.overObj && Map_QM.forShopArr[0]) {
Map_QM.util.pathStateObj.isPathPlay = true;
Map_QM.clearFloor();
@ -5094,6 +5089,7 @@ MainMap_QM.prototype = {
Map_QM.util.timeObj.pathTime = setTimeout(() => {
clearTimeout(Map_QM.util.timeObj.pathTime);
Map_QM.controls.reset();
Map_QM.util.options.deviceAng && Map_QM.rotationAngle(Map_QM.util.deviceObj.angle)
if (Map_QM.util.overObj) {
Map_QM.clearFloor();
Map_QM.onFindPathModel(Map_QM.util.pathStateObj.ftPath);
@ -5126,6 +5122,7 @@ MainMap_QM.prototype = {
Map_QM.util.timeObj.pathTime = setTimeout(() => {
clearTimeout(Map_QM.util.timeObj.pathTime);
Map_QM.controls.reset();
Map_QM.util.options.deviceAng && Map_QM.rotationAngle(Map_QM.util.deviceObj.angle)
if (Map_QM.util.overObj) {
Map_QM.clearFloor();
Map_QM.onFindPathModel(Map_QM.util.pathStateObj.dtPath);
@ -5158,6 +5155,7 @@ MainMap_QM.prototype = {
Map_QM.util.timeObj.pathTime = setTimeout(() => {
clearTimeout(Map_QM.util.timeObj.pathTime);
Map_QM.controls.reset();
Map_QM.util.options.deviceAng && Map_QM.rotationAngle(Map_QM.util.deviceObj.angle)
if (Map_QM.util.overObj) {
Map_QM.clearFloor();
Map_QM.onFindPathModel(Map_QM.util.pathStateObj.graphPath);

6
src/views/Guide/Floor.vue

@ -40,7 +40,7 @@ function changeFloor(floorOrder: number) {
@include fl(center);
position: relative;
width: 72px;
width: 80px;
height: 86px;
margin-bottom: 8px;
color: #534f46;
@ -63,9 +63,7 @@ function changeFloor(floorOrder: number) {
height: 16px;
}
}
.all {
height: 72px;
}
.ac {
color: #fff;
background: #e00068;

Loading…
Cancel
Save