diff --git a/lib/widget/live/live_room_pay_item.dart b/lib/widget/live/live_room_pay_item.dart index aa6b784..02eca9f 100644 --- a/lib/widget/live/live_room_pay_item.dart +++ b/lib/widget/live/live_room_pay_item.dart @@ -70,7 +70,7 @@ class _LiveRoomPayItemState extends State { ), ), Text( - "${(widget.item["price"] as num?)?.toStringAsFixed(0) ?? '0.0'}元", + "${(widget.item["price"])?.toStringAsFixed(2) ?? '0.00'}元", style: TextStyle( fontSize: 11.w, color: const Color.fromRGBO(144, 144, 144, 1),