home.py 657 B

1234567891011121314151617181920212223242526
  1. #!/usr/bin/env python
  2. # -*- encoding: utf-8 -*-
  3. '''
  4. @Contact : liuyuqi.gov@msn.cn
  5. @Time : 2023/12/29 10:11:57
  6. @License : Copyright © 2017-2022 liuyuqi. All Rights Reserved.
  7. @Desc : home page
  8. '''
  9. from flet_core import UserControl, Column, Row, FloatingActionButton, icons, TextField, Tabs, Tab, Text, \
  10. MainAxisAlignment
  11. class HomePage(Column):
  12. '''home page'''
  13. def __init__(self):
  14. ''' init '''
  15. super().__init__()
  16. self.controls.clear()
  17. self.controls.append(Column([Text("Bo0dy!")], alignment=MainAxisAlignment.START, expand=True))
  18. class Banner(Column):
  19. def __init__(self):
  20. pass