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

4
lib/message/system_message.dart

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

9
lib/order/order_detail_page.dart

@ -174,16 +174,10 @@ class _OrderDetailPage extends State<OrderDetailPage> {
}, },
), ),
onRefresh:(){ onRefresh:(){
setState(() {
queryDetails(); queryDetails();
});
}, },
physics: BouncingScrollPhysics(), physics: BouncingScrollPhysics(),
scrollController: ScrollController(), scrollController: ScrollController(),
child: Container(
child: SingleChildScrollView(
physics: BouncingScrollPhysics(),
child: Container(
child: Column( child: Column(
children: [ children: [
/// ///
@ -228,9 +222,6 @@ class _OrderDetailPage extends State<OrderDetailPage> {
], ],
), ),
), ),
),
),
),
) )
], ],
), ),

Loading…
Cancel
Save