2025.9.2 修改bug
parent
d05e6d301d
commit
009b4af68a
|
@ -166,6 +166,18 @@ class _StrengthenStudyPageState extends State<StrengthenStudyPage> {
|
||||||
body: Column(
|
body: Column(
|
||||||
children: [
|
children: [
|
||||||
ListItemFactory.createBuildSimpleSection('加强学习课件'),
|
ListItemFactory.createBuildSimpleSection('加强学习课件'),
|
||||||
|
if(_videoList.isEmpty)
|
||||||
|
Stack(children: [
|
||||||
|
Container(
|
||||||
|
width: double.infinity,
|
||||||
|
height: 200,
|
||||||
|
color: Colors.white,
|
||||||
|
child: Center(
|
||||||
|
child:Text("暂未播放",
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
if(_videoList.isNotEmpty)
|
||||||
SizedBox(
|
SizedBox(
|
||||||
width: double.infinity,
|
width: double.infinity,
|
||||||
height: 250,
|
height: 250,
|
||||||
|
@ -176,6 +188,9 @@ class _StrengthenStudyPageState extends State<StrengthenStudyPage> {
|
||||||
aspectRatio: _videoController?.value.aspectRatio ?? 16 / 9,
|
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