-

+
降水异常增加
-

+
降水异常降低
-

+
感热通量异常增加
-

+
感热通量异常降低
diff --git a/src/components/domain/Two/index.module.less b/src/components/domain/Two/index.module.less
index 402c8c9..6b77dd2 100644
--- a/src/components/domain/Two/index.module.less
+++ b/src/components/domain/Two/index.module.less
@@ -35,7 +35,7 @@
.timeline-panel-item {
color: white;
padding: 4px 8px;
- font-size: 18px;
+ font-size: 20px;
span {
padding: 4px;
diff --git a/src/components/home/Layout/NavBar.jsx b/src/components/home/Layout/NavBar.jsx
index e472b2c..b570b9e 100644
--- a/src/components/home/Layout/NavBar.jsx
+++ b/src/components/home/Layout/NavBar.jsx
@@ -1,69 +1,130 @@
-import { Fragment, useCallback } from "react";
-import { useNavigate } from "react-router-dom";
+import { Fragment } from "react";
+import { Dropdown } from "antd";
import NavBarButton from "./NavBarButton";
+import styles from "./index.module.less";
+
+const itemsTwo = [
+ {
+ key: "1",
+ label: (
+
+ 随机森林方法在线计算案例
+
+ ),
+ },
+ {
+ key: "2",
+ label: (
+
+ 过去千年气候重建数据同化
+
+ ),
+ },
+];
+const itemsThree = [
+ {
+ key: "1",
+ label: (
+
+ 北极海冰预报
+
+ ),
+ },
+ {
+ key: "2",
+ label: (
+
+ 北极航线智能规划
+
+ ),
+ },
+];
+const itemsFour = [
+ {
+ key: "1",
+ label: (
+
+ 两极协同—拉布拉多海海温偏暖控制夏季高原年代际增温
+
+ ),
+ },
+ {
+ key: "2",
+ label: (
+
+ 两极协同—南极涛动有效调节青藏高原降水和加热
+
+ ),
+ },
+ {
+ key: "3",
+ label: (
+
+ 两极协同—连接南极和北极的热带大西洋经向模的媒介作用
+
+ ),
+ },
+ {
+ key: "4",
+ label: (
+
+ 三极联动影响青藏高原上层温度
+
+ ),
+ },
+ {
+ key: "5",
+ label: (
+
+ 三极联动影响东亚夏季风
+
+ ),
+ },
+ {
+ key: "6",
+ label: (
+
+ 三极冰盖/冰川表面冰雪冻融对比关联与科学认知
+
+ ),
+ },
+];
function NavBar() {
- const navigate = useNavigate();
-
- const navigateHandler = useCallback(
- (type) => {
- navigate(`/map/${type}`, { replace: true });
- },
- [navigate]
- );
+ const navigateHandler = (type) => window.open(`/map/${type}`, "_blank");
return (
navigateHandler(1)}
+ onClick={() => navigateHandler("")}
/>
- navigateHandler(1)}
- />
- navigateHandler("climateReconDataAssim")}
- />
- navigateHandler(1)}
- />
- navigateHandler(1)}
- />
-
-
-
三极联动
-
- navigateHandler(1)}
- />
- navigateHandler(2)}
- />
- navigateHandler(3)}
- />
- navigateHandler(4)}
- />
- navigateHandler(5)}
- />
- navigateHandler(6)}
- />
-
+
+
+
+
+
+
+
+
+
);
diff --git a/src/components/home/Layout/index.module.less b/src/components/home/Layout/index.module.less
index 9a7e5b2..6a3207c 100644
--- a/src/components/home/Layout/index.module.less
+++ b/src/components/home/Layout/index.module.less
@@ -20,7 +20,7 @@
.nav-bar-first {
width: 100%;
max-width: 1200px;
- margin: 100px auto 0;
+ margin: 250px auto 0;
color: #fff;
display: flex;
justify-content: space-between;
@@ -30,10 +30,7 @@
cursor: pointer;
@btn-table-color: #04fbfd;
transition: all 0.3s ease;
- flex: 1;
text-align: center;
- max-width: 200px;
- height: 200px;
.btn-table {
width: 20px;
@@ -68,8 +65,9 @@
}
.nav-bar-content {
- padding: 20px;
- font-size: 20px;
+ padding: 32px 20px;
+ font-size: 32px;
+ font-weight: 600;
color: @btn-table-color;
background-color: #081633;
height: 100%;
@@ -91,101 +89,7 @@
}
&:hover {
- transform: translate(0, -4px);
-
- .nav-bar-content {
- background-color: #112f6a;
- }
- }
- }
- }
-
- .nav-bar-second {
- width: 100%;
- max-width: 1200px;
- margin: 0px auto;
- color: #fff;
-
- .nav-bar-title {
- font-size: 30px;
- font-weight: 600;
- color: #00b2b2;
- padding: 30px 0;
- margin-left: -60px;
- }
-
- .nav-bar-container {
- display: grid;
- grid-template-columns: 350px auto 350px;
- justify-content: space-between;
- gap: 32px 0;
- }
-
- .nav-bar-button {
- position: relative;
- cursor: pointer;
- @btn-table-color: #04fbfd;
- transition: all 0.3s ease;
- text-align: center;
- max-width: 350px;
-
- .btn-table {
- width: 20px;
- height: 10px;
- position: absolute;
- background-color: transparent;
-
- &.left-top {
- left: 0;
- top: 0;
- border-left: 1px solid @btn-table-color;
- border-top: 1px solid @btn-table-color;
- }
- &.left-bottom {
- left: 0;
- bottom: 0;
- border-left: 1px solid @btn-table-color;
- border-bottom: 1px solid @btn-table-color;
- }
- &.right-top {
- right: 0;
- top: 0;
- border-right: 1px solid @btn-table-color;
- border-top: 1px solid @btn-table-color;
- }
- &.right-bottom {
- right: 0;
- bottom: 0;
- border-right: 1px solid @btn-table-color;
- border-bottom: 1px solid @btn-table-color;
- }
- }
-
- .nav-bar-content {
- padding: 20px;
- font-size: 20px;
- color: @btn-table-color;
- background-color: #081633;
- height: 100%;
- display: flex;
- justify-content: space-evenly;
- align-items: center;
- gap: 8px;
-
- .anticon {
- font-size: 40px;
- }
-
- .nav-bar-content-text {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- }
- }
-
- &:hover {
- transform: translate(0, -4px);
+ // transform: translate(0, -4px);
.nav-bar-content {
background-color: #112f6a;
@@ -194,3 +98,24 @@
}
}
}
+
+.navDropdown :global {
+ .ant-dropdown-menu-root {
+ background-color: #081633;
+
+ .ant-dropdown-menu-item {
+ padding: 18px;
+
+ &:hover {
+ color: #04fbfd;
+ background-color: #105185;
+ }
+ }
+ }
+
+ .ant-dropdown-menu-item {
+ color: #00b2b2;
+ font-size: 24px;
+ font-weight: 600;
+ }
+}
diff --git a/src/components/map/Layout/index.module.less b/src/components/map/Layout/index.module.less
index 7ffddc8..84a3508 100644
--- a/src/components/map/Layout/index.module.less
+++ b/src/components/map/Layout/index.module.less
@@ -101,18 +101,6 @@
}
}
- .chart-info-panel {
- width: 100%;
- height: 100%;
- pointer-events: auto;
- padding: 12px;
- border: 1px solid #04fbfd;
- color: #02f9ff !important;
- background-color: #000000e7;
- transition: all 0.3s ease-in-out;
- border-radius: 8px;
- }
-
.highlight {
outline: 4px solid #04fbfd;
box-shadow: 0 0 30px #04e0fd;