Commit af133d0e authored by 曾婧's avatar 曾婧

Merge branch 'dev-hn'

parents e97ae839 2510de80
Pipeline #50749 passed with stages
in 3 minutes 30 seconds
......@@ -117,6 +117,9 @@ const Menu = props => {
logo={null}
siderWidth={140}
config={props.global}
defaultCollapsed={false}
collapsed={false}
breakpoint={'xs'}
// onHeaderLogo={handlerIndustry}
// onPageChange={handlerPageChange}
// onMenuPanelItemClick={handleUpdateCurrentIndex}
......@@ -181,22 +184,11 @@ export default props => {
const { collapsed, onCollapse, route, style } = props;
return (
<>
<div
style={{
width: collapsed ? '48px' : `${siderWidth}px`,
overflow: 'hidden',
flex: `0 0 ${collapsed ? 48 : siderWidth}px`,
maxWidth: collapsed ? 48 : siderWidth,
minWidth: collapsed ? 48 : siderWidth,
transition:
'background-color 0.3s ease 0s, min-width 0.3s ease 0s, max-width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) 0s',
...style,
}}
/>
<aside
className={classNames(`${prefixCls}`, `${prefixCls}-fixed`, {
[`${prefixCls}-collapsed`]: collapsed,
})}
// className={classNames(`${prefixCls}`, `${prefixCls}-fixed`, {
// [`${prefixCls}-collapsed`]: collapsed,
// })}
style={{paddingTop:'50px'}}
>
<div className={`${prefixCls}-children`}>
<div className={`${prefixCls}-wrapper`} style={{ flex: '1 1 0%', overflow: 'hidden auto' }}>
......
@hn-greenColor: #00b278;
:global{
.@{ant-prefix}-drawer-left.@{ant-prefix}-drawer-open{
display: none;
}
.ant-drawer-left.pant-drawer-open{
display: none;
}
}
.hnlayout {
:global {
.@{ant-prefix}-global-page-header-header {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment