diff --git a/public/png/numberBox.png b/public/png/numberBox.png
new file mode 100644
index 0000000..a22dec0
Binary files /dev/null and b/public/png/numberBox.png differ
diff --git a/public/png/rect/ld_center_down.png b/public/png/rect/ld_center_down.png
new file mode 100644
index 0000000..041a73b
Binary files /dev/null and b/public/png/rect/ld_center_down.png differ
diff --git a/public/png/rect/ld_left_up_innerbox.png b/public/png/rect/ld_left_up_innerbox.png
new file mode 100644
index 0000000..b2f7dc8
Binary files /dev/null and b/public/png/rect/ld_left_up_innerbox.png differ
diff --git a/public/svg/topbackLD.svg b/public/svg/topbackLD.svg
new file mode 100644
index 0000000..5d23baf
--- /dev/null
+++ b/public/svg/topbackLD.svg
@@ -0,0 +1,75 @@
+
+
+ 编组 11
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/App.tsx b/src/App.tsx
index d1b44ae..9c397a1 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -1,4 +1,4 @@
-import React, { useEffect, useState, useContext } from "react";
+import React, { useEffect } from "react";
import intl from "react-intl-universal";
import locales from "./locales/locales";
import "./App.css";
@@ -13,17 +13,16 @@ import { Observable } from "@babylonjs/core";
import { selectGlassStatus } from "./store/ProductionMonitoringEntity";
import TestPage from "./page/TestPage";
import LDPage from "./page/LDPage";
-import LinePage from "./page/LinePage";
-import LinePage1_1 from "./page/LinePage1-1";
-import LinePage1_2 from "./page/LinePage1-2";
-import LinePage2_1 from "./page/LinePage2-1";
-import LinePage2_2 from "./page/LinePage2-2";
-import LinePage3_1 from "./page/LinePage3-1";
-import LinePage3_2 from "./page/LinePage3-2";
-import LinePage4_1 from "./page/LinePage4-1";
-import LinePage4_2 from "./page/LinePage4-2";
-import LinePage5_1 from "./page/LinePage5-1";
-import LinePage5_2 from "./page/LinePage5-2";
+import LinePageOneOne from "./page/LinePage1-1";
+import LinePageOneTwo from "./page/LinePage1-2";
+import LinePageTwoOne from "./page/LinePage2-1";
+import LinePageTwoTwo from "./page/LinePage2-2";
+import LinePageThreeOne from "./page/LinePage3-1";
+import LinePageThreeTwo from "./page/LinePage3-2";
+import LinePageFourOne from "./page/LinePage4-1";
+import LinePageFourTwo from "./page/LinePage4-2";
+import LinePageFiveOne from "./page/LinePage5-1";
+import LinePageFiveTwo from "./page/LinePage5-2";
// const LOCALES_LIST = [
// {
@@ -69,11 +68,6 @@ function App() {
element: ,
errorElement: ,
},
- {
- path: "/LD",
- element: ,
- errorElement: ,
- },
///////////////////////////////////////////////////////////////
// {
// path: "/LP/:LineID?",
@@ -81,54 +75,59 @@ function App() {
// errorElement: ,
// },
////////////////////////////从这开始///////////////////////////////////
+ {
+ path: "/LD",
+ element: ,
+ errorElement: ,
+ },
{
path: "/LP/1-1",
- element: ,
+ element: ,
errorElement: ,
},
{
path: "/LP/1-2",
- element: ,
+ element: ,
errorElement: ,
},
{
path: "/LP/2-1",
- element: ,
+ element: ,
errorElement: ,
},
{
path: "/LP/2-2",
- element: ,
+ element: ,
errorElement: ,
},
{
path: "/LP/3-1",
- element: ,
+ element: ,
errorElement: ,
},
{
path: "/LP/3-2",
- element: ,
+ element: ,
errorElement: ,
},
{
path: "/LP/4-1",
- element: ,
+ element: ,
errorElement: ,
},
{
path: "/LP/4-2",
- element: ,
+ element: ,
errorElement: ,
},
{
path: "/LP/5-1",
- element: ,
+ element: ,
errorElement: ,
},
{
path: "/LP/5-2",
- element: ,
+ element: ,
errorElement: ,
},
]);
diff --git a/src/babylonjs/LinePageBabylonNew.tsx b/src/babylonjs/LinePageBabylonNew.tsx
index 24f1c59..6f51d62 100644
--- a/src/babylonjs/LinePageBabylonNew.tsx
+++ b/src/babylonjs/LinePageBabylonNew.tsx
@@ -8,10 +8,10 @@ import { HemisphericLight, Vector3 } from "@babylonjs/core";
import { useAppSelector } from "../store/hooks";
import "../page/style/standard.css";
import EqInfoData from "./EqInfoData";
-import AlarmTipGreen from "./../page/LinePage/assets/icon/g.png";
-import AlarmTipYellow from "./../page/LinePage/assets/icon/y.png";
-import AlarmTipRed from "./../page/LinePage/assets/icon/r.png";
-import {selectLine1Before} from "../store/LinePageSlice"
+import AlarmTipGreen from "./../page/assets/icon/g.png";
+import AlarmTipYellow from "./../page/assets/icon/y.png";
+import AlarmTipRed from "./../page/assets/icon/r.png";
+import {selectLine1Before} from "../store/LinePageSlice";
const lineNameNo = ["一","二","三","四","五"]
const myStyle = {
diff --git a/src/page/Component/BarChart/chart.config.ts b/src/page/Component/BarChart/chart.config.ts
index 2ca3daa..3fc7d17 100644
--- a/src/page/Component/BarChart/chart.config.ts
+++ b/src/page/Component/BarChart/chart.config.ts
@@ -2,7 +2,7 @@ import * as echarts from "echarts";
export default function getOptions(dataProps: number[],xData:string[], color: string[]) {
if (dataProps.length === 0) return null;
return {
- grid: { top: 30, right: 12, bottom: 26, left: 48 },
+ grid: { top: 40, right: 10, bottom: 10, left: 10, containLabel: true },
legend: {
show: false,
},
diff --git a/src/page/Component/BarLineChart/chart.config.ts b/src/page/Component/BarLineChart/chart.config.ts
new file mode 100644
index 0000000..4c61568
--- /dev/null
+++ b/src/page/Component/BarLineChart/chart.config.ts
@@ -0,0 +1,125 @@
+import * as echarts from "echarts";
+export default function getOptions() {
+ // if (dataProps.length === 0) return null;
+ return {
+ grid: { top: 40, right: 10, bottom: 10, left: 10, containLabel: true },
+ legend: {
+ show: false,
+ },
+ xAxis: {
+ type: "category",
+ data: ['1月','2月','3月','4月','5月','6月','7月','8月','9月'],
+ axisLabel: {
+ color: "#fff",
+ fontSize: 12,
+ interval: 0,
+ },
+ axisTick: { show: false },
+ axisLine: {
+ lineStyle: {
+ width: 2,
+ color: "#5982B2",
+ },
+ },
+ },
+ yAxis: [{
+ name: "单位/片",
+ nameTextStyle: {
+ color: "#fff",
+ fontSize: 12,
+ },
+ type: "value",
+ axisLabel: {
+ color: "#fff",
+ fontSize: 12,
+ formatter: "{value}",
+ },
+ axisLine: {
+ show: true,
+ lineStyle: {
+ width: 2,
+ color: "#5982B2",
+ },
+ },
+ splitLine: {
+ lineStyle: {
+ width: 2,
+ color: "#5982B2",
+ },
+ },
+ },{
+ name: "良品率/%",
+ nameTextStyle: {
+ color: "#fff",
+ fontSize: 12,
+ },
+ type: "value",
+ axisLabel: {
+ color: "#fff",
+ fontSize: 12,
+ formatter: "{value}",
+ },
+ axisLine: {
+ show: true,
+ lineStyle: {
+ width: 2,
+ color: "#5982B2",
+ },
+ },
+ splitLine: {
+ lineStyle: {
+ width: 2,
+ color: "#5982B2",
+ },
+ },
+ }],
+ tooltip: {
+ trigger: "axis",
+ axisPointer: {
+ type: "shadow",
+ },
+ className: "luoyang-chart-tooltip",
+ show: false,
+ },
+ series: [
+ {
+ data: [100,200,110,22,11,458,15,2,45],
+ type: "bar",
+ barWidth: 10,
+ barGap:0,
+ itemStyle: {
+ color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
+ { offset: 0, color: 'rgba(157, 234, 245, 1)' },
+ { offset: 1, color: 'rgba(110, 249, 222, 1)' },
+ ]),
+ },
+ },
+ {
+ data: [10,20,11,221,111,48,115,211,145],
+ type: "bar",
+ barWidth: 10,
+ itemStyle: {
+ color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
+ { offset: 0, color: 'rgba(92, 183, 255, 1)' },
+ { offset: 1, color: 'rgba(54, 75, 254, 1)' },
+ ]),
+ },
+ },
+ {
+ data: [100,99,89,89,88,98,100,98,95],
+ type: "line",
+ yAxisIndex: 1,
+ symbol:'circle',
+ symbolSize: 7,
+ color:'rgba(18, 255, 245, 1)',
+ areaStyle: {
+ color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
+ { offset: 0, color: 'rgba(18, 255, 245, 0.8)' },
+ { offset: 0.2, color: 'rgba(18, 255, 245, 0.2)' },
+ { offset: 0.4, color: 'rgba(18, 255, 245, 0)' },
+ ]),
+ }
+ }
+ ],
+ };
+}
diff --git a/src/page/LDPage/Center/CenterDown.tsx b/src/page/LDPage/Center/CenterDown.tsx
new file mode 100644
index 0000000..2f53050
--- /dev/null
+++ b/src/page/LDPage/Center/CenterDown.tsx
@@ -0,0 +1,44 @@
+import TitleBox from "../Component/TitleBox";
+import NumberBox from "../Component/NumberBox";
+const num1 = -18
+const num2 = +18
+function CenterDown() {
+ return(
+
+ )
+}
+export default CenterDown;
\ No newline at end of file
diff --git a/src/page/LDPage/Center/CenterUp.tsx b/src/page/LDPage/Center/CenterUp.tsx
new file mode 100644
index 0000000..f95a56e
--- /dev/null
+++ b/src/page/LDPage/Center/CenterUp.tsx
@@ -0,0 +1,8 @@
+function CenterUp() {
+ return(
+
+ center-up
+
+ )
+}
+export default CenterUp;
\ No newline at end of file
diff --git a/src/page/LinePage/Center/index.tsx b/src/page/LDPage/Center/index.tsx
similarity index 100%
rename from src/page/LinePage/Center/index.tsx
rename to src/page/LDPage/Center/index.tsx
diff --git a/src/page/LDPage/Component/NumberBox/index.css b/src/page/LDPage/Component/NumberBox/index.css
new file mode 100644
index 0000000..e35e5b4
--- /dev/null
+++ b/src/page/LDPage/Component/NumberBox/index.css
@@ -0,0 +1,27 @@
+.number_box_container {
+ width: 100%;
+ height: 100%;
+ background: url(../../../../../public/png/numberBox.png) no-repeat;
+ background-size: 100% 100%;
+ background-position: 0 0;
+ margin:0 auto;
+ padding: 25px 20px 20px;
+}
+.number_box_container .big_number {
+ font-size:38px;
+ color: #fff;
+}
+.number_box_container .big_number_title {
+ margin-bottom: 10px;
+}
+.number_box_container .big_number_title_left {
+ font-size: 20px;
+ color: #fff;
+ letter-spacing: 2px;
+}
+.number_box_container .big_number_title_right {
+ font-size: 18px;
+ position: relative;
+ top: 6px;
+ left:10px;
+}
\ No newline at end of file
diff --git a/src/page/LDPage/Component/NumberBox/index.tsx b/src/page/LDPage/Component/NumberBox/index.tsx
new file mode 100644
index 0000000..504f44e
--- /dev/null
+++ b/src/page/LDPage/Component/NumberBox/index.tsx
@@ -0,0 +1,34 @@
+import './index.css';
+import a_r from './../../../assets/icon/a_r.png';
+import a_g from './../../../assets/icon/a_g.png';
+interface boxProps {
+ num:number,
+ show?:boolean,
+ title:string,
+ lastYear?:boolean
+}
+function NumberBox(props: boxProps) {
+ return (
+
+
+
{props.title}
+ {
+ props.show?(
+
0?'#FF0000':'#00FF00'}}>
+ {props.num>0?'+':''}{props.num}%
+ {
+ props.num>0?(
+
+ ):(
+
+ )
+ }
+
+ ):''
+ }
+
+
261,938,984
+
+ )
+}
+export default NumberBox;
\ No newline at end of file
diff --git a/src/page/LinePage/Component/TitleBox/index.css b/src/page/LDPage/Component/TitleBox/index.css
similarity index 100%
rename from src/page/LinePage/Component/TitleBox/index.css
rename to src/page/LDPage/Component/TitleBox/index.css
diff --git a/src/page/LinePage/Component/TitleBox/index.tsx b/src/page/LDPage/Component/TitleBox/index.tsx
similarity index 51%
rename from src/page/LinePage/Component/TitleBox/index.tsx
rename to src/page/LDPage/Component/TitleBox/index.tsx
index dd43a66..110af1d 100644
--- a/src/page/LinePage/Component/TitleBox/index.tsx
+++ b/src/page/LDPage/Component/TitleBox/index.tsx
@@ -1,9 +1,7 @@
-import Defect from "./../../assets/icon/defect.png";
-import Alarm from "./../../assets/icon/alarm.png";
-import Finished from "./../../assets/icon/finished.png";
-import InputAndOutput from "./../../assets/icon/inputAndOutput.png";
-import Num from "./../../assets/icon/num.png";
-import Record from "./../../assets/icon/record.png";
+import Defect from "./../../../assets/icon/defect.png";
+import NumBar from "./../../../assets/icon/numBar.png";
+import Defe from "./../../../assets/icon/defe.png";
+import Record from "./../../../assets/icon/record.png";
import "./index.css";
interface titleProps {
title: string;
@@ -13,33 +11,38 @@ function TitleBox(props: titleProps) {
switch (props.title) {
case "left_up":
return {
- img: Defect,
- title: "产线报废汇总",
+ img: Record,
+ title: "近期数据对比",
};
case "left_down":
return {
- img: Record,
- title: "当前产线报废情况",
+ img: NumBar,
+ title: "投入产出及良品率",
};
case "center_down_left":
return {
- img: Alarm,
- title: "异常报警",
+ img: Defect,
+ title: "本月数据",
};
+ case "center_down_center":
+ return {
+ img: Defect,
+ title: "上月数据",
+ };
case "center_down_right":
return {
- img: Finished,
- title: "产线成品率",
+ img: Defect,
+ title: "本年数据",
};
case "right_up":
return {
- img: Num,
- title: "各产线总投入和产出",
+ img: Defe,
+ title: "缺陷情况",
};
default:
return {
- img: InputAndOutput,
- title: "当前产线投入和产出",
+ img: Defect,
+ title: "上年数据",
};
}
};
diff --git a/src/page/LDPage/Component/pieChart/chart.config.ts b/src/page/LDPage/Component/pieChart/chart.config.ts
new file mode 100644
index 0000000..0f669b7
--- /dev/null
+++ b/src/page/LDPage/Component/pieChart/chart.config.ts
@@ -0,0 +1,164 @@
+function getCoordinates(startArc: number, endArc: number) {
+ const posi = [
+ Math.sin(startArc),
+ -Math.cos(startArc),
+ Math.sin(endArc),
+ -Math.cos(endArc),
+ ];
+ const dx = posi[2] - posi[0];
+ const dy = posi[3] - posi[1];
+
+ return getLocation(dx, dy);
+}
+function getLocation(dx: number, dy: number) {
+ const tanV = dx / dy;
+ const directSign = Math.abs(tanV) < 1;
+ const t = directSign ? tanV : 1 / tanV;
+
+ const sign1 = t > 0 ? 1 : -1;
+ const sign2 = dx > 0 ? 1 : -1;
+ const sign = directSign ? sign1 * sign2 : sign2;
+
+ const group1 = [0.5 - (sign * t) / 2, 0.5 + (sign * t) / 2];
+ const group2 = sign > 0 ? [0, 1] : [1, 0];
+ const group = [...group1, ...group2];
+ const keys = directSign ? ["x", "x2", "y", "y2"] : ["y", "y2", "x", "x2"];
+
+ let res: { [key: string]: any } = {};
+ keys.forEach((k, idx) => {
+ res[k] = group[idx];
+ });
+ return res;
+}
+// 数据格式
+// const dataProps = [
+// {value: 14,name:'缺陷1'},
+// {value: 20,name:'缺陷2'},
+// {value: 22,name:'缺陷3'},
+// {value: 14,name:'缺陷4'},
+// {value: 30,name:'缺陷5'}
+// ]
+let rangArrValue: any[] = [];
+let dataList: any = [];
+let totalValue = 0;
+const colors = [
+ "rgb(39, 96, 255)",
+ "rgb(91, 155, 255)",
+ "rgb(153, 214, 108)",
+ "rgb(18, 255, 245)",
+ "rgb(221, 177, 18)",
+];
+const getPersonnelList = async (dataProps: any) => {
+ totalValue = dataProps.reduce(
+ (total: any, value: any) => total + value.value,
+ 0
+ );
+ let cacheNum = 0;
+ for (let i = 0; i < dataProps.length; i++) {
+ const endNum = cacheNum + dataProps[i].value;
+ rangArrValue.push([cacheNum, endNum]);
+ cacheNum = endNum;
+ }
+ const angleArr = rangArrValue.map((arr) =>
+ arr.map((num: any) => (num / totalValue) * Math.PI * 2)
+ );
+ dataList = dataProps.map((item: any, index: any) => {
+ const range = getCoordinates(angleArr[index][0], angleArr[index][1]);
+ const startColor = colors[index%5];
+ const color = {
+ type: "linear",
+ x: range.x,
+ x2: range.x2,
+ y: range.y,
+ y2: range.y2,
+ colorStops: [
+ {
+ offset: 0,
+ color: startColor, // 起始颜色
+ },
+ {
+ offset: 1,
+ color: `${startColor.substring(0, startColor.length - 1)}, 0)`, // 终点颜色
+ },
+ ],
+ global: false,
+ };
+
+ return {
+ name: item.name,
+ value: item.value,
+ itemStyle: {
+ color: color,
+ },
+ };
+ });
+};
+export default function getOptions(dataProps: any) {
+ if (dataProps.length === 0) return null;
+ getPersonnelList(dataProps);
+ return {
+ color: colors,
+ graphic: [
+ {
+ type: "text",
+ left: "center",
+ top: "44%",
+ style: {
+ text: totalValue,
+ fill: "#fff",
+ width: 150,
+ height: 44,
+ fontSize: 31,
+ fontWeight: 400,
+ },
+ },
+ {
+ type: "text",
+ left: "center",
+ top: "55%",
+ style: {
+ text: "总数/件",
+ fill: "rgba(255, 255, 255, 0.70)",
+ width: 32,
+ height: 16,
+ fontSize: 16,
+ fontWeight: 400,
+ },
+ },
+ ],
+ series: [
+ {
+ name: "产线缺陷分类",
+ type: "pie",
+ radius: ["45%", "60%"],
+ center: ["50%", "50%"],
+ // label: {
+ // formatter: "{d}%",
+ // color: "#fff",
+ // },
+ label:{
+ formatter:function(params:any){
+ return `{color${params.dataIndex}|${params.percent}%}\n{style2|${params.name}}`
+ },
+ rich:{
+ color0:{color:'rgb(39, 96, 255)',fontSize:22},
+ color1:{color:'rgb(91, 155, 255)',fontSize:22},
+ color2:{color:'rgb(153, 214, 108)',fontSize:22},
+ color3:{color:'rgb(18, 255, 245)',fontSize:22},
+ color4:{color:'rgb(221, 177, 18)',fontSize:22},
+ color5:{color:'rgb(39, 96, 255)',fontSize:22},
+ color6:{color:'rgb(91, 155, 255)',fontSize:22},
+ color7:{color:'rgb(153, 214, 108)',fontSize:22},
+ color8:{color:'rgb(18, 255, 245)',fontSize:22},
+ color9:{color:'rgb(221, 177, 18)',fontSize:22},
+ style2:{
+ color:'#fff',
+ fontSize:14
+ }
+ }
+ },
+ data: dataList,
+ },
+ ],
+ };
+}
diff --git a/src/page/LDPage/Left/LeftDown.tsx b/src/page/LDPage/Left/LeftDown.tsx
new file mode 100644
index 0000000..d2ce98c
--- /dev/null
+++ b/src/page/LDPage/Left/LeftDown.tsx
@@ -0,0 +1,20 @@
+import ReactECharts from "echarts-for-react";
+import TitleBox from "../Component/TitleBox";
+import getOptions from "../../Component/BarLineChart/chart.config";
+function LeftDown() {
+ const options1 = getOptions();
+ return(
+
+
+
+ 投入
+ 产出
+ 良品率
+
+
+
+
+
+ )
+}
+export default LeftDown;
\ No newline at end of file
diff --git a/src/page/LDPage/Left/LeftUp.tsx b/src/page/LDPage/Left/LeftUp.tsx
new file mode 100644
index 0000000..0f2c318
--- /dev/null
+++ b/src/page/LDPage/Left/LeftUp.tsx
@@ -0,0 +1,67 @@
+import TitleBox from "../Component/TitleBox";
+import inputImg from "../../assets/icon/input.png"
+import prod from '../../assets/icon/prod.png'
+function LeftUp() {
+ return(
+
+
+
+
+
+
+
+
+
总投入
+
+
+
+
+
+
+
总生产
+
+
+
+
+
+
+
+
+
+
总投入
+
+
+
+
+
+
+
总生产
+
+
+
+
+
+
+ )
+}
+export default LeftUp;
\ No newline at end of file
diff --git a/src/page/LinePage/Left/index.tsx b/src/page/LDPage/Left/index.tsx
similarity index 90%
rename from src/page/LinePage/Left/index.tsx
rename to src/page/LDPage/Left/index.tsx
index 6524b82..8d06cdb 100644
--- a/src/page/LinePage/Left/index.tsx
+++ b/src/page/LDPage/Left/index.tsx
@@ -8,4 +8,4 @@ function Left() {
);
}
-export default Left;
+export default Left;
\ No newline at end of file
diff --git a/src/page/LDPage/Right/RightDown.tsx b/src/page/LDPage/Right/RightDown.tsx
new file mode 100644
index 0000000..bc1a8bc
--- /dev/null
+++ b/src/page/LDPage/Right/RightDown.tsx
@@ -0,0 +1,20 @@
+import TitleBox from "../Component/TitleBox";
+import NumberBox from "../Component/NumberBox";
+const num1 = -18
+const num2 = +18
+function RightDown() {
+ return(
+
+ )
+}
+export default RightDown;
\ No newline at end of file
diff --git a/src/page/LDPage/Right/RightUp.tsx b/src/page/LDPage/Right/RightUp.tsx
new file mode 100644
index 0000000..9428604
--- /dev/null
+++ b/src/page/LDPage/Right/RightUp.tsx
@@ -0,0 +1,82 @@
+import TitleBox from "../Component/TitleBox";
+import a_r from './../../assets/icon/a_r.png';
+import a_g from './../../assets/icon/a_g.png';
+import ReactECharts from "echarts-for-react";
+import getOptions from "../Component/pieChart/chart.config";
+function RightUp() {
+ const dataProps = [
+ {value: 14,name:'缺陷1'},
+ {value: 20,name:'缺陷2'},
+ {value: 22,name:'缺陷3'},
+ {value: 14,name:'缺陷4'},
+ {value: 30,name:'缺陷5'}
+ ]
+ const options1 = getOptions(dataProps);
+ return(
+
+
+
+
+
+
+
+
+ 当日
+
+
+
283
+
+
+
+ 本月
+
+
+
2,830
+
+
+
+ 本年
+
+
+
32,830
+
+
+
+
+
+
+
+
+
+
+
+ )
+}
+export default RightUp;
\ No newline at end of file
diff --git a/src/page/LinePage/Right/index.tsx b/src/page/LDPage/Right/index.tsx
similarity index 90%
rename from src/page/LinePage/Right/index.tsx
rename to src/page/LDPage/Right/index.tsx
index 53c802a..6ecfdb3 100644
--- a/src/page/LinePage/Right/index.tsx
+++ b/src/page/LDPage/Right/index.tsx
@@ -9,4 +9,4 @@ function Right() {
);
}
-export default Right;
+export default Right;
\ No newline at end of file
diff --git a/src/page/LDPage/TopP.tsx b/src/page/LDPage/TopP.tsx
new file mode 100644
index 0000000..ae25b66
--- /dev/null
+++ b/src/page/LDPage/TopP.tsx
@@ -0,0 +1,18 @@
+import '../../lanhuapp/common.css';
+import "./index.css";
+
+function TopP() {
+ return (
+
+ );
+}
+
+export default TopP;
\ No newline at end of file
diff --git a/src/page/LDPage/index.css b/src/page/LDPage/index.css
index dcf01e1..59c7ce1 100644
--- a/src/page/LDPage/index.css
+++ b/src/page/LDPage/index.css
@@ -1,4 +1,225 @@
-.main-box {
- font-size: 50px;
+/* 顶部 */
+.block_top_ld {
+ width: 1920px;
+ height: 94px;
+ background: url(/public/svg/topbackLD.svg) 100% no-repeat;
+ background-size: 100% 100%;
+ opacity: 1;
+ display: flex;
+ justify-content: center;
+ position: relative;
+}
+
+.block_top_title {
+ width: 651px;
+ height: 77px;
+ background: url(/public/png/topTiltle.png) 100% no-repeat;
+ background-size: 100% 100%;
+ margin-top: 18px;
+}
+.block_top_time {
+ position:absolute;
+ right:22px;
+ top:56px;
+ color:#fff;
+ font-size: 24px;
+ letter-spacing: 1px;
+}
+.block_top_time .time-title {
+ display:inline-block;
+ width:122px;
+ height: 39px;
+ line-height: 39px;
+ text-align: center;
+ border:1px solid #52FFF1;
+ border-right:none;
+ border-radius: 4px 0 0 4px;
+
+}
+.block_top_time .time-content {
+ display:inline-block;
+ width:191px;
+ height: 39px;
+ line-height: 39px;
+ text-align: center;
+ border:1px solid #52FFF1;
+ border-radius: 0 4px 4px 0;
+ cursor: pointer;
+}
+/* 中部 */
+.block_bottom {
+ width: 1920px;
+ height: 966px;
+ padding-top: 20px;
+}
+
+.group_left {
+ width: 402px;
+ height: 966px;
+ margin: 0 0 0 24px;
+}
+
+.group_center {
+ width: 1041px;
+ height: 966px;
+ margin: 0 0 0 15px;
+}
+
+.group_right {
+ width: 401px;
+ height: 966px;
+ margin-left: 15px;
+}
+.ld_left_up {
+ width: 402px;
+ height: 599px;
+ background: url(../../../public/png/rect/lp_left_down.png) no-repeat;
+ background-size: 100% 100%;
+ background-position: 0 0;
+ position: relative;
+}
+.ld_left_up_inner {
+ width: 360px;
+ height: 236px;
+ background: url(../../../public/png/rect/ld_left_up_innerbox.png) no-repeat;
+ background-size: 100% 100%;
+ background-position: 0 0;
+ margin:0 auto;
+}
+.ld_left_up_inner .num_contrast {
+ height:113px;
+ padding:20px 18px 0px 29px;
+ color:#fff;
+}
+.ld_left_up_inner .num_contrast p{
+ margin: 0px;
+ text-shadow: 0px 4px 2px rgba(0,0,0,0.62);
+}
+.ld_left_up_inner .num_contrast .num_contrast_right {
+ padding-left: 18px;
+}
+
+.ld_left_down {
+ width: 402px;
+ height: 332px;
+ background: url(../../../public/png/rect/lp_left_up.png) no-repeat;
+ background-size: 100% 100%;
+ background-position: 0 0;
+ margin-top: 14px;
+ position: relative;
+}
+.ld_left_down .top_legend {
color: #fff;
+ font-size: 14px;
+ position: absolute;
+ left:120px;
+}
+.ld_left_down .top_legend .chart_legend_icon1{
+ margin-right: 10px;
+}
+.ld_left_down .top_legend .chart_legend_icon2{
+ margin-right: 14px;
+}
+.ld_left_down .top_legend .chart_legend_icon1:before {
+ display: inline-block;
+ content: "";
+ width: 10px;
+ height: 10px;
+ margin-right: 5px;
+ border-radius: 2px;
+ background: #73F8E0;
+}
+.ld_left_down .top_legend .chart_legend_icon2:before {
+ display: inline-block;
+ content: "";
+ width: 10px;
+ height: 10px;
+ margin-right: 5px;
+ border-radius: 2px;
+ background: #497EFF;
+}
+.ld_left_down .top_legend .chart_legend_icon3 {
+ display: inline-block;
+ width: 8px;
+ height: 8px;
+ margin-right: 8px;
+ border-radius: 4px;
+ background: #73F8E0;
+ position:relative;
+}
+.ld_left_down .top_legend .chart_legend_icon3:before {
+ display: inline-block;
+ content: "";
+ width: 16px;
+ height:2px;
+ background: #73F8E0;
+ position:absolute;
+ top:3px;
+ left:-4px;
+}
+.ld_center_up {
+ width: 1041px;
+ height: 599px;
+ background: url(../../../public/png/rect/lp_center_up.png) no-repeat;
+ background-size: 100% 100%;
+ background-position: 0 0;
+ position: relative;
+}
+.ld_center_down {
+ width: 1041px;
+ height: 332px;
+ margin-top: 17px;
+}
+.ld_center_down_inner {
+ width: 337px;
+ height: 329px;
+ background: url(../../../public/png/rect/ld_center_down.png) no-repeat;
+ background-size: 100% 100%;
+ background-position: 0 0;
+ position: relative;
+}
+.ld_center_down .ld_left-box, .ld_center_down .ld_center-box {
+ margin-right: 15px;
+ position: relative;
+}
+.ld_right_up {
+ width: 402px;
+ height: 599px;
+ background: url(../../../public/png/rect/lp_left_down.png) no-repeat;
+ background-size: 100% 100%;
+ background-position: 0 0;
+ position: relative;
+}
+.ld_right_down {
+ width: 402px;
+ height: 332px;
+ background: url(../../../public/png/rect/lp_left_up.png) no-repeat;
+ background-size: 100% 100%;
+ background-position: 0 0;
+ margin-top: 14px;
+ position: relative;
+}
+.ld_right_up .ld_right_up_box {
+ width: 358px;
+ height:160px;
+ background: url(../../../public/png/rect/ld_left_up_innerbox.png) no-repeat;
+ background-size: 100% 100%;
+ background-position: 0 0;
+ margin:0 auto 20px;
+}
+.ld_right_up .ld_right_up_box .ld_right_up_box1 {
+ width:100%;
+ height: 80px;
+ color: #fff;
+ padding:12px 20px;
+}
+.ld_right_up .ld_right_up_box .ld_right_up_box1 p {
+ margin:0;
+ letter-spacing:2px;
+ font-size:20px;
+}
+.ld_right_up_img {
+ position:relative;
+ left:2px;
+ top:2px;
}
\ No newline at end of file
diff --git a/src/page/LDPage/index.tsx b/src/page/LDPage/index.tsx
index 7532158..8faf5d4 100644
--- a/src/page/LDPage/index.tsx
+++ b/src/page/LDPage/index.tsx
@@ -1,35 +1,43 @@
-import "./index.css"
-import {useEffect} from 'react';
-import {useLocation,useNavigate} from "react-router-dom";
+import React from "react";
+import TopP from "./TopP";
+import Left from "./Left";
+import Right from "./Right";
+import Center from "./Center";
+// import {useEffect} from 'react';
+// import {useLocation,useNavigate} from "react-router-dom";
function LDPage() {
- const navigate = useNavigate();
- const {state} = useLocation();
- console.log("LDPage被加载了")
-useEffect(() => {
- const handleKeyDown = (event:any) => {
- if (event.key === 'ArrowUp') {
- console.log('LDPage向上键被按下');
- navigate(`/TP/${state.LineID}`);
- // 执行向上键的逻辑
- } else if (event.key === 'ArrowDown') {
- console.log('LDPage向下键被按下');
- // 执行向下键的逻辑
- }
- };
+ // const navigate = useNavigate();
+ // const {state} = useLocation();
+ // console.log("LDPage被加载了")
+// useEffect(() => {
+// const handleKeyDown = (event:any) => {
+// if (event.key === 'ArrowUp') {
+// console.log('LDPage向上键被按下');
+// navigate(`/TP/${state.LineID}`);
+// // 执行向上键的逻辑
+// } else if (event.key === 'ArrowDown') {
+// console.log('LDPage向下键被按下');
+// // 执行向下键的逻辑
+// }
+// };
- window.addEventListener('keydown', handleKeyDown);
+// window.addEventListener('keydown', handleKeyDown);
- return () => {
- window.removeEventListener('keydown', handleKeyDown);
- };
-}, []);
+// return () => {
+// window.removeEventListener('keydown', handleKeyDown);
+// };
+// }, []);
- return (
- <>
- LDPage{state.LineID}
- 3434
- >
- );
+return (
+
+
+
+
+
+
+
+
+);
}
export default LDPage;
\ No newline at end of file
diff --git a/src/page/LinePage/Center/CenterDown.tsx b/src/page/LinePage/Center/CenterDown.tsx
deleted file mode 100644
index 18dfe48..0000000
--- a/src/page/LinePage/Center/CenterDown.tsx
+++ /dev/null
@@ -1,248 +0,0 @@
-import ReactECharts from "echarts-for-react";
-import TitleBox from "../Component/TitleBox";
-import ScrollBoard from "./../../Component/ScrollBoard";
-import SwitchButton from "../Component/SwitchButton";
-import { useState } from "react";
-import getOptions from "./LineChart/chart.config";
-import { useParams } from "react-router-dom";
-function CenterDown() {
- const { LineID } = useParams();
- const lineID = LineID?.toString() || "1-1";
- console.log(lineID.slice(-1));
- // 假数据
- const dataSource = {
- day: {
- yData1: [76.1, 77.4, 75.2, 74.1, 78.5, 81.3, 79.2],
- yData2: [77.2, 78.1, 78.2, 77.1, 79.2, 78.3, 79.5],
- yData3: [75.1, 74.3, 71.3, 79.8, 82.3, 81.4, 80.3],
- yData4: [82.4, 83.1, 88.4, 85.3, 87.1, 82.5, 84.9],
- yData5: [82.3, 81.9, 85.8, 81.9, 84.1, 83.5, 82.3],
- },
- week: {
- yData1: [120, 200, 150, 80, 100, 89, 69],
- yData2: [100, 150, 120, 70, 90, 97, 89],
- yData3: [80, 120, 90, 60, 80, 79, 98],
- yData4: [60, 90, 70, 40, 60, 69, 98],
- yData5: [40, 60, 50, 20, 40, 89, 99],
- },
- month: {
- yData1: [1200, 2000, 1500, 800, 1000, 999, 889],
- yData2: [1000, 1500, 1200, 700, 900, 987, 897],
- yData3: [800, 1200, 900, 600, 800, 962, 759],
- yData4: [600, 900, 700, 400, 600, 896, 987],
- yData5: [400, 600, 500, 200, 400, 986, 951],
- },
- };
- const nameList = [
- { name: "天", ename: "day" },
- { name: "周", ename: "week" },
- { name: "月", ename: "month" },
- ];
- const [activeName, setActiveName] = useState(nameList[0].ename);
- let chartData = (dataSource as { [key: string]: any })[activeName];
- const handleButtonChange = (activeName: string) => {
- setActiveName(activeName);
- };
- const options = getOptions(chartData);
- const config = {
- header: ["序号", "报警时间", "报警编码", "设备状态"],
- headerHeight: 36,
- rowNum: 6,
- align: ["center", "left", "left", "left"],
- headerBGC: "rgba(79, 114, 136, 0.3)",
- oddRowBGC: "rgba(79, 114, 136, 0.3)",
- evenRowBGC: "rgba(76, 97, 123, 0.1)",
- columnWidth: [80, 137, 137, 137],
- data: [
- ["1", "行1列1", "行1列2", "行1列3 "],
- ["2", "行2列1", "行2列2", "行2列3 "],
- ["3", "行3列1", "行3列2", "行3列3 "],
- ["4", "行4列1", "行4列2", "行4列3 "],
- ["5", "行5列1", "行5列2", "行5列3 "],
- ["6", "行6列1", "行6列2", "行6列3 "],
- ["7", "行7列1", "行7列2", "行7列3 "],
- ["8", "行8列1", "行8列2", "行8列3 "],
- ["9", "行9列1", "行9列2", "行9列3 "],
- [
- "10",
- "行10列1",
- "行10列2",
- "行10列3 ",
- ],
- ],
- };
- const config1 = {
- header: ["序号", "报警时间", "报警设备", "报警内容"],
- headerHeight: 36,
- rowNum: 6,
- align: ["center", "left", "left", "left"],
- headerBGC: "rgba(79, 114, 136, 0.3)",
- oddRowBGC: "rgba(79, 114, 136, 0.3)",
- evenRowBGC: "rgba(76, 97, 123, 0.1)",
- columnWidth: [80, 137, 137, 137],
- data: [
- [
- "1",
- "2024/8/28 08:32",
- "清洗机5_1",
- "故障 ",
- ],
- [
- "2",
- "2024/8/28 06:12",
- "清洗机5_1",
- "离线 ",
- ],
- [
- "3",
- "2024/8/28 06:05",
- "磨边机5_2",
- "离线 ",
- ],
- [
- "4",
- "2024/8/28 04:43",
- "二次镀膜机5_1",
- "离线 ",
- ],
- [
- "5",
- "2024/8/28 02:14",
- "磨边机5_1",
- "故障 ",
- ],
- [
- "6",
- "2024/8/27 22:54",
- "磨边机5_2",
- "离线 ",
- ],
- [
- "7",
- "2024/8/27 21:55",
- "磨边机5_1",
- "离线 ",
- ],
- [
- "8",
- "2024/8/27 21:42",
- "一次镀膜机5_2",
- "离线 ",
- ],
- [
- "9",
- "2024/8/27 21:37",
- "磨边机5_1",
- "离线 ",
- ],
- ],
- };
- const config2 = {
- header: ["序号", "报警时间", "报警设备", "报警内容"],
- headerHeight: 36,
- rowNum: 6,
- align: ["center", "left", "left", "left"],
- headerBGC: "rgba(79, 114, 136, 0.3)",
- oddRowBGC: "rgba(79, 114, 136, 0.3)",
- evenRowBGC: "rgba(76, 97, 123, 0.1)",
- columnWidth: [80, 137, 137, 137],
- data: [
- [
- "1",
- "2024/8/28 07:44",
- "下片机械手5_1",
- "故障 ",
- ],
- [
- "2",
- "2024/8/28 07:35",
- "下片机械手5_1",
- "故障 ",
- ],
- [
- "3",
- "2024/8/28 03:23",
- "在线铺纸机5_1",
- "离线 ",
- ],
- [
- "4",
- "2024/8/28 01:36",
- "下片机械手5_2",
- "故障 ",
- ],
- [
- "5",
- "2024/8/28 00:38",
- "钢化炉5",
- "离线 ",
- ],
- [
- "6",
- "2024/8/27 23:58",
- "下片机械手5_3",
- "离线 ",
- ],
- [
- "7",
- "2024/8/27 23:45",
- "下片机械手5_2",
- "离线 ",
- ],
- [
- "8",
- "2024/8/27 22:34",
- "钢化炉5",
- "离线 ",
- ],
- [
- "9",
- "2024/8/27 20:31",
- "在线铺纸机5_1",
- "故障 ",
- ],
- ],
- };
- return (
-
-
-
-
— 报警总数 —
-
321,343
-
-
-
-
- {/* 产线成品率 */}
-
-
- {/*
-
-
*/}
-
- {options && (
-
- { }
-
- )}
- {!options && (
-
- 暂无数据
-
- )}
-
-
- );
-}
-export default CenterDown;
diff --git a/src/page/LinePage/Center/CenterUp.tsx b/src/page/LinePage/Center/CenterUp.tsx
deleted file mode 100644
index ad8d3c0..0000000
--- a/src/page/LinePage/Center/CenterUp.tsx
+++ /dev/null
@@ -1,12 +0,0 @@
-import LinePageBabylon from "../../../babylonjs/LinePageBabylon";
-import { useParams } from "react-router-dom";
-function CenterUp() {
- const { LineID } = useParams();
- const lineID = LineID?.toString() || "1-1";
- return (
-
-
-
- );
-}
-export default CenterUp;
diff --git a/src/page/LinePage/Center/LineChart/chart.config.ts b/src/page/LinePage/Center/LineChart/chart.config.ts
deleted file mode 100644
index f18994a..0000000
--- a/src/page/LinePage/Center/LineChart/chart.config.ts
+++ /dev/null
@@ -1,119 +0,0 @@
-export default function getOptions(chartData: any) {
- if (Object.keys(chartData).length === 0) {
- return null;
- }
- const colors = ["#1A99FF", "#FFB70C", "#C69DFF", "#50F4E3", "#E02094"];
- return {
- color: colors,
- grid: { top: 38, right: 12, bottom: 26, left: 48 },
- legend: {
- show: true,
- top: 10,
- right: 10,
- padding: 0,
- itemWidth: 14,
- itemHeight: 10,
- itemGap: 8,
- height: 10,
- textStyle: {
- color: "#DFF1FE",
- fontSize: 14,
- },
- },
- xAxis: {
- type: "category",
- data: ["8/22", "8/23", "8/24", "8/25", "8/26", "8/27", "8/28"],
- // data: Array(7)
- // .fill(1)
- // .map((_, index) => {
- // const today = new Date();
- // const dtimestamp =
- // today.getTime() - (index + 1) * 24 * 60 * 60 * 1000;
- // return `${new Date(dtimestamp).getMonth() + 1}.${new Date(
- // dtimestamp
- // ).getDate()}`;
- // })
- // .reverse(),
- axisLabel: {
- color: "#fff",
- fontSize: 14,
- },
- axisTick: { show: false },
- axisLine: {
- lineStyle: {
- width: 2,
- color: "#5982B2",
- },
- },
- },
- yAxis: {
- name: "单位/%",
- min: 50,
- nameTextStyle: {
- color: "#fff",
- fontSize: 14,
- },
- type: "value",
- axisLabel: {
- color: "#fff",
- fontSize: 14,
- formatter: "{value}",
- },
- axisLine: {
- show: true,
- lineStyle: {
- width: 2,
- color: "#5982B2",
- },
- },
- splitLine: {
- lineStyle: {
- width: 2,
- color: "#5982B2",
- },
- },
- },
- tooltip: {
- trigger: "axis",
- className: "luoyang-chart-tooltip",
- show: false,
- },
- series: [
- {
- name: "产线1",
- type: "line",
- symbol: "circle",
- symbolSize: 4,
- data: chartData.yData1,
- },
- {
- name: "产线2",
- type: "line",
- symbol: "circle",
- symbolSize: 4,
- data: chartData.yData2,
- },
- {
- name: "产线3",
- type: "line",
- symbol: "circle",
- symbolSize: 4,
- data: chartData.yData3,
- },
- {
- name: "产线4",
- type: "line",
- symbol: "circle",
- symbolSize: 4,
- data: chartData.yData4,
- },
- {
- name: "产线5",
- type: "line",
- symbol: "circle",
- symbolSize: 4,
- data: chartData.yData5,
- },
- ],
- };
-}
diff --git a/src/page/LinePage/Component/SwitchButton/index.css b/src/page/LinePage/Component/SwitchButton/index.css
deleted file mode 100644
index 604d81a..0000000
--- a/src/page/LinePage/Component/SwitchButton/index.css
+++ /dev/null
@@ -1,19 +0,0 @@
-.switch-button {
- height: 33px;
-}
-.switch-button button {
- color: #fff;
- font-size: 18px;
- padding: 4px 10px;
- background-color: rgba(49, 135, 140, 0.3);
- cursor: pointer;
-}
-.switch-button button:first-child {
- border-radius: 5px 0 0 5px;
-}
-.switch-button button:last-child {
- border-radius: 0 5px 5px 0;
-}
-.switch-button button.active {
- background-color: rgba(86, 244, 231, 0.7);
-}
diff --git a/src/page/LinePage/Component/SwitchButton/index.tsx b/src/page/LinePage/Component/SwitchButton/index.tsx
deleted file mode 100644
index 9209c06..0000000
--- a/src/page/LinePage/Component/SwitchButton/index.tsx
+++ /dev/null
@@ -1,65 +0,0 @@
-import { useEffect, useState } from "react";
-import "./index.css";
-interface Name {
- name: string;
- ename: string;
-}
-interface nameListProps {
- nameList: Name[];
- onChange: (value: string) => void;
-}
-function createActiveNameUpdater(nameList: any, activeName: string) {
- let activeIndex = nameList.findIndex((obj: any) => obj.name === activeName);
-
- return function updateActiveName() {
- activeIndex = (activeIndex + 1) % nameList.length;
- return nameList[activeIndex].ename;
- };
-}
-function SwitchButton(props: nameListProps) {
- const [activeName, setActiveName] = useState(props.nameList[0].ename);
- const [timerId, setTimerId] = useState(null);
- let updateActiveName = createActiveNameUpdater(props.nameList, activeName);
- useEffect(() => {
- const timer = setInterval(() => {
- let active = updateActiveName();
- setActiveName(active);
- props.onChange(active);
- }, 60000);
- setTimerId(timer);
- return () => {
- if (timerId !== null) {
- clearInterval(timerId);
- }
- };
- }, [props.nameList.length]);
- const btnClick = (ename: string) => {
- if (timerId !== null) {
- clearInterval(timerId);
- }
- setActiveName(ename);
- props.onChange(ename); // 通知父组件
- const newTimer = setInterval(() => {
- let active = updateActiveName();
- setActiveName(active);
- props.onChange(active);
- }, 60000);
- setTimerId(newTimer);
- };
- return (
-
- {props.nameList.map((item, index) => {
- return (
- btnClick(item.ename)}
- >
- {item.name}
-
- );
- })}
-
- );
-}
-export default SwitchButton;
diff --git a/src/page/LinePage/Left/BarChart/chart.config.ts b/src/page/LinePage/Left/BarChart/chart.config.ts
deleted file mode 100644
index 87857fc..0000000
--- a/src/page/LinePage/Left/BarChart/chart.config.ts
+++ /dev/null
@@ -1,79 +0,0 @@
-import * as echarts from "echarts";
-export default function getOptions(dataProps: number[], color: string[]) {
- if (dataProps.length === 0) return null;
- return {
- grid: { top: 30, right: 12, bottom: 26, left: 48 },
- legend: {
- show: false,
- },
- xAxis: {
- type: "category",
- data: ["磨边后", "包装1", "包装2"],
- axisLabel: {
- color: "#fff",
- fontSize: 14,
- interval: 0,
- },
- axisTick: { show: false },
- axisLine: {
- lineStyle: {
- width: 2,
- color: "#5982B2",
- },
- },
- },
- yAxis: {
- name: "单位/片",
- nameTextStyle: {
- color: "#fff",
- fontSize: 14,
- },
- type: "value",
- axisLabel: {
- color: "#fff",
- fontSize: 14,
- formatter: "{value}",
- },
- axisLine: {
- show: true,
- lineStyle: {
- width: 2,
- color: "#5982B2",
- },
- },
- splitLine: {
- lineStyle: {
- width: 2,
- color: "#5982B2",
- },
- },
- },
- tooltip: {
- trigger: "axis",
- axisPointer: {
- type: "shadow",
- },
- className: "luoyang-chart-tooltip",
- show: false,
- },
- series: [
- {
- data: dataProps,
- type: "bar",
- barWidth: 10,
- label: {
- show: true,
- fontSize: 12,
- color: "#9CD4FF",
- position: "top",
- },
- itemStyle: {
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
- { offset: 0, color: color[0] },
- { offset: 1, color: color[1] },
- ]),
- },
- },
- ],
- };
-}
diff --git a/src/page/LinePage/Left/LeftDown.tsx b/src/page/LinePage/Left/LeftDown.tsx
deleted file mode 100644
index 9ecd183..0000000
--- a/src/page/LinePage/Left/LeftDown.tsx
+++ /dev/null
@@ -1,183 +0,0 @@
-import ReactECharts from "echarts-for-react";
-import TitleBox from "../Component/TitleBox";
-import SwitchButton from "../Component/SwitchButton";
-import ScrollBoard from "./../../Component/ScrollBoard";
-import { useState } from "react";
-import getOptions from "./BarChart/chart.config";
-function LeftDown() {
- const nameList = [
- { name: "表单", ename: "table" },
- { name: "柱状", ename: "chart" },
- ];
- const [activeName, setActiveName] = useState(nameList[0].ename);
- const handleButtonChange = (activeName: string) => {
- setActiveName(activeName);
- };
- const config = {
- header: ["序号", "工序类型", "报废数量"],
- headerHeight: 30,
- rowNum: 4,
- align: ["center", "left", "left"],
- headerBGC: "rgba(79, 114, 136, 0.3)",
- oddRowBGC: "rgba(79, 114, 136, 0.3)",
- evenRowBGC: "rgba(76, 97, 123, 0.1)",
- columnWidth: [73, 117, 190],
- data: [
- ["行1列1", "行1列2", "行1列3"],
- ["行2列1", "行2列2", "行2列3"],
- ["行3列1", "行3列2", "行3列3"],
- ["行4列1", "行4列2", "行4列3"],
- ["行5列1", "行5列2", "行5列3"],
- ["行6列1", "行6列2", "行6列3"],
- ["行7列1", "行7列2", "行7列3"],
- ["行8列1", "行8列2", "行8列3"],
- ["行9列1", "行9列2", "行9列3"],
- ["行10列1", "行10列2", "行10列3"],
- ],
- };
- const config1 = {
- header: ["序号", "工序类型", "报废数量"],
- headerHeight: 30,
- rowNum: 4,
- align: ["center", "left", "left"],
- headerBGC: "rgba(79, 114, 136, 0.3)",
- oddRowBGC: "rgba(79, 114, 136, 0.3)",
- evenRowBGC: "rgba(76, 97, 123, 0.1)",
- columnWidth: [73, 117, 190],
- data: [
- ["1", "磨边后", 224],
- ["2", "包装1", 322],
- ["3", "包装2", 66],
- ],
- };
- const config2 = {
- header: ["序号", "工序类型", "报废数量"],
- headerHeight: 30,
- rowNum: 4,
- align: ["center", "left", "left"],
- headerBGC: "rgba(79, 114, 136, 0.3)",
- oddRowBGC: "rgba(79, 114, 136, 0.3)",
- evenRowBGC: "rgba(76, 97, 123, 0.1)",
- columnWidth: [73, 117, 190],
- data: [
- ["1", "磨边后", 1119],
- ["2", "包装1", 1798],
- ["3", "包装2", 435],
- ],
- };
- const config3 = {
- header: ["序号", "工序类型", "报废数量"],
- headerHeight: 30,
- rowNum: 4,
- align: ["center", "left", "left"],
- headerBGC: "rgba(79, 114, 136, 0.3)",
- oddRowBGC: "rgba(79, 114, 136, 0.3)",
- evenRowBGC: "rgba(76, 97, 123, 0.1)",
- columnWidth: [73, 117, 190],
- data: [
- ["1", "磨边后", 5004],
- ["2", "包装1", 9122],
- ["3", "包装2", 1924],
- ],
- };
- const color1 = ["#9DD5FF", "#1295FF"];
- const color2 = ["#85F6E9", "#2EC6B4"];
- const dataProps1 = [224, 322, 66];
- const dataProps2 = [1119, 1798, 435];
- const dataProps3 = [5004, 9122, 1924];
- const options1 = getOptions(dataProps1, color1);
- const options2 = getOptions(dataProps2, color2);
- const options3 = getOptions(dataProps3, color1);
- return (
-
-
-
-
-
-
-
-
- {activeName === "table" ? (
-
- ) : options1 ? (
-
- ) : (
-
- 暂无数据
-
- )}
-
-
-
- {activeName === "table" ? (
-
- ) : options2 ? (
-
- ) : (
-
- 暂无数据
-
- )}
-
-
-
- {activeName === "table" ? (
-
- ) : options3 ? (
-
- ) : (
-
- 暂无数据
-
- )}
-
-
-
- );
-}
-export default LeftDown;
diff --git a/src/page/LinePage/Left/LeftUp.tsx b/src/page/LinePage/Left/LeftUp.tsx
deleted file mode 100644
index 5daa597..0000000
--- a/src/page/LinePage/Left/LeftUp.tsx
+++ /dev/null
@@ -1,73 +0,0 @@
-import ReactECharts from "echarts-for-react";
-import TitleBox from "../Component/TitleBox";
-import SwitchButton from "../Component/SwitchButton";
-import getOptions from "./SummaryBarChart/chart.config";
-import { useState } from "react";
-import {useAppSelector} from "./../../../store/hooks"
-import {selectLine1Before} from "./../../../store/LinePageSlice"
-function LeftUp() {
- const data = useAppSelector(selectLine1Before);
- console.log('页面数据:',data)
- // 假数据
- const dataSource = {
- day: {
- xData: ["钢1线", "钢2线", "钢3线", "钢4线", "钢5线"],
- yData1: [236, 214, 196, 239, 224],
- yData2: [346, 296, 327, 311, 322],
- yData3: [78, 85, 56, 106, 66],
- sumData: [660, 595, 579, 656, 612],
- },
- week: {
- xData: ["钢1线", "钢2线", "钢3线", "钢4线", "钢5线"],
- yData1: [1336, 1223, 1313, 1134, 1119],
- yData2: [2146, 1996, 2053, 1857, 1798],
- yData3: [892, 658, 467, 758, 435],
- sumData: [4374, 3877, 3833, 3749, 3352],
- },
- month: {
- xData: ["钢1线", "钢2线", "钢3线", "钢4线", "钢5线"],
- yData1: [5789, 6432, 4679, 5456, 5004],
- yData2: [8762, 9732, 8137, 8820, 9122],
- yData3: [2468, 3120, 2782, 2395, 1924],
- sumData: [17019, 19284, 15598, 16671, 16050],
- },
- };
- const nameList = [
- { name: "天", ename: "day" },
- { name: "周", ename: "week" },
- { name: "月", ename: "month" },
- ];
- const [activeName, setActiveName] = useState(nameList[0].ename);
- let chartData = (dataSource as { [key: string]: any })[activeName];
- const handleButtonChange = (activeName: string) => {
- setActiveName(activeName);
- };
- const options = getOptions(chartData);
- return (
-
-
-
-
-
- {options && (
-
- { }
-
- )}
- {!options && (
-
- 暂无数据
-
- )}
-
- );
-}
-export default LeftUp;
diff --git a/src/page/LinePage/Left/SummaryBarChart/chart.config.ts b/src/page/LinePage/Left/SummaryBarChart/chart.config.ts
deleted file mode 100644
index 4707a61..0000000
--- a/src/page/LinePage/Left/SummaryBarChart/chart.config.ts
+++ /dev/null
@@ -1,149 +0,0 @@
-export default function getOptions(chartData: any) {
- if (Object.keys(chartData).length === 0) {
- return null;
- }
- const colors = ["#2760FF", "#8167F6", "#5B9BFF", "#99D66C", "#FFD160"];
- let sum = chartData.sumData;
- return {
- color: colors,
- grid: { top: 48, right: 20, bottom: 5, left: 15, containLabel: true },
- legend: {
- show: true,
- icon: "roundRect",
- top: 10,
- right: 20,
- padding: 0,
- itemWidth: 10,
- itemHeight: 10,
- itemGap: 15,
- height: 10,
- textStyle: {
- color: "#DFF1FE",
- fontSize: 14,
- },
- },
- xAxis: {
- type: "category",
- data: chartData.xData,
- axisLabel: {
- color: "#fff",
- fontSize: 16,
- },
- axisTick: { show: false },
- axisLine: {
- lineStyle: {
- width: 2,
- color: "#5982B2",
- },
- },
- },
- yAxis: {
- name: "单位/片",
- nameTextStyle: {
- color: "#fff",
- fontSize: 14,
- },
- type: "value",
- axisLabel: {
- color: "#fff",
- fontSize: 16,
- formatter: "{value}",
- },
- axisLine: {
- show: true,
- lineStyle: {
- width: 2,
- color: "#5982B2",
- },
- },
- splitLine: {
- lineStyle: {
- width: 2,
- color: "#5982B2",
- },
- },
- },
- tooltip: {
- show: false,
- trigger: "axis",
- axisPointer: {
- type: "shadow",
- },
- className: "luoyang-chart-tooltip",
- },
- // Declare several bar series, each will be mapped
- // to a column of dataset.source by default.
- series: [
- {
- data: chartData.yData1,
- type: "bar",
- stack: "a",
- name: "磨边后",
- barWidth: 14,
- label: {
- show: true,
- position: "right",
- color: "inherit",
- },
- },
- {
- data: chartData.yData2,
- type: "bar",
- stack: "a",
- name: "包装1",
- label: {
- show: true,
- position: "right",
- color: "inherit",
- },
- },
- {
- data: chartData.yData3,
- type: "bar",
- stack: "a",
- name: "包装2",
- label: {
- show: true,
- position: "right",
- color: "inherit",
- },
- },
- // {
- // data: chartData.yData4,
- // type: "bar",
- // stack: "a",
- // name: "镀膜",
- // label: {
- // show: true,
- // position: "right",
- // color: "inherit",
- // },
- // },
- // {
- // data: chartData.yData5,
- // type: "bar",
- // stack: "a",
- // name: "包装",
- // label: {
- // show: true,
- // position: "right",
- // color: "inherit",
- // },
- // },
- {
- data: [0, 0, 0, 0, 0],
- type: "bar",
- stack: "a",
- name: "",
- label: {
- show: true,
- position: "top",
- color: "#fff",
- formatter: function (params: any) {
- return sum[params.dataIndex];
- },
- },
- },
- ],
- };
-}
diff --git a/src/page/LinePage/Left/Table/index.tsx b/src/page/LinePage/Left/Table/index.tsx
deleted file mode 100644
index 6abcea0..0000000
--- a/src/page/LinePage/Left/Table/index.tsx
+++ /dev/null
@@ -1,4 +0,0 @@
-function Table() {
- return 111
;
-}
-export default Table;
diff --git a/src/page/LinePage/Right/LineChart/chart.config.ts b/src/page/LinePage/Right/LineChart/chart.config.ts
deleted file mode 100644
index 18bd639..0000000
--- a/src/page/LinePage/Right/LineChart/chart.config.ts
+++ /dev/null
@@ -1,99 +0,0 @@
-import * as echarts from "echarts";
-export default function getOptions(tempData: any) {
- if (Object.keys(tempData).length === 0) {
- return null;
- }
- const colors = ["#1A99FF", "#50F4E3"];
- return {
- color: colors,
- grid: { top: 30, right: 12, bottom: 10, left: 10, containLabel: true },
- legend: {
- show: true,
- icon: "roundRect",
- top: 10,
- right: 10,
- padding: 0,
- itemWidth: 10,
- itemHeight: 10,
- itemGap: 3,
- height: 10,
- textStyle: {
- color: "#DFF1FE",
- fontSize: 14,
- },
- },
- xAxis: {
- type: "category",
- data: tempData.time,
- // data: Array(7)
- // .fill(1)
- // .map((_, index) => {
- // const today = new Date();
- // const dtimestamp =
- // today.getTime() - (index + 1) * 24 * 60 * 60 * 1000;
- // return `${new Date(dtimestamp).getMonth() + 1}.${new Date(
- // dtimestamp
- // ).getDate()}`;
- // })
- // .reverse(),
- axisLabel: {
- color: "#fff",
- fontSize: 14,
- },
- axisTick: { show: false },
- axisLine: {
- lineStyle: {
- width: 2,
- color: "#5982B2",
- },
- },
- },
- yAxis: {
- name: "单位/千片",
- nameTextStyle: {
- color: "#fff",
- fontSize: 14,
- },
- type: "value",
- axisLabel: {
- color: "#fff",
- fontSize: 14,
- formatter: "{value}",
- },
- axisLine: {
- show: true,
- lineStyle: {
- width: 2,
- color: "#5982B2",
- },
- },
- splitLine: {
- lineStyle: {
- width: 2,
- color: "#5982B2",
- },
- },
- },
- series: [
- {
- name: "投入",
- type: "line",
- symbol: "circle",
- symbolSize: 4,
- data: tempData.input,
- },
- {
- name: "产出",
- type: "line",
- symbol: "circle",
- symbolSize: 4,
- data: tempData.output,
- },
- ],
- tooltip: {
- trigger: "axis",
- className: "luoyang-chart-tooltip",
- show: false,
- },
- };
-}
diff --git a/src/page/LinePage/Right/RightDown.tsx b/src/page/LinePage/Right/RightDown.tsx
deleted file mode 100644
index b4b3954..0000000
--- a/src/page/LinePage/Right/RightDown.tsx
+++ /dev/null
@@ -1,294 +0,0 @@
-import ReactECharts from "echarts-for-react";
-import TitleBox from "../Component/TitleBox";
-import SwitchButton from "../Component/SwitchButton";
-import ScrollBoard from "./../../Component/ScrollBoard";
-import { useState } from "react";
-import getOptions from "./LineChart/chart.config";
-function RightDown() {
- // 假数据
- let tempData = [
- {
- type: "day",
- data: {
- time: [
- "0:00",
- "1:00",
- "2:00",
- "3:00",
- "4:00",
- "5:00",
- "6:00",
- "7:00",
- "8:00",
- "9:00",
- "10:00",
- "11:00",
- "12:00",
- "13:00",
- "14:00",
- "15:00",
- "16:00",
- "17:00",
- "18:00",
- "19:00",
- "20:00",
- "21:00",
- "22:00",
- "23:00",
- ],
- input: [
- 456, 425, 246, 424, 453, 466, 412, 434, 425, 418, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0,
- ],
- output: [
- 432, 401, 232, 398, 421, 439, 378, 411, 400, 394, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0,
- ],
- },
- },
- {
- type: "week",
- data: {
- time: [
- "2024/8/22",
- "2024/8/23",
- "2024/8/24",
- "2024/8/25",
- "2024/8/26",
- "2024/8/27",
- "2024/8/28",
- ],
- input: [9753, 10357, 11246, 10123, 9872, 9985, 10352],
- output: [7925, 8216, 9091, 7847, 7589, 8126, 8112],
- },
- },
- {
- type: "month",
- data: {
- time: [
- "2024/8/1",
- "2024/8/2",
- "2024/8/3",
- "2024/8/4",
- "2024/8/5",
- "2024/8/6",
- "2024/8/7",
- "2024/8/8",
- "2024/8/9",
- "2024/8/10",
- "2024/8/11",
- "2024/8/12",
- "2024/8/13",
- "2024/8/14",
- "2024/8/15",
- "2024/8/16",
- "2024/8/17",
- "2024/8/18",
- "2024/8/19",
- "2024/8/20",
- "2024/8/21",
- "2024/8/22",
- "2024/8/23",
- "2024/8/24",
- "2024/8/25",
- "2024/8/26",
- "2024/8/27",
- "2024/8/28",
- "2024/8/29",
- "2024/8/30",
- "2024/8/31",
- ],
- input: [
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9813, 9753,
- 10357, 11246, 10123, 9872, 9985, 10352, 4235, 0, 0, 0,
- ],
- output: [
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7883, 7925,
- 8216, 9091, 7847, 7589, 8126, 8112, 3962, 0, 0, 0,
- ],
- },
- },
- ];
- const nameList = [
- { name: "表单", ename: "table" },
- { name: "折线", ename: "chart" },
- ];
- const [activeName, setActiveName] = useState(nameList[0].ename);
- const handleButtonChange = (activeName: string) => {
- setActiveName(activeName);
- };
- const config = {
- header: ["时间", "投入数量", "产出数量"],
- headerHeight: 30,
- rowNum: 5,
- headerBGC: "rgba(79, 114, 136, 0.3)",
- oddRowBGC: "rgba(79, 114, 136, 0.3)",
- evenRowBGC: "rgba(76, 97, 123, 0.1)",
- columnWidth: [120, 130, 130],
- data: [
- ["行1列1", "行1列2", "行1列3"],
- ["行2列1", "行2列2", "行2列3"],
- ["行3列1", "行3列2", "行3列3"],
- ["行4列1", "行4列2", "行4列3"],
- ["行5列1", "行5列2", "行5列3"],
- ["行6列1", "行6列2", "行6列3"],
- ["行7列1", "行7列2", "行7列3"],
- ["行8列1", "行8列2", "行8列3"],
- ["行9列1", "行9列2", "行9列3"],
- ["行10列1", "行10列2", "行10列3"],
- ],
- };
- const config1 = {
- header: ["时间", "投入数量", "产出数量"],
- headerHeight: 30,
- rowNum: 5,
- headerBGC: "rgba(79, 114, 136, 0.3)",
- oddRowBGC: "rgba(79, 114, 136, 0.3)",
- evenRowBGC: "rgba(76, 97, 123, 0.1)",
- columnWidth: [120, 130, 130],
- data: [],
- };
- const config2 = {
- header: ["时间", "投入数量", "产出数量"],
- headerHeight: 30,
- rowNum: 5,
- headerBGC: "rgba(79, 114, 136, 0.3)",
- oddRowBGC: "rgba(79, 114, 136, 0.3)",
- evenRowBGC: "rgba(76, 97, 123, 0.1)",
- columnWidth: [120, 130, 130],
- data: [],
- };
- const config3 = {
- header: ["时间", "投入数量", "产出数量"],
- headerHeight: 30,
- rowNum: 5,
- headerBGC: "rgba(79, 114, 136, 0.3)",
- oddRowBGC: "rgba(79, 114, 136, 0.3)",
- evenRowBGC: "rgba(76, 97, 123, 0.1)",
- columnWidth: [120, 130, 130],
- data: [],
- };
- let data1Lenght = tempData[0].data.input.length;
- for (let i = 0; i < data1Lenght; i++) {
- (config1.data as any).push([
- tempData[0].data.time ? tempData[0].data.time[i] : "-",
- tempData[0].data.input ? tempData[0].data.input[i] : "-",
- tempData[0].data.output ? tempData[0].data.output[i] : "-",
- ]);
- }
- let data2Lenght = tempData[1].data.input.length;
- for (let i = 0; i < data2Lenght; i++) {
- (config2.data as any).push([
- tempData[1].data.time ? tempData[1].data.time[i] : "-",
- tempData[1].data.input ? tempData[1].data.input[i] : "-",
- tempData[1].data.output ? tempData[1].data.output[i] : "-",
- ]);
- }
- let data3Lenght = tempData[0].data.input.length;
- for (let i = 0; i < data3Lenght; i++) {
- (config3.data as any).push([
- tempData[2].data.time ? tempData[2].data.time[i] : "-",
- tempData[2].data.input ? tempData[2].data.input[i] : "-",
- tempData[2].data.output ? tempData[2].data.output[i] : "-",
- ]);
- }
-
- const chartData1 = tempData[0].data;
- const chartData2 = tempData[1].data;
- const chartData3 = tempData[2].data;
- const options1 = getOptions(chartData1);
- const options2 = getOptions(chartData2);
- const options3 = getOptions(chartData3);
- return (
-
-
-
-
-
-
-
-
- {activeName === "table" ? (
-
- ) : options1 ? (
-
- ) : (
-
- 暂无数据
-
- )}
-
-
-
- {activeName === "table" ? (
-
- ) : options2 ? (
-
- ) : (
-
- 暂无数据
-
- )}
-
-
-
- {activeName === "table" ? (
-
- ) : options3 ? (
-
- ) : (
-
- 暂无数据
-
- )}
-
-
-
- );
-}
-export default RightDown;
diff --git a/src/page/LinePage/Right/RightUp.tsx b/src/page/LinePage/Right/RightUp.tsx
deleted file mode 100644
index 9107cbc..0000000
--- a/src/page/LinePage/Right/RightUp.tsx
+++ /dev/null
@@ -1,33 +0,0 @@
-import TitleBox from "../Component/TitleBox";
-import ScrollBoard from "./../../Component/ScrollBoard";
-function RightUp() {
- const config = {
- header: ["序号", "产线", "上片数据量", "成品下片数量"],
- headerHeight: 32,
- rowNum: 5,
- align: ["center", "left", "left", "left"],
- headerBGC: "rgba(79, 114, 136, 0.3)",
- oddRowBGC: "rgba(79, 114, 136, 0.3)",
- evenRowBGC: "rgba(76, 97, 123, 0.1)",
- columnWidth: [70, 90, 106, 114],
- data: [
- ["1", "钢1线", "82315", "64268"],
- ["2", "钢2线", "78246", "61235"],
- ["3", "钢3线", "79092", "63562"],
- ["4", "钢4线", "84125", "66789"],
- ["5", "钢5线", "85223", "68246"],
- ],
- };
- return (
-
- );
-}
-export default RightUp;
diff --git a/src/page/LinePage/TopP.tsx b/src/page/LinePage/TopP.tsx
deleted file mode 100644
index e7c7a64..0000000
--- a/src/page/LinePage/TopP.tsx
+++ /dev/null
@@ -1,14 +0,0 @@
-import '../../lanhuapp/common.css';
-import "./index.css";
-
-function TopP() {
- return (
-
- );
-}
-
-export default TopP;
\ No newline at end of file
diff --git a/src/page/LinePage/index.tsx b/src/page/LinePage/index.tsx
deleted file mode 100644
index daf9389..0000000
--- a/src/page/LinePage/index.tsx
+++ /dev/null
@@ -1,18 +0,0 @@
-import React from "react";
-import TopP from "./TopP";
-import Left from "./Left";
-import Right from "./Right";
-import Center from "./Center";
-function LinePage() {
- return (
-
-
-
-
-
-
-
-
- );
-}
-export default LinePage;
diff --git a/src/page/LinePage1-1/Component/TitleBox/index.tsx b/src/page/LinePage1-1/Component/TitleBox/index.tsx
index dd43a66..6579889 100644
--- a/src/page/LinePage1-1/Component/TitleBox/index.tsx
+++ b/src/page/LinePage1-1/Component/TitleBox/index.tsx
@@ -1,9 +1,9 @@
-import Defect from "./../../assets/icon/defect.png";
-import Alarm from "./../../assets/icon/alarm.png";
-import Finished from "./../../assets/icon/finished.png";
-import InputAndOutput from "./../../assets/icon/inputAndOutput.png";
-import Num from "./../../assets/icon/num.png";
-import Record from "./../../assets/icon/record.png";
+import Defect from "./../../../assets/icon/defect.png";
+import Alarm from "./../../../assets/icon/alarm.png";
+import Finished from "./../../../assets/icon/finished.png";
+import InputAndOutput from "./../../../assets/icon/inputAndOutput.png";
+import Num from "./../../../assets/icon/num.png";
+import Record from "./../../../assets/icon/record.png";
import "./index.css";
interface titleProps {
title: string;
diff --git a/src/page/LinePage1-1/assets/icon/alarm.png b/src/page/LinePage1-1/assets/icon/alarm.png
deleted file mode 100644
index eb335f3..0000000
Binary files a/src/page/LinePage1-1/assets/icon/alarm.png and /dev/null differ
diff --git a/src/page/LinePage1-1/assets/icon/defect.png b/src/page/LinePage1-1/assets/icon/defect.png
deleted file mode 100644
index 76ed17c..0000000
Binary files a/src/page/LinePage1-1/assets/icon/defect.png and /dev/null differ
diff --git a/src/page/LinePage1-1/assets/icon/finished.png b/src/page/LinePage1-1/assets/icon/finished.png
deleted file mode 100644
index 99b411b..0000000
Binary files a/src/page/LinePage1-1/assets/icon/finished.png and /dev/null differ
diff --git a/src/page/LinePage1-1/assets/icon/g.png b/src/page/LinePage1-1/assets/icon/g.png
deleted file mode 100644
index bf1b107..0000000
Binary files a/src/page/LinePage1-1/assets/icon/g.png and /dev/null differ
diff --git a/src/page/LinePage1-1/assets/icon/inputAndOutput.png b/src/page/LinePage1-1/assets/icon/inputAndOutput.png
deleted file mode 100644
index 113ed13..0000000
Binary files a/src/page/LinePage1-1/assets/icon/inputAndOutput.png and /dev/null differ
diff --git a/src/page/LinePage1-1/assets/icon/num.png b/src/page/LinePage1-1/assets/icon/num.png
deleted file mode 100644
index e77c409..0000000
Binary files a/src/page/LinePage1-1/assets/icon/num.png and /dev/null differ
diff --git a/src/page/LinePage1-1/assets/icon/r.png b/src/page/LinePage1-1/assets/icon/r.png
deleted file mode 100644
index d11591e..0000000
Binary files a/src/page/LinePage1-1/assets/icon/r.png and /dev/null differ
diff --git a/src/page/LinePage1-1/assets/icon/record.png b/src/page/LinePage1-1/assets/icon/record.png
deleted file mode 100644
index 4622f01..0000000
Binary files a/src/page/LinePage1-1/assets/icon/record.png and /dev/null differ
diff --git a/src/page/LinePage1-1/assets/icon/y.png b/src/page/LinePage1-1/assets/icon/y.png
deleted file mode 100644
index 72c796a..0000000
Binary files a/src/page/LinePage1-1/assets/icon/y.png and /dev/null differ
diff --git a/src/page/LinePage1-2/Component/TitleBox/index.tsx b/src/page/LinePage1-2/Component/TitleBox/index.tsx
index dd43a66..6579889 100644
--- a/src/page/LinePage1-2/Component/TitleBox/index.tsx
+++ b/src/page/LinePage1-2/Component/TitleBox/index.tsx
@@ -1,9 +1,9 @@
-import Defect from "./../../assets/icon/defect.png";
-import Alarm from "./../../assets/icon/alarm.png";
-import Finished from "./../../assets/icon/finished.png";
-import InputAndOutput from "./../../assets/icon/inputAndOutput.png";
-import Num from "./../../assets/icon/num.png";
-import Record from "./../../assets/icon/record.png";
+import Defect from "./../../../assets/icon/defect.png";
+import Alarm from "./../../../assets/icon/alarm.png";
+import Finished from "./../../../assets/icon/finished.png";
+import InputAndOutput from "./../../../assets/icon/inputAndOutput.png";
+import Num from "./../../../assets/icon/num.png";
+import Record from "./../../../assets/icon/record.png";
import "./index.css";
interface titleProps {
title: string;
diff --git a/src/page/LinePage1-2/TopP.tsx b/src/page/LinePage1-2/TopP.tsx
index e7c7a64..0961467 100644
--- a/src/page/LinePage1-2/TopP.tsx
+++ b/src/page/LinePage1-2/TopP.tsx
@@ -1,5 +1,5 @@
import '../../lanhuapp/common.css';
-import "./index.css";
+import "./../style/linePage.css";
function TopP() {
return (
diff --git a/src/page/LinePage1-2/assets/icon/alarm.png b/src/page/LinePage1-2/assets/icon/alarm.png
deleted file mode 100644
index eb335f3..0000000
Binary files a/src/page/LinePage1-2/assets/icon/alarm.png and /dev/null differ
diff --git a/src/page/LinePage1-2/assets/icon/defect.png b/src/page/LinePage1-2/assets/icon/defect.png
deleted file mode 100644
index 76ed17c..0000000
Binary files a/src/page/LinePage1-2/assets/icon/defect.png and /dev/null differ
diff --git a/src/page/LinePage1-2/assets/icon/finished.png b/src/page/LinePage1-2/assets/icon/finished.png
deleted file mode 100644
index 99b411b..0000000
Binary files a/src/page/LinePage1-2/assets/icon/finished.png and /dev/null differ
diff --git a/src/page/LinePage1-2/assets/icon/g.png b/src/page/LinePage1-2/assets/icon/g.png
deleted file mode 100644
index bf1b107..0000000
Binary files a/src/page/LinePage1-2/assets/icon/g.png and /dev/null differ
diff --git a/src/page/LinePage1-2/assets/icon/inputAndOutput.png b/src/page/LinePage1-2/assets/icon/inputAndOutput.png
deleted file mode 100644
index 113ed13..0000000
Binary files a/src/page/LinePage1-2/assets/icon/inputAndOutput.png and /dev/null differ
diff --git a/src/page/LinePage1-2/assets/icon/num.png b/src/page/LinePage1-2/assets/icon/num.png
deleted file mode 100644
index e77c409..0000000
Binary files a/src/page/LinePage1-2/assets/icon/num.png and /dev/null differ
diff --git a/src/page/LinePage1-2/assets/icon/r.png b/src/page/LinePage1-2/assets/icon/r.png
deleted file mode 100644
index d11591e..0000000
Binary files a/src/page/LinePage1-2/assets/icon/r.png and /dev/null differ
diff --git a/src/page/LinePage1-2/assets/icon/record.png b/src/page/LinePage1-2/assets/icon/record.png
deleted file mode 100644
index 4622f01..0000000
Binary files a/src/page/LinePage1-2/assets/icon/record.png and /dev/null differ
diff --git a/src/page/LinePage1-2/assets/icon/y.png b/src/page/LinePage1-2/assets/icon/y.png
deleted file mode 100644
index 72c796a..0000000
Binary files a/src/page/LinePage1-2/assets/icon/y.png and /dev/null differ
diff --git a/src/page/LinePage1-2/index.css b/src/page/LinePage1-2/index.css
deleted file mode 100644
index 1a28491..0000000
--- a/src/page/LinePage1-2/index.css
+++ /dev/null
@@ -1,264 +0,0 @@
-/* 顶部 */
-.block_top {
- width: 1920px;
- height: 94px;
- background: url(/public/svg/topback.svg) 100% no-repeat;
- background-size: 100% 100%;
- opacity: 1;
- display: flex;
- justify-content: center;
-}
-
-.block_top_title {
- width: 651px;
- height: 77px;
- background: url(/public/png/topTiltle.png) 100% no-repeat;
- background-size: 100% 100%;
- margin-top: 18px;
-}
-/* 中部 */
-.block_bottom {
- width: 1920px;
- height: 966px;
- padding-top: 20px;
-}
-
-.group_left {
- width: 402px;
- height: 966px;
- margin: 0 0 0 24px;
-}
-
-.group_center {
- width: 1041px;
- height: 966px;
- margin: 0 0 0 15px;
-}
-
-.group_right {
- width: 401px;
- height: 966px;
- margin-left: 15px;
-}
-
-.left_up {
- width: 402px;
- height: 332px;
- background: url(../../../public/png/rect/lp_left_up.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- position: relative;
-}
-.left_down {
- width: 402px;
- height: 599px;
- background: url(../../../public/png/rect/lp_left_down.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- margin-top: 14px;
- position: relative;
-}
-.center_up {
- width: 1041px;
- height: 562px;
- background: url(../../../public/png/rect/lp_center_up.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- position: relative;
-}
-.center_down {
- width: 1041px;
- height: 368px;
- margin-top: 17px;
-}
-.center_down_inner {
- width: 513px;
- height: 366px;
- background: url(../../../public/png/rect/lp_center_down.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- position: relative;
-}
-.center_down .left-box {
- margin-right: 15px;
- position: relative;
-}
-.center_down .left-box .alarm_num_title {
- position: absolute;
- left: 220px;
- top: 22px;
- font-size: 13px;
- letter-spacing: 3px;
- color: #fff;
-}
-.center_down .left-box .alarm_num {
- color: #52fff1;
- font-size: 40px;
- text-align: center;
- font-family: PingFangSC, PingFang SC;
-}
-.center_down .right_box .chart_box {
- width: 100%;
- height: 310px;
- margin-top: 10px;
-}
-.right_up {
- width: 401px;
- height: 257px;
- background: url(../../../public/png/rect/lp_right_up.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
-}
-.right_down {
- width: 401px;
- height: 673px;
- background: url(../../../public/png/rect/lp_right_down.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- margin-top: 14px;
- position: relative;
-}
-.left_up_switch {
- position: absolute;
- right: 10px;
- top: 12px;
-}
-.left_up_chart {
- height: 275px;
- margin-top: 10px;
-}
-/* 左侧 */
-.left_down_title {
- height: 18px;
- justify-content: center;
- margin-bottom: 4px;
-}
-.left_down_box1 {
- width: 56px;
- height: 13px;
- background: url(/public/png/leftbar.png) 100% no-repeat;
- background-size: 100% 100%;
- margin-top: 2px;
-}
-.left_down_box2 {
- width: 56px;
- height: 13px;
- background: url(/public/png/rightbar.png) 100% no-repeat;
- background-size: 100% 100%;
- margin: 2px 0 0 0px;
-}
-.left_down_text {
- /*width: 40px;*/
- height: 18px;
- overflow-wrap: break-word;
- color: rgba(1, 207, 204, 1);
- font-size: 18px;
- letter-spacing: 5px;
- font-family: PingFangSC-Regular;
- white-space: nowrap;
- line-height: 18px;
- margin-left: 18px;
- margin-right: 16px;
- text-align: center;
-}
-.left_down_content {
- height: 160px;
- /* padding-bottom: 5px; */
-}
-.right_down_content {
- height: 185px;
- /* padding-bottom: 5px; */
-}
-/* 滚动表格部分 */
-.dv-scroll-board .header .header-item,
-.dv-scroll-board .rows .ceil {
- border-right: 1px solid #0d1728;
-}
-.dv-scroll-board .header .header-item:last-child,
-.dv-scroll-board .rows .ceil:last-child {
- border-right: none;
- border: none;
-}
-/* chart图部分 */
-.luoyang-chart-tooltip {
- background: #0a2b4f77 !important;
- border: none !important;
- backdrop-filter: blur(12px);
-}
-
-.luoyang-chart-tooltip * {
- color: #fff !important;
-}
-/* 三维页面部分 */
-.center_up .model_name {
- position: absolute;
- left: 0px;
- top: 0px;
- z-index: 1000;
-}
-.center_up .model_info {
- position: absolute;
- left: 100px;
- bottom: 0px;
- z-index: 1000;
- width: 841px;
- height: 62px;
- background: url(/public/png/lp/line_part.png) 100% no-repeat;
- background-size: 100% 100%;
-}
-.center_up .model_info .reset_btn {
- position: absolute;
- top: 20px;
- left: 40px;
- width: 140px;
- height: 40px;
- cursor: pointer;
-}
-.center_up .model_info .title {
- display: inline-block;
- width: 361px;
- text-align: center;
- font-size: 32px;
- color: #fff;
- letter-spacing: 5px;
- position: absolute;
- left: 241px;
- bottom: 10px;
-}
-.center_up .eq_detail_info {
- position: absolute;
- right: 0px;
- bottom: 0px;
- z-index: 1002;
- width: 240px;
- height: 110px;
- background: url(/public/png/lp/eq_msg_detail.png) 100% no-repeat;
- background-size: 100% 100%;
- color: #fff;
- padding: 15px 0 0 15px;
-}
-.center_up .eq_detail_info .left_name {
- display: inline-block;
- width: 95px;
- height: 28px;
- text-align: right;
- font-size: 18px;
-}
-.center_up .eq_detail_info .right_value {
- display: inline-block;
- height: 28px;
- font-size: 18px;
-}
-.center_up .eq_info {
- position: absolute;
- z-index: 1002;
- background: url(/public/png/lp/eq_msg_always.png) 100% no-repeat;
- background-size: 100% 100%;
- color: #fff;
- padding: 10px 15px;
-}
-.center_up .eq_info .eq_info_inner {
- height: 24px;
- font-size: 17px;
- white-space: nowrap;
-}
diff --git a/src/page/LinePage2-1/Component/TitleBox/index.tsx b/src/page/LinePage2-1/Component/TitleBox/index.tsx
index dd43a66..6579889 100644
--- a/src/page/LinePage2-1/Component/TitleBox/index.tsx
+++ b/src/page/LinePage2-1/Component/TitleBox/index.tsx
@@ -1,9 +1,9 @@
-import Defect from "./../../assets/icon/defect.png";
-import Alarm from "./../../assets/icon/alarm.png";
-import Finished from "./../../assets/icon/finished.png";
-import InputAndOutput from "./../../assets/icon/inputAndOutput.png";
-import Num from "./../../assets/icon/num.png";
-import Record from "./../../assets/icon/record.png";
+import Defect from "./../../../assets/icon/defect.png";
+import Alarm from "./../../../assets/icon/alarm.png";
+import Finished from "./../../../assets/icon/finished.png";
+import InputAndOutput from "./../../../assets/icon/inputAndOutput.png";
+import Num from "./../../../assets/icon/num.png";
+import Record from "./../../../assets/icon/record.png";
import "./index.css";
interface titleProps {
title: string;
diff --git a/src/page/LinePage2-1/assets/icon/alarm.png b/src/page/LinePage2-1/assets/icon/alarm.png
deleted file mode 100644
index eb335f3..0000000
Binary files a/src/page/LinePage2-1/assets/icon/alarm.png and /dev/null differ
diff --git a/src/page/LinePage2-1/assets/icon/defect.png b/src/page/LinePage2-1/assets/icon/defect.png
deleted file mode 100644
index 76ed17c..0000000
Binary files a/src/page/LinePage2-1/assets/icon/defect.png and /dev/null differ
diff --git a/src/page/LinePage2-1/assets/icon/finished.png b/src/page/LinePage2-1/assets/icon/finished.png
deleted file mode 100644
index 99b411b..0000000
Binary files a/src/page/LinePage2-1/assets/icon/finished.png and /dev/null differ
diff --git a/src/page/LinePage2-1/assets/icon/g.png b/src/page/LinePage2-1/assets/icon/g.png
deleted file mode 100644
index bf1b107..0000000
Binary files a/src/page/LinePage2-1/assets/icon/g.png and /dev/null differ
diff --git a/src/page/LinePage2-1/assets/icon/inputAndOutput.png b/src/page/LinePage2-1/assets/icon/inputAndOutput.png
deleted file mode 100644
index 113ed13..0000000
Binary files a/src/page/LinePage2-1/assets/icon/inputAndOutput.png and /dev/null differ
diff --git a/src/page/LinePage2-1/assets/icon/num.png b/src/page/LinePage2-1/assets/icon/num.png
deleted file mode 100644
index e77c409..0000000
Binary files a/src/page/LinePage2-1/assets/icon/num.png and /dev/null differ
diff --git a/src/page/LinePage2-1/assets/icon/r.png b/src/page/LinePage2-1/assets/icon/r.png
deleted file mode 100644
index d11591e..0000000
Binary files a/src/page/LinePage2-1/assets/icon/r.png and /dev/null differ
diff --git a/src/page/LinePage2-1/assets/icon/record.png b/src/page/LinePage2-1/assets/icon/record.png
deleted file mode 100644
index 4622f01..0000000
Binary files a/src/page/LinePage2-1/assets/icon/record.png and /dev/null differ
diff --git a/src/page/LinePage2-1/assets/icon/y.png b/src/page/LinePage2-1/assets/icon/y.png
deleted file mode 100644
index 72c796a..0000000
Binary files a/src/page/LinePage2-1/assets/icon/y.png and /dev/null differ
diff --git a/src/page/LinePage2-2/Component/TitleBox/index.tsx b/src/page/LinePage2-2/Component/TitleBox/index.tsx
index dd43a66..6579889 100644
--- a/src/page/LinePage2-2/Component/TitleBox/index.tsx
+++ b/src/page/LinePage2-2/Component/TitleBox/index.tsx
@@ -1,9 +1,9 @@
-import Defect from "./../../assets/icon/defect.png";
-import Alarm from "./../../assets/icon/alarm.png";
-import Finished from "./../../assets/icon/finished.png";
-import InputAndOutput from "./../../assets/icon/inputAndOutput.png";
-import Num from "./../../assets/icon/num.png";
-import Record from "./../../assets/icon/record.png";
+import Defect from "./../../../assets/icon/defect.png";
+import Alarm from "./../../../assets/icon/alarm.png";
+import Finished from "./../../../assets/icon/finished.png";
+import InputAndOutput from "./../../../assets/icon/inputAndOutput.png";
+import Num from "./../../../assets/icon/num.png";
+import Record from "./../../../assets/icon/record.png";
import "./index.css";
interface titleProps {
title: string;
diff --git a/src/page/LinePage2-2/TopP.tsx b/src/page/LinePage2-2/TopP.tsx
index e7c7a64..3c9a765 100644
--- a/src/page/LinePage2-2/TopP.tsx
+++ b/src/page/LinePage2-2/TopP.tsx
@@ -1,6 +1,5 @@
import '../../lanhuapp/common.css';
-import "./index.css";
-
+import "./../style/linePage.css";
function TopP() {
return (
diff --git a/src/page/LinePage2-2/assets/icon/alarm.png b/src/page/LinePage2-2/assets/icon/alarm.png
deleted file mode 100644
index eb335f3..0000000
Binary files a/src/page/LinePage2-2/assets/icon/alarm.png and /dev/null differ
diff --git a/src/page/LinePage2-2/assets/icon/defect.png b/src/page/LinePage2-2/assets/icon/defect.png
deleted file mode 100644
index 76ed17c..0000000
Binary files a/src/page/LinePage2-2/assets/icon/defect.png and /dev/null differ
diff --git a/src/page/LinePage2-2/assets/icon/finished.png b/src/page/LinePage2-2/assets/icon/finished.png
deleted file mode 100644
index 99b411b..0000000
Binary files a/src/page/LinePage2-2/assets/icon/finished.png and /dev/null differ
diff --git a/src/page/LinePage2-2/assets/icon/g.png b/src/page/LinePage2-2/assets/icon/g.png
deleted file mode 100644
index bf1b107..0000000
Binary files a/src/page/LinePage2-2/assets/icon/g.png and /dev/null differ
diff --git a/src/page/LinePage2-2/assets/icon/inputAndOutput.png b/src/page/LinePage2-2/assets/icon/inputAndOutput.png
deleted file mode 100644
index 113ed13..0000000
Binary files a/src/page/LinePage2-2/assets/icon/inputAndOutput.png and /dev/null differ
diff --git a/src/page/LinePage2-2/assets/icon/num.png b/src/page/LinePage2-2/assets/icon/num.png
deleted file mode 100644
index e77c409..0000000
Binary files a/src/page/LinePage2-2/assets/icon/num.png and /dev/null differ
diff --git a/src/page/LinePage2-2/assets/icon/r.png b/src/page/LinePage2-2/assets/icon/r.png
deleted file mode 100644
index d11591e..0000000
Binary files a/src/page/LinePage2-2/assets/icon/r.png and /dev/null differ
diff --git a/src/page/LinePage2-2/assets/icon/record.png b/src/page/LinePage2-2/assets/icon/record.png
deleted file mode 100644
index 4622f01..0000000
Binary files a/src/page/LinePage2-2/assets/icon/record.png and /dev/null differ
diff --git a/src/page/LinePage2-2/assets/icon/y.png b/src/page/LinePage2-2/assets/icon/y.png
deleted file mode 100644
index 72c796a..0000000
Binary files a/src/page/LinePage2-2/assets/icon/y.png and /dev/null differ
diff --git a/src/page/LinePage2-2/index.css b/src/page/LinePage2-2/index.css
deleted file mode 100644
index 1a28491..0000000
--- a/src/page/LinePage2-2/index.css
+++ /dev/null
@@ -1,264 +0,0 @@
-/* 顶部 */
-.block_top {
- width: 1920px;
- height: 94px;
- background: url(/public/svg/topback.svg) 100% no-repeat;
- background-size: 100% 100%;
- opacity: 1;
- display: flex;
- justify-content: center;
-}
-
-.block_top_title {
- width: 651px;
- height: 77px;
- background: url(/public/png/topTiltle.png) 100% no-repeat;
- background-size: 100% 100%;
- margin-top: 18px;
-}
-/* 中部 */
-.block_bottom {
- width: 1920px;
- height: 966px;
- padding-top: 20px;
-}
-
-.group_left {
- width: 402px;
- height: 966px;
- margin: 0 0 0 24px;
-}
-
-.group_center {
- width: 1041px;
- height: 966px;
- margin: 0 0 0 15px;
-}
-
-.group_right {
- width: 401px;
- height: 966px;
- margin-left: 15px;
-}
-
-.left_up {
- width: 402px;
- height: 332px;
- background: url(../../../public/png/rect/lp_left_up.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- position: relative;
-}
-.left_down {
- width: 402px;
- height: 599px;
- background: url(../../../public/png/rect/lp_left_down.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- margin-top: 14px;
- position: relative;
-}
-.center_up {
- width: 1041px;
- height: 562px;
- background: url(../../../public/png/rect/lp_center_up.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- position: relative;
-}
-.center_down {
- width: 1041px;
- height: 368px;
- margin-top: 17px;
-}
-.center_down_inner {
- width: 513px;
- height: 366px;
- background: url(../../../public/png/rect/lp_center_down.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- position: relative;
-}
-.center_down .left-box {
- margin-right: 15px;
- position: relative;
-}
-.center_down .left-box .alarm_num_title {
- position: absolute;
- left: 220px;
- top: 22px;
- font-size: 13px;
- letter-spacing: 3px;
- color: #fff;
-}
-.center_down .left-box .alarm_num {
- color: #52fff1;
- font-size: 40px;
- text-align: center;
- font-family: PingFangSC, PingFang SC;
-}
-.center_down .right_box .chart_box {
- width: 100%;
- height: 310px;
- margin-top: 10px;
-}
-.right_up {
- width: 401px;
- height: 257px;
- background: url(../../../public/png/rect/lp_right_up.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
-}
-.right_down {
- width: 401px;
- height: 673px;
- background: url(../../../public/png/rect/lp_right_down.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- margin-top: 14px;
- position: relative;
-}
-.left_up_switch {
- position: absolute;
- right: 10px;
- top: 12px;
-}
-.left_up_chart {
- height: 275px;
- margin-top: 10px;
-}
-/* 左侧 */
-.left_down_title {
- height: 18px;
- justify-content: center;
- margin-bottom: 4px;
-}
-.left_down_box1 {
- width: 56px;
- height: 13px;
- background: url(/public/png/leftbar.png) 100% no-repeat;
- background-size: 100% 100%;
- margin-top: 2px;
-}
-.left_down_box2 {
- width: 56px;
- height: 13px;
- background: url(/public/png/rightbar.png) 100% no-repeat;
- background-size: 100% 100%;
- margin: 2px 0 0 0px;
-}
-.left_down_text {
- /*width: 40px;*/
- height: 18px;
- overflow-wrap: break-word;
- color: rgba(1, 207, 204, 1);
- font-size: 18px;
- letter-spacing: 5px;
- font-family: PingFangSC-Regular;
- white-space: nowrap;
- line-height: 18px;
- margin-left: 18px;
- margin-right: 16px;
- text-align: center;
-}
-.left_down_content {
- height: 160px;
- /* padding-bottom: 5px; */
-}
-.right_down_content {
- height: 185px;
- /* padding-bottom: 5px; */
-}
-/* 滚动表格部分 */
-.dv-scroll-board .header .header-item,
-.dv-scroll-board .rows .ceil {
- border-right: 1px solid #0d1728;
-}
-.dv-scroll-board .header .header-item:last-child,
-.dv-scroll-board .rows .ceil:last-child {
- border-right: none;
- border: none;
-}
-/* chart图部分 */
-.luoyang-chart-tooltip {
- background: #0a2b4f77 !important;
- border: none !important;
- backdrop-filter: blur(12px);
-}
-
-.luoyang-chart-tooltip * {
- color: #fff !important;
-}
-/* 三维页面部分 */
-.center_up .model_name {
- position: absolute;
- left: 0px;
- top: 0px;
- z-index: 1000;
-}
-.center_up .model_info {
- position: absolute;
- left: 100px;
- bottom: 0px;
- z-index: 1000;
- width: 841px;
- height: 62px;
- background: url(/public/png/lp/line_part.png) 100% no-repeat;
- background-size: 100% 100%;
-}
-.center_up .model_info .reset_btn {
- position: absolute;
- top: 20px;
- left: 40px;
- width: 140px;
- height: 40px;
- cursor: pointer;
-}
-.center_up .model_info .title {
- display: inline-block;
- width: 361px;
- text-align: center;
- font-size: 32px;
- color: #fff;
- letter-spacing: 5px;
- position: absolute;
- left: 241px;
- bottom: 10px;
-}
-.center_up .eq_detail_info {
- position: absolute;
- right: 0px;
- bottom: 0px;
- z-index: 1002;
- width: 240px;
- height: 110px;
- background: url(/public/png/lp/eq_msg_detail.png) 100% no-repeat;
- background-size: 100% 100%;
- color: #fff;
- padding: 15px 0 0 15px;
-}
-.center_up .eq_detail_info .left_name {
- display: inline-block;
- width: 95px;
- height: 28px;
- text-align: right;
- font-size: 18px;
-}
-.center_up .eq_detail_info .right_value {
- display: inline-block;
- height: 28px;
- font-size: 18px;
-}
-.center_up .eq_info {
- position: absolute;
- z-index: 1002;
- background: url(/public/png/lp/eq_msg_always.png) 100% no-repeat;
- background-size: 100% 100%;
- color: #fff;
- padding: 10px 15px;
-}
-.center_up .eq_info .eq_info_inner {
- height: 24px;
- font-size: 17px;
- white-space: nowrap;
-}
diff --git a/src/page/LinePage3-1/Component/TitleBox/index.tsx b/src/page/LinePage3-1/Component/TitleBox/index.tsx
index dd43a66..6579889 100644
--- a/src/page/LinePage3-1/Component/TitleBox/index.tsx
+++ b/src/page/LinePage3-1/Component/TitleBox/index.tsx
@@ -1,9 +1,9 @@
-import Defect from "./../../assets/icon/defect.png";
-import Alarm from "./../../assets/icon/alarm.png";
-import Finished from "./../../assets/icon/finished.png";
-import InputAndOutput from "./../../assets/icon/inputAndOutput.png";
-import Num from "./../../assets/icon/num.png";
-import Record from "./../../assets/icon/record.png";
+import Defect from "./../../../assets/icon/defect.png";
+import Alarm from "./../../../assets/icon/alarm.png";
+import Finished from "./../../../assets/icon/finished.png";
+import InputAndOutput from "./../../../assets/icon/inputAndOutput.png";
+import Num from "./../../../assets/icon/num.png";
+import Record from "./../../../assets/icon/record.png";
import "./index.css";
interface titleProps {
title: string;
diff --git a/src/page/LinePage3-1/TopP.tsx b/src/page/LinePage3-1/TopP.tsx
index e7c7a64..0961467 100644
--- a/src/page/LinePage3-1/TopP.tsx
+++ b/src/page/LinePage3-1/TopP.tsx
@@ -1,5 +1,5 @@
import '../../lanhuapp/common.css';
-import "./index.css";
+import "./../style/linePage.css";
function TopP() {
return (
diff --git a/src/page/LinePage3-1/assets/icon/alarm.png b/src/page/LinePage3-1/assets/icon/alarm.png
deleted file mode 100644
index eb335f3..0000000
Binary files a/src/page/LinePage3-1/assets/icon/alarm.png and /dev/null differ
diff --git a/src/page/LinePage3-1/assets/icon/defect.png b/src/page/LinePage3-1/assets/icon/defect.png
deleted file mode 100644
index 76ed17c..0000000
Binary files a/src/page/LinePage3-1/assets/icon/defect.png and /dev/null differ
diff --git a/src/page/LinePage3-1/assets/icon/finished.png b/src/page/LinePage3-1/assets/icon/finished.png
deleted file mode 100644
index 99b411b..0000000
Binary files a/src/page/LinePage3-1/assets/icon/finished.png and /dev/null differ
diff --git a/src/page/LinePage3-1/assets/icon/g.png b/src/page/LinePage3-1/assets/icon/g.png
deleted file mode 100644
index bf1b107..0000000
Binary files a/src/page/LinePage3-1/assets/icon/g.png and /dev/null differ
diff --git a/src/page/LinePage3-1/assets/icon/inputAndOutput.png b/src/page/LinePage3-1/assets/icon/inputAndOutput.png
deleted file mode 100644
index 113ed13..0000000
Binary files a/src/page/LinePage3-1/assets/icon/inputAndOutput.png and /dev/null differ
diff --git a/src/page/LinePage3-1/assets/icon/num.png b/src/page/LinePage3-1/assets/icon/num.png
deleted file mode 100644
index e77c409..0000000
Binary files a/src/page/LinePage3-1/assets/icon/num.png and /dev/null differ
diff --git a/src/page/LinePage3-1/assets/icon/r.png b/src/page/LinePage3-1/assets/icon/r.png
deleted file mode 100644
index d11591e..0000000
Binary files a/src/page/LinePage3-1/assets/icon/r.png and /dev/null differ
diff --git a/src/page/LinePage3-1/assets/icon/record.png b/src/page/LinePage3-1/assets/icon/record.png
deleted file mode 100644
index 4622f01..0000000
Binary files a/src/page/LinePage3-1/assets/icon/record.png and /dev/null differ
diff --git a/src/page/LinePage3-1/assets/icon/y.png b/src/page/LinePage3-1/assets/icon/y.png
deleted file mode 100644
index 72c796a..0000000
Binary files a/src/page/LinePage3-1/assets/icon/y.png and /dev/null differ
diff --git a/src/page/LinePage3-1/index.css b/src/page/LinePage3-1/index.css
deleted file mode 100644
index 1a28491..0000000
--- a/src/page/LinePage3-1/index.css
+++ /dev/null
@@ -1,264 +0,0 @@
-/* 顶部 */
-.block_top {
- width: 1920px;
- height: 94px;
- background: url(/public/svg/topback.svg) 100% no-repeat;
- background-size: 100% 100%;
- opacity: 1;
- display: flex;
- justify-content: center;
-}
-
-.block_top_title {
- width: 651px;
- height: 77px;
- background: url(/public/png/topTiltle.png) 100% no-repeat;
- background-size: 100% 100%;
- margin-top: 18px;
-}
-/* 中部 */
-.block_bottom {
- width: 1920px;
- height: 966px;
- padding-top: 20px;
-}
-
-.group_left {
- width: 402px;
- height: 966px;
- margin: 0 0 0 24px;
-}
-
-.group_center {
- width: 1041px;
- height: 966px;
- margin: 0 0 0 15px;
-}
-
-.group_right {
- width: 401px;
- height: 966px;
- margin-left: 15px;
-}
-
-.left_up {
- width: 402px;
- height: 332px;
- background: url(../../../public/png/rect/lp_left_up.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- position: relative;
-}
-.left_down {
- width: 402px;
- height: 599px;
- background: url(../../../public/png/rect/lp_left_down.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- margin-top: 14px;
- position: relative;
-}
-.center_up {
- width: 1041px;
- height: 562px;
- background: url(../../../public/png/rect/lp_center_up.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- position: relative;
-}
-.center_down {
- width: 1041px;
- height: 368px;
- margin-top: 17px;
-}
-.center_down_inner {
- width: 513px;
- height: 366px;
- background: url(../../../public/png/rect/lp_center_down.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- position: relative;
-}
-.center_down .left-box {
- margin-right: 15px;
- position: relative;
-}
-.center_down .left-box .alarm_num_title {
- position: absolute;
- left: 220px;
- top: 22px;
- font-size: 13px;
- letter-spacing: 3px;
- color: #fff;
-}
-.center_down .left-box .alarm_num {
- color: #52fff1;
- font-size: 40px;
- text-align: center;
- font-family: PingFangSC, PingFang SC;
-}
-.center_down .right_box .chart_box {
- width: 100%;
- height: 310px;
- margin-top: 10px;
-}
-.right_up {
- width: 401px;
- height: 257px;
- background: url(../../../public/png/rect/lp_right_up.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
-}
-.right_down {
- width: 401px;
- height: 673px;
- background: url(../../../public/png/rect/lp_right_down.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- margin-top: 14px;
- position: relative;
-}
-.left_up_switch {
- position: absolute;
- right: 10px;
- top: 12px;
-}
-.left_up_chart {
- height: 275px;
- margin-top: 10px;
-}
-/* 左侧 */
-.left_down_title {
- height: 18px;
- justify-content: center;
- margin-bottom: 4px;
-}
-.left_down_box1 {
- width: 56px;
- height: 13px;
- background: url(/public/png/leftbar.png) 100% no-repeat;
- background-size: 100% 100%;
- margin-top: 2px;
-}
-.left_down_box2 {
- width: 56px;
- height: 13px;
- background: url(/public/png/rightbar.png) 100% no-repeat;
- background-size: 100% 100%;
- margin: 2px 0 0 0px;
-}
-.left_down_text {
- /*width: 40px;*/
- height: 18px;
- overflow-wrap: break-word;
- color: rgba(1, 207, 204, 1);
- font-size: 18px;
- letter-spacing: 5px;
- font-family: PingFangSC-Regular;
- white-space: nowrap;
- line-height: 18px;
- margin-left: 18px;
- margin-right: 16px;
- text-align: center;
-}
-.left_down_content {
- height: 160px;
- /* padding-bottom: 5px; */
-}
-.right_down_content {
- height: 185px;
- /* padding-bottom: 5px; */
-}
-/* 滚动表格部分 */
-.dv-scroll-board .header .header-item,
-.dv-scroll-board .rows .ceil {
- border-right: 1px solid #0d1728;
-}
-.dv-scroll-board .header .header-item:last-child,
-.dv-scroll-board .rows .ceil:last-child {
- border-right: none;
- border: none;
-}
-/* chart图部分 */
-.luoyang-chart-tooltip {
- background: #0a2b4f77 !important;
- border: none !important;
- backdrop-filter: blur(12px);
-}
-
-.luoyang-chart-tooltip * {
- color: #fff !important;
-}
-/* 三维页面部分 */
-.center_up .model_name {
- position: absolute;
- left: 0px;
- top: 0px;
- z-index: 1000;
-}
-.center_up .model_info {
- position: absolute;
- left: 100px;
- bottom: 0px;
- z-index: 1000;
- width: 841px;
- height: 62px;
- background: url(/public/png/lp/line_part.png) 100% no-repeat;
- background-size: 100% 100%;
-}
-.center_up .model_info .reset_btn {
- position: absolute;
- top: 20px;
- left: 40px;
- width: 140px;
- height: 40px;
- cursor: pointer;
-}
-.center_up .model_info .title {
- display: inline-block;
- width: 361px;
- text-align: center;
- font-size: 32px;
- color: #fff;
- letter-spacing: 5px;
- position: absolute;
- left: 241px;
- bottom: 10px;
-}
-.center_up .eq_detail_info {
- position: absolute;
- right: 0px;
- bottom: 0px;
- z-index: 1002;
- width: 240px;
- height: 110px;
- background: url(/public/png/lp/eq_msg_detail.png) 100% no-repeat;
- background-size: 100% 100%;
- color: #fff;
- padding: 15px 0 0 15px;
-}
-.center_up .eq_detail_info .left_name {
- display: inline-block;
- width: 95px;
- height: 28px;
- text-align: right;
- font-size: 18px;
-}
-.center_up .eq_detail_info .right_value {
- display: inline-block;
- height: 28px;
- font-size: 18px;
-}
-.center_up .eq_info {
- position: absolute;
- z-index: 1002;
- background: url(/public/png/lp/eq_msg_always.png) 100% no-repeat;
- background-size: 100% 100%;
- color: #fff;
- padding: 10px 15px;
-}
-.center_up .eq_info .eq_info_inner {
- height: 24px;
- font-size: 17px;
- white-space: nowrap;
-}
diff --git a/src/page/LinePage3-2/Component/TitleBox/index.tsx b/src/page/LinePage3-2/Component/TitleBox/index.tsx
index dd43a66..6579889 100644
--- a/src/page/LinePage3-2/Component/TitleBox/index.tsx
+++ b/src/page/LinePage3-2/Component/TitleBox/index.tsx
@@ -1,9 +1,9 @@
-import Defect from "./../../assets/icon/defect.png";
-import Alarm from "./../../assets/icon/alarm.png";
-import Finished from "./../../assets/icon/finished.png";
-import InputAndOutput from "./../../assets/icon/inputAndOutput.png";
-import Num from "./../../assets/icon/num.png";
-import Record from "./../../assets/icon/record.png";
+import Defect from "./../../../assets/icon/defect.png";
+import Alarm from "./../../../assets/icon/alarm.png";
+import Finished from "./../../../assets/icon/finished.png";
+import InputAndOutput from "./../../../assets/icon/inputAndOutput.png";
+import Num from "./../../../assets/icon/num.png";
+import Record from "./../../../assets/icon/record.png";
import "./index.css";
interface titleProps {
title: string;
diff --git a/src/page/LinePage3-2/TopP.tsx b/src/page/LinePage3-2/TopP.tsx
index e7c7a64..0961467 100644
--- a/src/page/LinePage3-2/TopP.tsx
+++ b/src/page/LinePage3-2/TopP.tsx
@@ -1,5 +1,5 @@
import '../../lanhuapp/common.css';
-import "./index.css";
+import "./../style/linePage.css";
function TopP() {
return (
diff --git a/src/page/LinePage3-2/assets/icon/alarm.png b/src/page/LinePage3-2/assets/icon/alarm.png
deleted file mode 100644
index eb335f3..0000000
Binary files a/src/page/LinePage3-2/assets/icon/alarm.png and /dev/null differ
diff --git a/src/page/LinePage3-2/assets/icon/defect.png b/src/page/LinePage3-2/assets/icon/defect.png
deleted file mode 100644
index 76ed17c..0000000
Binary files a/src/page/LinePage3-2/assets/icon/defect.png and /dev/null differ
diff --git a/src/page/LinePage3-2/assets/icon/finished.png b/src/page/LinePage3-2/assets/icon/finished.png
deleted file mode 100644
index 99b411b..0000000
Binary files a/src/page/LinePage3-2/assets/icon/finished.png and /dev/null differ
diff --git a/src/page/LinePage3-2/assets/icon/g.png b/src/page/LinePage3-2/assets/icon/g.png
deleted file mode 100644
index bf1b107..0000000
Binary files a/src/page/LinePage3-2/assets/icon/g.png and /dev/null differ
diff --git a/src/page/LinePage3-2/assets/icon/inputAndOutput.png b/src/page/LinePage3-2/assets/icon/inputAndOutput.png
deleted file mode 100644
index 113ed13..0000000
Binary files a/src/page/LinePage3-2/assets/icon/inputAndOutput.png and /dev/null differ
diff --git a/src/page/LinePage3-2/assets/icon/num.png b/src/page/LinePage3-2/assets/icon/num.png
deleted file mode 100644
index e77c409..0000000
Binary files a/src/page/LinePage3-2/assets/icon/num.png and /dev/null differ
diff --git a/src/page/LinePage3-2/assets/icon/r.png b/src/page/LinePage3-2/assets/icon/r.png
deleted file mode 100644
index d11591e..0000000
Binary files a/src/page/LinePage3-2/assets/icon/r.png and /dev/null differ
diff --git a/src/page/LinePage3-2/assets/icon/record.png b/src/page/LinePage3-2/assets/icon/record.png
deleted file mode 100644
index 4622f01..0000000
Binary files a/src/page/LinePage3-2/assets/icon/record.png and /dev/null differ
diff --git a/src/page/LinePage3-2/assets/icon/y.png b/src/page/LinePage3-2/assets/icon/y.png
deleted file mode 100644
index 72c796a..0000000
Binary files a/src/page/LinePage3-2/assets/icon/y.png and /dev/null differ
diff --git a/src/page/LinePage3-2/index.css b/src/page/LinePage3-2/index.css
deleted file mode 100644
index 1a28491..0000000
--- a/src/page/LinePage3-2/index.css
+++ /dev/null
@@ -1,264 +0,0 @@
-/* 顶部 */
-.block_top {
- width: 1920px;
- height: 94px;
- background: url(/public/svg/topback.svg) 100% no-repeat;
- background-size: 100% 100%;
- opacity: 1;
- display: flex;
- justify-content: center;
-}
-
-.block_top_title {
- width: 651px;
- height: 77px;
- background: url(/public/png/topTiltle.png) 100% no-repeat;
- background-size: 100% 100%;
- margin-top: 18px;
-}
-/* 中部 */
-.block_bottom {
- width: 1920px;
- height: 966px;
- padding-top: 20px;
-}
-
-.group_left {
- width: 402px;
- height: 966px;
- margin: 0 0 0 24px;
-}
-
-.group_center {
- width: 1041px;
- height: 966px;
- margin: 0 0 0 15px;
-}
-
-.group_right {
- width: 401px;
- height: 966px;
- margin-left: 15px;
-}
-
-.left_up {
- width: 402px;
- height: 332px;
- background: url(../../../public/png/rect/lp_left_up.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- position: relative;
-}
-.left_down {
- width: 402px;
- height: 599px;
- background: url(../../../public/png/rect/lp_left_down.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- margin-top: 14px;
- position: relative;
-}
-.center_up {
- width: 1041px;
- height: 562px;
- background: url(../../../public/png/rect/lp_center_up.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- position: relative;
-}
-.center_down {
- width: 1041px;
- height: 368px;
- margin-top: 17px;
-}
-.center_down_inner {
- width: 513px;
- height: 366px;
- background: url(../../../public/png/rect/lp_center_down.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- position: relative;
-}
-.center_down .left-box {
- margin-right: 15px;
- position: relative;
-}
-.center_down .left-box .alarm_num_title {
- position: absolute;
- left: 220px;
- top: 22px;
- font-size: 13px;
- letter-spacing: 3px;
- color: #fff;
-}
-.center_down .left-box .alarm_num {
- color: #52fff1;
- font-size: 40px;
- text-align: center;
- font-family: PingFangSC, PingFang SC;
-}
-.center_down .right_box .chart_box {
- width: 100%;
- height: 310px;
- margin-top: 10px;
-}
-.right_up {
- width: 401px;
- height: 257px;
- background: url(../../../public/png/rect/lp_right_up.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
-}
-.right_down {
- width: 401px;
- height: 673px;
- background: url(../../../public/png/rect/lp_right_down.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- margin-top: 14px;
- position: relative;
-}
-.left_up_switch {
- position: absolute;
- right: 10px;
- top: 12px;
-}
-.left_up_chart {
- height: 275px;
- margin-top: 10px;
-}
-/* 左侧 */
-.left_down_title {
- height: 18px;
- justify-content: center;
- margin-bottom: 4px;
-}
-.left_down_box1 {
- width: 56px;
- height: 13px;
- background: url(/public/png/leftbar.png) 100% no-repeat;
- background-size: 100% 100%;
- margin-top: 2px;
-}
-.left_down_box2 {
- width: 56px;
- height: 13px;
- background: url(/public/png/rightbar.png) 100% no-repeat;
- background-size: 100% 100%;
- margin: 2px 0 0 0px;
-}
-.left_down_text {
- /*width: 40px;*/
- height: 18px;
- overflow-wrap: break-word;
- color: rgba(1, 207, 204, 1);
- font-size: 18px;
- letter-spacing: 5px;
- font-family: PingFangSC-Regular;
- white-space: nowrap;
- line-height: 18px;
- margin-left: 18px;
- margin-right: 16px;
- text-align: center;
-}
-.left_down_content {
- height: 160px;
- /* padding-bottom: 5px; */
-}
-.right_down_content {
- height: 185px;
- /* padding-bottom: 5px; */
-}
-/* 滚动表格部分 */
-.dv-scroll-board .header .header-item,
-.dv-scroll-board .rows .ceil {
- border-right: 1px solid #0d1728;
-}
-.dv-scroll-board .header .header-item:last-child,
-.dv-scroll-board .rows .ceil:last-child {
- border-right: none;
- border: none;
-}
-/* chart图部分 */
-.luoyang-chart-tooltip {
- background: #0a2b4f77 !important;
- border: none !important;
- backdrop-filter: blur(12px);
-}
-
-.luoyang-chart-tooltip * {
- color: #fff !important;
-}
-/* 三维页面部分 */
-.center_up .model_name {
- position: absolute;
- left: 0px;
- top: 0px;
- z-index: 1000;
-}
-.center_up .model_info {
- position: absolute;
- left: 100px;
- bottom: 0px;
- z-index: 1000;
- width: 841px;
- height: 62px;
- background: url(/public/png/lp/line_part.png) 100% no-repeat;
- background-size: 100% 100%;
-}
-.center_up .model_info .reset_btn {
- position: absolute;
- top: 20px;
- left: 40px;
- width: 140px;
- height: 40px;
- cursor: pointer;
-}
-.center_up .model_info .title {
- display: inline-block;
- width: 361px;
- text-align: center;
- font-size: 32px;
- color: #fff;
- letter-spacing: 5px;
- position: absolute;
- left: 241px;
- bottom: 10px;
-}
-.center_up .eq_detail_info {
- position: absolute;
- right: 0px;
- bottom: 0px;
- z-index: 1002;
- width: 240px;
- height: 110px;
- background: url(/public/png/lp/eq_msg_detail.png) 100% no-repeat;
- background-size: 100% 100%;
- color: #fff;
- padding: 15px 0 0 15px;
-}
-.center_up .eq_detail_info .left_name {
- display: inline-block;
- width: 95px;
- height: 28px;
- text-align: right;
- font-size: 18px;
-}
-.center_up .eq_detail_info .right_value {
- display: inline-block;
- height: 28px;
- font-size: 18px;
-}
-.center_up .eq_info {
- position: absolute;
- z-index: 1002;
- background: url(/public/png/lp/eq_msg_always.png) 100% no-repeat;
- background-size: 100% 100%;
- color: #fff;
- padding: 10px 15px;
-}
-.center_up .eq_info .eq_info_inner {
- height: 24px;
- font-size: 17px;
- white-space: nowrap;
-}
diff --git a/src/page/LinePage4-1/Component/TitleBox/index.tsx b/src/page/LinePage4-1/Component/TitleBox/index.tsx
index dd43a66..6579889 100644
--- a/src/page/LinePage4-1/Component/TitleBox/index.tsx
+++ b/src/page/LinePage4-1/Component/TitleBox/index.tsx
@@ -1,9 +1,9 @@
-import Defect from "./../../assets/icon/defect.png";
-import Alarm from "./../../assets/icon/alarm.png";
-import Finished from "./../../assets/icon/finished.png";
-import InputAndOutput from "./../../assets/icon/inputAndOutput.png";
-import Num from "./../../assets/icon/num.png";
-import Record from "./../../assets/icon/record.png";
+import Defect from "./../../../assets/icon/defect.png";
+import Alarm from "./../../../assets/icon/alarm.png";
+import Finished from "./../../../assets/icon/finished.png";
+import InputAndOutput from "./../../../assets/icon/inputAndOutput.png";
+import Num from "./../../../assets/icon/num.png";
+import Record from "./../../../assets/icon/record.png";
import "./index.css";
interface titleProps {
title: string;
diff --git a/src/page/LinePage4-1/TopP.tsx b/src/page/LinePage4-1/TopP.tsx
index e7c7a64..0961467 100644
--- a/src/page/LinePage4-1/TopP.tsx
+++ b/src/page/LinePage4-1/TopP.tsx
@@ -1,5 +1,5 @@
import '../../lanhuapp/common.css';
-import "./index.css";
+import "./../style/linePage.css";
function TopP() {
return (
diff --git a/src/page/LinePage4-1/assets/icon/alarm.png b/src/page/LinePage4-1/assets/icon/alarm.png
deleted file mode 100644
index eb335f3..0000000
Binary files a/src/page/LinePage4-1/assets/icon/alarm.png and /dev/null differ
diff --git a/src/page/LinePage4-1/assets/icon/defect.png b/src/page/LinePage4-1/assets/icon/defect.png
deleted file mode 100644
index 76ed17c..0000000
Binary files a/src/page/LinePage4-1/assets/icon/defect.png and /dev/null differ
diff --git a/src/page/LinePage4-1/assets/icon/finished.png b/src/page/LinePage4-1/assets/icon/finished.png
deleted file mode 100644
index 99b411b..0000000
Binary files a/src/page/LinePage4-1/assets/icon/finished.png and /dev/null differ
diff --git a/src/page/LinePage4-1/assets/icon/g.png b/src/page/LinePage4-1/assets/icon/g.png
deleted file mode 100644
index bf1b107..0000000
Binary files a/src/page/LinePage4-1/assets/icon/g.png and /dev/null differ
diff --git a/src/page/LinePage4-1/assets/icon/inputAndOutput.png b/src/page/LinePage4-1/assets/icon/inputAndOutput.png
deleted file mode 100644
index 113ed13..0000000
Binary files a/src/page/LinePage4-1/assets/icon/inputAndOutput.png and /dev/null differ
diff --git a/src/page/LinePage4-1/assets/icon/num.png b/src/page/LinePage4-1/assets/icon/num.png
deleted file mode 100644
index e77c409..0000000
Binary files a/src/page/LinePage4-1/assets/icon/num.png and /dev/null differ
diff --git a/src/page/LinePage4-1/assets/icon/r.png b/src/page/LinePage4-1/assets/icon/r.png
deleted file mode 100644
index d11591e..0000000
Binary files a/src/page/LinePage4-1/assets/icon/r.png and /dev/null differ
diff --git a/src/page/LinePage4-1/assets/icon/record.png b/src/page/LinePage4-1/assets/icon/record.png
deleted file mode 100644
index 4622f01..0000000
Binary files a/src/page/LinePage4-1/assets/icon/record.png and /dev/null differ
diff --git a/src/page/LinePage4-1/assets/icon/y.png b/src/page/LinePage4-1/assets/icon/y.png
deleted file mode 100644
index 72c796a..0000000
Binary files a/src/page/LinePage4-1/assets/icon/y.png and /dev/null differ
diff --git a/src/page/LinePage4-1/index.css b/src/page/LinePage4-1/index.css
deleted file mode 100644
index 1a28491..0000000
--- a/src/page/LinePage4-1/index.css
+++ /dev/null
@@ -1,264 +0,0 @@
-/* 顶部 */
-.block_top {
- width: 1920px;
- height: 94px;
- background: url(/public/svg/topback.svg) 100% no-repeat;
- background-size: 100% 100%;
- opacity: 1;
- display: flex;
- justify-content: center;
-}
-
-.block_top_title {
- width: 651px;
- height: 77px;
- background: url(/public/png/topTiltle.png) 100% no-repeat;
- background-size: 100% 100%;
- margin-top: 18px;
-}
-/* 中部 */
-.block_bottom {
- width: 1920px;
- height: 966px;
- padding-top: 20px;
-}
-
-.group_left {
- width: 402px;
- height: 966px;
- margin: 0 0 0 24px;
-}
-
-.group_center {
- width: 1041px;
- height: 966px;
- margin: 0 0 0 15px;
-}
-
-.group_right {
- width: 401px;
- height: 966px;
- margin-left: 15px;
-}
-
-.left_up {
- width: 402px;
- height: 332px;
- background: url(../../../public/png/rect/lp_left_up.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- position: relative;
-}
-.left_down {
- width: 402px;
- height: 599px;
- background: url(../../../public/png/rect/lp_left_down.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- margin-top: 14px;
- position: relative;
-}
-.center_up {
- width: 1041px;
- height: 562px;
- background: url(../../../public/png/rect/lp_center_up.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- position: relative;
-}
-.center_down {
- width: 1041px;
- height: 368px;
- margin-top: 17px;
-}
-.center_down_inner {
- width: 513px;
- height: 366px;
- background: url(../../../public/png/rect/lp_center_down.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- position: relative;
-}
-.center_down .left-box {
- margin-right: 15px;
- position: relative;
-}
-.center_down .left-box .alarm_num_title {
- position: absolute;
- left: 220px;
- top: 22px;
- font-size: 13px;
- letter-spacing: 3px;
- color: #fff;
-}
-.center_down .left-box .alarm_num {
- color: #52fff1;
- font-size: 40px;
- text-align: center;
- font-family: PingFangSC, PingFang SC;
-}
-.center_down .right_box .chart_box {
- width: 100%;
- height: 310px;
- margin-top: 10px;
-}
-.right_up {
- width: 401px;
- height: 257px;
- background: url(../../../public/png/rect/lp_right_up.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
-}
-.right_down {
- width: 401px;
- height: 673px;
- background: url(../../../public/png/rect/lp_right_down.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- margin-top: 14px;
- position: relative;
-}
-.left_up_switch {
- position: absolute;
- right: 10px;
- top: 12px;
-}
-.left_up_chart {
- height: 275px;
- margin-top: 10px;
-}
-/* 左侧 */
-.left_down_title {
- height: 18px;
- justify-content: center;
- margin-bottom: 4px;
-}
-.left_down_box1 {
- width: 56px;
- height: 13px;
- background: url(/public/png/leftbar.png) 100% no-repeat;
- background-size: 100% 100%;
- margin-top: 2px;
-}
-.left_down_box2 {
- width: 56px;
- height: 13px;
- background: url(/public/png/rightbar.png) 100% no-repeat;
- background-size: 100% 100%;
- margin: 2px 0 0 0px;
-}
-.left_down_text {
- /*width: 40px;*/
- height: 18px;
- overflow-wrap: break-word;
- color: rgba(1, 207, 204, 1);
- font-size: 18px;
- letter-spacing: 5px;
- font-family: PingFangSC-Regular;
- white-space: nowrap;
- line-height: 18px;
- margin-left: 18px;
- margin-right: 16px;
- text-align: center;
-}
-.left_down_content {
- height: 160px;
- /* padding-bottom: 5px; */
-}
-.right_down_content {
- height: 185px;
- /* padding-bottom: 5px; */
-}
-/* 滚动表格部分 */
-.dv-scroll-board .header .header-item,
-.dv-scroll-board .rows .ceil {
- border-right: 1px solid #0d1728;
-}
-.dv-scroll-board .header .header-item:last-child,
-.dv-scroll-board .rows .ceil:last-child {
- border-right: none;
- border: none;
-}
-/* chart图部分 */
-.luoyang-chart-tooltip {
- background: #0a2b4f77 !important;
- border: none !important;
- backdrop-filter: blur(12px);
-}
-
-.luoyang-chart-tooltip * {
- color: #fff !important;
-}
-/* 三维页面部分 */
-.center_up .model_name {
- position: absolute;
- left: 0px;
- top: 0px;
- z-index: 1000;
-}
-.center_up .model_info {
- position: absolute;
- left: 100px;
- bottom: 0px;
- z-index: 1000;
- width: 841px;
- height: 62px;
- background: url(/public/png/lp/line_part.png) 100% no-repeat;
- background-size: 100% 100%;
-}
-.center_up .model_info .reset_btn {
- position: absolute;
- top: 20px;
- left: 40px;
- width: 140px;
- height: 40px;
- cursor: pointer;
-}
-.center_up .model_info .title {
- display: inline-block;
- width: 361px;
- text-align: center;
- font-size: 32px;
- color: #fff;
- letter-spacing: 5px;
- position: absolute;
- left: 241px;
- bottom: 10px;
-}
-.center_up .eq_detail_info {
- position: absolute;
- right: 0px;
- bottom: 0px;
- z-index: 1002;
- width: 240px;
- height: 110px;
- background: url(/public/png/lp/eq_msg_detail.png) 100% no-repeat;
- background-size: 100% 100%;
- color: #fff;
- padding: 15px 0 0 15px;
-}
-.center_up .eq_detail_info .left_name {
- display: inline-block;
- width: 95px;
- height: 28px;
- text-align: right;
- font-size: 18px;
-}
-.center_up .eq_detail_info .right_value {
- display: inline-block;
- height: 28px;
- font-size: 18px;
-}
-.center_up .eq_info {
- position: absolute;
- z-index: 1002;
- background: url(/public/png/lp/eq_msg_always.png) 100% no-repeat;
- background-size: 100% 100%;
- color: #fff;
- padding: 10px 15px;
-}
-.center_up .eq_info .eq_info_inner {
- height: 24px;
- font-size: 17px;
- white-space: nowrap;
-}
diff --git a/src/page/LinePage4-2/Component/TitleBox/index.tsx b/src/page/LinePage4-2/Component/TitleBox/index.tsx
index dd43a66..6579889 100644
--- a/src/page/LinePage4-2/Component/TitleBox/index.tsx
+++ b/src/page/LinePage4-2/Component/TitleBox/index.tsx
@@ -1,9 +1,9 @@
-import Defect from "./../../assets/icon/defect.png";
-import Alarm from "./../../assets/icon/alarm.png";
-import Finished from "./../../assets/icon/finished.png";
-import InputAndOutput from "./../../assets/icon/inputAndOutput.png";
-import Num from "./../../assets/icon/num.png";
-import Record from "./../../assets/icon/record.png";
+import Defect from "./../../../assets/icon/defect.png";
+import Alarm from "./../../../assets/icon/alarm.png";
+import Finished from "./../../../assets/icon/finished.png";
+import InputAndOutput from "./../../../assets/icon/inputAndOutput.png";
+import Num from "./../../../assets/icon/num.png";
+import Record from "./../../../assets/icon/record.png";
import "./index.css";
interface titleProps {
title: string;
diff --git a/src/page/LinePage4-2/TopP.tsx b/src/page/LinePage4-2/TopP.tsx
index e7c7a64..0961467 100644
--- a/src/page/LinePage4-2/TopP.tsx
+++ b/src/page/LinePage4-2/TopP.tsx
@@ -1,5 +1,5 @@
import '../../lanhuapp/common.css';
-import "./index.css";
+import "./../style/linePage.css";
function TopP() {
return (
diff --git a/src/page/LinePage4-2/assets/icon/alarm.png b/src/page/LinePage4-2/assets/icon/alarm.png
deleted file mode 100644
index eb335f3..0000000
Binary files a/src/page/LinePage4-2/assets/icon/alarm.png and /dev/null differ
diff --git a/src/page/LinePage4-2/assets/icon/defect.png b/src/page/LinePage4-2/assets/icon/defect.png
deleted file mode 100644
index 76ed17c..0000000
Binary files a/src/page/LinePage4-2/assets/icon/defect.png and /dev/null differ
diff --git a/src/page/LinePage4-2/assets/icon/finished.png b/src/page/LinePage4-2/assets/icon/finished.png
deleted file mode 100644
index 99b411b..0000000
Binary files a/src/page/LinePage4-2/assets/icon/finished.png and /dev/null differ
diff --git a/src/page/LinePage4-2/assets/icon/g.png b/src/page/LinePage4-2/assets/icon/g.png
deleted file mode 100644
index bf1b107..0000000
Binary files a/src/page/LinePage4-2/assets/icon/g.png and /dev/null differ
diff --git a/src/page/LinePage4-2/assets/icon/inputAndOutput.png b/src/page/LinePage4-2/assets/icon/inputAndOutput.png
deleted file mode 100644
index 113ed13..0000000
Binary files a/src/page/LinePage4-2/assets/icon/inputAndOutput.png and /dev/null differ
diff --git a/src/page/LinePage4-2/assets/icon/num.png b/src/page/LinePage4-2/assets/icon/num.png
deleted file mode 100644
index e77c409..0000000
Binary files a/src/page/LinePage4-2/assets/icon/num.png and /dev/null differ
diff --git a/src/page/LinePage4-2/assets/icon/r.png b/src/page/LinePage4-2/assets/icon/r.png
deleted file mode 100644
index d11591e..0000000
Binary files a/src/page/LinePage4-2/assets/icon/r.png and /dev/null differ
diff --git a/src/page/LinePage4-2/assets/icon/record.png b/src/page/LinePage4-2/assets/icon/record.png
deleted file mode 100644
index 4622f01..0000000
Binary files a/src/page/LinePage4-2/assets/icon/record.png and /dev/null differ
diff --git a/src/page/LinePage4-2/assets/icon/y.png b/src/page/LinePage4-2/assets/icon/y.png
deleted file mode 100644
index 72c796a..0000000
Binary files a/src/page/LinePage4-2/assets/icon/y.png and /dev/null differ
diff --git a/src/page/LinePage4-2/index.css b/src/page/LinePage4-2/index.css
deleted file mode 100644
index 1a28491..0000000
--- a/src/page/LinePage4-2/index.css
+++ /dev/null
@@ -1,264 +0,0 @@
-/* 顶部 */
-.block_top {
- width: 1920px;
- height: 94px;
- background: url(/public/svg/topback.svg) 100% no-repeat;
- background-size: 100% 100%;
- opacity: 1;
- display: flex;
- justify-content: center;
-}
-
-.block_top_title {
- width: 651px;
- height: 77px;
- background: url(/public/png/topTiltle.png) 100% no-repeat;
- background-size: 100% 100%;
- margin-top: 18px;
-}
-/* 中部 */
-.block_bottom {
- width: 1920px;
- height: 966px;
- padding-top: 20px;
-}
-
-.group_left {
- width: 402px;
- height: 966px;
- margin: 0 0 0 24px;
-}
-
-.group_center {
- width: 1041px;
- height: 966px;
- margin: 0 0 0 15px;
-}
-
-.group_right {
- width: 401px;
- height: 966px;
- margin-left: 15px;
-}
-
-.left_up {
- width: 402px;
- height: 332px;
- background: url(../../../public/png/rect/lp_left_up.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- position: relative;
-}
-.left_down {
- width: 402px;
- height: 599px;
- background: url(../../../public/png/rect/lp_left_down.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- margin-top: 14px;
- position: relative;
-}
-.center_up {
- width: 1041px;
- height: 562px;
- background: url(../../../public/png/rect/lp_center_up.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- position: relative;
-}
-.center_down {
- width: 1041px;
- height: 368px;
- margin-top: 17px;
-}
-.center_down_inner {
- width: 513px;
- height: 366px;
- background: url(../../../public/png/rect/lp_center_down.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- position: relative;
-}
-.center_down .left-box {
- margin-right: 15px;
- position: relative;
-}
-.center_down .left-box .alarm_num_title {
- position: absolute;
- left: 220px;
- top: 22px;
- font-size: 13px;
- letter-spacing: 3px;
- color: #fff;
-}
-.center_down .left-box .alarm_num {
- color: #52fff1;
- font-size: 40px;
- text-align: center;
- font-family: PingFangSC, PingFang SC;
-}
-.center_down .right_box .chart_box {
- width: 100%;
- height: 310px;
- margin-top: 10px;
-}
-.right_up {
- width: 401px;
- height: 257px;
- background: url(../../../public/png/rect/lp_right_up.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
-}
-.right_down {
- width: 401px;
- height: 673px;
- background: url(../../../public/png/rect/lp_right_down.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- margin-top: 14px;
- position: relative;
-}
-.left_up_switch {
- position: absolute;
- right: 10px;
- top: 12px;
-}
-.left_up_chart {
- height: 275px;
- margin-top: 10px;
-}
-/* 左侧 */
-.left_down_title {
- height: 18px;
- justify-content: center;
- margin-bottom: 4px;
-}
-.left_down_box1 {
- width: 56px;
- height: 13px;
- background: url(/public/png/leftbar.png) 100% no-repeat;
- background-size: 100% 100%;
- margin-top: 2px;
-}
-.left_down_box2 {
- width: 56px;
- height: 13px;
- background: url(/public/png/rightbar.png) 100% no-repeat;
- background-size: 100% 100%;
- margin: 2px 0 0 0px;
-}
-.left_down_text {
- /*width: 40px;*/
- height: 18px;
- overflow-wrap: break-word;
- color: rgba(1, 207, 204, 1);
- font-size: 18px;
- letter-spacing: 5px;
- font-family: PingFangSC-Regular;
- white-space: nowrap;
- line-height: 18px;
- margin-left: 18px;
- margin-right: 16px;
- text-align: center;
-}
-.left_down_content {
- height: 160px;
- /* padding-bottom: 5px; */
-}
-.right_down_content {
- height: 185px;
- /* padding-bottom: 5px; */
-}
-/* 滚动表格部分 */
-.dv-scroll-board .header .header-item,
-.dv-scroll-board .rows .ceil {
- border-right: 1px solid #0d1728;
-}
-.dv-scroll-board .header .header-item:last-child,
-.dv-scroll-board .rows .ceil:last-child {
- border-right: none;
- border: none;
-}
-/* chart图部分 */
-.luoyang-chart-tooltip {
- background: #0a2b4f77 !important;
- border: none !important;
- backdrop-filter: blur(12px);
-}
-
-.luoyang-chart-tooltip * {
- color: #fff !important;
-}
-/* 三维页面部分 */
-.center_up .model_name {
- position: absolute;
- left: 0px;
- top: 0px;
- z-index: 1000;
-}
-.center_up .model_info {
- position: absolute;
- left: 100px;
- bottom: 0px;
- z-index: 1000;
- width: 841px;
- height: 62px;
- background: url(/public/png/lp/line_part.png) 100% no-repeat;
- background-size: 100% 100%;
-}
-.center_up .model_info .reset_btn {
- position: absolute;
- top: 20px;
- left: 40px;
- width: 140px;
- height: 40px;
- cursor: pointer;
-}
-.center_up .model_info .title {
- display: inline-block;
- width: 361px;
- text-align: center;
- font-size: 32px;
- color: #fff;
- letter-spacing: 5px;
- position: absolute;
- left: 241px;
- bottom: 10px;
-}
-.center_up .eq_detail_info {
- position: absolute;
- right: 0px;
- bottom: 0px;
- z-index: 1002;
- width: 240px;
- height: 110px;
- background: url(/public/png/lp/eq_msg_detail.png) 100% no-repeat;
- background-size: 100% 100%;
- color: #fff;
- padding: 15px 0 0 15px;
-}
-.center_up .eq_detail_info .left_name {
- display: inline-block;
- width: 95px;
- height: 28px;
- text-align: right;
- font-size: 18px;
-}
-.center_up .eq_detail_info .right_value {
- display: inline-block;
- height: 28px;
- font-size: 18px;
-}
-.center_up .eq_info {
- position: absolute;
- z-index: 1002;
- background: url(/public/png/lp/eq_msg_always.png) 100% no-repeat;
- background-size: 100% 100%;
- color: #fff;
- padding: 10px 15px;
-}
-.center_up .eq_info .eq_info_inner {
- height: 24px;
- font-size: 17px;
- white-space: nowrap;
-}
diff --git a/src/page/LinePage5-1/Component/TitleBox/index.tsx b/src/page/LinePage5-1/Component/TitleBox/index.tsx
index dd43a66..6579889 100644
--- a/src/page/LinePage5-1/Component/TitleBox/index.tsx
+++ b/src/page/LinePage5-1/Component/TitleBox/index.tsx
@@ -1,9 +1,9 @@
-import Defect from "./../../assets/icon/defect.png";
-import Alarm from "./../../assets/icon/alarm.png";
-import Finished from "./../../assets/icon/finished.png";
-import InputAndOutput from "./../../assets/icon/inputAndOutput.png";
-import Num from "./../../assets/icon/num.png";
-import Record from "./../../assets/icon/record.png";
+import Defect from "./../../../assets/icon/defect.png";
+import Alarm from "./../../../assets/icon/alarm.png";
+import Finished from "./../../../assets/icon/finished.png";
+import InputAndOutput from "./../../../assets/icon/inputAndOutput.png";
+import Num from "./../../../assets/icon/num.png";
+import Record from "./../../../assets/icon/record.png";
import "./index.css";
interface titleProps {
title: string;
diff --git a/src/page/LinePage5-1/TopP.tsx b/src/page/LinePage5-1/TopP.tsx
index e7c7a64..0961467 100644
--- a/src/page/LinePage5-1/TopP.tsx
+++ b/src/page/LinePage5-1/TopP.tsx
@@ -1,5 +1,5 @@
import '../../lanhuapp/common.css';
-import "./index.css";
+import "./../style/linePage.css";
function TopP() {
return (
diff --git a/src/page/LinePage5-1/assets/icon/alarm.png b/src/page/LinePage5-1/assets/icon/alarm.png
deleted file mode 100644
index eb335f3..0000000
Binary files a/src/page/LinePage5-1/assets/icon/alarm.png and /dev/null differ
diff --git a/src/page/LinePage5-1/assets/icon/defect.png b/src/page/LinePage5-1/assets/icon/defect.png
deleted file mode 100644
index 76ed17c..0000000
Binary files a/src/page/LinePage5-1/assets/icon/defect.png and /dev/null differ
diff --git a/src/page/LinePage5-1/assets/icon/finished.png b/src/page/LinePage5-1/assets/icon/finished.png
deleted file mode 100644
index 99b411b..0000000
Binary files a/src/page/LinePage5-1/assets/icon/finished.png and /dev/null differ
diff --git a/src/page/LinePage5-1/assets/icon/g.png b/src/page/LinePage5-1/assets/icon/g.png
deleted file mode 100644
index bf1b107..0000000
Binary files a/src/page/LinePage5-1/assets/icon/g.png and /dev/null differ
diff --git a/src/page/LinePage5-1/assets/icon/inputAndOutput.png b/src/page/LinePage5-1/assets/icon/inputAndOutput.png
deleted file mode 100644
index 113ed13..0000000
Binary files a/src/page/LinePage5-1/assets/icon/inputAndOutput.png and /dev/null differ
diff --git a/src/page/LinePage5-1/assets/icon/num.png b/src/page/LinePage5-1/assets/icon/num.png
deleted file mode 100644
index e77c409..0000000
Binary files a/src/page/LinePage5-1/assets/icon/num.png and /dev/null differ
diff --git a/src/page/LinePage5-1/assets/icon/r.png b/src/page/LinePage5-1/assets/icon/r.png
deleted file mode 100644
index d11591e..0000000
Binary files a/src/page/LinePage5-1/assets/icon/r.png and /dev/null differ
diff --git a/src/page/LinePage5-1/assets/icon/record.png b/src/page/LinePage5-1/assets/icon/record.png
deleted file mode 100644
index 4622f01..0000000
Binary files a/src/page/LinePage5-1/assets/icon/record.png and /dev/null differ
diff --git a/src/page/LinePage5-1/assets/icon/y.png b/src/page/LinePage5-1/assets/icon/y.png
deleted file mode 100644
index 72c796a..0000000
Binary files a/src/page/LinePage5-1/assets/icon/y.png and /dev/null differ
diff --git a/src/page/LinePage5-1/index.css b/src/page/LinePage5-1/index.css
deleted file mode 100644
index 1a28491..0000000
--- a/src/page/LinePage5-1/index.css
+++ /dev/null
@@ -1,264 +0,0 @@
-/* 顶部 */
-.block_top {
- width: 1920px;
- height: 94px;
- background: url(/public/svg/topback.svg) 100% no-repeat;
- background-size: 100% 100%;
- opacity: 1;
- display: flex;
- justify-content: center;
-}
-
-.block_top_title {
- width: 651px;
- height: 77px;
- background: url(/public/png/topTiltle.png) 100% no-repeat;
- background-size: 100% 100%;
- margin-top: 18px;
-}
-/* 中部 */
-.block_bottom {
- width: 1920px;
- height: 966px;
- padding-top: 20px;
-}
-
-.group_left {
- width: 402px;
- height: 966px;
- margin: 0 0 0 24px;
-}
-
-.group_center {
- width: 1041px;
- height: 966px;
- margin: 0 0 0 15px;
-}
-
-.group_right {
- width: 401px;
- height: 966px;
- margin-left: 15px;
-}
-
-.left_up {
- width: 402px;
- height: 332px;
- background: url(../../../public/png/rect/lp_left_up.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- position: relative;
-}
-.left_down {
- width: 402px;
- height: 599px;
- background: url(../../../public/png/rect/lp_left_down.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- margin-top: 14px;
- position: relative;
-}
-.center_up {
- width: 1041px;
- height: 562px;
- background: url(../../../public/png/rect/lp_center_up.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- position: relative;
-}
-.center_down {
- width: 1041px;
- height: 368px;
- margin-top: 17px;
-}
-.center_down_inner {
- width: 513px;
- height: 366px;
- background: url(../../../public/png/rect/lp_center_down.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- position: relative;
-}
-.center_down .left-box {
- margin-right: 15px;
- position: relative;
-}
-.center_down .left-box .alarm_num_title {
- position: absolute;
- left: 220px;
- top: 22px;
- font-size: 13px;
- letter-spacing: 3px;
- color: #fff;
-}
-.center_down .left-box .alarm_num {
- color: #52fff1;
- font-size: 40px;
- text-align: center;
- font-family: PingFangSC, PingFang SC;
-}
-.center_down .right_box .chart_box {
- width: 100%;
- height: 310px;
- margin-top: 10px;
-}
-.right_up {
- width: 401px;
- height: 257px;
- background: url(../../../public/png/rect/lp_right_up.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
-}
-.right_down {
- width: 401px;
- height: 673px;
- background: url(../../../public/png/rect/lp_right_down.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- margin-top: 14px;
- position: relative;
-}
-.left_up_switch {
- position: absolute;
- right: 10px;
- top: 12px;
-}
-.left_up_chart {
- height: 275px;
- margin-top: 10px;
-}
-/* 左侧 */
-.left_down_title {
- height: 18px;
- justify-content: center;
- margin-bottom: 4px;
-}
-.left_down_box1 {
- width: 56px;
- height: 13px;
- background: url(/public/png/leftbar.png) 100% no-repeat;
- background-size: 100% 100%;
- margin-top: 2px;
-}
-.left_down_box2 {
- width: 56px;
- height: 13px;
- background: url(/public/png/rightbar.png) 100% no-repeat;
- background-size: 100% 100%;
- margin: 2px 0 0 0px;
-}
-.left_down_text {
- /*width: 40px;*/
- height: 18px;
- overflow-wrap: break-word;
- color: rgba(1, 207, 204, 1);
- font-size: 18px;
- letter-spacing: 5px;
- font-family: PingFangSC-Regular;
- white-space: nowrap;
- line-height: 18px;
- margin-left: 18px;
- margin-right: 16px;
- text-align: center;
-}
-.left_down_content {
- height: 160px;
- /* padding-bottom: 5px; */
-}
-.right_down_content {
- height: 185px;
- /* padding-bottom: 5px; */
-}
-/* 滚动表格部分 */
-.dv-scroll-board .header .header-item,
-.dv-scroll-board .rows .ceil {
- border-right: 1px solid #0d1728;
-}
-.dv-scroll-board .header .header-item:last-child,
-.dv-scroll-board .rows .ceil:last-child {
- border-right: none;
- border: none;
-}
-/* chart图部分 */
-.luoyang-chart-tooltip {
- background: #0a2b4f77 !important;
- border: none !important;
- backdrop-filter: blur(12px);
-}
-
-.luoyang-chart-tooltip * {
- color: #fff !important;
-}
-/* 三维页面部分 */
-.center_up .model_name {
- position: absolute;
- left: 0px;
- top: 0px;
- z-index: 1000;
-}
-.center_up .model_info {
- position: absolute;
- left: 100px;
- bottom: 0px;
- z-index: 1000;
- width: 841px;
- height: 62px;
- background: url(/public/png/lp/line_part.png) 100% no-repeat;
- background-size: 100% 100%;
-}
-.center_up .model_info .reset_btn {
- position: absolute;
- top: 20px;
- left: 40px;
- width: 140px;
- height: 40px;
- cursor: pointer;
-}
-.center_up .model_info .title {
- display: inline-block;
- width: 361px;
- text-align: center;
- font-size: 32px;
- color: #fff;
- letter-spacing: 5px;
- position: absolute;
- left: 241px;
- bottom: 10px;
-}
-.center_up .eq_detail_info {
- position: absolute;
- right: 0px;
- bottom: 0px;
- z-index: 1002;
- width: 240px;
- height: 110px;
- background: url(/public/png/lp/eq_msg_detail.png) 100% no-repeat;
- background-size: 100% 100%;
- color: #fff;
- padding: 15px 0 0 15px;
-}
-.center_up .eq_detail_info .left_name {
- display: inline-block;
- width: 95px;
- height: 28px;
- text-align: right;
- font-size: 18px;
-}
-.center_up .eq_detail_info .right_value {
- display: inline-block;
- height: 28px;
- font-size: 18px;
-}
-.center_up .eq_info {
- position: absolute;
- z-index: 1002;
- background: url(/public/png/lp/eq_msg_always.png) 100% no-repeat;
- background-size: 100% 100%;
- color: #fff;
- padding: 10px 15px;
-}
-.center_up .eq_info .eq_info_inner {
- height: 24px;
- font-size: 17px;
- white-space: nowrap;
-}
diff --git a/src/page/LinePage5-2/Component/TitleBox/index.tsx b/src/page/LinePage5-2/Component/TitleBox/index.tsx
index dd43a66..6579889 100644
--- a/src/page/LinePage5-2/Component/TitleBox/index.tsx
+++ b/src/page/LinePage5-2/Component/TitleBox/index.tsx
@@ -1,9 +1,9 @@
-import Defect from "./../../assets/icon/defect.png";
-import Alarm from "./../../assets/icon/alarm.png";
-import Finished from "./../../assets/icon/finished.png";
-import InputAndOutput from "./../../assets/icon/inputAndOutput.png";
-import Num from "./../../assets/icon/num.png";
-import Record from "./../../assets/icon/record.png";
+import Defect from "./../../../assets/icon/defect.png";
+import Alarm from "./../../../assets/icon/alarm.png";
+import Finished from "./../../../assets/icon/finished.png";
+import InputAndOutput from "./../../../assets/icon/inputAndOutput.png";
+import Num from "./../../../assets/icon/num.png";
+import Record from "./../../../assets/icon/record.png";
import "./index.css";
interface titleProps {
title: string;
diff --git a/src/page/LinePage5-2/TopP.tsx b/src/page/LinePage5-2/TopP.tsx
index e7c7a64..0961467 100644
--- a/src/page/LinePage5-2/TopP.tsx
+++ b/src/page/LinePage5-2/TopP.tsx
@@ -1,5 +1,5 @@
import '../../lanhuapp/common.css';
-import "./index.css";
+import "./../style/linePage.css";
function TopP() {
return (
diff --git a/src/page/LinePage5-2/assets/icon/alarm.png b/src/page/LinePage5-2/assets/icon/alarm.png
deleted file mode 100644
index eb335f3..0000000
Binary files a/src/page/LinePage5-2/assets/icon/alarm.png and /dev/null differ
diff --git a/src/page/LinePage5-2/assets/icon/defect.png b/src/page/LinePage5-2/assets/icon/defect.png
deleted file mode 100644
index 76ed17c..0000000
Binary files a/src/page/LinePage5-2/assets/icon/defect.png and /dev/null differ
diff --git a/src/page/LinePage5-2/assets/icon/finished.png b/src/page/LinePage5-2/assets/icon/finished.png
deleted file mode 100644
index 99b411b..0000000
Binary files a/src/page/LinePage5-2/assets/icon/finished.png and /dev/null differ
diff --git a/src/page/LinePage5-2/assets/icon/g.png b/src/page/LinePage5-2/assets/icon/g.png
deleted file mode 100644
index bf1b107..0000000
Binary files a/src/page/LinePage5-2/assets/icon/g.png and /dev/null differ
diff --git a/src/page/LinePage5-2/assets/icon/inputAndOutput.png b/src/page/LinePage5-2/assets/icon/inputAndOutput.png
deleted file mode 100644
index 113ed13..0000000
Binary files a/src/page/LinePage5-2/assets/icon/inputAndOutput.png and /dev/null differ
diff --git a/src/page/LinePage5-2/assets/icon/num.png b/src/page/LinePage5-2/assets/icon/num.png
deleted file mode 100644
index e77c409..0000000
Binary files a/src/page/LinePage5-2/assets/icon/num.png and /dev/null differ
diff --git a/src/page/LinePage5-2/assets/icon/r.png b/src/page/LinePage5-2/assets/icon/r.png
deleted file mode 100644
index d11591e..0000000
Binary files a/src/page/LinePage5-2/assets/icon/r.png and /dev/null differ
diff --git a/src/page/LinePage5-2/assets/icon/record.png b/src/page/LinePage5-2/assets/icon/record.png
deleted file mode 100644
index 4622f01..0000000
Binary files a/src/page/LinePage5-2/assets/icon/record.png and /dev/null differ
diff --git a/src/page/LinePage5-2/assets/icon/y.png b/src/page/LinePage5-2/assets/icon/y.png
deleted file mode 100644
index 72c796a..0000000
Binary files a/src/page/LinePage5-2/assets/icon/y.png and /dev/null differ
diff --git a/src/page/LinePage5-2/index.css b/src/page/LinePage5-2/index.css
deleted file mode 100644
index 1a28491..0000000
--- a/src/page/LinePage5-2/index.css
+++ /dev/null
@@ -1,264 +0,0 @@
-/* 顶部 */
-.block_top {
- width: 1920px;
- height: 94px;
- background: url(/public/svg/topback.svg) 100% no-repeat;
- background-size: 100% 100%;
- opacity: 1;
- display: flex;
- justify-content: center;
-}
-
-.block_top_title {
- width: 651px;
- height: 77px;
- background: url(/public/png/topTiltle.png) 100% no-repeat;
- background-size: 100% 100%;
- margin-top: 18px;
-}
-/* 中部 */
-.block_bottom {
- width: 1920px;
- height: 966px;
- padding-top: 20px;
-}
-
-.group_left {
- width: 402px;
- height: 966px;
- margin: 0 0 0 24px;
-}
-
-.group_center {
- width: 1041px;
- height: 966px;
- margin: 0 0 0 15px;
-}
-
-.group_right {
- width: 401px;
- height: 966px;
- margin-left: 15px;
-}
-
-.left_up {
- width: 402px;
- height: 332px;
- background: url(../../../public/png/rect/lp_left_up.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- position: relative;
-}
-.left_down {
- width: 402px;
- height: 599px;
- background: url(../../../public/png/rect/lp_left_down.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- margin-top: 14px;
- position: relative;
-}
-.center_up {
- width: 1041px;
- height: 562px;
- background: url(../../../public/png/rect/lp_center_up.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- position: relative;
-}
-.center_down {
- width: 1041px;
- height: 368px;
- margin-top: 17px;
-}
-.center_down_inner {
- width: 513px;
- height: 366px;
- background: url(../../../public/png/rect/lp_center_down.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- position: relative;
-}
-.center_down .left-box {
- margin-right: 15px;
- position: relative;
-}
-.center_down .left-box .alarm_num_title {
- position: absolute;
- left: 220px;
- top: 22px;
- font-size: 13px;
- letter-spacing: 3px;
- color: #fff;
-}
-.center_down .left-box .alarm_num {
- color: #52fff1;
- font-size: 40px;
- text-align: center;
- font-family: PingFangSC, PingFang SC;
-}
-.center_down .right_box .chart_box {
- width: 100%;
- height: 310px;
- margin-top: 10px;
-}
-.right_up {
- width: 401px;
- height: 257px;
- background: url(../../../public/png/rect/lp_right_up.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
-}
-.right_down {
- width: 401px;
- height: 673px;
- background: url(../../../public/png/rect/lp_right_down.png) no-repeat;
- background-size: 100% 100%;
- background-position: 0 0;
- margin-top: 14px;
- position: relative;
-}
-.left_up_switch {
- position: absolute;
- right: 10px;
- top: 12px;
-}
-.left_up_chart {
- height: 275px;
- margin-top: 10px;
-}
-/* 左侧 */
-.left_down_title {
- height: 18px;
- justify-content: center;
- margin-bottom: 4px;
-}
-.left_down_box1 {
- width: 56px;
- height: 13px;
- background: url(/public/png/leftbar.png) 100% no-repeat;
- background-size: 100% 100%;
- margin-top: 2px;
-}
-.left_down_box2 {
- width: 56px;
- height: 13px;
- background: url(/public/png/rightbar.png) 100% no-repeat;
- background-size: 100% 100%;
- margin: 2px 0 0 0px;
-}
-.left_down_text {
- /*width: 40px;*/
- height: 18px;
- overflow-wrap: break-word;
- color: rgba(1, 207, 204, 1);
- font-size: 18px;
- letter-spacing: 5px;
- font-family: PingFangSC-Regular;
- white-space: nowrap;
- line-height: 18px;
- margin-left: 18px;
- margin-right: 16px;
- text-align: center;
-}
-.left_down_content {
- height: 160px;
- /* padding-bottom: 5px; */
-}
-.right_down_content {
- height: 185px;
- /* padding-bottom: 5px; */
-}
-/* 滚动表格部分 */
-.dv-scroll-board .header .header-item,
-.dv-scroll-board .rows .ceil {
- border-right: 1px solid #0d1728;
-}
-.dv-scroll-board .header .header-item:last-child,
-.dv-scroll-board .rows .ceil:last-child {
- border-right: none;
- border: none;
-}
-/* chart图部分 */
-.luoyang-chart-tooltip {
- background: #0a2b4f77 !important;
- border: none !important;
- backdrop-filter: blur(12px);
-}
-
-.luoyang-chart-tooltip * {
- color: #fff !important;
-}
-/* 三维页面部分 */
-.center_up .model_name {
- position: absolute;
- left: 0px;
- top: 0px;
- z-index: 1000;
-}
-.center_up .model_info {
- position: absolute;
- left: 100px;
- bottom: 0px;
- z-index: 1000;
- width: 841px;
- height: 62px;
- background: url(/public/png/lp/line_part.png) 100% no-repeat;
- background-size: 100% 100%;
-}
-.center_up .model_info .reset_btn {
- position: absolute;
- top: 20px;
- left: 40px;
- width: 140px;
- height: 40px;
- cursor: pointer;
-}
-.center_up .model_info .title {
- display: inline-block;
- width: 361px;
- text-align: center;
- font-size: 32px;
- color: #fff;
- letter-spacing: 5px;
- position: absolute;
- left: 241px;
- bottom: 10px;
-}
-.center_up .eq_detail_info {
- position: absolute;
- right: 0px;
- bottom: 0px;
- z-index: 1002;
- width: 240px;
- height: 110px;
- background: url(/public/png/lp/eq_msg_detail.png) 100% no-repeat;
- background-size: 100% 100%;
- color: #fff;
- padding: 15px 0 0 15px;
-}
-.center_up .eq_detail_info .left_name {
- display: inline-block;
- width: 95px;
- height: 28px;
- text-align: right;
- font-size: 18px;
-}
-.center_up .eq_detail_info .right_value {
- display: inline-block;
- height: 28px;
- font-size: 18px;
-}
-.center_up .eq_info {
- position: absolute;
- z-index: 1002;
- background: url(/public/png/lp/eq_msg_always.png) 100% no-repeat;
- background-size: 100% 100%;
- color: #fff;
- padding: 10px 15px;
-}
-.center_up .eq_info .eq_info_inner {
- height: 24px;
- font-size: 17px;
- white-space: nowrap;
-}
diff --git a/src/page/TestPage/index.tsx b/src/page/TestPage/index.tsx
index c615bd4..0f65d18 100644
--- a/src/page/TestPage/index.tsx
+++ b/src/page/TestPage/index.tsx
@@ -1,5 +1,5 @@
import "./index.css"
-import LinePage from "../LinePage";
+
import {useParams,useNavigate} from "react-router-dom";
import {useEffect} from 'react';
function TestPage() {
@@ -30,7 +30,7 @@ useEffect(() => {
<>
TestPage Line{LineID}
3434
-
+ {/*
*/}
>
);
}
diff --git a/src/page/assets/icon/a_g.png b/src/page/assets/icon/a_g.png
new file mode 100644
index 0000000..c6c5cc1
Binary files /dev/null and b/src/page/assets/icon/a_g.png differ
diff --git a/src/page/assets/icon/a_r.png b/src/page/assets/icon/a_r.png
new file mode 100644
index 0000000..9e34aa5
Binary files /dev/null and b/src/page/assets/icon/a_r.png differ
diff --git a/src/page/LinePage/assets/icon/alarm.png b/src/page/assets/icon/alarm.png
similarity index 100%
rename from src/page/LinePage/assets/icon/alarm.png
rename to src/page/assets/icon/alarm.png
diff --git a/src/page/assets/icon/defe.png b/src/page/assets/icon/defe.png
new file mode 100644
index 0000000..b384dd8
Binary files /dev/null and b/src/page/assets/icon/defe.png differ
diff --git a/src/page/LinePage/assets/icon/defect.png b/src/page/assets/icon/defect.png
similarity index 100%
rename from src/page/LinePage/assets/icon/defect.png
rename to src/page/assets/icon/defect.png
diff --git a/src/page/LinePage/assets/icon/finished.png b/src/page/assets/icon/finished.png
similarity index 100%
rename from src/page/LinePage/assets/icon/finished.png
rename to src/page/assets/icon/finished.png
diff --git a/src/page/LinePage/assets/icon/g.png b/src/page/assets/icon/g.png
similarity index 100%
rename from src/page/LinePage/assets/icon/g.png
rename to src/page/assets/icon/g.png
diff --git a/src/page/assets/icon/input.png b/src/page/assets/icon/input.png
new file mode 100644
index 0000000..473ecca
Binary files /dev/null and b/src/page/assets/icon/input.png differ
diff --git a/src/page/LinePage/assets/icon/inputAndOutput.png b/src/page/assets/icon/inputAndOutput.png
similarity index 100%
rename from src/page/LinePage/assets/icon/inputAndOutput.png
rename to src/page/assets/icon/inputAndOutput.png
diff --git a/src/page/LinePage/assets/icon/num.png b/src/page/assets/icon/num.png
similarity index 100%
rename from src/page/LinePage/assets/icon/num.png
rename to src/page/assets/icon/num.png
diff --git a/src/page/assets/icon/numBar.png b/src/page/assets/icon/numBar.png
new file mode 100644
index 0000000..88af564
Binary files /dev/null and b/src/page/assets/icon/numBar.png differ
diff --git a/src/page/assets/icon/prod.png b/src/page/assets/icon/prod.png
new file mode 100644
index 0000000..ab888da
Binary files /dev/null and b/src/page/assets/icon/prod.png differ
diff --git a/src/page/LinePage/assets/icon/r.png b/src/page/assets/icon/r.png
similarity index 100%
rename from src/page/LinePage/assets/icon/r.png
rename to src/page/assets/icon/r.png
diff --git a/src/page/LinePage/assets/icon/record.png b/src/page/assets/icon/record.png
similarity index 100%
rename from src/page/LinePage/assets/icon/record.png
rename to src/page/assets/icon/record.png
diff --git a/src/page/LinePage/assets/icon/y.png b/src/page/assets/icon/y.png
similarity index 100%
rename from src/page/LinePage/assets/icon/y.png
rename to src/page/assets/icon/y.png
diff --git a/src/page/LinePage/index.css b/src/page/style/linePage.css
similarity index 100%
rename from src/page/LinePage/index.css
rename to src/page/style/linePage.css