Skip to content

Commit

Permalink
流水线提交生成代码
Browse files Browse the repository at this point in the history
  • Loading branch information
Luozf12345 committed May 24, 2024
1 parent a436b95 commit 704dc2d
Show file tree
Hide file tree
Showing 23 changed files with 2,789 additions and 3,155 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
useVerticalDivider: false,
navigationTabs: [
TDBottomTabBarTabConfig(
selectedIcon: _selectedIcon,
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
badgeConfig: BadgeConfig(
showBage: true,
Expand All @@ -22,15 +22,15 @@
},
),
TDBottomTabBarTabConfig(
selectedIcon: _selectedIcon,
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
tabText: '标签',
onTap: () {
onTapTab(context, '标签2');
},
),
TDBottomTabBarTabConfig(
selectedIcon: _selectedIcon,
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
tabText: '标签',
onTap: () {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,40 @@
selectedBgColor: TDTheme.of(context).errorColor3,
unselectedBgColor: TDTheme.of(context).grayColor3,
navigationTabs: [
TDBottomTabBarTabConfig( tabText: '标签',
TDBottomTabBarTabConfig(
tabText: '标签',
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
onTapTab(context, '标签1');
},
),
TDBottomTabBarTabConfig( tabText: '标签',
TDBottomTabBarTabConfig(
tabText: '标签',
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
onTapTab(context, '标签2');
},
),
TDBottomTabBarTabConfig( tabText: '标签',
TDBottomTabBarTabConfig(
tabText: '标签',
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
onTapTab(context, '标签2');
},
),
TDBottomTabBarTabConfig( tabText: '标签',
TDBottomTabBarTabConfig(
tabText: '标签',
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
onTapTab(context, '标签2');
},
),
TDBottomTabBarTabConfig( tabText: '标签',
TDBottomTabBarTabConfig(
tabText: '标签',
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Widget _customBgTypeTabBar(BuildContext context){
Widget _customBgTypeTabBar(BuildContext context) {
return TDBottomTabBar(TDBottomTabBarBasicType.text,
backgroundColor: TDTheme.of(context).successColor6,
selectedBgColor: TDTheme.of(context).errorColor1,
Expand All @@ -14,7 +14,7 @@
),
TDBottomTabBarTabConfig(
tabText: '标签',
unselectTabTextStyle:TextStyle(color: TDTheme.of(context).fontGyColor1),
unselectTabTextStyle: TextStyle(color: TDTheme.of(context).fontGyColor1),
onTap: () {
onTapTab(context, '标签1');
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@
//height: 30,
child: Text(
e,
style: TextStyle(
color: TDTheme.of(context).fontGyColor1,
fontSize: 16),
style: TextStyle(color: TDTheme.of(context).fontGyColor1, fontSize: 16),
),
),
))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@

Widget _iconTextTypeTabBar(BuildContext context) {

return TDBottomTabBar(TDBottomTabBarBasicType.iconText,
useVerticalDivider: false,
navigationTabs: [
TDBottomTabBarTabConfig(
tabText: '标签',
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
onTapTab(context, '标签1');
},
),
TDBottomTabBarTabConfig(tabText: '标签',
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
onTapTab(context, '标签2');
},
),
]);
return TDBottomTabBar(TDBottomTabBarBasicType.iconText, useVerticalDivider: false, navigationTabs: [
TDBottomTabBarTabConfig(
tabText: '标签',
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
onTapTab(context, '标签1');
},
),
TDBottomTabBarTabConfig(
tabText: '标签',
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
onTapTab(context, '标签2');
},
),
]);
}
Original file line number Diff line number Diff line change
@@ -1,28 +1,29 @@

Widget _iconTextTypeTabBar3tabs(BuildContext context) {
return TDBottomTabBar(TDBottomTabBarBasicType.iconText,
useVerticalDivider: false,
navigationTabs: [
TDBottomTabBarTabConfig(tabText: '标签',
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
onTapTab(context, '标签1');
},
),
TDBottomTabBarTabConfig(tabText: '标签',
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
onTapTab(context, '标签2');
},
),
TDBottomTabBarTabConfig(tabText: '标签',
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
onTapTab(context, '标签2');
},
),
]);
return TDBottomTabBar(TDBottomTabBarBasicType.iconText, useVerticalDivider: false, navigationTabs: [
TDBottomTabBarTabConfig(
tabText: '标签',
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
onTapTab(context, '标签1');
},
),
TDBottomTabBarTabConfig(
tabText: '标签',
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
onTapTab(context, '标签2');
},
),
TDBottomTabBarTabConfig(
tabText: '标签',
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
onTapTab(context, '标签2');
},
),
]);
}
Original file line number Diff line number Diff line change
@@ -1,35 +1,37 @@

