Browse Source

fix: 修改导航方向错位问题

pull/10/head
deepblues 3 years ago
parent
commit
78ad7aa4cb
  1. 2
      public/static/offline/JSON/GetDevCoordinateByIP.json
  2. 2
      src/components/PublicComponent/PublicComponent.vue
  3. 4
      src/views/Nav/Nav.vue

2
public/static/offline/JSON/GetDevCoordinateByIP.json

@ -15,7 +15,7 @@
"floorOrder": 3,
"ip": "192.168.1.209",
"mac": "4CEDFBCAFF27",
"location": "0",
"location": "30",
"angle": "0",
"projectCode": "project-n-ww5jvpwnu0ads70lbkda"
}

2
src/components/PublicComponent/PublicComponent.vue

@ -64,7 +64,7 @@ onBeforeUnmount(() => {
})
watch(route, to => {
if (to.fullPath === '/' || to.fullPath === '/nav' || to.fullPath === '/nav?type=art') {
if (to.fullPath === '/nav' || to.fullPath === '/nav?type=art') {
window?.Map_QM?.startRender()
} else {
window?.Map_QM?.cancelRender()

4
src/views/Nav/Nav.vue

@ -411,10 +411,10 @@ watch(shop, newVal => {
overflow: hidden;
}
.di-icon {
max-width: 180px;
max-height: 180px;
}
.go-container {
max-width: 180px;
max-width: 200px;
margin-top: 75px;
font-size: 36px;
font-family: 'font_bold';

Loading…
Cancel
Save