Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈智峰
jinfa-platform
Commits
baa027ba
Commit
baa027ba
authored
Feb 20, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 全局样式修改为局部样式
parent
247d81c6
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
6 deletions
+12
-6
reset.less
src/global/styles/reset.less
+0
-6
index.less
...es/afterService/components/ManualDeliveryModal/index.less
+10
-0
index.tsx
...ges/afterService/components/ManualDeliveryModal/index.tsx
+2
-0
No files found.
src/global/styles/reset.less
View file @
baa027ba
...
@@ -235,12 +235,6 @@
...
@@ -235,12 +235,6 @@
overflow: hidden;
overflow: hidden;
}
}
.mega-layout-container-content >
.mega-layout-item >
.ant-form-item-control {
overflow: hidden;
}
.ant-form-item-label > label {
.ant-form-item-label > label {
font-size: 12px !important;
font-size: 12px !important;
color: #909399 !important;
color: #909399 !important;
...
...
src/pages/afterService/components/ManualDeliveryModal/index.less
View file @
baa027ba
.modalWrap {
:global {
.mega-layout-container-content >
.mega-layout-item >
.ant-form-item-control {
overflow: hidden;
}
}
}
\ No newline at end of file
src/pages/afterService/components/ManualDeliveryModal/index.tsx
View file @
baa027ba
...
@@ -15,6 +15,7 @@ import { useAsyncSelect } from '@/formSchema/effects/useAsyncSelect';
...
@@ -15,6 +15,7 @@ import { useAsyncSelect } from '@/formSchema/effects/useAsyncSelect';
import
{
PublicApi
}
from
'@/services/api'
;
import
{
PublicApi
}
from
'@/services/api'
;
import
{
useLinkageUtils
}
from
'@/utils/formEffectUtils'
;
import
{
useLinkageUtils
}
from
'@/utils/formEffectUtils'
;
import
{
schema
}
from
'./schema'
;
import
{
schema
}
from
'./schema'
;
import
styles
from
'./index.less'
;
const
modalFormActions
=
createFormActions
();
const
modalFormActions
=
createFormActions
();
const
{
const
{
...
@@ -124,6 +125,7 @@ const VerifyModal: React.FC<VerifyModalProps> = ({
...
@@ -124,6 +125,7 @@ const VerifyModal: React.FC<VerifyModalProps> = ({
confirmLoading=
{
confirmLoading
}
confirmLoading=
{
confirmLoading
}
onOk=
{
()
=>
modalFormActions
.
submit
()
}
onOk=
{
()
=>
modalFormActions
.
submit
()
}
onCancel=
{
()
=>
onVisible
(
false
)
}
onCancel=
{
()
=>
onVisible
(
false
)
}
wrapClassName=
{
styles
.
modalWrap
}
destroyOnClose
destroyOnClose
>
>
<
NiceForm
<
NiceForm
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment