feat:副屏页面
This commit is contained in:
1 parent
29db4faa73
commit
6dc478077a
11 files changed
+275
-40
No files matched your search
@@ -430,10 +430,15 @@ mixin OrderMixin {
|
||||
}
|
||||
|
||||
void sendSubScreen() {
|
||||
final List<ShopCardEntity> list = shopCardList;
|
||||
SubScreenPlugin.sendMsgToViceScreen(
|
||||
SubScreenAction.updateCard.name,
|
||||
params: {},
|
||||
params: SubScreenProductEvent(
|
||||
shopList: shopCardList,
|
||||
sysType: _sysType,
|
||||
payUser: payUser.value,
|
||||
totalPrice: totalPrice.value,
|
||||
amountMealPrice: amountMealPrice.value,
|
||||
).toJson(),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@ Widget orderAllPrice(
|
||||
String productPrice = "菜品总价",
|
||||
bool visibleProductPrice = true,
|
||||
bool visibleAmountMealPrice = true,
|
||||
bool visibleDivider = true,
|
||||
}) {
|
||||
final theme = FTheme.of(context);
|
||||
return <Widget>[
|
||||
@@ -52,7 +53,7 @@ Widget orderAllPrice(
|
||||
color: theme.colorScheme.primary,
|
||||
padding: EdgeInsets.zero,
|
||||
),
|
||||
),
|
||||
).offstage(offstage: !visibleDivider),
|
||||
].toColumn();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user