|
...
|
...
|
@@ -90,7 +90,7 @@ class NotebookDetailPageState extends State<NotebookDetailPage> { |
|
|
|
showBack: true,
|
|
|
|
),
|
|
|
|
Expanded(
|
|
|
|
child: DefaultTextStyle(style: TextStyle(decoration: TextDecoration.none), child: Container(
|
|
|
|
child: DefaultTextStyle(style: TextStyle(decoration: TextDecoration.none), overflow:TextOverflow.ellipsis,child: Container(
|
|
|
|
color: MyColours.color_ffffff,
|
|
|
|
child: SingleChildScrollView(
|
|
|
|
child: Container(
|
|
...
|
...
|
@@ -122,12 +122,15 @@ class NotebookDetailPageState extends State<NotebookDetailPage> { |
|
|
|
RowMultiText("包间需求", (detailEntity.demands.length.toString()+"个")??""),
|
|
|
|
Align(
|
|
|
|
alignment: Alignment.centerRight,
|
|
|
|
child: Row(
|
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
children: detailEntity.demands.map((table){
|
|
|
|
return NeedItem(table);
|
|
|
|
}).toList(),
|
|
|
|
),
|
|
|
|
child: Offstage(
|
|
|
|
offstage: detailEntity.demands.length>0?false:true,
|
|
|
|
child: Container(
|
|
|
|
height: ScreenUtil().setHeight(210),
|
|
|
|
child: ListView.builder(itemBuilder: (BuildContext contxt,int index){
|
|
|
|
return NeedItem(detailEntity.demands[index]);
|
|
|
|
},itemCount: detailEntity.demands.length,shrinkWrap: true,scrollDirection: Axis.horizontal,),
|
|
|
|
),
|
|
|
|
)
|
|
|
|
)
|
|
|
|
],
|
|
|
|
),
|
|
...
|
...
|
@@ -135,9 +138,15 @@ class NotebookDetailPageState extends State<NotebookDetailPage> { |
|
|
|
RowMultiText("预订桌位", (detailEntity.tables.length.toString()+"个")),
|
|
|
|
Align(
|
|
|
|
alignment: Alignment.centerRight,
|
|
|
|
child: ListView.builder(itemBuilder: (BuildContext contxt,int index){
|
|
|
|
return TableItem(detailEntity.tables[index]);
|
|
|
|
},itemCount: detailEntity.tables.length,shrinkWrap: true,scrollDirection: Axis.horizontal,)
|
|
|
|
child: Offstage(
|
|
|
|
offstage: detailEntity.tables.length>0?false:true,
|
|
|
|
child: Container(
|
|
|
|
height: ScreenUtil().setHeight(210),
|
|
|
|
child: ListView.builder(itemBuilder: (BuildContext contxt,int index){
|
|
|
|
return TableItem(detailEntity.tables[index]);
|
|
|
|
},itemCount: detailEntity.tables.length,shrinkWrap: true,scrollDirection: Axis.horizontal,),
|
|
|
|
),
|
|
|
|
)
|
|
|
|
),
|
|
|
|
RowMultiText("客户姓名", detailEntity.rnameStr),
|
|
|
|
RowMultiText("客户电话", detailEntity.phone),
|
...
|
...
|
|