魏超 5 years ago
parent
commit
7f41fc6bcf

+ 11
- 0
src/pages/activity/helpActivity/edithelpActivity.jsx View File

@@ -169,6 +169,17 @@ const header = props => {
169 169
         })(<ImageUploader />)}
170 170
         </Form.Item>
171 171
 
172
+        <Form.Item label="活动列表图" help="建议尺寸375*312px">
173
+          {getFieldDecorator('detailImg', {
174
+          rules: [
175
+            {
176
+              required: true,
177
+              message: '活动主图不能为空',
178
+            },
179
+          ],
180
+        })(<ImageUploader />)}
181
+        </Form.Item>
182
+
172 183
         <Form.Item label="活动时间">
173 184
         {getFieldDecorator('activityTime', {
174 185
           rules: [

+ 1
- 1
src/pages/news/list/editNewsList.jsx View File

@@ -64,7 +64,7 @@ const { TextArea } = Input;
64 64
         ]
65 65
       },
66 66
       {
67
-        label: '资讯图',
67
+        label: '资讯列表图',
68 68
         name: 'newsImg',
69 69
         type: FieldTypes.ImageUploader,
70 70
         value: dynamicData.newsImg,