12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- import 'package:flutter/material.dart';
- import 'package:flutter/cupertino.dart';
- import 'package:ysairplane/base/YSBase.dart';
- class YSVipCode extends StatefulWidget {
- @override
- _YSVipCodeState createState() => _YSVipCodeState();
- }
- class _YSVipCodeState extends State<YSVipCode> {
- @override
- Widget build(BuildContext context) {
- return YSBase(
- ystitle: '二维码',
- yschild: Container(
- height: MediaQuery.of(context).size.height-MediaQuery.of(context).padding.top-44,
- width: MediaQuery.of(context).size.width,
- color: Color(0xFFF5F6F8),
- child: Column(
- children: [
- Container(
- margin: EdgeInsets.only(top: 60,left: 20,right: 20),
- padding: EdgeInsets.all(15),
- decoration: BoxDecoration(
- color: Colors.white,
- borderRadius: BorderRadius.all(Radius.circular(10))
- ),
- child: Column(
- children: [
- Row(
- children: [
- Container(
- height: 70,
- width: 70,
- margin: EdgeInsets.only(right: 10),
- decoration: BoxDecoration(
- color: Colors.lightBlue,
- borderRadius: BorderRadius.all(Radius.circular(5))
- ),
- ),
- Container(
- height: 60,
- width: MediaQuery.of(context).size.width-165,
- child: Column(
- crossAxisAlignment: CrossAxisAlignment.start,
- mainAxisAlignment: MainAxisAlignment.spaceAround,
- children: [
- Text('Allen',style: TextStyle(fontSize: 14,color: Color(0xFF141418),fontWeight: FontWeight.bold),overflow: TextOverflow.ellipsis,),
- Text('15829646496',style: TextStyle(fontSize: 12,color: Color(0xFF777777)),)
- ],
- ),
- ),
- ],
- ),
- Container(
- margin: EdgeInsets.only(top: 30,bottom: 30),
- height: MediaQuery.of(context).size.width-100,
- width: MediaQuery.of(context).size.width-100,
- color: Colors.lightGreen,
- ),
- Text('编号:19999JUDHNMK99000',style: TextStyle(fontSize: 12,color: Color(0xFF777777)),)
- ],
- ),
- )
- ],
- ),
- ),
- );
- }
- }
|