Commit 83a8c291 authored by ninglx's avatar ninglx

修复去除私有库后长沙大屏版本bug

parent 17c6fbdb
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<link href="/cdn/libs/normalize/normalize.css" rel="stylesheet" /> <link href="/cdn/libs/normalize/normalize.css" rel="stylesheet" />
<link href="/cdn/libs/element-ui/element-ui.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/mapbox-gl/mapbox-gl.css" rel="stylesheet" />
<link href="/cdn/libs/threebox/threebox.css" rel="stylesheet" /> <link href="/cdn/libs/threebox/threebox.css" rel="stylesheet" />
<link rel="stylesheet" href="/cdn/libs/Cesium/Widgets/widgets.css" /> <link rel="stylesheet" href="/cdn/libs/Cesium/Widgets/widgets.css" />
...@@ -22,15 +22,16 @@ ...@@ -22,15 +22,16 @@
<script src="/cdn/libs/st-dao/st-dao.js"></script> <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/mapbox-gl/mapbox-gl.js" type="text/javascript"></script>
<script src="/cdn/libs/threebox/threebox.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/turf/turf.min.js" type="text/javascript"></script>
<script src="/cdn/libs/flvjs/flv.min.js" type="text/javascript"></script> <script src="/cdn/libs/flvjs/flv.min.js" type="text/javascript"></script>
<script src='/cdn/libs/reconnectingWebsocket/reconnectingWs.js' type="text/javascript"></script> <script src='/cdn/libs/reconnecting-websocket/reconnecting-websocket.js' type="text/javascript"></script>
<style> <style>
#app { #app,body,html {
height: 100%; height: 100%;
width: 100%; width: 100%;
overflow: hidden;
} }
</style> </style>
</head> </head>
......
<template> <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 class="full-h full-w">
<!-- <div v-if="showMenu" id="app" class="stms-framework default">-->
<!-- &lt;!&ndash; 头部 &ndash;&gt;-->
<!-- <Navigator title="全息路段感知平台"/>-->
<!-- <div class="stms-framework-container">-->
<!-- &lt;!&ndash; 左侧 &ndash;&gt;-->
<!-- <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 class="full-w full-h"><router-view/></div>
</div> </div>
</template> </template>
<script> <script>
// import Navigator from "@/components/navigator";
// import leftMenu from "@/components/leftMenu";
export default { export default {
components: { components: {
// Navigator,
// leftMenu,
}, },
data() { data() {
return { return {
...@@ -68,9 +40,6 @@ export default { ...@@ -68,9 +40,6 @@ export default {
async init() { async init() {
await this.$store.dispatch("QUERY_MENU"); await this.$store.dispatch("QUERY_MENU");
this.isInit = true; 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 { ...@@ -78,8 +47,6 @@ export default {
<style lang="less" scoped> <style lang="less" scoped>
#app { #app {
// font-family: "Avenir", Helvetica, Arial, sans-serif;
//font-family: 'SiYuanHT';
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
color: #2c3e50; color: #2c3e50;
......
...@@ -7,17 +7,18 @@ router.beforeEach((to, from, next) => { ...@@ -7,17 +7,18 @@ router.beforeEach((to, from, next) => {
// 在免登录白名单,直接进入 // 在免登录白名单,直接进入
next() next()
} else { } else {
const parentId = map_config.SYS_ID; next()
AuthDao.queryMenu({ // const parentId = map_config.SYS_ID;
params: {parentId, isRecursion: true} // AuthDao.queryMenu({
}).then(res => { // params: {parentId, isRecursion: true}
let routes = res.data.content // }).then(res => {
for (let route of routes) { // let routes = res.data.content
if (route.url === to.path) { // for (let route of routes) {
next() // if (route.url === to.path) {
} // next()
} // }
}); // }
// });
} }
}) })
......
...@@ -62,27 +62,27 @@ export default { ...@@ -62,27 +62,27 @@ export default {
<style lang="less" scoped> <style lang="less" scoped>
.vehicleDetail { .vehicleDetail {
background-image: url("../../../assets/images/sc/redBack.png"); background-image: url("../../../assets/images/sc/redBack.png");
font-size: 12px; font-size: 12PX;
position: absolute; position: absolute;
width: 348px; width: 348PX;
height: 254px; height: 254PX;
padding: 2px 16px 6px 120px; padding: 2PX 16PX 6PX 120PX;
background-size: 100% 100%; background-size: 100% 100%;
background-repeat: no-repeat; background-repeat: no-repeat;
.head { .head {
height: 25px; height: 25PX;
color: white; color: white;
display: flex; display: flex;
align-items: center; align-items: center;
span { span {
display: inline-block; display: inline-block;
width: 18px; width: 18PX;
height: 18px; height: 18PX;
margin-right: 5px; margin-right: 5PX;
line-height: 25px; line-height: 25PX;
background-image: url('../../../assets/images/holo/vehicle_popup_icon.png'); background-image: url('../../../assets/images/holo/vehicle_popup_icon.png');
background-position: center; background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
...@@ -90,17 +90,17 @@ export default { ...@@ -90,17 +90,17 @@ export default {
} }
.content { .content {
height: calc(100% - 25px); height: calc(100% - 25PX);
display: flex; display: flex;
padding-top: 12px; padding-top: 12PX;
flex-direction: column; flex-direction: column;
.detailItem { .detailItem {
height: 30px; height: 30PX;
line-height: 30px; line-height: 30PX;
white-space: nowrap; white-space: nowrap;
color: white; color: white;
max-width: 200px; max-width: 200PX;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
...@@ -110,7 +110,7 @@ export default { ...@@ -110,7 +110,7 @@ export default {
span.left { span.left {
text-align: left; text-align: left;
padding-left: 20px; padding-left: 20PX;
background-image: url("../../../assets/images/acci/arrow-origin.png"); background-image: url("../../../assets/images/acci/arrow-origin.png");
background-size: auto; background-size: auto;
background-repeat: no-repeat; background-repeat: no-repeat;
......
...@@ -58,27 +58,27 @@ export default { ...@@ -58,27 +58,27 @@ export default {
<style lang="less" scoped> <style lang="less" scoped>
.vehicleDetail { .vehicleDetail {
background-image: url("../../../assets/images/sc/originBack.png"); background-image: url("../../../assets/images/sc/originBack.png");
font-size: 12px; font-size: 12PX;
position: absolute; position: absolute;
width: 348px; width: 348PX;
height: 254px; height: 254PX;
padding: 115px 16px 6px 16px; padding: 115PX 16PX 6PX 16PX;
background-size: 100% 100%; background-size: 100% 100%;
background-repeat: no-repeat; background-repeat: no-repeat;
.head { .head {
height: 25px; height: 25PX;
color: white; color: white;
display: flex; display: flex;
align-items: center; align-items: center;
span { span {
display: inline-block; display: inline-block;
width: 18px; width: 18PX;
height: 18px; height: 18PX;
margin-right: 5px; margin-right: 5PX;
line-height: 25px; line-height: 25PX;
background-image: url('../../../assets/images/holo/vehicle_popup_icon.png'); background-image: url('../../../assets/images/holo/vehicle_popup_icon.png');
background-position: center; background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
...@@ -86,17 +86,17 @@ export default { ...@@ -86,17 +86,17 @@ export default {
} }
.content { .content {
height: calc(100% - 25px); height: calc(100% - 25PX);
display: flex; display: flex;
padding-top: 12px; padding-top: 12PX;
flex-direction: column; flex-direction: column;
.detailItem { .detailItem {
height: 30px; height: 30PX;
line-height: 30px; line-height: 30PX;
white-space: nowrap; white-space: nowrap;
color: white; color: white;
max-width: 200px; max-width: 200PX;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
...@@ -106,7 +106,7 @@ export default { ...@@ -106,7 +106,7 @@ export default {
span.left { span.left {
text-align: left; text-align: left;
padding-left: 20px; padding-left: 20PX;
background-image: url("../../../assets/images/acci/arrow-origin.png"); background-image: url("../../../assets/images/acci/arrow-origin.png");
background-size: auto; background-size: auto;
background-repeat: no-repeat; background-repeat: no-repeat;
......
...@@ -64,19 +64,19 @@ export default { ...@@ -64,19 +64,19 @@ export default {
<style lang="less" scoped> <style lang="less" scoped>
.vehicleDetail { .vehicleDetail {
font-size: 12px; font-size: 12PX;
position: absolute; position: absolute;
//bottom: 16px; //bottom: 16PX;
//right: 16px; //right: 16PX;
width: 260px; width: 260PX;
//height: 207px; //height: 207PX;
padding: 2px 16px 6px 16px; padding: 2PX 16PX 6PX 16PX;
background-image: url("../../../assets/images/acci/detail-back-red.png"); background-image: url("../../../assets/images/acci/detail-back-red.png");
background-size: 100% 100%; background-size: 100% 100%;
background-repeat: no-repeat; background-repeat: no-repeat;
.head { .head {
height: 30px; height: 30PX;
color: white; color: white;
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -86,10 +86,10 @@ export default { ...@@ -86,10 +86,10 @@ export default {
} }
.titleBefore { .titleBefore {
width: 25px; width: 25PX;
height: 30px; height: 30PX;
margin-right: 5px; margin-right: 5PX;
line-height: 30px; line-height: 30PX;
background-image: url('../../../assets/images/acci/carIcon-red.png'); background-image: url('../../../assets/images/acci/carIcon-red.png');
background-position: center; background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
...@@ -97,15 +97,15 @@ export default { ...@@ -97,15 +97,15 @@ export default {
} }
.content { .content {
height: calc(100% - 25px); height: calc(100% - 25PX);
display: flex; display: flex;
padding-top: 8px; padding-top: 8PX;
//flex-flow: row wrap; //flex-flow: row wrap;
flex-direction: column; flex-direction: column;
.detailItem { .detailItem {
height: 30px; height: 30PX;
line-height: 30px; line-height: 30PX;
white-space: nowrap; white-space: nowrap;
color: white; color: white;
//width: 50%; //width: 50%;
...@@ -119,7 +119,7 @@ export default { ...@@ -119,7 +119,7 @@ export default {
span.left { span.left {
text-align: left; text-align: left;
padding-left: 20px; padding-left: 20PX;
//width: 50%; //width: 50%;
background-image: url("../../../assets/images/acci/arrow-red.png"); background-image: url("../../../assets/images/acci/arrow-red.png");
background-size: auto; background-size: auto;
......
...@@ -53,25 +53,25 @@ export default { ...@@ -53,25 +53,25 @@ export default {
} }
.equip_camera { .equip_camera {
width: 314px; width: 314PX;
height: 210px; height: 210PX;
background-image: url("../../../assets/images/sc/cameraPopup.png"); background-image: url("../../../assets/images/sc/cameraPopup.png");
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
.header { .header {
height: 30px; height: 30PX;
line-height: 40px; line-height: 40PX;
padding-left: 10px; padding-left: 10PX;
color: white; color: white;
font-size: 16px; font-size: 16PX;
font-weight: 700; font-weight: 700;
} }
.main { .main {
position: relative; position: relative;
padding: 1px; padding: 1PX;
height: calc(100% - 30px); height: calc(100% - 30PX);
} }
} }
......
...@@ -80,18 +80,18 @@ export default { ...@@ -80,18 +80,18 @@ export default {
<style lang="less" scoped> <style lang="less" scoped>
.vehicleDetail { .vehicleDetail {
font-size: 12px; font-size: 12PX;
position: absolute; position: absolute;
//bottom: 16px; //bottom: 16PX;
//right: 16px; //right: 16PX;
width: 216px; width: 216PX;
//height: 207px; //height: 207PX;
padding: 2px 16px 6px 16px; padding: 2PX 16PX 6PX 16PX;
background: url("../../../assets/images/holo/vehicle_popup_back.png"); background: url("../../../assets/images/holo/vehicle_popup_back.png");
background-size: 100% 100%; background-size: 100% 100%;
background-repeat: no-repeat; background-repeat: no-repeat;
.head { .head {
height: 25px; height: 25PX;
color: white; color: white;
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -99,28 +99,28 @@ export default { ...@@ -99,28 +99,28 @@ export default {
display: inline-block; display: inline-block;
} }
.titleBefore { .titleBefore {
width: 18px; width: 18PX;
height: 18px; height: 18PX;
margin-right: 5px; margin-right: 5PX;
line-height: 25px; line-height: 25PX;
background-image:url('../../../assets/images/holo/vehicle_popup_icon.png'); background-image:url('../../../assets/images/holo/vehicle_popup_icon.png');
background-position: center; background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
} }
} }
.content { .content {
height: calc(100% - 25px); height: calc(100% - 25PX);
display: flex; display: flex;
padding-top: 12px; padding-top: 12PX;
//flex-flow: row wrap; //flex-flow: row wrap;
flex-direction: column; flex-direction: column;
.detailItem { .detailItem {
height: 30px; height: 30PX;
line-height: 30px; line-height: 30PX;
white-space: nowrap; white-space: nowrap;
color: white; color: white;
//width: 50%; //width: 50%;
max-width: 200px; max-width: 200PX;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
span { span {
...@@ -128,7 +128,7 @@ export default { ...@@ -128,7 +128,7 @@ export default {
} }
span.left { span.left {
text-align: left; text-align: left;
padding-left: 20px; padding-left: 20PX;
//width: 50%; //width: 50%;
background-image: url("../../../assets/images/holo/vehicle_popup_arrow.png"); background-image: url("../../../assets/images/holo/vehicle_popup_arrow.png");
background-size: auto; background-size: auto;
......
<template> <template>
<div class="boxes"> <div class="boxes">
<div class="map-mask" :class="[{ show_bigger: !showMask }]"></div> <!-- <div class="map-mask" :class="[{ show_bigger: !showMask }]"></div>
<div class="map-mask1" v-show="showMask1"></div> <div class="map-mask1" v-show="showMask1"></div> -->
<div class="over_data"> <div class="over_data">
<div class="over_item"> <div class="over_item">
<div class="number comm">{{ overDatas.inWayVehicleNum }}<span></span></div> <div class="number comm">{{ overDatas.inWayVehicleNum }}<span></span></div>
...@@ -1070,6 +1070,7 @@ export default { ...@@ -1070,6 +1070,7 @@ export default {
padding-left: 15px; padding-left: 15px;
padding-right: 10px; padding-right: 10px;
transition: 0.5s all ease; transition: 0.5s all ease;
box-shadow: 30px 0px 30px 0px #030b19;
/* x 偏移量 | y 偏移量 | 阴影模糊半径 | 阴影扩散半径 | 阴影颜色 */ /* x 偏移量 | y 偏移量 | 阴影模糊半径 | 阴影扩散半径 | 阴影颜色 */
// box-shadow: 2px 0px 2px 1px rgba(0, 0, 0, 0.2); // box-shadow: 2px 0px 2px 1px rgba(0, 0, 0, 0.2);
} }
...@@ -1085,7 +1086,7 @@ export default { ...@@ -1085,7 +1086,7 @@ export default {
padding-left: 10px; padding-left: 10px;
transition: 0.5s all ease; transition: 0.5s all ease;
/* x 偏移量 | y 偏移量 | 阴影模糊半径 | 阴影扩散半径 | 阴影颜色 */ /* x 偏移量 | y 偏移量 | 阴影模糊半径 | 阴影扩散半径 | 阴影颜色 */
// box-shadow: -2px 0px 2px 1px rgba(0, 0, 0, 0.2); box-shadow: -30px 0px 30px 0px #030b19;
} }
.hide_right { .hide_right {
......
...@@ -49,26 +49,26 @@ export default { ...@@ -49,26 +49,26 @@ export default {
<style lang="less" scoped> <style lang="less" scoped>
.vehicleDetail { .vehicleDetail {
font-size: 12px; font-size: 12PX;
position: absolute; position: absolute;
width: 242px; width: 242PX;
padding: 2px 16px 6px 16px; padding: 2PX 16PX 6PX 16PX;
background-image: url("../../../assets/images/acci/detail-back-origin.png"); background-image: url("../../../assets/images/acci/detail-back-origin.png");
background-size: 100% 100%; background-size: 100% 100%;
background-repeat: no-repeat; background-repeat: no-repeat;
.head { .head {
height: 25px; height: 25PX;
color: white; color: white;
display: flex; display: flex;
align-items: center; align-items: center;
span { span {
display: inline-block; display: inline-block;
width: 18px; width: 18PX;
height: 18px; height: 18PX;
margin-right: 5px; margin-right: 5PX;
line-height: 25px; line-height: 25PX;
background-image: url('../../../assets/images/holo/vehicle_popup_icon.png'); background-image: url('../../../assets/images/holo/vehicle_popup_icon.png');
background-position: center; background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
...@@ -76,17 +76,17 @@ export default { ...@@ -76,17 +76,17 @@ export default {
} }
.content { .content {
height: calc(100% - 25px); height: calc(100% - 25PX);
display: flex; display: flex;
padding-top: 12px; padding-top: 12PX;
flex-direction: column; flex-direction: column;
.detailItem { .detailItem {
height: 30px; height: 30PX;
line-height: 30px; line-height: 30PX;
white-space: nowrap; white-space: nowrap;
color: white; color: white;
max-width: 200px; max-width: 200PX;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
...@@ -96,7 +96,7 @@ export default { ...@@ -96,7 +96,7 @@ export default {
span.left { span.left {
text-align: left; text-align: left;
padding-left: 20px; padding-left: 20PX;
background-image: url("../../../assets/images/acci/arrow-origin.png"); background-image: url("../../../assets/images/acci/arrow-origin.png");
background-size: auto; background-size: auto;
background-repeat: no-repeat; background-repeat: no-repeat;
......
...@@ -39,32 +39,32 @@ export default { ...@@ -39,32 +39,32 @@ export default {
<style lang="less" scoped> <style lang="less" scoped>
.conflictDetail { .conflictDetail {
font-size: 16px; font-size: 16PX;
position: relative; position: relative;
width: 291px; width: 291PX;
height: 235px; height: 235PX;
background-image: url("../../../assets/images/sc/popup_redback.png"); background-image: url("../../../assets/images/sc/popup_redback.png");
background-size: 100% 100%; background-size: 100% 100%;
background-repeat: no-repeat; background-repeat: no-repeat;
.conflictDetail_head { .conflictDetail_head {
position: absolute; position: absolute;
top: -18px; top: -18PX;
width: 50%; width: 50%;
background-image: linear-gradient(90deg, rgba(233, 75, 76, 1) 0%, rgba(233, 75, 76, 0) 100%); background-image: linear-gradient(90deg, rgba(233, 75, 76, 1) 0%, rgba(233, 75, 76, 0) 100%);
height: 35px; height: 35PX;
color: white; color: white;
display: flex; display: flex;
align-items: center; align-items: center;
font-size: 20px; font-size: 20PX;
font-weight: 700; font-weight: 700;
span { span {
display: inline-block; display: inline-block;
width: 18px; width: 18PX;
height: 18px; height: 18PX;
margin: 0 5px; margin: 0 5PX;
line-height: 25px; line-height: 25PX;
background-image: url('../../../assets/images/holo/vehicle_popup_icon.png'); background-image: url('../../../assets/images/holo/vehicle_popup_icon.png');
background-position: center; background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
...@@ -72,17 +72,17 @@ export default { ...@@ -72,17 +72,17 @@ export default {
} }
.content { .content {
height: calc(100% - 15px); height: calc(100% - 15PX);
display: flex; display: flex;
padding: 18px 24px; padding: 18PX 24PX;
flex-direction: column; flex-direction: column;
.detailItem { .detailItem {
height: 30px; height: 30PX;
line-height: 30px; line-height: 30PX;
white-space: nowrap; white-space: nowrap;
color: white; color: white;
max-width: 200px; max-width: 200PX;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
...@@ -92,7 +92,7 @@ export default { ...@@ -92,7 +92,7 @@ export default {
span.left { span.left {
text-align: left; text-align: left;
padding-left: 20px; padding-left: 20PX;
background-image: url("../../../assets/images/acci/arrow-origin.png"); background-image: url("../../../assets/images/acci/arrow-origin.png");
background-size: auto; background-size: auto;
background-repeat: no-repeat; background-repeat: no-repeat;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment