fix
This commit is contained in:
parent
69f94827ac
commit
4c821d0e75
@ -1,11 +1,11 @@
|
|||||||
import { Button, Form, InputNumber, Select } from "antd";
|
import { Button, Form, InputNumber, Select } from "antd";
|
||||||
|
|
||||||
const layout = {
|
const layout = {
|
||||||
labelCol: { span: 10 },
|
labelCol: { span: 12 },
|
||||||
wrapperCol: { span: 12 },
|
wrapperCol: { span: 10 },
|
||||||
};
|
};
|
||||||
const tailLayout = {
|
const tailLayout = {
|
||||||
wrapperCol: { offset: 10, span: 14 },
|
wrapperCol: { offset: 12, span: 12 },
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function FormPanel({ setShowResult }) {
|
export default function FormPanel({ setShowResult }) {
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
.ant-form-item-label {
|
.ant-form-item-label {
|
||||||
label {
|
label {
|
||||||
color: white;
|
color: white;
|
||||||
|
font-size: 18px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -96,12 +97,64 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// .legend :global {
|
||||||
|
// position: absolute;
|
||||||
|
// bottom: 14px;
|
||||||
|
// width: 50%;
|
||||||
|
// left: 25%;
|
||||||
|
// z-index: 1000;
|
||||||
|
// display: flex;
|
||||||
|
// flex-direction: column;
|
||||||
|
// justify-content: center;
|
||||||
|
// align-items: center;
|
||||||
|
// background-color: #000000e7;
|
||||||
|
// border: 1px solid #04fbfd;
|
||||||
|
// border-radius: 8px;
|
||||||
|
// padding: 8px;
|
||||||
|
|
||||||
|
// .legend-title {
|
||||||
|
// color: #04fbfd;
|
||||||
|
// }
|
||||||
|
|
||||||
|
// .colorbar {
|
||||||
|
// width: 100%;
|
||||||
|
// height: 14px;
|
||||||
|
// display: flex;
|
||||||
|
// margin: 8px 0;
|
||||||
|
|
||||||
|
// .colorbar-item {
|
||||||
|
// flex: 1;
|
||||||
|
// height: 100%;
|
||||||
|
// border: 1px black solid;
|
||||||
|
|
||||||
|
// &:not(:nth-child(1)) {
|
||||||
|
// border-left: none;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
|
||||||
|
// .legend-text {
|
||||||
|
// display: flex;
|
||||||
|
// justify-content: space-evenly;
|
||||||
|
// width: 100%;
|
||||||
|
// height: 20px;
|
||||||
|
|
||||||
|
// .legend-text-item {
|
||||||
|
// flex: 1;
|
||||||
|
// text-align: right;
|
||||||
|
// font-weight: 600;
|
||||||
|
// color: white;
|
||||||
|
// -webkit-text-stroke: #04fbfd 1px;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// }
|
||||||
.legend :global {
|
.legend :global {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 14px;
|
bottom: 12px;
|
||||||
width: 50%;
|
width: 960px;
|
||||||
left: 25%;
|
left: 25%;
|
||||||
z-index: 1000;
|
// height: 40px;
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@ -112,7 +165,9 @@
|
|||||||
padding: 8px;
|
padding: 8px;
|
||||||
|
|
||||||
.legend-title {
|
.legend-title {
|
||||||
color: #04fbfd;
|
color: #fff;
|
||||||
|
font-size: 20px;
|
||||||
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
.colorbar {
|
.colorbar {
|
||||||
@ -124,6 +179,7 @@
|
|||||||
.colorbar-item {
|
.colorbar-item {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
// border-radius: 8px;
|
||||||
border: 1px black solid;
|
border: 1px black solid;
|
||||||
|
|
||||||
&:not(:nth-child(1)) {
|
&:not(:nth-child(1)) {
|
||||||
@ -137,13 +193,14 @@
|
|||||||
justify-content: space-evenly;
|
justify-content: space-evenly;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
|
margin-left: 8px;
|
||||||
|
|
||||||
.legend-text-item {
|
.legend-text-item {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: white;
|
color: white;
|
||||||
-webkit-text-stroke: #04fbfd 1px;
|
-webkit-text-stroke: white 1px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
color: white !important;
|
color: white !important;
|
||||||
background-color: #000000e7;
|
background-color: #000000e7;
|
||||||
pointer-events: auto;
|
pointer-events: auto;
|
||||||
font-size: 19px;
|
font-size: 22px;
|
||||||
text-indent: 2em;
|
text-indent: 2em;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
z-index: 999;
|
z-index: 999;
|
||||||
|
@ -12,6 +12,18 @@ import styles from "./index.module.less";
|
|||||||
const itemsTwo = [
|
const itemsTwo = [
|
||||||
{
|
{
|
||||||
key: "1",
|
key: "1",
|
||||||
|
label: (
|
||||||
|
<a
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
href="http://casearthpoles.tpdc.ac.cn/zh-hans/data/analyze/list"
|
||||||
|
>
|
||||||
|
简介
|
||||||
|
</a>
|
||||||
|
),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "2",
|
||||||
label: (
|
label: (
|
||||||
<a target="_blank" rel="noopener noreferrer" href="/#">
|
<a target="_blank" rel="noopener noreferrer" href="/#">
|
||||||
随机森林方法在线计算案例
|
随机森林方法在线计算案例
|
||||||
@ -19,7 +31,7 @@ const itemsTwo = [
|
|||||||
),
|
),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: "2",
|
key: "3",
|
||||||
label: (
|
label: (
|
||||||
<a
|
<a
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user