done refactor

This commit is contained in:
lb
2023-11-09 15:59:30 +08:00
parent 572e9e0d5e
commit e9d003b1fa
8 changed files with 216 additions and 113 deletions

View File

@@ -4,7 +4,7 @@ import TopSide from '../../../assets/TopSide.png';
import LeftLine from '../../../assets/TopTitleLeftIcon.png';
import RightLine from '../../../assets/TopTitleRightIcon.png';
import ButtonLine from '../../../assets/TopButtonLine.png';
import './index.scss';
import cls from './index.module.scss';
export default function CompanyName() {
const [now, setNow] = useState('2023.07.01 12:00:00');
@@ -28,23 +28,23 @@ export default function CompanyName() {
}, []);
return (
<div className="TopTitleBoder">
<img src={TopSide} alt="图片丢失" className="TopSideLeft" />
<div className="TopSideLeftLine">
<img src={LeftLine} alt="图片丢失" className="TopSideLeftLineicon" />
<h2 className="TopSideLeftTxt">单位河南汇融科技服务有限公司</h2>
<div className={cls.TopTitleBoder}>
<img src={TopSide} alt="图片丢失" className={cls.TopSideLeft}/>
<div className={cls.TopSideLeftLine}>
<img src={LeftLine} alt="图片丢失" className={cls.TopSideLeftLineicon}/>
<h2 className={cls.TopSideLeftTxt}>单位河南汇融科技服务有限公司</h2>
</div>
<div>
<h2 className="TopTitleText">
<h2 className={cls.TopTitleText}>
许昌安彩新能科技&ensp;&ensp;4800万方光伏轻质基板生产线{' '}
</h2>
<img src={ButtonLine} alt="图片加载错误" className="TopButtonLine" />
<img src={ButtonLine} alt="图片加载错误" className={cls.TopButtonLine}/>
</div>
<div className="TopSideRightLine">
<h2 className="TopSideRightTxt">{now}</h2>
<img src={RightLine} alt="图片丢失" className="TopSideRightLineicon" />
<div className={cls.TopSideRightLine}>
<h2 className={cls.TopSideRightTxt}>{now}</h2>
<img src={RightLine} alt="图片丢失" className={cls.TopSideRightLineicon}/>
</div>
<img src={TopSide} alt="图片丢失" className="TopSideRight" />
<img src={TopSide} alt="图片丢失" className={cls.TopSideRight}/>
</div>
);
}

View File

@@ -71,7 +71,7 @@
}
.TopButtonLine {
margin-top: -9px;
margin-top: 12px;
width: 760px;
height: 14px;
}