You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
	
	
		
			44 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Go
		
	
		
		
			
		
	
	
			44 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Go
		
	
| 
											5 months ago
										 | package congressui | ||
|  | 
 | ||
|  | import ( | ||
|  | 	"fyne.io/fyne/v2" | ||
|  | ) | ||
|  | 
 | ||
|  | // Tutorial defines the data structure for a tutorial
 | ||
|  | type CommonPerpareView struct { | ||
|  | 	Title, Intro string | ||
|  | 	View         func(w fyne.Window) fyne.CanvasObject | ||
|  | } | ||
|  | 
 | ||
|  | var ( | ||
|  | 	// Tutorials defines the metadata for each tutorial
 | ||
|  | 	CommonPerpareViews = map[string]CommonPerpareView{ | ||
|  | 		"EquipmentManage": {"设备管理", "各种设备的管理", EquipmentManageView}, | ||
|  | 		"PersonManage": {"基础人员", | ||
|  | 			"人员基础信息管理", | ||
|  | 			PersonManageView, | ||
|  | 		}, | ||
|  | 		"CongressRoomManage": {"会议室管理", | ||
|  | 			"会议室信息管理", | ||
|  | 			CongressRoomManageView, | ||
|  | 		}, | ||
|  | 		"ScreenManage": {"屏幕管理", | ||
|  | 			"屏幕信息管理", | ||
|  | 			ScreenManageScreen, | ||
|  | 		}, | ||
|  | 		"CardManage": {"证卡管理", | ||
|  | 			"出入卡信息管理", | ||
|  | 			CardManageView, | ||
|  | 		}, | ||
|  | 		"CheckDoorManage": {"报道门管理", | ||
|  | 			"报道门信息管理", | ||
|  | 			CheckDoorManageView, | ||
|  | 		}, | ||
|  | 	} | ||
|  | 
 | ||
|  | 	// TutorialIndex  defines how our tutorials should be laid out in the index tree
 | ||
|  | 	Menubuttons = map[string][]string{ | ||
|  | 		"": {"EquipmentManage", "PersonManage", "CongressRoomManage", "ScreenManage", "CardManage", "CheckDoorManage"}, | ||
|  | 	} | ||
|  | ) |