Browse Source

消息ui更改

dart3_last
wurong 2 years ago
parent
commit
a3edc6b49f
  1. 4
      lib/message/system_details.dart
  2. 4
      lib/message/system_message.dart
  3. 85
      lib/order/order_detail_page.dart

4
lib/message/system_details.dart

@ -243,7 +243,7 @@ class _SystemDetails extends State<SystemDetails> {
? "assets/image/icon_system_message.webp"
: (message.typed == 2)
? "assets/image/icon_system_message.webp"
: "assets/image/c_z.webp",
: "assets/image/icon_cz.webp",
width: 24.w,
height: 24.h,
),
@ -370,7 +370,7 @@ class _SystemDetails extends State<SystemDetails> {
? "assets/image/icon_system_message.webp"
: (message.typed == 2)
? "assets/image/icon_system_message.webp"
: "assets/image/c_z.webp",
: "assets/image/icon_cz.webp",
width: 24.w,
height: 24.h,
),

4
lib/message/system_message.dart

@ -154,6 +154,7 @@ class _SystemMessagePage extends State<SystemMessagePage> {
// ),
// ],
// ),
backgroundColor: Colors.white,
body: SmartRefresher(
enablePullDown: true,
enablePullUp: true,
@ -363,6 +364,7 @@ class _SystemMessagePage extends State<SystemMessagePage> {
),
],
),
if(title != S.of(context).xitongxiaoxi)
Container(
margin: EdgeInsets.only(top: 12.h),
width: double.infinity,
@ -643,7 +645,7 @@ class _SystemMessagePage extends State<SystemMessagePage> {
? "assets/image/icon_system_message.webp"
: (message.typed == 2)
? "assets/image/icon_system_message.webp"
: "assets/image/c_z.webp",
: "assets/image/icon_cz.webp",
width: 40.w,
height: 40.h,
),

85
lib/order/order_detail_page.dart

@ -174,61 +174,52 @@ class _OrderDetailPage extends State<OrderDetailPage> {
},
),
onRefresh:(){
setState(() {
queryDetails();
});
queryDetails();
},
physics: BouncingScrollPhysics(),
scrollController: ScrollController(),
child: Container(
child: SingleChildScrollView(
physics: BouncingScrollPhysics(),
child: Container(
child: Column(
children: [
///
OrderStatus(
orderStatus,
isTakeOut,
sendStatus,
payStatus,
refundStatus,
title,
center,
orderInfo,
),
child: Column(
children: [
///
OrderStatus(
orderStatus,
isTakeOut,
sendStatus,
payStatus,
refundStatus,
title,
center,
orderInfo,
),
///
if(orderInfo != null && orderInfo.addressExt != null)
OrderAddress(
orderStatus,
isTakeOut,
sendStatus,
payStatus,
refundStatus,
title,
center,
paySelected,
_orderCancel,
orderInfo,
jumpState
),
///
if(orderInfo != null && orderInfo.addressExt != null)
OrderAddress(
orderStatus,
isTakeOut,
sendStatus,
payStatus,
refundStatus,
title,
center,
paySelected,
_orderCancel,
orderInfo,
jumpState
),
///
if(orderInfo != null)
OrderCommodity(orderInfo),
///
if(orderInfo != null)
OrderCommodity(orderInfo),
///
if(orderInfo != null)
OrderInfoView(orderInfo, isTakeOut),
///
if(orderInfo != null)
OrderInfoView(orderInfo, isTakeOut),
Container(
height: 42.h,
),
],
),
Container(
height: 42.h,
),
),
],
),
),
)

Loading…
Cancel
Save