Commit ce6ede7fa491a9a32c7333c73519a62eaf0360f9

Authored by wdn127929
1 parent b2582dd3

录入预订

... ... @@ -11,14 +11,14 @@ if (flutterRoot == null) {
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}
def flutterVersionCode = "226"
def flutterVersionCode = "230"
if (flutterVersionCode == null) {
flutterVersionCode = '226'
flutterVersionCode = '230'
}
def flutterVersionName = "2.2.6"
def flutterVersionName = "2.3.0"
if (flutterVersionName == null) {
flutterVersionName = '2.2.6'
flutterVersionName = '2.3.0'
}
apply plugin: 'com.android.application'
... ...
... ... @@ -87,81 +87,83 @@ class _MyIntegralPageState extends State<MyIntegralPage> {
),
),
Positioned(
bottom: ScreenUtil().setWidth(-205 * 2 + 18 * 2),
top: ScreenUtil().setWidth(145 * 2 - 18 * 2),
left: ScreenUtil().setWidth(20),
right: ScreenUtil().setWidth(20),
child: Container(
padding: EdgeInsets.symmetric(
vertical: ScreenUtil().setWidth(20)),
// height: ScreenUtil().setWidth(205 * 2),
decoration: BoxDecoration(
borderRadius:
BorderRadius.circular(ScreenUtil().setWidth(40)),
color: Colors.white),
child: Column(
children: [
MyItem(
title: '已兑换积分',
content: widget.sunModel?.converted != null
? widget.sunModel.converted
: '0',
needRadius: true,
),
Padding(
padding: EdgeInsets.symmetric(
horizontal: ScreenUtil().setWidth(40)),
child: MyDivider(
double.infinity,
ScreenUtil().setWidth(2),
color: MyColours.color_f3f3f3,
)),
MyItem(
title: '累计积分',
content: widget.sunModel?.cumulative != null
? widget.sunModel.cumulative
: '0',
needRadius: true,
),
Padding(
padding: EdgeInsets.symmetric(
horizontal: ScreenUtil().setWidth(40)),
child: MyDivider(
double.infinity,
ScreenUtil().setWidth(2),
color: MyColours.color_f3f3f3,
)),
MyItem(
title: '待审核积分',
content: widget.sunModel?.reviewed != null
? widget.sunModel.reviewed
: '0',
needRadius: true,
)
],
child: Column(children: [
Container(
padding: EdgeInsets.symmetric(
vertical: ScreenUtil().setWidth(20)),
// height: ScreenUtil().setWidth(205 * 2),
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(
ScreenUtil().setWidth(40)),
color: Colors.white),
child: Column(
children: [
MyItem(
title: '已兑换积分',
content: widget.sunModel?.converted != null
? widget.sunModel.converted
: '0',
needRadius: true,
),
Padding(
padding: EdgeInsets.symmetric(
horizontal: ScreenUtil().setWidth(40)),
child: MyDivider(
double.infinity,
ScreenUtil().setWidth(2),
color: MyColours.color_f3f3f3,
)),
MyItem(
title: '累计积分',
content: widget.sunModel?.cumulative != null
? widget.sunModel.cumulative
: '0',
needRadius: true,
),
Padding(
padding: EdgeInsets.symmetric(
horizontal: ScreenUtil().setWidth(40)),
child: MyDivider(
double.infinity,
ScreenUtil().setWidth(2),
color: MyColours.color_f3f3f3,
)),
MyItem(
title: '待审核积分',
content: widget.sunModel?.reviewed != null
? widget.sunModel.reviewed
: '0',
needRadius: true,
)
],
),
),
VEmptyView(60),
RoundButton(
onPressed: () async {},
text: '兑换',
fontSize: 34,
isBold: false,
height: ScreenUtil().setWidth(84),
width: ScreenUtil().setWidth(155 * 2),
radius: ScreenUtil().setWidth(10),
),
))
VEmptyView(100),
Padding(
padding: EdgeInsets.symmetric(
horizontal: ScreenUtil().setWidth(40)),
child: Text(
'积分规则:\n1.每成功创建一个内部预订的预订安排微信发送给客户并且客户打开后,获得10积分;\n2.每个餐厅每天每个时段预订安排发送总量不能超过现有桌位数;\n3.同一顾客同一时段的订单,积分只给最早创建内部预订的经理;\n4.订单创建人转发的预订安排,才可获得积分,转发他人创建的订单无效。',
style: TextStyle(
fontSize: ScreenUtil().setSp(24),
color: MyColours.color_999999,
height: 1.3)))
])),
],
),
VEmptyView(434),
RoundButton(
onPressed: () async {},
text: '兑换',
fontSize: 34,
isBold: false,
height: ScreenUtil().setWidth(84),
width: ScreenUtil().setWidth(155 * 2),
radius: ScreenUtil().setWidth(10),
),
VEmptyView(100),
Padding(
padding:
EdgeInsets.symmetric(horizontal: ScreenUtil().setWidth(40)),
child: Text(
'积分规则:\n1.每成功创建一个内部预订的预订安排微信发送给客户并且客户打开后,获得10积分;\n2.每个餐厅每天每个时段预订安排发送总量不能超过现有桌位数;\n3.同一顾客同一时段的订单,积分只给最早创建内部预订的经理;\n4.订单创建人转发的预订安排,才可获得积分,转发他人创建的订单无效。',
style: TextStyle(
fontSize: ScreenUtil().setSp(24),
color: MyColours.color_999999,
height: 1.3)))
],
))));
}
... ...