28 lines
707 B
JavaScript
28 lines
707 B
JavaScript
import React from 'react';
|
||
import { SycmBusinessPanel, SycmPage } from '../../components/Common';
|
||
import './style.css';
|
||
|
||
const OperationPlaceholder = ({ embedded = false }) => {
|
||
const body = (
|
||
<div className="operation-placeholder-body">
|
||
<div className="operation-placeholder-state">
|
||
<span>页面入口已恢复,后续业务模块可在这个标准模板内继续接入。</span>
|
||
</div>
|
||
</div>
|
||
);
|
||
|
||
if (embedded) {
|
||
return body;
|
||
}
|
||
|
||
return (
|
||
<SycmPage className="operation-placeholder-page">
|
||
<SycmBusinessPanel className="operation-placeholder-panel">
|
||
{body}
|
||
</SycmBusinessPanel>
|
||
</SycmPage>
|
||
);
|
||
};
|
||
|
||
export default OperationPlaceholder;
|