recovery_ticket_view.dart
4.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import '../../../../common/colors.dart';
import 'recovery_ticket_logic.dart';
class Recovery_ticketPage extends GetView<Recovery_ticketLogic> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('回票登记'),
centerTitle: true,
backgroundColor: ColorConfig.themeColor,
),
body: Padding(
padding: const EdgeInsets.symmetric(horizontal: 12, vertical: 12),
child: Column(
children: [
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text('回收日期:', style: TextStyle(color: ColorConfig.color33, fontSize: 16),),
Text('20223-04-25', style: TextStyle(color: ColorConfig.themeColor, fontSize: 16),),
],
),
const SizedBox(height: 20,),
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text('回票人:', style: TextStyle(color: ColorConfig.color33, fontSize: 16),),
Text('选择回票人>>', style: TextStyle(color: ColorConfig.color548DEE, fontSize: 16),),
],
),
const SizedBox(height: 20,),
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text('刮刮乐1(5元面值)', style: TextStyle(color: ColorConfig.color33, fontSize: 16),),
Text('5张 25元', style: TextStyle(color: ColorConfig.color33, fontSize: 16),),
Text('修改>>', style: TextStyle(color: ColorConfig.color548DEE, fontSize: 16),),
],
),
const SizedBox(height: 20,),
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text('刮刮乐2(10元面值)', style: TextStyle(color: ColorConfig.color33, fontSize: 16),),
Text('10张 200元', style: TextStyle(color: ColorConfig.color33, fontSize: 16),),
Text('修改>>', style: TextStyle(color: ColorConfig.color548DEE, fontSize: 16),),
],
),
const SizedBox(height: 20,),
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text('刮刮乐3(20元面值)', style: TextStyle(color: ColorConfig.color33, fontSize: 16),),
Text('20张 400元', style: TextStyle(color: ColorConfig.color33, fontSize: 16),),
Text('修改>>', style: TextStyle(color: ColorConfig.color548DEE, fontSize: 16),),
],
),
const SizedBox(height: 20,),
Container(
alignment: Alignment.center,
width: 120,
margin: EdgeInsets.symmetric(horizontal: 20, vertical: 10),
padding: EdgeInsets.symmetric(vertical: 5),
decoration: BoxDecoration(
color: ColorConfig.themeColor,
borderRadius: BorderRadius.all(Radius.circular(4))
),
child: Text('继续添加', style: TextStyle(color: ColorConfig.white, fontSize: 16),),
),
const SizedBox(height: 20,),
Container(
alignment: Alignment.centerLeft,
child: Text('总金额: 2100元', style: TextStyle(color: ColorConfig.themeColor, fontSize: 16),),
),
const SizedBox(height: 20,),
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text('中奖票数', style: TextStyle(color: ColorConfig.color33, fontSize: 16),),
Text('20张 总共 1200元', style: TextStyle(color: ColorConfig.color33, fontSize: 16),),
Text('修改>>', style: TextStyle(color: ColorConfig.color548DEE, fontSize: 16),),
],
),
const SizedBox(height: 20,),
InkWell(
child: Container(
alignment: Alignment.center,
margin: EdgeInsets.symmetric(horizontal: 20, vertical: 10),
padding: EdgeInsets.symmetric(vertical: 5),
decoration: BoxDecoration(
color: ColorConfig.themeColor,
borderRadius: BorderRadius.all(Radius.circular(4))
),
child: Text('确认回票', style: TextStyle(color: ColorConfig.white, fontSize: 16),),
),
onTap: () { controller.config(); },
),
],
),
)
);
}
}