|
@@ -187,20 +187,18 @@ const SmartReport = () => {
|
|
|
|
|
|
const TwoBoxItem = ({ label, value, unit }) => {
|
|
const TwoBoxItem = ({ label, value, unit }) => {
|
|
return (
|
|
return (
|
|
- <div className={styles.longWhiteBox}>
|
|
|
|
- <div className={styles.longWhiteBoxIn}>
|
|
|
|
- <div>{label}</div>
|
|
|
|
- <span className={styles.value}>
|
|
|
|
- {value}
|
|
|
|
- {unit && <span className={styles.unit}>{unit}</span>}
|
|
|
|
- </span>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div className={`card-box ${styles.longWhiteBox}`}>
|
|
|
|
+ <div>{label}</div>
|
|
|
|
+ <span className={styles.value}>
|
|
|
|
+ {value}
|
|
|
|
+ {unit && <span className={styles.unit}>{unit}</span>}
|
|
|
|
+ </span>
|
|
</div>
|
|
</div>
|
|
);
|
|
);
|
|
};
|
|
};
|
|
const ThreeBoxContent = ({ data }) => {
|
|
const ThreeBoxContent = ({ data }) => {
|
|
return (
|
|
return (
|
|
- <div className={styles.threeContent}>
|
|
|
|
|
|
+ <div className={`card-box ${styles.threeContent}`}>
|
|
{data?.map((item) => (
|
|
{data?.map((item) => (
|
|
<div className={styles.threeItem}>
|
|
<div className={styles.threeItem}>
|
|
<div className={styles.value}>
|
|
<div className={styles.value}>
|
|
@@ -272,7 +270,6 @@ const SmartReport = () => {
|
|
<ConfigProvider locale={zhCN}>
|
|
<ConfigProvider locale={zhCN}>
|
|
<PageTitle children="智慧运营报告" returnable />
|
|
<PageTitle children="智慧运营报告" returnable />
|
|
<div className={styles.head}>
|
|
<div className={styles.head}>
|
|
- {/* <div className={styles.name}>智慧运营报告</div> */}
|
|
|
|
<div className={styles.photo}>
|
|
<div className={styles.photo}>
|
|
{dayjs(date.stime).format('MM月DD日')}-
|
|
{dayjs(date.stime).format('MM月DD日')}-
|
|
{dayjs(date.etime).format('MM月DD日')}
|
|
{dayjs(date.etime).format('MM月DD日')}
|