import 'package:dating_touchme_app/components/page_appbar.dart'; import 'package:flutter/material.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart'; class PayFailPage extends StatefulWidget { const PayFailPage({super.key}); @override State createState() => _PayFailPageState(); } class _PayFailPageState extends State { @override Widget build(BuildContext context) { return Scaffold( appBar: PageAppbar(title: "支付结果"), body: SingleChildScrollView( child: Container( width: 375.w, padding: EdgeInsets.symmetric( vertical: 60.w ), child: Column( children: [ Container( width: 70.w, height: 70.w, margin: EdgeInsets.only(bottom: 16.w), decoration: BoxDecoration( borderRadius: BorderRadius.all(Radius.circular(70.w)), color: const Color.fromRGBO(248, 85, 66, 1) ), child: Center( child: Icon( Icons.close, size: 50.w, color: Colors.white, ), ), ), Text( "交易失败", style: TextStyle( fontSize: 13.w, fontWeight: FontWeight.w500 ), ), SizedBox(height: 292.w,), Container( width: 150.w, height: 30.w, decoration: BoxDecoration( borderRadius: BorderRadius.all(Radius.circular(30.w)), color: const Color.fromRGBO(245, 245, 245, 1) ), child: Center( child: Text( "联系客服", style: TextStyle( fontSize: 13.w, fontWeight: FontWeight.w500 ), ), ), ), SizedBox(height: 18.w,), Text( "返回", style: TextStyle( fontSize: 13.w, color: const Color.fromRGBO(144, 144, 144, 1), fontWeight: FontWeight.w500 ), ) ], ), ), ), ); } }