update
This commit is contained in:
@@ -2,10 +2,10 @@ import React from 'react'
|
||||
|
||||
import { useState, useEffect } from 'react'
|
||||
import { motion } from 'framer-motion'
|
||||
|
||||
import Container from '../Container'
|
||||
import Item from './substitutionCharts/Chart1.jsx'
|
||||
|
||||
import Icon from '../../assets/Icon/LeftrChart1ICon.png'
|
||||
// import Icon from '../../assets/Icon/LeftrChart1ICon.png'
|
||||
import Icon1 from '../../assets/ButtonChart7Icon1.svg'
|
||||
import Icon2 from '../../assets/ButtonChart7Icon2.svg'
|
||||
|
||||
@@ -42,15 +42,11 @@ export default function Kiln() {
|
||||
const [num, setNum] = useState(1)
|
||||
|
||||
return (
|
||||
<div className={cls.leftBar__top}>
|
||||
<div className='LeftChart1ItemitemBorder'>
|
||||
<img src={Icon} alt="图片加载错误" className='LeftChart1ItemIcon' />
|
||||
<div className='title'>窑炉信息</div>
|
||||
</div>
|
||||
<Container title='窑炉信息' icon='kiln' className={cls.leftBar__top}>
|
||||
<div className='LeftChart1ItemBorder'>
|
||||
<div className='LeftChart1ItemRow'>
|
||||
<div className='LeftChart1ItemRowDetail'>
|
||||
<img src={Icon1} alt="" />
|
||||
{/* <img src={Icon1} alt="" /> */}
|
||||
<h2 className='LeftChart1ItemRowDetailTxt'>水泵水管</h2>
|
||||
</div>
|
||||
<Item data={num == 1 ? Data1 : Data2} />
|
||||
@@ -65,8 +61,7 @@ export default function Kiln() {
|
||||
</div>
|
||||
<div className='LeftChart1ItemRow'></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</Container>
|
||||
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user