Commit b47d1188b07055d5f8ef4b1467b9d5fd3a1e8f0d

Authored by “gaiyaguang”
1 parent 3860cf78

合并

@@ -46,7 +46,7 @@ class NotebookItemState extends State<NoteBookItem> { @@ -46,7 +46,7 @@ class NotebookItemState extends State<NoteBookItem> {
46 46
47 return Container( 47 return Container(
48 width: double.infinity, 48 width: double.infinity,
49 - height: ScreenUtil().setWidth(120), 49 + // height: ScreenUtil().setWidth(120),
50 color: (widget.index % 2 == 0) 50 color: (widget.index % 2 == 0)
51 ? MyColours.color_f7fdfd 51 ? MyColours.color_f7fdfd
52 : MyColours.color_ffffff, 52 : MyColours.color_ffffff,
@@ -62,11 +62,11 @@ class NotebookItemState extends State<NoteBookItem> { @@ -62,11 +62,11 @@ class NotebookItemState extends State<NoteBookItem> {
62 Container( 62 Container(
63 width: ScreenUtil().setWidth(171), 63 width: ScreenUtil().setWidth(171),
64 padding: EdgeInsets.symmetric( 64 padding: EdgeInsets.symmetric(
65 - horizontal: ScreenUtil().setWidth(24)), 65 + horizontal: ScreenUtil().setWidth(24),vertical: ScreenUtil().setWidth(20)),
66 alignment: Alignment.center, 66 alignment: Alignment.center,
67 child: Text( 67 child: Text(
68 notebook.tableinfoStr?.trim(), 68 notebook.tableinfoStr?.trim(),
69 - maxLines: 3, 69 + maxLines: 30,
70 overflow: TextOverflow.ellipsis, 70 overflow: TextOverflow.ellipsis,
71 style: TextStyle( 71 style: TextStyle(
72 color: textColor, 72 color: textColor,
@@ -431,12 +431,12 @@ class NoteBookPageState extends State<NoteBookPage> { @@ -431,12 +431,12 @@ class NoteBookPageState extends State<NoteBookPage> {
431 return EasyRefresh.custom( 431 return EasyRefresh.custom(
432 controller: _controller, 432 controller: _controller,
433 slivers: [ 433 slivers: [
434 - SliverFixedExtentList( 434 + SliverList(
435 delegate: SliverChildBuilderDelegate( 435 delegate: SliverChildBuilderDelegate(
436 (BuildContext context, int index) { 436 (BuildContext context, int index) {
437 return NoteBookItem(model.notebooks[index], index); 437 return NoteBookItem(model.notebooks[index], index);
438 }, childCount: model.notebooks.length), 438 }, childCount: model.notebooks.length),
439 - itemExtent: ScreenUtil().setWidth(112), 439 + // itemExtent: ScreenUtil().setWidth(112),
440 ) 440 )
441 ], 441 ],
442 onRefresh: () async { 442 onRefresh: () async {