👨🏻‍💻👩🏻‍💻 Use Ant Design like a Pro!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1.3 KiB

order title iframe
0 演示 400

浮动固定页脚。

import FooterToolbar from 'ant-design-pro/lib/FooterToolbar';
import { Button } from 'antd';

ReactDOM.render(
  <div style={{ background: '#f7f7f7', padding: 24 }}>
    <p>页面内容 页面内容 页面内容 页面内容</p>
    <p>页面内容 页面内容 页面内容 页面内容</p>
    <p>页面内容 页面内容 页面内容 页面内容</p>
    <p>页面内容 页面内容 页面内容 页面内容</p>
    <p>页面内容 页面内容 页面内容 页面内容</p>
    <p>页面内容 页面内容 页面内容 页面内容</p>
    <p>页面内容 页面内容 页面内容 页面内容</p>
    <p>页面内容 页面内容 页面内容 页面内容</p>
    <p>页面内容 页面内容 页面内容 页面内容</p>
    <p>页面内容 页面内容 页面内容 页面内容</p>
    <p>页面内容 页面内容 页面内容 页面内容</p>
    <p>页面内容 页面内容 页面内容 页面内容</p>
    <p>页面内容 页面内容 页面内容 页面内容</p>
    <p>页面内容 页面内容 页面内容 页面内容</p>
    <p>页面内容 页面内容 页面内容 页面内容</p>
    <FooterToolbar extra="提示信息">
      <Button>取消</Button>
      <Button type="primary">提交</Button>
    </FooterToolbar>
  </div>
, mountNode);