PredictionAnalysis.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. import { RightOutlined } from '@ant-design/icons';
  2. import SubTitle from '../components/SubTitle';
  3. import styles from './PredictionAnalysis.less';
  4. const UFList = [
  5. { label: '超滤模组A (UF-4001A)' },
  6. { label: '超滤模组A (UF-4001B)' },
  7. { label: '超滤模组A (UF-4001C)' },
  8. { label: '超滤模组A (UF-4001D)' },
  9. ];
  10. const PredictionAnalysis = () => {
  11. return (
  12. <>
  13. <div className="card-box" style={{ padding: '0.2rem' }}>
  14. <SubTitle title="超滤工艺单元" />
  15. {UFList.map((item, index) => {
  16. return (
  17. <div
  18. key={item.label}
  19. className={styles.itemContainer}
  20. onClick={() => {
  21. console.log(index);
  22. }}
  23. >
  24. <div>{item.label}</div>
  25. <div className={styles.toDetail}>
  26. 预测分析
  27. <RightOutlined
  28. style={{ marginLeft: '0.1rem', color: 'gray' }}
  29. />
  30. </div>
  31. </div>
  32. );
  33. })}
  34. </div>
  35. </>
  36. );
  37. };
  38. export default PredictionAnalysis;