YSHomeMsgDetail.dart 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. import 'package:flutter/cupertino.dart';
  2. import 'package:flutter/material.dart';
  3. import 'package:ysairplane/base/YSBase.dart';
  4. import 'package:ysairplane/tools/YSTools.dart';
  5. class YSHomeMsgDetail extends StatefulWidget {
  6. @override
  7. _YSHomeMsgDetailState createState() => _YSHomeMsgDetailState();
  8. }
  9. class _YSHomeMsgDetailState extends State<YSHomeMsgDetail> {
  10. @override
  11. Widget build(BuildContext context) {
  12. return YSBase(
  13. ystitle: '订单创建成功',
  14. yschild: Container(
  15. width: MediaQuery.of(context).size.width,
  16. height: MediaQuery.of(context).size.height-MediaQuery.of(context).padding.top-44,
  17. color: Color(0xFFF1F2F3),
  18. child: Column(
  19. children: [
  20. Container(
  21. padding: EdgeInsets.all(hsp(30)),
  22. color: Color(0xFFFAFAFA),
  23. child: Column(
  24. crossAxisAlignment: CrossAxisAlignment.start,
  25. children: [
  26. Text('2020.09.09 13:44',style: TextStyle(fontSize: zsp(22),color: Color(0xFFCCCCCC)),),
  27. Container(
  28. margin: EdgeInsets.only(top: hsp(20),bottom: hsp(20)),
  29. child: Text('订单创建成功',style: TextStyle(fontSize: zsp(34),color: Color(0xFF000000),fontWeight: FontWeight.bold),),
  30. ),
  31. Text('订单创建成功,订单编号: 3232132131,上海到西安,请及时支付!',style: TextStyle(fontSize: zsp(26),color: Color(0xFFB7B7B7)),),
  32. ],
  33. ),
  34. )
  35. ],
  36. ),
  37. ),
  38. );
  39. }
  40. }