import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:ysairplane/base/YSBase.dart'; import 'package:ysairplane/tools/YSTools.dart'; class YSHomeMsgDetail extends StatefulWidget { @override _YSHomeMsgDetailState createState() => _YSHomeMsgDetailState(); } class _YSHomeMsgDetailState extends State { @override Widget build(BuildContext context) { return YSBase( ystitle: '订单创建成功', yschild: Container( width: MediaQuery.of(context).size.width, height: MediaQuery.of(context).size.height-MediaQuery.of(context).padding.top-44, color: Color(0xFFF1F2F3), child: Column( children: [ Container( padding: EdgeInsets.all(hsp(30)), color: Color(0xFFFAFAFA), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ Text('2020.09.09 13:44',style: TextStyle(fontSize: zsp(22),color: Color(0xFFCCCCCC)),), Container( margin: EdgeInsets.only(top: hsp(20),bottom: hsp(20)), child: Text('订单创建成功',style: TextStyle(fontSize: zsp(34),color: Color(0xFF000000),fontWeight: FontWeight.bold),), ), Text('订单创建成功,订单编号: 3232132131,上海到西安,请及时支付!',style: TextStyle(fontSize: zsp(26),color: Color(0xFFB7B7B7)),), ], ), ) ], ), ), ); } }