diff --git a/src/component/bootcamp-background/my-design/bootcamp/bootcamp-footer.js b/src/component/bootcamp-background/my-design/bootcamp/bootcamp-footer.js index 82ddea00a579584431f91031ff505557d4816a33..f005207514a13bff85be2e2615fe9ea5d6daac37 100644 --- a/src/component/bootcamp-background/my-design/bootcamp/bootcamp-footer.js +++ b/src/component/bootcamp-background/my-design/bootcamp/bootcamp-footer.js @@ -1,10 +1,18 @@ import React from 'react' -import { Button, Col } from 'antd' +import { message, Button, Col } from 'antd' +import { Link } from 'react-router-dom' +import '../../../../style/common.css' + +const success = () => { + message.success('已保存') +} const BootcampFooter = () => { return ( - - + + + + ) diff --git a/src/component/bootcamp-background/my-design/bootcamp/index.js b/src/component/bootcamp-background/my-design/bootcamp/index.js index cbd0dcd7c69ade2a8481fd222f2b0202de2fdc03..c8d3c8ac3540e7ec669b8bf1b3a52b488e14bc0e 100644 --- a/src/component/bootcamp-background/my-design/bootcamp/index.js +++ b/src/component/bootcamp-background/my-design/bootcamp/index.js @@ -12,7 +12,7 @@ const { Header, Content, Footer } = Layout export default class Index extends Component { render () { return ( - +
diff --git a/src/component/tws-layout/tws-user-info.js b/src/component/tws-layout/tws-user-info.js index 386bc634858003aef50f2a19bcbb5e53e64daed1..78817bf0c59a14e672d867b8bb8f4989ec5dc01c 100644 --- a/src/component/tws-layout/tws-user-info.js +++ b/src/component/tws-layout/tws-user-info.js @@ -19,7 +19,7 @@ export default class TwsUserInfo extends Component { ) return ( - + ) } diff --git a/src/less/tws-layout.less b/src/less/tws-layout.less index c43aeaa6d02fb908599727e603806f318e36aa18..0811ff5caa3035f4309d44444109f145e34e10d5 100644 --- a/src/less/tws-layout.less +++ b/src/less/tws-layout.less @@ -13,10 +13,9 @@ body { } .main-wrapper { - margin: 0 48px; border-radius: 4px; padding: 24px 0 0; - margin-bottom: 24px; + margin: 0 48px 24px; background: @content-background; } @@ -27,15 +26,15 @@ body { .App-header { background: @head-background; - padding: 24px 48px 0 48px; + padding: 24px 48px 24px 48px; color: white; height: auto; - line-height: 36px; } .header-bell{ margin-top: 17px; text-align: right; + line-height: 36px; } .main-content{ @@ -53,7 +52,7 @@ body { .content-children-content{ padding: 0 24px; - minHeight: 280; + min-height: 280; } .footer{ diff --git a/src/style/common.css b/src/style/common.css index 216221aafe24a2fe73e6940114d76c9fc6950549..1c941f9466df0b8d90af1c8cf126631a8e4f9f6c 100644 --- a/src/style/common.css +++ b/src/style/common.css @@ -1,7 +1,11 @@ +.margin--right { + margin-right: 6px; +} + .margin--bottom { margin-bottom: 20px; } -.full-height { +.full--height { height: 100%; } \ No newline at end of file