|
@@ -76,23 +76,23 @@ class App(UserControl):
|
|
),
|
|
),
|
|
ft.NavigationRailDestination(
|
|
ft.NavigationRailDestination(
|
|
icon_content=ft.Icon(ft.icons.FAVORITE),
|
|
icon_content=ft.Icon(ft.icons.FAVORITE),
|
|
- selected_icon_content=ft.Icon(name=ft.icons.FAVORITE, color=ft.colors.PINK),
|
|
|
|
|
|
+ selected_icon_content = ft.Icon(name=ft.icons.FAVORITE, color=ft.colors.PINK),
|
|
label="关键词",
|
|
label="关键词",
|
|
),
|
|
),
|
|
ft.NavigationRailDestination(
|
|
ft.NavigationRailDestination(
|
|
icon_content=ft.Icon(ft.icons.SHOPIFY),
|
|
icon_content=ft.Icon(ft.icons.SHOPIFY),
|
|
- selected_icon_content=ft.Icon(name=ft.icons.SHOPIFY, color=ft.colors.PINK),
|
|
|
|
|
|
+ selected_icon_content = ft.Icon(name=ft.icons.SHOPIFY, color=ft.colors.PINK),
|
|
label="商品库",
|
|
label="商品库",
|
|
),
|
|
),
|
|
ft.NavigationRailDestination(
|
|
ft.NavigationRailDestination(
|
|
icon_content=ft.Icon(ft.icons.BAR_CHART),
|
|
icon_content=ft.Icon(ft.icons.BAR_CHART),
|
|
- selected_icon_content=ft.Icon(name=ft.icons.BAR_CHART, color=ft.colors.PINK),
|
|
|
|
|
|
+ selected_icon_content = ft.Icon(name=ft.icons.BAR_CHART, color=ft.colors.PINK),
|
|
label="数据分析",
|
|
label="数据分析",
|
|
),
|
|
),
|
|
ft.NavigationRailDestination(
|
|
ft.NavigationRailDestination(
|
|
icon=ft.icons.SETTINGS_OUTLINED,
|
|
icon=ft.icons.SETTINGS_OUTLINED,
|
|
- selected_icon_content=ft.Icon(ft.icons.SETTINGS),
|
|
|
|
- label_content=ft.Text("Settings"),
|
|
|
|
|
|
+ selected_icon_content = ft.Icon(ft.icons.SETTINGS),
|
|
|
|
+ label_content = ft.Text("Settings"),
|
|
),
|
|
),
|
|
],
|
|
],
|
|
on_change=menu_changed,
|
|
on_change=menu_changed,
|