#include "stm32f4xx.h" 
#include "lv_port_disp.h"
#include "page_manager.h"
#include "status_bar.h"
#include "navigation_bar.h"
#include "lots_unit.h"

void Create_Lots_Page(void)
{
	Create_Lots_Unit();
	Create_Navigation_Bar("今日运势");
	Create_Status_Bar();
}

void Update_Lots_Page(void)
{
	Update_Lots_Unit();
	Update_Navigation_Bar();
	Update_Status_Bar();
}

void Remove_Lots_Page(void)
{
	Remove_Lots_Unit();
	Remove_Navigation_Bar();
	Remove_Status_Bar();
}

// 导出页面接口
const Page_Interface_t page_lots_interface = {
    .id = PAGE_ABOUT,
    .init = Create_Lots_Page,
    .update = Update_Lots_Page,
    .exit = Remove_Lots_Page,
};
