Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
holo-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xinkong
holo-web
Commits
83a8c291
Commit
83a8c291
authored
Dec 07, 2023
by
ninglx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复去除私有库后长沙大屏版本bug
parent
17c6fbdb
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
122 additions
and
152 deletions
+122
-152
index.html
wj-data-vision/public/index.html
+5
-4
App.vue
wj-data-vision/src/App.vue
+0
-33
permission.js
wj-data-vision/src/permission.js
+12
-11
vehicleDetail.vue
...vision/src/views/accidentScene/mapPopup/vehicleDetail.vue
+15
-15
vehicleDetailBottom.vue
.../src/views/accidentScene/mapPopup/vehicleDetailBottom.vue
+15
-15
vehicleDetail.vue
...ion/src/views/dangerousDriving/mapPopup/vehicleDetail.vue
+16
-16
cameraPopup.vue
...ion/src/views/intersectionGroups/mapPopup/cameraPopup.vue
+8
-8
vehicleDetail.vue
...n/src/views/intersectionGroups/mapPopup/vehicleDetail.vue
+17
-17
messageBoxes.vue
wj-data-vision/src/views/intersectionGroups/messageBoxes.vue
+4
-3
vehicleDetail.vue
...a-vision/src/views/slowTraffic/mapPopup/vehicleDetail.vue
+14
-14
conflictDetail.vue
...rc/views/straightLeftConflict/mapPopup/conflictDetail.vue
+16
-16
No files found.
wj-data-vision/public/index.html
View file @
83a8c291
...
...
@@ -10,7 +10,7 @@
<link
href=
"/cdn/libs/normalize/normalize.css"
rel=
"stylesheet"
/>
<link
href=
"/cdn/libs/element-ui/element-ui.css"
rel=
"stylesheet"
/>
<
link
href=
"/cdn/libs/example/styles/jsDemo.css"
rel=
"stylesheet"
type=
"text/css"
media=
"all"
/
>
<
!-- <link href="/cdn/libs/example/styles/jsDemo.css" rel="stylesheet" type="text/css" media="all" /> --
>
<link
href=
"/cdn/libs/mapbox-gl/mapbox-gl.css"
rel=
"stylesheet"
/>
<link
href=
"/cdn/libs/threebox/threebox.css"
rel=
"stylesheet"
/>
<link
rel=
"stylesheet"
href=
"/cdn/libs/Cesium/Widgets/widgets.css"
/>
...
...
@@ -22,15 +22,16 @@
<script
src=
"/cdn/libs/st-dao/st-dao.js"
></script>
<script
src=
"/cdn/libs/mapbox-gl/mapbox-gl.js"
type=
"text/javascript"
></script>
<script
src=
"/cdn/libs/threebox/threebox.js"
type=
"text/javascript"
></script>
<script
type=
"text/javascript"
src=
"/cdn/libs/Cesium/Cesium.js
"
></script>
<script
src=
"/cdn/libs/cesium/Cesium.js"
type=
"text/javascript
"
></script>
<script
src=
"/cdn/libs/turf/turf.min.js"
type=
"text/javascript"
></script>
<script
src=
"/cdn/libs/flvjs/flv.min.js"
type=
"text/javascript"
></script>
<script
src=
'/cdn/libs/reconnecting
Websocket/reconnectingWs
.js'
type=
"text/javascript"
></script>
<script
src=
'/cdn/libs/reconnecting
-websocket/reconnecting-websocket
.js'
type=
"text/javascript"
></script>
<style>
#app
{
#app
,
body
,
html
{
height
:
100%
;
width
:
100%
;
overflow
:
hidden
;
}
</style>
</head>
...
...
wj-data-vision/src/App.vue
View file @
83a8c291
<
template
>
<!--
<stms-framework
id=
"app"
title=
"GIS云中台"
wrapperClassName=
"default"
:menu=
"menu"
:path=
"path"
:params=
"params"
v-if=
"isInit"
/>
-->
<div
class=
"full-h full-w"
>
<!--
<div
v-if=
"showMenu"
id=
"app"
class=
"stms-framework default"
>
-->
<!-- <!– 头部 –>-->
<!--
<Navigator
title=
"全息路段感知平台"
/>
-->
<!--
<div
class=
"stms-framework-container"
>
-->
<!-- <!– 左侧 –>-->
<!--
<leftMenu/>
-->
<!--
<div
class=
"stms-framework-content"
>
-->
<!--
<div
class=
"stms-framework-content-flex"
>
-->
<!--
<router-view/>
-->
<!--
</div>
-->
<!--
</div>
-->
<!--
</div>
-->
<!--
</div>
-->
<!--
<div
class=
"full-w full-h"
v-else
><router-view/></div>
-->
<div
class=
"full-w full-h"
><router-view/></div>
</div>
</
template
>
<
script
>
// import Navigator from "@/components/navigator";
// import leftMenu from "@/components/leftMenu";
export
default
{
components
:
{
// Navigator,
// leftMenu,
},
data
()
{
return
{
...
...
@@ -68,9 +40,6 @@ export default {
async
init
()
{
await
this
.
$store
.
dispatch
(
"
QUERY_MENU
"
);
this
.
isInit
=
true
;
// if (window.location.hash === "#/") {
// this.$route.path === "/" && this.$router.push(this.menu.find(v => !v.parentId).url);
// }
},
},
};
...
...
@@ -78,8 +47,6 @@ export default {
<
style
lang=
"less"
scoped
>
#app {
// font-family: "Avenir", Helvetica, Arial, sans-serif;
//font-family: 'SiYuanHT';
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
color: #2c3e50;
...
...
wj-data-vision/src/permission.js
View file @
83a8c291
...
...
@@ -7,17 +7,18 @@ router.beforeEach((to, from, next) => {
// 在免登录白名单,直接进入
next
()
}
else
{
const
parentId
=
map_config
.
SYS_ID
;
AuthDao
.
queryMenu
({
params
:
{
parentId
,
isRecursion
:
true
}
}).
then
(
res
=>
{
let
routes
=
res
.
data
.
content
for
(
let
route
of
routes
)
{
if
(
route
.
url
===
to
.
path
)
{
next
()
}
}
});
next
()
// const parentId = map_config.SYS_ID;
// AuthDao.queryMenu({
// params: {parentId, isRecursion: true}
// }).then(res => {
// let routes = res.data.content
// for (let route of routes) {
// if (route.url === to.path) {
// next()
// }
// }
// });
}
})
...
...
wj-data-vision/src/views/accidentScene/mapPopup/vehicleDetail.vue
View file @
83a8c291
...
...
@@ -62,27 +62,27 @@ export default {
<
style
lang=
"less"
scoped
>
.vehicleDetail {
background-image: url("../../../assets/images/sc/redBack.png");
font-size: 12
px
;
font-size: 12
PX
;
position: absolute;
width: 348
px
;
height: 254
px
;
padding: 2
px 16px 6px 120px
;
width: 348
PX
;
height: 254
PX
;
padding: 2
PX 16PX 6PX 120PX
;
background-size: 100% 100%;
background-repeat: no-repeat;
.head {
height: 25
px
;
height: 25
PX
;
color: white;
display: flex;
align-items: center;
span {
display: inline-block;
width: 18
px
;
height: 18
px
;
margin-right: 5
px
;
line-height: 25
px
;
width: 18
PX
;
height: 18
PX
;
margin-right: 5
PX
;
line-height: 25
PX
;
background-image: url('../../../assets/images/holo/vehicle_popup_icon.png');
background-position: center;
background-repeat: no-repeat;
...
...
@@ -90,17 +90,17 @@ export default {
}
.content {
height: calc(100% - 25
px
);
height: calc(100% - 25
PX
);
display: flex;
padding-top: 12
px
;
padding-top: 12
PX
;
flex-direction: column;
.detailItem {
height: 30
px
;
line-height: 30
px
;
height: 30
PX
;
line-height: 30
PX
;
white-space: nowrap;
color: white;
max-width: 200
px
;
max-width: 200
PX
;
overflow: hidden;
text-overflow: ellipsis;
...
...
@@ -110,7 +110,7 @@ export default {
span.left {
text-align: left;
padding-left: 20
px
;
padding-left: 20
PX
;
background-image: url("../../../assets/images/acci/arrow-origin.png");
background-size: auto;
background-repeat: no-repeat;
...
...
wj-data-vision/src/views/accidentScene/mapPopup/vehicleDetailBottom.vue
View file @
83a8c291
...
...
@@ -58,27 +58,27 @@ export default {
<
style
lang=
"less"
scoped
>
.vehicleDetail {
background-image: url("../../../assets/images/sc/originBack.png");
font-size: 12
px
;
font-size: 12
PX
;
position: absolute;
width: 348
px
;
height: 254
px
;
padding: 115
px 16px 6px 16px
;
width: 348
PX
;
height: 254
PX
;
padding: 115
PX 16PX 6PX 16PX
;
background-size: 100% 100%;
background-repeat: no-repeat;
.head {
height: 25
px
;
height: 25
PX
;
color: white;
display: flex;
align-items: center;
span {
display: inline-block;
width: 18
px
;
height: 18
px
;
margin-right: 5
px
;
line-height: 25
px
;
width: 18
PX
;
height: 18
PX
;
margin-right: 5
PX
;
line-height: 25
PX
;
background-image: url('../../../assets/images/holo/vehicle_popup_icon.png');
background-position: center;
background-repeat: no-repeat;
...
...
@@ -86,17 +86,17 @@ export default {
}
.content {
height: calc(100% - 25
px
);
height: calc(100% - 25
PX
);
display: flex;
padding-top: 12
px
;
padding-top: 12
PX
;
flex-direction: column;
.detailItem {
height: 30
px
;
line-height: 30
px
;
height: 30
PX
;
line-height: 30
PX
;
white-space: nowrap;
color: white;
max-width: 200
px
;
max-width: 200
PX
;
overflow: hidden;
text-overflow: ellipsis;
...
...
@@ -106,7 +106,7 @@ export default {
span.left {
text-align: left;
padding-left: 20
px
;
padding-left: 20
PX
;
background-image: url("../../../assets/images/acci/arrow-origin.png");
background-size: auto;
background-repeat: no-repeat;
...
...
wj-data-vision/src/views/dangerousDriving/mapPopup/vehicleDetail.vue
View file @
83a8c291
...
...
@@ -64,19 +64,19 @@ export default {
<
style
lang=
"less"
scoped
>
.vehicleDetail {
font-size: 12
px
;
font-size: 12
PX
;
position: absolute;
//bottom: 16
px
;
//right: 16
px
;
width: 260
px
;
//height: 207
px
;
padding: 2
px 16px 6px 16px
;
//bottom: 16
PX
;
//right: 16
PX
;
width: 260
PX
;
//height: 207
PX
;
padding: 2
PX 16PX 6PX 16PX
;
background-image: url("../../../assets/images/acci/detail-back-red.png");
background-size: 100% 100%;
background-repeat: no-repeat;
.head {
height: 30
px
;
height: 30
PX
;
color: white;
display: flex;
align-items: center;
...
...
@@ -86,10 +86,10 @@ export default {
}
.titleBefore {
width: 25
px
;
height: 30
px
;
margin-right: 5
px
;
line-height: 30
px
;
width: 25
PX
;
height: 30
PX
;
margin-right: 5
PX
;
line-height: 30
PX
;
background-image: url('../../../assets/images/acci/carIcon-red.png');
background-position: center;
background-repeat: no-repeat;
...
...
@@ -97,15 +97,15 @@ export default {
}
.content {
height: calc(100% - 25
px
);
height: calc(100% - 25
PX
);
display: flex;
padding-top: 8
px
;
padding-top: 8
PX
;
//flex-flow: row wrap;
flex-direction: column;
.detailItem {
height: 30
px
;
line-height: 30
px
;
height: 30
PX
;
line-height: 30
PX
;
white-space: nowrap;
color: white;
//width: 50%;
...
...
@@ -119,7 +119,7 @@ export default {
span.left {
text-align: left;
padding-left: 20
px
;
padding-left: 20
PX
;
//width: 50%;
background-image: url("../../../assets/images/acci/arrow-red.png");
background-size: auto;
...
...
wj-data-vision/src/views/intersectionGroups/mapPopup/cameraPopup.vue
View file @
83a8c291
...
...
@@ -53,25 +53,25 @@ export default {
}
.equip_camera {
width: 314
px
;
height: 210
px
;
width: 314
PX
;
height: 210
PX
;
background-image: url("../../../assets/images/sc/cameraPopup.png");
background-repeat: no-repeat;
background-size: 100% 100%;
.header {
height: 30
px
;
line-height: 40
px
;
padding-left: 10
px
;
height: 30
PX
;
line-height: 40
PX
;
padding-left: 10
PX
;
color: white;
font-size: 16
px
;
font-size: 16
PX
;
font-weight: 700;
}
.main {
position: relative;
padding: 1
px
;
height: calc(100% - 30
px
);
padding: 1
PX
;
height: calc(100% - 30
PX
);
}
}
...
...
wj-data-vision/src/views/intersectionGroups/mapPopup/vehicleDetail.vue
View file @
83a8c291
...
...
@@ -80,18 +80,18 @@ export default {
<
style
lang=
"less"
scoped
>
.vehicleDetail {
font-size: 12
px
;
font-size: 12
PX
;
position: absolute;
//bottom: 16
px
;
//right: 16
px
;
width: 216
px
;
//height: 207
px
;
padding: 2
px 16px 6px 16px
;
//bottom: 16
PX
;
//right: 16
PX
;
width: 216
PX
;
//height: 207
PX
;
padding: 2
PX 16PX 6PX 16PX
;
background: url("../../../assets/images/holo/vehicle_popup_back.png");
background-size: 100% 100%;
background-repeat: no-repeat;
.head {
height: 25
px
;
height: 25
PX
;
color: white;
display: flex;
align-items: center;
...
...
@@ -99,28 +99,28 @@ export default {
display: inline-block;
}
.titleBefore {
width: 18
px
;
height: 18
px
;
margin-right: 5
px
;
line-height: 25
px
;
width: 18
PX
;
height: 18
PX
;
margin-right: 5
PX
;
line-height: 25
PX
;
background-image:url('../../../assets/images/holo/vehicle_popup_icon.png');
background-position: center;
background-repeat: no-repeat;
}
}
.content {
height: calc(100% - 25
px
);
height: calc(100% - 25
PX
);
display: flex;
padding-top: 12
px
;
padding-top: 12
PX
;
//flex-flow: row wrap;
flex-direction: column;
.detailItem {
height: 30
px
;
line-height: 30
px
;
height: 30
PX
;
line-height: 30
PX
;
white-space: nowrap;
color: white;
//width: 50%;
max-width: 200
px
;
max-width: 200
PX
;
overflow: hidden;
text-overflow: ellipsis;
span {
...
...
@@ -128,7 +128,7 @@ export default {
}
span.left {
text-align: left;
padding-left: 20
px
;
padding-left: 20
PX
;
//width: 50%;
background-image: url("../../../assets/images/holo/vehicle_popup_arrow.png");
background-size: auto;
...
...
wj-data-vision/src/views/intersectionGroups/messageBoxes.vue
View file @
83a8c291
<
template
>
<div
class=
"boxes"
>
<div
class=
"map-mask"
:class=
"[
{ show_bigger: !showMask }]">
</div>
<div
class=
"map-mask1"
v-show=
"showMask1"
></div>
<
!--
<
div
class=
"map-mask"
:class=
"[
{ show_bigger: !showMask }]">
</div>
<div
class=
"map-mask1"
v-show=
"showMask1"
></div>
-->
<div
class=
"over_data"
>
<div
class=
"over_item"
>
<div
class=
"number comm"
>
{{
overDatas
.
inWayVehicleNum
}}
<span>
辆
</span></div>
...
...
@@ -1070,6 +1070,7 @@ export default {
padding-left: 15px;
padding-right: 10px;
transition: 0.5s all ease;
box-shadow: 30px 0px 30px 0px #030b19;
/* x 偏移量 | y 偏移量 | 阴影模糊半径 | 阴影扩散半径 | 阴影颜色 */
// box-shadow: 2px 0px 2px 1px rgba(0, 0, 0, 0.2);
}
...
...
@@ -1085,7 +1086,7 @@ export default {
padding-left: 10px;
transition: 0.5s all ease;
/* x 偏移量 | y 偏移量 | 阴影模糊半径 | 阴影扩散半径 | 阴影颜色 */
// box-shadow: -2px 0px 2px 1px rgba(0, 0, 0, 0.2)
;
box-shadow: -30px 0px 30px 0px #030b19
;
}
.hide_right {
...
...
wj-data-vision/src/views/slowTraffic/mapPopup/vehicleDetail.vue
View file @
83a8c291
...
...
@@ -49,26 +49,26 @@ export default {
<
style
lang=
"less"
scoped
>
.vehicleDetail {
font-size: 12
px
;
font-size: 12
PX
;
position: absolute;
width: 242
px
;
padding: 2
px 16px 6px 16px
;
width: 242
PX
;
padding: 2
PX 16PX 6PX 16PX
;
background-image: url("../../../assets/images/acci/detail-back-origin.png");
background-size: 100% 100%;
background-repeat: no-repeat;
.head {
height: 25
px
;
height: 25
PX
;
color: white;
display: flex;
align-items: center;
span {
display: inline-block;
width: 18
px
;
height: 18
px
;
margin-right: 5
px
;
line-height: 25
px
;
width: 18
PX
;
height: 18
PX
;
margin-right: 5
PX
;
line-height: 25
PX
;
background-image: url('../../../assets/images/holo/vehicle_popup_icon.png');
background-position: center;
background-repeat: no-repeat;
...
...
@@ -76,17 +76,17 @@ export default {
}
.content {
height: calc(100% - 25
px
);
height: calc(100% - 25
PX
);
display: flex;
padding-top: 12
px
;
padding-top: 12
PX
;
flex-direction: column;
.detailItem {
height: 30
px
;
line-height: 30
px
;
height: 30
PX
;
line-height: 30
PX
;
white-space: nowrap;
color: white;
max-width: 200
px
;
max-width: 200
PX
;
overflow: hidden;
text-overflow: ellipsis;
...
...
@@ -96,7 +96,7 @@ export default {
span.left {
text-align: left;
padding-left: 20
px
;
padding-left: 20
PX
;
background-image: url("../../../assets/images/acci/arrow-origin.png");
background-size: auto;
background-repeat: no-repeat;
...
...
wj-data-vision/src/views/straightLeftConflict/mapPopup/conflictDetail.vue
View file @
83a8c291
...
...
@@ -39,32 +39,32 @@ export default {
<
style
lang=
"less"
scoped
>
.conflictDetail {
font-size: 16
px
;
font-size: 16
PX
;
position: relative;
width: 291
px
;
height: 235
px
;
width: 291
PX
;
height: 235
PX
;
background-image: url("../../../assets/images/sc/popup_redback.png");
background-size: 100% 100%;
background-repeat: no-repeat;
.conflictDetail_head {
position: absolute;
top: -18
px
;
top: -18
PX
;
width: 50%;
background-image: linear-gradient(90deg, rgba(233, 75, 76, 1) 0%, rgba(233, 75, 76, 0) 100%);
height: 35
px
;
height: 35
PX
;
color: white;
display: flex;
align-items: center;
font-size: 20
px
;
font-size: 20
PX
;
font-weight: 700;
span {
display: inline-block;
width: 18
px
;
height: 18
px
;
margin: 0 5
px
;
line-height: 25
px
;
width: 18
PX
;
height: 18
PX
;
margin: 0 5
PX
;
line-height: 25
PX
;
background-image: url('../../../assets/images/holo/vehicle_popup_icon.png');
background-position: center;
background-repeat: no-repeat;
...
...
@@ -72,17 +72,17 @@ export default {
}
.content {
height: calc(100% - 15
px
);
height: calc(100% - 15
PX
);
display: flex;
padding: 18
px 24px
;
padding: 18
PX 24PX
;
flex-direction: column;
.detailItem {
height: 30
px
;
line-height: 30
px
;
height: 30
PX
;
line-height: 30
PX
;
white-space: nowrap;
color: white;
max-width: 200
px
;
max-width: 200
PX
;
overflow: hidden;
text-overflow: ellipsis;
...
...
@@ -92,7 +92,7 @@ export default {
span.left {
text-align: left;
padding-left: 20
px
;
padding-left: 20
PX
;
background-image: url("../../../assets/images/acci/arrow-origin.png");
background-size: auto;
background-repeat: no-repeat;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment