ソースを参照

变更目录结构

xc-v2
lb 10ヶ月前
コミット
ec66a8bf59
32個のファイルの変更171行の追加105行の削除
  1. +4
    -3
      src/components/CenterTopData/CenterMenu/index.module.less
  2. +2
    -2
      src/components/CenterTopData/index.jsx
  3. +0
    -88
      src/components/Head/index.less
  4. +1
    -1
      src/components/LeftBar/index.jsx
  5. +1
    -0
      src/components/公共组件/产线当日缺陷分类/1
  6. +1
    -0
      src/components/公共组件/产线缺陷统计/1
  7. +1
    -0
      src/components/公共组件/助燃风流量/1
  8. +1
    -0
      src/components/公共组件/天然气流量/1
  9. +20
    -0
      src/components/公共组件/导航菜单/index.jsx
  10. +32
    -0
      src/components/公共组件/导航菜单/index.module.less
  11. +1
    -0
      src/components/公共组件/时间火向数据/1
  12. +4
    -4
      src/components/公共组件/本日生产良品率/GoodProduction.jsx
  13. +1
    -1
      src/components/公共组件/本日生产良品率/components/GoodRateChart/index.jsx
  14. +0
    -0
      src/components/公共组件/本日生产良品率/components/GoodRateChart/index.module.css
  15. +0
    -0
      src/components/公共组件/本日生产良品率/components/GoodRateChart/index.module.less
  16. +0
    -0
      src/components/公共组件/本日生产良品率/components/GoodRateChart/overwrite.css
  17. +0
    -0
      src/components/公共组件/本日生产良品率/components/TechSplitline/index.jsx
  18. +0
    -0
      src/components/公共组件/本日生产良品率/components/TechSplitline/index.module.less
  19. +0
    -0
      src/components/公共组件/本日生产良品率/components/TodayTableData/index.jsx
  20. +0
    -0
      src/components/公共组件/本日生产良品率/components/TodayTableData/index.module.less
  21. +1
    -1
      src/components/公共组件/本日生产良品率/good.module.less
  22. +1
    -0
      src/components/公共组件/烟气处理/1
  23. +1
    -0
      src/components/公共组件/能耗/1
  24. +4
    -4
      src/components/公共组件/顶部公司名称/index.jsx
  25. +88
    -0
      src/components/公共组件/顶部公司名称/index.less
  26. +1
    -0
      src/components/总览/1
  27. +1
    -0
      src/components/窑炉信息/1
  28. +1
    -0
      src/components/窑炉内部/1
  29. +1
    -0
      src/components/能耗分析/1
  30. +1
    -0
      src/components/质检统计/1
  31. +1
    -0
      src/components/退火监测/1
  32. +1
    -1
      src/pages/index.jsx

+ 4
- 3
src/components/CenterTopData/CenterMenu/index.module.less ファイルの表示

@@ -1,8 +1,9 @@
.centerMenu {
position: absolute;
top: 20px;
left: 680px;
position: fixed;
top: 120px;
left: 1340px;
color: white;
z-index: 10000;
}

.menuItem {


+ 2
- 2
src/components/CenterTopData/index.jsx ファイルの表示

@@ -1,5 +1,5 @@
import React from 'react';
import CenterMenu from './CenterMenu';
import NavMenu from '../公共组件/导航菜单';
import Item2 from './RightTable';
import Item1 from './LeftBoxes';

@@ -8,7 +8,7 @@ import cls from './index.module.less';
export default function index() {
return (
<>
<CenterMenu />
<NavMenu />
<div className="flex justify-between w-full h-full">
<div className={cls.leftGrid}>
<Item1 />


+ 0
- 88
src/components/Head/index.less ファイルの表示

@@ -1,88 +0,0 @@
.TopTitleBoder {
width: 3840px;
height: 84px;
display: flex;
flex-direction: row;
justify-content: space-between;

.TopSideRight {
margin-top: 40px;
margin-right: 40px;
width: 493px;
height: 16px;
}

.TopSideLeft {
margin-left: 40px;
margin-top: 40px;
width: 493px;
height: 16px;
}

.TopSideLeftLine {
background: url('../../assets/TopTitleLeft.png');
width: 899px;
height: 40px;
margin-top: 42px;
display: flex;
flex-direction: row;
justify-content: right;

.TopSideLeftLineicon {
margin-right: 40px;
margin-top: 25px;
width: 204.32px;
height: 2.79px;
}

.TopSideLeftTxt {
margin-right: 120px;
margin-top: 15px;
color: rgb(255, 255, 255, 0.8);
font-size: 20px;
font-weight: 300px;
line-height: 22.174976px;
}
}

.TopSiderightLine {
background: url('../../assets/TopTitleRight.png');
width: 899px;
height: 40px;
margin-top: 42px;
display: flex;
flex-direction: row;
justify-content: left;

.TopSideRightLineicon {
margin-left: 40px;
margin-top: 25px;
width: 204.32px;
height: 2.79px;
}

.TopSideRightTxt {
margin-left: 120px;
margin-top: 15px;
color: rgb(255, 255, 255, 0.8);
font-size: 20px;
font-weight: 600px;
line-height: 22.174976px;
}
}

.TopButtonLine {
margin-top: -9px;
width: 760px;
height: 14px;
}

.TopTitleText {
margin-top: 16px;
letter-spacing: 8px;
font-size: 32px;
color: #00fff7;
text-align: center;
letter-spacing: 2px;
}
}

+ 1
- 1
src/components/LeftBar/index.jsx ファイルの表示

@@ -1,6 +1,6 @@
import React from 'react';
import Kiln from './Kiln';
import GoodProduction from './GoodProduction';
import GoodProduction from '../公共组件/本日生产良品率/GoodProduction';

import cls from './index.module.less';



+ 1
- 0
src/components/公共组件/产线当日缺陷分类/1 ファイルの表示

@@ -0,0 +1 @@
1

+ 1
- 0
src/components/公共组件/产线缺陷统计/1 ファイルの表示

@@ -0,0 +1 @@
1

+ 1
- 0
src/components/公共组件/助燃风流量/1 ファイルの表示

@@ -0,0 +1 @@
1

+ 1
- 0
src/components/公共组件/天然气流量/1 ファイルの表示

@@ -0,0 +1 @@
1

+ 20
- 0
src/components/公共组件/导航菜单/index.jsx ファイルの表示

@@ -0,0 +1,20 @@
import cls from './index.module.less';

export default function CenterMenu() {
const menuList = [
['窑炉总览', '/kilnSummary'],
['窑炉内部', '/kilnInner'],
['退火监测', '/stopFire'],
['质检统计', '/quailtyCheck'],
['能耗分析', '/energyCost'],
];
return (
<div className={`${cls.centerMenu} flex`}>
{menuList.map((menu) => (
<div key={menu[0]} className={cls.menuItem}>
{menu[0]}
</div>
))}
</div>
);
}

+ 32
- 0
src/components/公共组件/导航菜单/index.module.less ファイルの表示

@@ -0,0 +1,32 @@
.centerMenu {
position: fixed;
top: 120px;
left: 1340px;
color: white;
z-index: 10000;
}

.menuItem {
transition: all 0.3s ease-out;
cursor: pointer;
user-select: none;
padding: 10px 20px;
font-size: 32px;
line-height: 48px;
letter-spacing: 6px;
background: url(../../../assets/bg_center_menu.png) no-repeat;
background-size: 100% 50%;
background-position: bottom;
color: #00fff788;
font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue',
'PingFang SC', 'Microsoft YaHei', '微软雅黑', 'Microsoft YaHei UI',
'Source Han Sans SC', 'Noto Sans CJK SC', 'WenQuanYi Micro Hei', sans-serif;
}

.menuItem:hover {
color: #00fff7;
}

.menuItem:not(:first-child) {
margin-left: 50px;
}

+ 1
- 0
src/components/公共组件/时间火向数据/1 ファイルの表示

@@ -0,0 +1 @@
1

src/components/LeftBar/GoodProduction.jsx → src/components/公共组件/本日生产良品率/GoodProduction.jsx ファイルの表示

@@ -1,8 +1,8 @@
import cls from './good.module.less';
import Container from '../Container';
import TodayTableData from './substitutionCharts/TodayTableData';
import GoodRateChart from './substitutionCharts/GoodRateChart';
import TechSplitline from './substitutionCharts/TechSplitline';
import Container from '../../Container';
import TodayTableData from './components/TodayTableData';
import GoodRateChart from './components/GoodRateChart';
import TechSplitline from './components/TechSplitline';

const GoodProduction = () => {
return (

src/components/LeftBar/substitutionCharts/GoodRateChart/index.jsx → src/components/公共组件/本日生产良品率/components/GoodRateChart/index.jsx ファイルの表示

@@ -3,7 +3,7 @@ import './overwrite.css'; // 覆写 antd 默认样式,全局
import ReactECharts from 'echarts-for-react';
import * as echarts from 'echarts';
import { Switch, Radio } from 'antd';
import { randomInt } from '../../../../utils';
import { randomInt } from '../../../../../utils';

const GoodRateChart = (props) => {
const options = {

src/components/LeftBar/substitutionCharts/GoodRateChart/index.module.css → src/components/公共组件/本日生产良品率/components/GoodRateChart/index.module.css ファイルの表示


src/components/LeftBar/substitutionCharts/GoodRateChart/index.module.less → src/components/公共组件/本日生产良品率/components/GoodRateChart/index.module.less ファイルの表示


src/components/LeftBar/substitutionCharts/GoodRateChart/overwrite.css → src/components/公共组件/本日生产良品率/components/GoodRateChart/overwrite.css ファイルの表示


src/components/LeftBar/substitutionCharts/TechSplitline/index.jsx → src/components/公共组件/本日生产良品率/components/TechSplitline/index.jsx ファイルの表示


src/components/LeftBar/substitutionCharts/TechSplitline/index.module.less → src/components/公共组件/本日生产良品率/components/TechSplitline/index.module.less ファイルの表示


src/components/LeftBar/substitutionCharts/TodayTableData/index.jsx → src/components/公共组件/本日生产良品率/components/TodayTableData/index.jsx ファイルの表示


src/components/LeftBar/substitutionCharts/TodayTableData/index.module.less → src/components/公共组件/本日生产良品率/components/TodayTableData/index.module.less ファイルの表示


src/components/LeftBar/good.module.less → src/components/公共组件/本日生产良品率/good.module.less ファイルの表示

@@ -1,5 +1,5 @@
.goodProd {
background: url(../../assets/good.png) no-repeat;
background: url(../../../assets/good.png) no-repeat;
background-size: 100% 100%;
width: 625px;
// height: 626px;

+ 1
- 0
src/components/公共组件/烟气处理/1 ファイルの表示

@@ -0,0 +1 @@
1

+ 1
- 0
src/components/公共组件/能耗/1 ファイルの表示

@@ -0,0 +1 @@
1

src/components/Head/index.jsx → src/components/公共组件/顶部公司名称/index.jsx ファイルの表示

@@ -1,9 +1,9 @@
import React, { useEffect, useState, useRef } from 'react';

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 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.less';

export default function index() {

+ 88
- 0
src/components/公共组件/顶部公司名称/index.less ファイルの表示

@@ -0,0 +1,88 @@
.TopTitleBoder {
width: 3840px;
height: 84px;
display: flex;
flex-direction: row;
justify-content: space-between;

.TopSideRight {
margin-top: 40px;
margin-right: 40px;
width: 493px;
height: 16px;
}

.TopSideLeft {
margin-left: 40px;
margin-top: 40px;
width: 493px;
height: 16px;
}

.TopSideLeftLine {
background: url('../../../assets/TopTitleLeft.png');
width: 899px;
height: 40px;
margin-top: 42px;
display: flex;
flex-direction: row;
justify-content: right;

.TopSideLeftLineicon {
margin-right: 40px;
margin-top: 25px;
width: 204.32px;
height: 2.79px;
}

.TopSideLeftTxt {
margin-right: 120px;
margin-top: 15px;
color: rgb(255, 255, 255, 0.8);
font-size: 20px;
font-weight: 300px;
line-height: 22.174976px;
}
}

.TopSiderightLine {
background: url('../../../assets/TopTitleRight.png');
width: 899px;
height: 40px;
margin-top: 42px;
display: flex;
flex-direction: row;
justify-content: left;

.TopSideRightLineicon {
margin-left: 40px;
margin-top: 25px;
width: 204.32px;
height: 2.79px;
}

.TopSideRightTxt {
margin-left: 120px;
margin-top: 15px;
color: rgb(255, 255, 255, 0.8);
font-size: 20px;
font-weight: 600px;
line-height: 22.174976px;
}
}

.TopButtonLine {
margin-top: -9px;
width: 760px;
height: 14px;
}

.TopTitleText {
margin-top: 16px;
letter-spacing: 8px;
font-size: 32px;
color: #00fff7;
text-align: center;
letter-spacing: 2px;
}
}

+ 1
- 0
src/components/总览/1 ファイルの表示

@@ -0,0 +1 @@
1

+ 1
- 0
src/components/窑炉信息/1 ファイルの表示

@@ -0,0 +1 @@
1

+ 1
- 0
src/components/窑炉内部/1 ファイルの表示

@@ -0,0 +1 @@
1

+ 1
- 0
src/components/能耗分析/1 ファイルの表示

@@ -0,0 +1 @@
1

+ 1
- 0
src/components/质检统计/1 ファイルの表示

@@ -0,0 +1 @@
1

+ 1
- 0
src/components/退火监测/1 ファイルの表示

@@ -0,0 +1 @@
1

+ 1
- 1
src/pages/index.jsx ファイルの表示

@@ -1,7 +1,7 @@
import { useEffect, useState } from 'react';
import './global.less';
import './index.less';
import Head from '../components/Head';
import Head from '../components/公共组件/顶部公司名称';
import LeftBar from '../components/LeftBar';
import BottomBar from '../components/BottomBar';
import RightBar from '../components/RightBar';


読み込み中…
キャンセル
保存