Widget _iconTextTypeTabBar4tabs(BuildContext context) {
return TDBottomTabBar(TDBottomTabBarBasicType.iconText,
useVerticalDivider: false,
navigationTabs: [
TDBottomTabBarTabConfig(tabText: '标签',
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
onTapTab(context, '标签1');
},
),
TDBottomTabBarTabConfig(tabText: '标签',
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
onTapTab(context, '标签2');
},
),
TDBottomTabBarTabConfig( tabText: '标签',
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
onTapTab(context, '标签2');
},
),
TDBottomTabBarTabConfig( tabText: '标签',
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
onTapTab(context, '标签2');
},
),
]);
return TDBottomTabBar(TDBottomTabBarBasicType.iconText, useVerticalDivider: false, navigationTabs: [
TDBottomTabBarTabConfig(
tabText: '标签',
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
onTapTab(context, '标签1');
},
),
TDBottomTabBarTabConfig(
tabText: '标签',
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
onTapTab(context, '标签2');
},
),
TDBottomTabBarTabConfig(
tabText: '标签',
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
onTapTab(context, '标签2');
},
),
TDBottomTabBarTabConfig(
tabText: '标签',
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
onTapTab(context, '标签2');
},
),
]);
}
Original file line number Diff line number Diff line change
@@ -1,42 +1,45 @@

Widget _iconTextTypeTabBar5tabs(BuildContext context) {
return TDBottomTabBar(TDBottomTabBarBasicType.iconText,
useVerticalDivider: false,
navigationTabs: [
TDBottomTabBarTabConfig( tabText: '标签',
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
onTapTab(context, '标签1');
},
),
TDBottomTabBarTabConfig( tabText: '标签',
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
onTapTab(context, '标签2');
},
),
TDBottomTabBarTabConfig( tabText: '标签',
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
onTapTab(context, '标签2');
},
),
TDBottomTabBarTabConfig( tabText: '标签',
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
onTapTab(context, '标签2');
},
),
TDBottomTabBarTabConfig( tabText: '标签',
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
onTapTab(context, '标签2');
},
),
]);
return TDBottomTabBar(TDBottomTabBarBasicType.iconText, useVerticalDivider: false, navigationTabs: [
TDBottomTabBarTabConfig(
tabText: '标签',
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
onTapTab(context, '标签1');
},
),
TDBottomTabBarTabConfig(
tabText: '标签',
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
onTapTab(context, '标签2');
},
),
TDBottomTabBarTabConfig(
tabText: '标签',
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
onTapTab(context, '标签2');
},
),
TDBottomTabBarTabConfig(
tabText: '标签',
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
onTapTab(context, '标签2');
},
),
TDBottomTabBarTabConfig(
tabText: '标签',
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
onTapTab(context, '标签2');
},
),
]);
}
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@

Widget _iconTypeTabBar(BuildContext context) {
return TDBottomTabBar(TDBottomTabBarBasicType.icon,
useVerticalDivider: true,
navigationTabs: [
TDBottomTabBarTabConfig(
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
onTapTab(context, '标签1');
}),
TDBottomTabBarTabConfig(

selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
onTapTab(context, '标签2');
})
]);
return TDBottomTabBar(TDBottomTabBarBasicType.icon, useVerticalDivider: true, navigationTabs: [
TDBottomTabBarTabConfig(
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
onTapTab(context, '标签1');
}),
TDBottomTabBarTabConfig(
selectedIcon: _selectedIcon,
unselectedIcon: _unSelectedIcon,
onTap: () {
onTapTab(context, '标签2');
})
]);
}
Loading

0 comments on commit 704dc2d

Please sign in to comment.