| @@ -107,7 +107,7 @@ function ExperimentInstanceComponent({ | |||||
| }; | }; | ||||
| if (!experimentInsList || experimentInsList.length === 0) { | if (!experimentInsList || experimentInsList.length === 0) { | ||||
| return <div style={{ textAlign: 'center' }}>暂无实验实例</div>; | |||||
| return <div style={{ textAlign: 'center' }}>暂无数据</div>; | |||||
| } | } | ||||
| return ( | return ( | ||||
| @@ -1,12 +1,18 @@ | |||||
| .total-statistics { | .total-statistics { | ||||
| display: flex; | display: flex; | ||||
| align-items: center; | align-items: center; | ||||
| justify-content: center; | |||||
| height: 140px; | height: 140px; | ||||
| padding: 0 16px; | padding: 0 16px; | ||||
| // 媒体查询 | |||||
| @media screen and (max-width: 1600px) { | |||||
| flex: 1 1 content; | |||||
| } | |||||
| &__icon { | &__icon { | ||||
| width: 63px; | width: 63px; | ||||
| margin-right: 15px; | |||||
| margin-right: 16px; | |||||
| } | } | ||||
| &__title { | &__title { | ||||
| @@ -8,7 +8,6 @@ | |||||
| &__overview { | &__overview { | ||||
| flex: 1; | flex: 1; | ||||
| gap: 15px; | gap: 15px; | ||||
| margin-bottom: 16px; | |||||
| padding: 20px 30px; | padding: 20px 30px; | ||||
| background-color: white; | background-color: white; | ||||
| border-radius: 4px; | border-radius: 4px; | ||||
| @@ -22,7 +21,6 @@ | |||||
| &__content { | &__content { | ||||
| display: flex; | display: flex; | ||||
| flex-wrap: wrap; | flex-wrap: wrap; | ||||
| gap: 15px; | gap: 15px; | ||||
| align-items: center; | align-items: center; | ||||
| @@ -35,6 +33,11 @@ | |||||
| rgba(22, 100, 255, 0.02) 58.35% | rgba(22, 100, 255, 0.02) 58.35% | ||||
| ); | ); | ||||
| border-radius: 4px; | border-radius: 4px; | ||||
| // 媒体查询 | |||||
| @media screen and (max-width: 1600px) { | |||||
| flex: 1 1 content; | |||||
| } | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -44,6 +47,7 @@ | |||||
| gap: 15px; | gap: 15px; | ||||
| align-items: flex-start; | align-items: flex-start; | ||||
| width: 100%; | width: 100%; | ||||
| margin-top: 16px; | |||||
| } | } | ||||
| &__user { | &__user { | ||||
| @@ -46,7 +46,7 @@ function Workspace() { | |||||
| return ( | return ( | ||||
| <div className={styles.workspace}> | <div className={styles.workspace}> | ||||
| <WorkspaceIntro></WorkspaceIntro> | <WorkspaceIntro></WorkspaceIntro> | ||||
| <Flex gap={'0 15px'} wrap> | |||||
| <Flex gap={'15px'} wrap> | |||||
| <div className={styles['workspace__overview']}> | <div className={styles['workspace__overview']}> | ||||
| <div className={styles['workspace__overview__title']}>运行概览</div> | <div className={styles['workspace__overview__title']}>运行概览</div> | ||||
| <div className={styles['workspace__overview__content']}> | <div className={styles['workspace__overview__content']}> | ||||
| @@ -59,7 +59,7 @@ function Workspace() { | |||||
| <Divider | <Divider | ||||
| type="vertical" | type="vertical" | ||||
| dashed | dashed | ||||
| style={{ color: '1px dashed rgba(96, 107, 122, 0.19)', height: 68 }} | |||||
| style={{ color: '1px dashed rgba(96, 107, 122, 0.19)', height: 68, margin: 0 }} | |||||
| /> | /> | ||||
| <TotalStatistics | <TotalStatistics | ||||
| icon={require('@/assets/img/workspace-experiment.png')} | icon={require('@/assets/img/workspace-experiment.png')} | ||||