许静 hace 5 años
padre
commit
e9306ac705

+ 3
- 0
src/global.less Ver fichero

92
 .ant-row.ant-form-item .ant-form-item-label.ant-col-sm-3{
92
 .ant-row.ant-form-item .ant-form-item-label.ant-col-sm-3{
93
   min-width: 100px;
93
   min-width: 100px;
94
 }
94
 }
95
+.ant-card-body{
96
+  padding: 0;
97
+}
95
 .ant-breadcrumb{
98
 .ant-breadcrumb{
96
   font-size: 0.1rem;
99
   font-size: 0.1rem;
97
   .anticon {
100
   .anticon {

+ 1
- 1
src/pages/channel/editChannel.jsx Ver fichero

57
 
57
 
58
   return (
58
   return (
59
   <>
59
   <>
60
-        <Form labelCol={{ span: 7 }} wrapperCol={{ span: 12 }} onSubmit={handleSubmit}>
60
+        <Form labelCol={{ span: 6 }} wrapperCol={{ span: 12 }} onSubmit={handleSubmit}>
61
         <Form.Item label="渠道名称">
61
         <Form.Item label="渠道名称">
62
           {getFieldDecorator('channelName', {
62
           {getFieldDecorator('channelName', {
63
             rules: [{ required: true, message: '请输入渠道名称' }],
63
             rules: [{ required: true, message: '请输入渠道名称' }],

+ 9
- 9
src/pages/staff/list/addRole.jsx Ver fichero

152
     }
152
     }
153
   }
153
   }
154
   const gridStyle1 = {
154
   const gridStyle1 = {
155
-    width: '17%',
155
+    width: '16%',
156
     textAlign: 'left',
156
     textAlign: 'left',
157
+    height: '72px',
158
+    padding:'24px 10px'
157
   };
159
   };
158
   const gridStyle2 = {
160
   const gridStyle2 = {
159
-    width: '80%',
161
+    width: '84%',
160
     textAlign: 'left',
162
     textAlign: 'left',
161
     height: '72px',
163
     height: '72px',
162
   };
164
   };
205
   const { getFieldDecorator } = props.form;
207
   const { getFieldDecorator } = props.form;
206
   return (
208
   return (
207
     <>
209
     <>
208
-      <div >
209
-        <Form labelCol={{ span: 7 }} wrapperCol={{ span: 12 }} onSubmit={handleSubmit}>
210
+      <div>
211
+        <Form labelCol={{ span: 6 }} wrapperCol={{ span: 12 }} onSubmit={handleSubmit}>
210
           <Form.Item label="角色名称">
212
           <Form.Item label="角色名称">
211
             {getFieldDecorator('roleName', {
213
             {getFieldDecorator('roleName', {
212
               rules: [{ required: true, message: '请输入角色名称' }],
214
               rules: [{ required: true, message: '请输入角色名称' }],
216
           {userMenus.map(item => (
218
           {userMenus.map(item => (
217
             (item.parentCode === '-1') &&
219
             (item.parentCode === '-1') &&
218
             <Row >
220
             <Row >
219
-              <Col span={7}>
220
-
221
+              <Col span={6}>
221
               </Col>
222
               </Col>
222
-              <Col span={17}>
223
-
223
+              <Col span={18}>
224
 
224
 
225
-                <Card title={<Checkbox checked={dataMenuId.includes(item.menuId)} onChange={handleMenuChange(item)}>{item.name}</Checkbox>} bordered style={{ width: '100%', alignItems: 'center' }} >
225
+                <Card title={<Checkbox checked={dataMenuId.includes(item.menuId)} onChange={handleMenuChange(item)}>{item.name}</Checkbox>} bordered style={{ width: '100%', alignItems: 'center',margin:'10px 0', boxShadow:'3px 3px 10px  rgba(0,0,0,0.15)',borderRadius:'8px'}} >
226
                   {
226
                   {
227
                     userMenus.map(menu => (
227
                     userMenus.map(menu => (
228
 
228
 

+ 1
- 0
src/pages/staff/list/style.less Ver fichero

21
   border-radius: 12px;
21
   border-radius: 12px;
22
   margin-bottom: 40px;
22
   margin-bottom: 40px;
23
   position: relative;
23
   position: relative;
24
+  padding: 0.1rem;
24
   
25
   
25
 }
26
 }
26
 
27