Commit 307d638d0edf9191f7d3588572b9948ca82535cb

Authored by 陈鑫涛
1 parent ad438adf

材料利用率

src/components/Common/BoxShowImgMaterial/index.css
... ... @@ -4,4 +4,5 @@
4 4 }
5 5 .box .materialBox {
6 6 background-color: '#b7e0ff';
  7 + border: 2px solid #333;
7 8 }
... ...
src/components/Common/BoxShowImgMaterial/index.less
... ... @@ -4,5 +4,6 @@
4 4 .materialBox{
5 5 // position: absolute;
6 6 background-color: '#b7e0ff';
  7 + border: 2px solid #333;
7 8 }
8 9 }
9 10 \ No newline at end of file
... ...
src/components/Common/BoxShowImgMaterial/indexNew.js
... ... @@ -171,7 +171,7 @@ const BoxShowImgMaterial = props => {
171 171 ).toFixed(2);
172 172 useEffect(
173 173 () => {
174   - setBoxKey(new Date().getTime());
  174 + // setBoxKey(new Date().getTime());
175 175 setTimeout(() => {
176 176 // if (boxRef.current && textRef.current && textRefs.current && nTextRef.current && nTextRefs.current)
177 177 if (boxRef.current && textRef.current && textRefs.current && nTextRef.current && nTextRefs.current) {
... ...