|
@@ -9,16 +9,19 @@ class BaseTabModel extends SkipModel { |
|
|
String cateTag; |
|
|
String cateTag; |
|
|
String bgColor; |
|
|
String bgColor; |
|
|
String fontColor; |
|
|
String fontColor; |
|
|
|
|
|
//抖券判断是否是底部创建,默认不是 |
|
|
|
|
|
bool isBottomVideo = false; |
|
|
|
|
|
|
|
|
BaseTabModel( |
|
|
|
|
|
{this.name, |
|
|
|
|
|
this.isShow, |
|
|
|
|
|
this.icon, |
|
|
|
|
|
this.chooseColor, |
|
|
|
|
|
this.chooseIcon, |
|
|
|
|
|
this.cateTag, |
|
|
|
|
|
this.bgColor, |
|
|
|
|
|
this.fontColor}); |
|
|
|
|
|
|
|
|
BaseTabModel({this.name, |
|
|
|
|
|
this.isShow, |
|
|
|
|
|
this.icon, |
|
|
|
|
|
this.chooseColor, |
|
|
|
|
|
this.chooseIcon, |
|
|
|
|
|
this.cateTag, |
|
|
|
|
|
this.bgColor, |
|
|
|
|
|
this.fontColor, |
|
|
|
|
|
this.isBottomVideo |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
BaseTabModel.fromJson(Map<String, dynamic> json) { |
|
|
BaseTabModel.fromJson(Map<String, dynamic> json) { |
|
|
super.fromJson(json); |
|
|
super.fromJson(json); |
|
@@ -33,6 +36,7 @@ class BaseTabModel extends SkipModel { |
|
|
requiredTaobaoAuth = json['required_taobao_auth']; |
|
|
requiredTaobaoAuth = json['required_taobao_auth']; |
|
|
bgColor = json['bg_color']; |
|
|
bgColor = json['bg_color']; |
|
|
fontColor = json['font_color']; |
|
|
fontColor = json['font_color']; |
|
|
|
|
|
isBottomVideo=json['is_bottom_video']; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() { |
|
|
Map<String, dynamic> toJson() { |
|
@@ -45,6 +49,7 @@ class BaseTabModel extends SkipModel { |
|
|
data['cate_tag'] = this.cateTag; |
|
|
data['cate_tag'] = this.cateTag; |
|
|
data['bg_color'] = this.bgColor; |
|
|
data['bg_color'] = this.bgColor; |
|
|
data['font_color'] = this.fontColor; |
|
|
data['font_color'] = this.fontColor; |
|
|
|
|
|
data['is_bottom_video'] = this.isBottomVideo; |
|
|
return data; |
|
|
return data; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |