diff --git a/public/config.js b/public/config.js index 800c6d5..acd2464 100644 --- a/public/config.js +++ b/public/config.js @@ -10,6 +10,7 @@ const allPositionPitch = -90; // 全部防区跳转俯仰角 const currTime = 15; // 左侧无人机消失时间 const uavSize = 50; // 无人机大小 +const uaColor = "#ffffff"; // 无人机颜色 window.mapConfig = { isCamera: isCamera, @@ -21,5 +22,6 @@ window.mapConfig = { allPositionAlt: allPositionAlt, allPositionPitch: allPositionPitch, currTime: currTime, - uavSize: uavSize + uavSize: uavSize, + uaColor: uaColor }; diff --git a/src/assets/css/index.scss b/src/assets/css/index.scss index 2552288..a93d374 100644 --- a/src/assets/css/index.scss +++ b/src/assets/css/index.scss @@ -88,9 +88,13 @@ body { height: 35px; margin-left: 41px; margin-top: 13px; - img { + .header-logo { width: 290px; height: 100%; + background: url(../img/logo.png); + background-size: 100% 100%; + background-repeat: no-repeat; + background-position: center; } } .header-main { diff --git a/src/assets/img/logo.png b/src/assets/img/logo.png index 27cc17d..04d4074 100644 Binary files a/src/assets/img/logo.png and b/src/assets/img/logo.png differ diff --git a/src/views/contentData/headerTop/index.vue b/src/views/contentData/headerTop/index.vue index 6b07aa3..f8ebf7f 100644 --- a/src/views/contentData/headerTop/index.vue +++ b/src/views/contentData/headerTop/index.vue @@ -1,7 +1,7 @@