diff --git a/src/routes/Forms/AdvancedForm.js b/src/routes/Forms/AdvancedForm.js index ab8b4c82f0fba53194280417f2f002e5788ec75a..ce450fd83527ae64b993dd71e16382c3d4057d28 100644 --- a/src/routes/Forms/AdvancedForm.js +++ b/src/routes/Forms/AdvancedForm.js @@ -222,16 +222,15 @@ function AdvancedForm({ form, dispatch, submitting }) { )} - + {getFieldDecorator('dateRange2', { rules: [{ required: true, message: '请输入' }], })( document.getElementById('timepicker-container')} + getPopupContainer={trigger => trigger.parentNode} /> )} diff --git a/src/routes/Forms/StepForm/Step1.js b/src/routes/Forms/StepForm/Step1.js index d570334188997f2035472389f8597d81eddf9f6d..c12110eb17d92f482c5a74bd23894dd8151f19d2 100644 --- a/src/routes/Forms/StepForm/Step1.js +++ b/src/routes/Forms/StepForm/Step1.js @@ -41,7 +41,7 @@ export default ({ formItemLayout, form, dispatch }) => { {getFieldDecorator('receiverAccount', { initialValue: 'test@example.com', diff --git a/src/routes/Forms/StepForm/style.less b/src/routes/Forms/StepForm/style.less index 4217da6c07e59441084aa1e95a765cfcb4a5bb7b..c97e60266aab15b4272ccf44ebe5bb7f41d159cd 100644 --- a/src/routes/Forms/StepForm/style.less +++ b/src/routes/Forms/StepForm/style.less @@ -22,6 +22,8 @@ } .desc { + padding: 0 56px; + color: @text-color-secondary; h3 { font-size: 16px; margin: 0 0 12px 0; @@ -39,8 +41,6 @@ margin-bottom: 12px; line-height: 22px; } - padding: 0 48px; - color: @text-color-secondary; } @media screen and (max-width: @screen-md) { @@ -57,7 +57,7 @@ } } .label { - font-weight: 500; + color: @heading-color; text-align: right; padding-right: 8px; } diff --git a/src/routes/Forms/style.less b/src/routes/Forms/style.less index 9a05bf4f4b380850e6a5e7dbfcbd503873107b75..722aca805fcddd009a3c66687106a31bc7227ba8 100644 --- a/src/routes/Forms/style.less +++ b/src/routes/Forms/style.less @@ -88,12 +88,3 @@ color: @text-color-secondary; font-style: normal; } - -.popup { - width: ~"calc(100% - 16px)"; - :global { - .ant-time-picker-panel-select { - width: 33.33%; - } - } -}