| | |
| | | |
| | | public function getTypeList() |
| | | { |
| | | return ['0' => __('Type 0'), '1' => __('Type 1'), '2' => __('Type 2'), '3' => __('Type 3'), '4' => __('Type 4'), '5' => __('Type 5'), '6' => __('Type 6'), '7' => __('Type 7'),'9' => '新人教程','10'=>'逛逛','11'=>'app首页小轮播','12'=>'首页连标','13'=>'app首页快捷上','14'=>'app首页快捷下','15'=>'app启动页']; |
| | | return ['0' => __('Type 0'), '1' => __('Type 1'), '2' => __('Type 2'), '3' => __('Type 3'), '4' => __('Type 4'), '5' => __('Type 5'), '6' => __('Type 6'), '7' => __('Type 7'),'9' => '新人教程','10'=>'逛逛','11'=>'app首页小轮播','12'=>'首页连标','13'=>'app首页快捷上','14'=>'app首页快捷下','15'=>'app启动页','16'=>'淘宝返利轮播','17'=>'京东返利轮播','18'=>'抖音返利轮播','19'=>'拼多多返利轮播','20'=>'唯品会返利轮播']; |
| | | } |
| | | |
| | | public function getStatusList() |
| | |
| | | class Banner extends BasicLogic |
| | | { |
| | | |
| | | const BANNER_TYPE = ['1'=>'topBannerList','3'=>'singleLineList','4'=>'doubleLineList','5'=>'bottomBannerList','7' => 'popBannerList','11'=>'popBannerSList','12'=>'indexbanner','13'=>'enterTop','14'=>'enterDown','15'=>'launchpic']; |
| | | const BANNER_TYPE = ['1'=>'topBannerList','3'=>'singleLineList','4'=>'doubleLineList','5'=>'bottomBannerList','7' => 'popBannerList','11'=>'popBannerSList','12'=>'indexbanner','13'=>'enterTop','14'=>'enterDown','15'=>'launchpic','16'=>'tmImg','17'=>'jdImg','18'=>'dyImg','19'=>'pddImg','20'=>'wphImg']; |
| | | |
| | | public function __construct() |
| | | { |
| | |
| | | 'enterTop'=>[], |
| | | 'enterDown'=>[], |
| | | 'launchpic'=>[], |
| | | 'tmImg'=>[], |
| | | 'jdImg'=>[], |
| | | 'dyImg'=>[], |
| | | 'pddImg'=>[], |
| | | 'wphImg'=>[], |
| | | ]; |
| | | if(count($type_arr) > 1){ |
| | | foreach($list as $item){ |
| | |
| | | {checkbox: true}, |
| | | {field: 'id', title: __('Id')}, |
| | | {field: 'name', title: __('Name'), operate: 'LIKE'}, |
| | | {field: 'type', title: __('Type'), searchList: {"0":__('Type 0'),"1":__('Type 1'),"2":__('Type 2'),"3":__('Type 3'),"4":__('Type 4'),"5":__('Type 5'),"6":__('Type 6'),"7":__('Type 7'),"9":"新人教程","10":'逛逛'}, formatter: Table.api.formatter.normal}, |
| | | {field: 'type', title: __('Type'), searchList: {"0":__('Type 0'),"1":__('Type 1'),"2":__('Type 2'),"3":__('Type 3'),"4":__('Type 4'),"5":__('Type 5'),"6":__('Type 6'),"7":__('Type 7'),"9":"新人教程","10":'逛逛',"11":'app首页小轮播',"12":'首页连标',"13":'app首页快捷上',"14":"app首页快捷下","15":"app启动页","16":"淘宝返利轮播","17":"京东返利轮播","18":"抖音返利轮播","19":"拼多多返利轮播","20":"唯品会返利轮播"}, formatter: Table.api.formatter.normal}, |
| | | {field: 'image', title: __('Image'), operate: false, events: Table.api.events.image, formatter: Table.api.formatter.image}, |
| | | {field: 'colour', title: __('Colour'), operate: 'LIKE'}, |
| | | {field: 'url_type', title: __('Url_type'), searchList: {"0":__('Url_type 0'),"1":__('Url_type 1'),"2":__('Url_type 2'),"3":__('Url_type 3'),"7":__('Url_type 7'),"11":__('Url_type 11'),"12":__('Url_type 12'),"13":__('Url_type 13'),"14":__('Url_type 14'),"999":'不跳转'}, formatter: Table.api.formatter.normal}, |