game_order_view.dart
3.4 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
import 'package:cp_offline_manage/common/colors.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'game_order_logic.dart';
class Game_orderPage extends GetView<Game_orderLogic> {
const Game_orderPage({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('赛事下单'),
centerTitle: true,
backgroundColor: ColorConfig.themeColor,
),
body: Column(
children: [
InkWell(
child: Container(
height: 64,
padding: EdgeInsets.symmetric(horizontal: 12),
margin: EdgeInsets.only(top: 8),
color: ColorConfig.white,
alignment: Alignment.centerLeft,
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text("竞彩足球", style: TextStyle(fontSize: 17, color: ColorConfig.color33),),
Icon(Icons.chevron_right, size: 24, color: ColorConfig.color33,)
],
),
),
onTap: () {controller.jump_to_game(1); },
),
InkWell(
child: Container(
height: 64,
padding: EdgeInsets.symmetric(horizontal: 12),
margin: EdgeInsets.only(top: 8),
color: ColorConfig.white,
alignment: Alignment.centerLeft,
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text("竞彩篮球", style: TextStyle(fontSize: 17, color: ColorConfig.color33),),
Icon(Icons.chevron_right, size: 24, color: ColorConfig.color33,)
],
),
),
onTap: () {controller.jump_to_game(2); },
),
InkWell(
child: Container(
height: 64,
padding: EdgeInsets.symmetric(horizontal: 12),
margin: EdgeInsets.only(top: 8),
color: ColorConfig.white,
alignment: Alignment.centerLeft,
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text("大乐透", style: TextStyle(fontSize: 17, color: ColorConfig.color33),),
Icon(Icons.chevron_right, size: 24, color: ColorConfig.color33,)
],
),
),
onTap: () {controller.jump_to_game(3); },
),
InkWell(
child: Container(
height: 64,
padding: EdgeInsets.symmetric(horizontal: 12),
margin: EdgeInsets.only(top: 8),
color: ColorConfig.white,
alignment: Alignment.centerLeft,
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text("排列3", style: TextStyle(fontSize: 17, color: ColorConfig.color33),),
Icon(Icons.chevron_right, size: 24, color: ColorConfig.color33,)
],
),
),
onTap: () {controller.jump_to_game(4); },
)
],
)
);
}
}