2025.9.2 修改bug
							parent
							
								
									d05e6d301d
								
							
						
					
					
						commit
						009b4af68a
					
				|  | @ -166,16 +166,31 @@ class _StrengthenStudyPageState extends State<StrengthenStudyPage> { | ||||||
|       body: Column( |       body: Column( | ||||||
|         children: [ |         children: [ | ||||||
|           ListItemFactory.createBuildSimpleSection('加强学习课件'), |           ListItemFactory.createBuildSimpleSection('加强学习课件'), | ||||||
|           SizedBox( |           if(_videoList.isEmpty) | ||||||
|             width: double.infinity, |           Stack(children: [ | ||||||
|             height: 250, |             Container( | ||||||
|             child: VideoPlayerWidget( |               width: double.infinity, | ||||||
|               allowSeek: false, |               height: 200, | ||||||
|               controller: _videoController, |               color: Colors.white, | ||||||
|               coverUrl:'', |               child: Center( | ||||||
|               aspectRatio: _videoController?.value.aspectRatio ?? 16 / 9, |                 child:Text("暂未播放", | ||||||
|  |                 ), | ||||||
|  |               ), | ||||||
|             ), |             ), | ||||||
|           ), |             if(_videoList.isNotEmpty) | ||||||
|  |             SizedBox( | ||||||
|  |               width: double.infinity, | ||||||
|  |               height: 250, | ||||||
|  |               child: VideoPlayerWidget( | ||||||
|  |                 allowSeek: false, | ||||||
|  |                 controller: _videoController, | ||||||
|  |                 coverUrl:'', | ||||||
|  |                 aspectRatio: _videoController?.value.aspectRatio ?? 16 / 9, | ||||||
|  |               ), | ||||||
|  |             ), | ||||||
|  |           ],), | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|           Expanded( |           Expanded( | ||||||
|             child: ListView.builder( |             child: ListView.builder( | ||||||
|               padding: const EdgeInsets.all(12), |               padding: const EdgeInsets.all(12), | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue