23 lines
626 B
JavaScript
23 lines
626 B
JavaScript
import React from 'react';
|
|
import Spec from '../../../Common/CurrentLineSpec';
|
|
import GoodRate from '../../../Common/TodayGood/GoodProduction';
|
|
|
|
import { motion } from 'framer-motion';
|
|
|
|
import cls from './index.module.scss';
|
|
|
|
export default function index() {
|
|
return (
|
|
<motion.div
|
|
className={cls.leftBar}
|
|
initial={{ opacity: 0, position: 'absolute' }}
|
|
animate={{ opacity: 1, position: 'relative' }}
|
|
exit={{ opacity: 0, position: 'relative' }}
|
|
transition={{ type: 'tween' }}
|
|
>
|
|
<Spec style={{ width: '100%' }} />
|
|
<GoodRate style={{ flex: 1, marginTop: '24px', width: '100%' }} />
|
|
</motion.div>
|
|
);
|
|
}
|