|
@@ -2,6 +2,12 @@
|
|
<div
|
|
<div
|
|
class="general"
|
|
class="general"
|
|
>
|
|
>
|
|
|
|
+ <img
|
|
|
|
+ class="map-mask"
|
|
|
|
+ src="@/assets/images/mask-general-map.png"
|
|
|
|
+ alt=""
|
|
|
|
+ draggable="false"
|
|
|
|
+ >
|
|
<h1
|
|
<h1
|
|
:title="activeCorpInfo?.name || '上海市工业博物馆'"
|
|
:title="activeCorpInfo?.name || '上海市工业博物馆'"
|
|
>
|
|
>
|
|
@@ -211,8 +217,9 @@ export default {
|
|
const element = corpListRaw.value[index]
|
|
const element = corpListRaw.value[index]
|
|
if (element.id === id) {
|
|
if (element.id === id) {
|
|
window.gUnityInst.SendMessage('Panel1', 'ShowEnterprise', element.id) //显示某个企业
|
|
window.gUnityInst.SendMessage('Panel1', 'ShowEnterprise', element.id) //显示某个企业
|
|
- window.gUnityInst.SendMessage('Panel1', 'SetEnterpriseUnSelected', element.id) //高亮某个企业
|
|
|
|
|
|
+ window.gUnityInst.SendMessage('Panel1', 'SetEnterpriseSelected', element.id) //高亮某个企业
|
|
} else {
|
|
} else {
|
|
|
|
+ window.gUnityInst.SendMessage('Panel1', 'SetEnterpriseUnselected', element.id) //高亮某个企业
|
|
window.gUnityInst.SendMessage('Panel1', 'HideEnterprise', element.id) //隐藏某个企业
|
|
window.gUnityInst.SendMessage('Panel1', 'HideEnterprise', element.id) //隐藏某个企业
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -273,6 +280,14 @@ export default {
|
|
<style lang="less" scoped>
|
|
<style lang="less" scoped>
|
|
.general {
|
|
.general {
|
|
height: 100%;
|
|
height: 100%;
|
|
|
|
+ >.map-mask {
|
|
|
|
+ position: absolute;
|
|
|
|
+ left: 0;
|
|
|
|
+ top: 0;
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 100%;
|
|
|
|
+ pointer-events: none;
|
|
|
|
+ }
|
|
>h1 {
|
|
>h1 {
|
|
position: absolute;
|
|
position: absolute;
|
|
top: 51px;
|
|
top: 51px;
|
|
@@ -372,7 +387,8 @@ export default {
|
|
position: relative;
|
|
position: relative;
|
|
width: 363px;
|
|
width: 363px;
|
|
height: 50px;
|
|
height: 50px;
|
|
- background: linear-gradient(90deg, #3A454F 0%, rgba(22,28,33,0) 100%);
|
|
|
|
|
|
+ background: linear-gradient(90deg, rgba(58, 69, 79, 0.5) 0%, rgba(22,28,33,0) 100%);
|
|
|
|
+ // background: linear-gradient(90deg, #3A454F 0%, rgba(22,28,33,0) 100%);
|
|
backdrop-filter: blur(3px);
|
|
backdrop-filter: blur(3px);
|
|
border-radius: 3px 3px 3px 3px;
|
|
border-radius: 3px 3px 3px 3px;
|
|
opacity: 1;
|
|
opacity: 1;
|
|
@@ -394,7 +410,7 @@ export default {
|
|
transform: translateY(-50%);
|
|
transform: translateY(-50%);
|
|
width: 8px;
|
|
width: 8px;
|
|
height: 8px;
|
|
height: 8px;
|
|
- background: #6D9DC6;
|
|
|
|
|
|
+ background: #9AA4AB;
|
|
z-index: 2;
|
|
z-index: 2;
|
|
box-shadow: 0px 0px 12px 0px #6D9DC6, 0px 0px 8px 0px #6D9DC6;
|
|
box-shadow: 0px 0px 12px 0px #6D9DC6, 0px 0px 8px 0px #6D9DC6;
|
|
}
|
|
}
|
|
@@ -414,8 +430,7 @@ export default {
|
|
}
|
|
}
|
|
&:last-of-type {
|
|
&:last-of-type {
|
|
>.verticle-line {
|
|
>.verticle-line {
|
|
- top: initial;
|
|
|
|
- bottom: 50%;
|
|
|
|
|
|
+ height: 25px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
&:first-of-type:last-of-type {
|
|
&:first-of-type:last-of-type {
|
|
@@ -478,7 +493,7 @@ export default {
|
|
>article {
|
|
>article {
|
|
position: absolute;
|
|
position: absolute;
|
|
top: 74px;
|
|
top: 74px;
|
|
- right: 0;
|
|
|
|
|
|
+ right: 102px;
|
|
width: 653px;
|
|
width: 653px;
|
|
height: calc(100% - 74px - 50px);
|
|
height: calc(100% - 74px - 50px);
|
|
max-height: 740px;
|
|
max-height: 740px;
|
|
@@ -490,6 +505,9 @@ export default {
|
|
padding: 32px 50px 50px 50px;
|
|
padding: 32px 50px 50px 50px;
|
|
display: flex;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
|
|
+ @media only screen and (max-width: 1700px) {
|
|
|
|
+ right: 0;
|
|
|
|
+ }
|
|
>button.close {
|
|
>button.close {
|
|
position: absolute;
|
|
position: absolute;
|
|
top: 30px;
|
|
top: 30px;
|