import BottomBarItem from "../BottomItemBackground"; import React, { Component } from "react"; import cls from "./righttable.module.scss"; import { ScrollBoard } from "@jiaminghi/data-view-react"; let data = [ ["产线0", "10mm", "10mm", "10mm"], ["产线2", "8mm", "8mm", "8mm"], ["产线3", "15mm", "15mm", "15mm"], ["产线4", "15mm", "15mm", "15mm"], ["产线42", "15mm", "15mm", "15mm"], ["产线5", "15mm", "15mm", "15mm"], ["产线6", "15mm", "15mm", "15mm"], ]; let header = ["产线名", "原板宽度", "净板宽", "玻璃厚度"]; let config = { headerBGC: "rgba(4, 44, 76, 0.3)", header: [ '产线名', '原板宽度', '净板宽', '玻璃厚度', ], oddRowBGC: "#042444", evenRowBGC: "#042c4c", columnWidth: [128], headerHeight: 40, hoverPause: false, data: replaceStyle(data, 0.7), }; function replaceStyle(Arr, opencity) { let temp = []; for (let i = 0; i < Arr.length; i++) { temp[i] = []; for (let j = 0; j < Arr[i].length; j++) { temp[i][ j ] = ` ${Arr[i][j]}`; } } return temp; } class Chart1 extends Component { render() { return (
); } } export default Chart1;