32 lines
781 B
JavaScript
32 lines
781 B
JavaScript
import React from 'react';
|
|
import FanInfo from '../../../公共组件/风机信息';
|
|
import WindFrequence from '../../../公共组件/风机运行频率';
|
|
import { motion } from 'framer-motion';
|
|
|
|
import cls from './index.module.less';
|
|
|
|
export default function index() {
|
|
return (
|
|
<motion.div
|
|
style={{
|
|
width: '625px',
|
|
height: '966px',
|
|
// background: '#fff3',
|
|
display: 'flex',
|
|
flexDirection: 'column',
|
|
}}
|
|
initial={{ opacity: 0, position: 'absolute' }}
|
|
animate={{ opacity: 1, position: 'relative' }}
|
|
exit={{ opacity: 0, position: 'absolute' }}
|
|
transition={{ type: 'tween' }}
|
|
>
|
|
<div style={{ height: '380px' }}>
|
|
<FanInfo />
|
|
</div>
|
|
<div style={{ flex: 1, marginTop: '24px' }}>
|
|
<WindFrequence />
|
|
</div>
|
|
</motion.div>
|
|
);
|
|
}
|