add left
This commit is contained in:
@@ -8,7 +8,7 @@ import { randomInt } from '../../../../utils';
|
||||
const GoodRateChart = (props) => {
|
||||
const options = {
|
||||
color: ['#FFD160', '#12FFF5', '#2760FF'],
|
||||
grid: { top: 28, right: 12, bottom: 32, left: 48 },
|
||||
grid: { top: 28, right: 12, bottom: 64, left: 48 },
|
||||
xAxis: {
|
||||
type: 'category',
|
||||
data: Array(7)
|
||||
@@ -29,7 +29,7 @@ const GoodRateChart = (props) => {
|
||||
axisLine: {
|
||||
lineStyle: {
|
||||
width: 1,
|
||||
color: '#213259',
|
||||
color: '#4561AE',
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -43,12 +43,12 @@ const GoodRateChart = (props) => {
|
||||
axisLine: {
|
||||
show: true,
|
||||
lineStyle: {
|
||||
color: '#213259',
|
||||
color: '#4561AE',
|
||||
},
|
||||
},
|
||||
splitLine: {
|
||||
lineStyle: {
|
||||
color: '#213259a0',
|
||||
color: '#4561AEa0',
|
||||
},
|
||||
},
|
||||
interval: 10,
|
||||
|
||||
@@ -5,7 +5,8 @@ import { ScrollBoard } from '@jiaminghi/data-view-react';
|
||||
const TodayTableData = (props) => {
|
||||
const [config, setConfig] = useState({
|
||||
// headerBGC: 'rgba(4, 44, 76, 0.3)',
|
||||
headerBGC: 'rgba(4, 44, 76, .8)',
|
||||
// headerBGC: 'rgba(4, 44, 76, .8)',
|
||||
headerBGC: '#044A8425',
|
||||
header: [
|
||||
'<span style="color:#fff">产线<span/>',
|
||||
'<span style="color:#fff">一等率<span/>',
|
||||
@@ -13,8 +14,10 @@ const TodayTableData = (props) => {
|
||||
'<span style="color:#fff">成品率<span/>',
|
||||
'<span style="color:#fff">废品率<span/>',
|
||||
],
|
||||
oddRowBGC: '#042444',
|
||||
evenRowBGC: '#042c4c',
|
||||
// oddRowBGC: '#042444',
|
||||
oddRowBGC: '#044A8425',
|
||||
// evenRowBGC: '#042c4c',
|
||||
evenRowBGC: '#0B549945',
|
||||
columnWidth: [90],
|
||||
headerHeight: 40,
|
||||
hoverPause: false,
|
||||
@@ -28,7 +31,11 @@ const TodayTableData = (props) => {
|
||||
});
|
||||
return (
|
||||
<div className={cls.todayTableData}>
|
||||
<ScrollBoard config={config} style={{ width: '100%' }} />
|
||||
<ScrollBoard
|
||||
config={config}
|
||||
className={cls.tableClass}
|
||||
style={{ width: '100%' }}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user