|
@@ -8,7 +8,7 @@ import {
|
|
|
} from '@/services/safety';
|
|
|
import { UnityAction } from '@/utils/utils';
|
|
|
import { useNavigate, useParams, useRequest } from '@umijs/max';
|
|
|
-import { Button, Space, Spin } from 'antd';
|
|
|
+import { Button, Spin } from 'antd';
|
|
|
import { useEffect, useState } from 'react';
|
|
|
import styles from './index.less';
|
|
|
const doorIcon = require('@/assets/deviceManager/doorIcon.png');
|
|
@@ -119,7 +119,7 @@ const Video = ({ data, dataOnline, loading }) => {
|
|
|
return (
|
|
|
<Spin spinning={loading}>
|
|
|
<div className="content-tab">
|
|
|
- <Space direction="vertical" size={16} className={styles.sparePart}>
|
|
|
+ <div className={styles.sparePart}>
|
|
|
<div className={styles.titleContent}>
|
|
|
<div className={styles.titleLeft}>
|
|
|
<img className={styles.img} src={videoIcon} />
|
|
@@ -153,7 +153,7 @@ const Video = ({ data, dataOnline, loading }) => {
|
|
|
</div>
|
|
|
))}
|
|
|
</div>
|
|
|
- </Space>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</Spin>
|
|
|
);
|
|
@@ -179,7 +179,7 @@ const Door = ({ data, dataOver, loading, projectId }) => {
|
|
|
return (
|
|
|
<Spin spinning={loading}>
|
|
|
<div className="content-tab">
|
|
|
- <Space direction="vertical" size={16} className={styles.doorPart}>
|
|
|
+ <div className={styles.doorPart}>
|
|
|
<div className={styles.titleContent}>
|
|
|
<div className={styles.cardLeft}>
|
|
|
<div className={styles.up}>
|
|
@@ -228,7 +228,7 @@ const Door = ({ data, dataOver, loading, projectId }) => {
|
|
|
</div>
|
|
|
))}
|
|
|
</div>
|
|
|
- </Space>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</Spin>
|
|
|
);
|