import 'package:flutter/material.dart';

/// Description: home page
/// Time       : 12/20/2024 Friday
/// Author     : liuyuqi.gov@msn.cn
class HomePage extends StatefulWidget {
  const HomePage({super.key});

  @override
  State<HomePage> createState() => _HomePageState();
}

class _HomePageState extends State<HomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        actions: [],
        title: Text("主页"),
      ),
      body: Column(
        children: [
          Text("支付演示"),
          Text("商品名称: 橘子"),
          Text("数量:1斤"),
          Text("单价:11元/斤"),
          Text("总价:11元"),
          Row(
            children: [
              ElevatedButton(
                onPressed: () {},
                child: Text("微信支付"),
              ),
              ElevatedButton(
                onPressed: () {},
                child: Text("支付宝支付"),
              ),
              ElevatedButton(
                onPressed: () {},
                child: Text("Google支付"),
              ),
              ElevatedButton(
                onPressed: () {},
                child: Text("Stripe支付"),
              ),
            ],
          ),
        ],
      ),
    );
  }
}