李志伟 3 years ago
parent
commit
f484ada59c

+ 4
- 1
src/pages/ContentManagementSystem/Advertisement/edit.jsx View File

@@ -76,7 +76,10 @@ export default (props) => {
76 76
                   app启动页
77 77
                 </Option>
78 78
                 <Option value="banner" key="banner">
79
-                  轮播图
79
+                  农户轮播图
80
+                </Option>
81
+                <Option value="bannerWorker" key="banner">
82
+                  农机手轮播图
80 83
                 </Option>
81 84
               </Select>
82 85
             </FormItem>

+ 3
- 2
src/pages/ContentManagementSystem/Advertisement/index.jsx View File

@@ -72,8 +72,9 @@ export default (props) => {
72 72
         return record.position === 'index'
73 73
           ? '首次引导页'
74 74
           : record.position === 'appIndex'
75
-          ? 'app启动页'
76
-          : '轮播图';
75
+            ? 'app启动页'
76
+            : record.position === 'banner'
77
+              ? '农户轮播图' : '农机手轮播图'
77 78
       },
78 79
     },
79 80
     {