|
|
|
1
|
+import 'package:flutter/material.dart';
|
|
|
|
2
|
+
|
|
|
|
3
|
+import 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
|
|
4
|
+
|
|
|
|
5
|
+import 'package:one_key/provider/marketing_center_provider.dart';
|
|
|
|
6
|
+import 'package:one_key/route/navigator_util.dart';
|
|
|
|
7
|
+
|
|
|
|
8
|
+import 'package:one_key/widgets/MyDivider.dart';
|
|
|
|
9
|
+import 'package:one_key/widgets/system_app_bar.dart';
|
|
|
|
10
|
+import 'package:provider/provider.dart';
|
|
|
|
11
|
+
|
|
|
|
12
|
+import '../../../../constant/state.dart';
|
|
|
|
13
|
+import '../../../../res/colors.dart';
|
|
|
|
14
|
+
|
|
|
|
15
|
+import '../../../../utils/screen_util.dart';
|
|
|
|
16
|
+import '../../../../utils/utils.dart';
|
|
|
|
17
|
+import '../../../../widgets/h_empty_view.dart';
|
|
|
|
18
|
+import '../../../../widgets/page_exception.dart';
|
|
|
|
19
|
+
|
|
|
|
20
|
+import '../../../../widgets/v_empty_view.dart';
|
|
|
|
21
|
+
|
|
|
|
22
|
+/**
|
|
|
|
23
|
+ * 会员充值
|
|
|
|
24
|
+ */
|
|
|
|
25
|
+
|
|
|
|
26
|
+class MessageRechargeInfoPage extends StatefulWidget {
|
|
|
|
27
|
+ final String idstr;
|
|
|
|
28
|
+ MessageRechargeInfoPage({Key key, this.idstr}) : super(key: key);
|
|
|
|
29
|
+
|
|
|
|
30
|
+ @override
|
|
|
|
31
|
+ _MessageRechargeInfoPageState createState() =>
|
|
|
|
32
|
+ _MessageRechargeInfoPageState();
|
|
|
|
33
|
+}
|
|
|
|
34
|
+
|
|
|
|
35
|
+class _MessageRechargeInfoPageState extends State<MessageRechargeInfoPage> {
|
|
|
|
36
|
+ MarketingCenterProvider marketingCenterProvider;
|
|
|
|
37
|
+
|
|
|
|
38
|
+ @override
|
|
|
|
39
|
+ void initState() {
|
|
|
|
40
|
+ super.initState();
|
|
|
|
41
|
+
|
|
|
|
42
|
+ WidgetsBinding.instance.addPostFrameCallback((_) {
|
|
|
|
43
|
+ // if (widget.idstr != null && widget.idstr != 'null') {
|
|
|
|
44
|
+ // _getNewRechargeDetail();
|
|
|
|
45
|
+ // }
|
|
|
|
46
|
+ });
|
|
|
|
47
|
+ }
|
|
|
|
48
|
+
|
|
|
|
49
|
+ _getNewRechargeDetail() async {
|
|
|
|
50
|
+ bool success = await marketingCenterProvider.getNewRechargeDetail(
|
|
|
|
51
|
+ context, widget.idstr);
|
|
|
|
52
|
+ }
|
|
|
|
53
|
+
|
|
|
|
54
|
+ ///输入框
|
|
|
|
55
|
+ Widget _text(
|
|
|
|
56
|
+ String title,
|
|
|
|
57
|
+ String hintText,
|
|
|
|
58
|
+ ) {
|
|
|
|
59
|
+ return Container(
|
|
|
|
60
|
+ child: Row(
|
|
|
|
61
|
+ mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
62
|
+ children: [
|
|
|
|
63
|
+ Container(
|
|
|
|
64
|
+ child: Text(
|
|
|
|
65
|
+ title,
|
|
|
|
66
|
+ style: TextStyle(
|
|
|
|
67
|
+ color: MyColours.color_515151,
|
|
|
|
68
|
+ fontSize: ScreenUtil().setSp(32)),
|
|
|
|
69
|
+ ),
|
|
|
|
70
|
+ ),
|
|
|
|
71
|
+ Spacer(),
|
|
|
|
72
|
+ Text(
|
|
|
|
73
|
+ hintText,
|
|
|
|
74
|
+ style: TextStyle(
|
|
|
|
75
|
+ color: MyColours.color_999999,
|
|
|
|
76
|
+ fontSize: ScreenUtil().setSp(32),
|
|
|
|
77
|
+ ),
|
|
|
|
78
|
+ ),
|
|
|
|
79
|
+ HEmptyView(32)
|
|
|
|
80
|
+ ],
|
|
|
|
81
|
+ ),
|
|
|
|
82
|
+ );
|
|
|
|
83
|
+ }
|
|
|
|
84
|
+
|
|
|
|
85
|
+ ///券说明
|
|
|
|
86
|
+ Widget _explain(
|
|
|
|
87
|
+ String title,
|
|
|
|
88
|
+ String hintText,
|
|
|
|
89
|
+ ) {
|
|
|
|
90
|
+ return Container(
|
|
|
|
91
|
+ child: Column(
|
|
|
|
92
|
+ crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
93
|
+ children: [
|
|
|
|
94
|
+ Align(
|
|
|
|
95
|
+ alignment: Alignment.centerLeft,
|
|
|
|
96
|
+ child: Text(
|
|
|
|
97
|
+ title,
|
|
|
|
98
|
+ textAlign: TextAlign.left,
|
|
|
|
99
|
+ style: TextStyle(
|
|
|
|
100
|
+ color: MyColours.color_515151,
|
|
|
|
101
|
+ fontSize: ScreenUtil().setSp(32)),
|
|
|
|
102
|
+ )),
|
|
|
|
103
|
+ VEmptyView(26),
|
|
|
|
104
|
+ Padding(
|
|
|
|
105
|
+ padding: EdgeInsets.only(left: w(20)),
|
|
|
|
106
|
+ child: Text(
|
|
|
|
107
|
+ marketingCenterProvider.rechargeDetail.explain == '' ||
|
|
|
|
108
|
+ marketingCenterProvider.rechargeDetail.explain == null
|
|
|
|
109
|
+ ? '无'
|
|
|
|
110
|
+ : marketingCenterProvider.rechargeDetail.explain,
|
|
|
|
111
|
+
|
|
|
|
112
|
+ // maxLengthEnforced: true,
|
|
|
|
113
|
+ style: TextStyle(
|
|
|
|
114
|
+ fontSize: ScreenUtil().setSp(32),
|
|
|
|
115
|
+ color: MyColours.color_999999), //输入文本的样式
|
|
|
|
116
|
+ )),
|
|
|
|
117
|
+ ],
|
|
|
|
118
|
+ ),
|
|
|
|
119
|
+ );
|
|
|
|
120
|
+ }
|
|
|
|
121
|
+
|
|
|
|
122
|
+ ///是否立即启用
|
|
|
|
123
|
+ Widget _canUse() {
|
|
|
|
124
|
+ return Container(
|
|
|
|
125
|
+ child: Row(
|
|
|
|
126
|
+ crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
127
|
+ mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
128
|
+ children: [
|
|
|
|
129
|
+ Container(
|
|
|
|
130
|
+ child: Text(
|
|
|
|
131
|
+ '立即启用',
|
|
|
|
132
|
+ style: TextStyle(
|
|
|
|
133
|
+ color: MyColours.color_515151,
|
|
|
|
134
|
+ fontSize: ScreenUtil().setSp(32)),
|
|
|
|
135
|
+ ),
|
|
|
|
136
|
+ ),
|
|
|
|
137
|
+ Spacer(),
|
|
|
|
138
|
+ Image.asset(
|
|
|
|
139
|
+ marketingCenterProvider.rechargeDetail.isOpen == '1'
|
|
|
|
140
|
+ ? Utils.getImgPath('swich_on')
|
|
|
|
141
|
+ : Utils.getImgPath('swich_off'),
|
|
|
|
142
|
+ width: ScreenUtil().setWidth(44 * 2),
|
|
|
|
143
|
+ ),
|
|
|
|
144
|
+ HEmptyView(16)
|
|
|
|
145
|
+ ],
|
|
|
|
146
|
+ ),
|
|
|
|
147
|
+ );
|
|
|
|
148
|
+ }
|
|
|
|
149
|
+
|
|
|
|
150
|
+ @override
|
|
|
|
151
|
+ Widget build(BuildContext context) {
|
|
|
|
152
|
+ marketingCenterProvider =
|
|
|
|
153
|
+ Provider.of<MarketingCenterProvider>(context, listen: true);
|
|
|
|
154
|
+ return Scaffold(
|
|
|
|
155
|
+ backgroundColor: MyColours.color_ffffff,
|
|
|
|
156
|
+ appBar: SystemAppBar('会员充值'),
|
|
|
|
157
|
+ body: Consumer<MarketingCenterProvider>(builder: (context, model, _) {
|
|
|
|
158
|
+ if (model.pageStateMessageDetail != PageState.Success) {
|
|
|
|
159
|
+ return ExceptionPage(
|
|
|
|
160
|
+ pageState: model.pageStateMessageDetail,
|
|
|
|
161
|
+ callback: () {
|
|
|
|
162
|
+ // offset = 0;
|
|
|
|
163
|
+ // getMessage(showLoading: true);
|
|
|
|
164
|
+
|
|
|
|
165
|
+ if (model.pageStateMessageDetail == PageState.Empty) {
|
|
|
|
166
|
+ // NavigatorUtil.goCouponHistoryPage(context);
|
|
|
|
167
|
+ } else {
|
|
|
|
168
|
+ // _couponNetworkData(widget.index);
|
|
|
|
169
|
+ }
|
|
|
|
170
|
+ // _getNewRechargeDetail();
|
|
|
|
171
|
+ },
|
|
|
|
172
|
+ emptyMsg: "暂时没有详情数据哦",
|
|
|
|
173
|
+ emptyImg: "empty_search",
|
|
|
|
174
|
+ showMsg: "加载中,请稍后...",
|
|
|
|
175
|
+ // showText: '查看过期优惠券',
|
|
|
|
176
|
+ );
|
|
|
|
177
|
+ } else {
|
|
|
|
178
|
+ return Column(
|
|
|
|
179
|
+ children: [
|
|
|
|
180
|
+ Expanded(
|
|
|
|
181
|
+ child: SingleChildScrollView(
|
|
|
|
182
|
+ child: Padding(
|
|
|
|
183
|
+ padding: EdgeInsets.only(left: w(16)),
|
|
|
|
184
|
+ child: Column(
|
|
|
|
185
|
+ crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
186
|
+ children: [
|
|
|
|
187
|
+ VEmptyView(56),
|
|
|
|
188
|
+ _text(
|
|
|
|
189
|
+ '顾客姓名',
|
|
|
|
190
|
+ '欧阳正德 先生',
|
|
|
|
191
|
+ ),
|
|
|
|
192
|
+ VEmptyView(24),
|
|
|
|
193
|
+ MyDivider(
|
|
|
|
194
|
+ double.infinity,
|
|
|
|
195
|
+ w(0.5),
|
|
|
|
196
|
+ color: MyColours.color_E7E7E7,
|
|
|
|
197
|
+ ),
|
|
|
|
198
|
+ VEmptyView(48),
|
|
|
|
199
|
+ _text(
|
|
|
|
200
|
+ '联系电话',
|
|
|
|
201
|
+ '1987665555',
|
|
|
|
202
|
+ ),
|
|
|
|
203
|
+ VEmptyView(24),
|
|
|
|
204
|
+ MyDivider(
|
|
|
|
205
|
+ double.infinity,
|
|
|
|
206
|
+ w(0.5),
|
|
|
|
207
|
+ color: MyColours.color_E7E7E7,
|
|
|
|
208
|
+ ),
|
|
|
|
209
|
+ VEmptyView(48),
|
|
|
|
210
|
+ _text(
|
|
|
|
211
|
+ '顾客生日',
|
|
|
|
212
|
+ '2022-04-12',
|
|
|
|
213
|
+ ),
|
|
|
|
214
|
+ VEmptyView(24),
|
|
|
|
215
|
+ MyDivider(
|
|
|
|
216
|
+ double.infinity,
|
|
|
|
217
|
+ w(0.5),
|
|
|
|
218
|
+ color: MyColours.color_E7E7E7,
|
|
|
|
219
|
+ ),
|
|
|
|
220
|
+ VEmptyView(48),
|
|
|
|
221
|
+ _text(
|
|
|
|
222
|
+ '充值金额',
|
|
|
|
223
|
+ '1000元',
|
|
|
|
224
|
+ ),
|
|
|
|
225
|
+ VEmptyView(24),
|
|
|
|
226
|
+ MyDivider(
|
|
|
|
227
|
+ double.infinity,
|
|
|
|
228
|
+ w(0.5),
|
|
|
|
229
|
+ color: MyColours.color_E7E7E7,
|
|
|
|
230
|
+ ),
|
|
|
|
231
|
+ VEmptyView(48),
|
|
|
|
232
|
+ _text(
|
|
|
|
233
|
+ '活动名称',
|
|
|
|
234
|
+ '充1000送100',
|
|
|
|
235
|
+ ),
|
|
|
|
236
|
+ VEmptyView(24),
|
|
|
|
237
|
+ MyDivider(
|
|
|
|
238
|
+ double.infinity,
|
|
|
|
239
|
+ w(0.5),
|
|
|
|
240
|
+ color: MyColours.color_E7E7E7,
|
|
|
|
241
|
+ ),
|
|
|
|
242
|
+ VEmptyView(48),
|
|
|
|
243
|
+ _text(
|
|
|
|
244
|
+ '充值满',
|
|
|
|
245
|
+ '1000',
|
|
|
|
246
|
+ ),
|
|
|
|
247
|
+ VEmptyView(24),
|
|
|
|
248
|
+ MyDivider(
|
|
|
|
249
|
+ double.infinity,
|
|
|
|
250
|
+ w(0.5),
|
|
|
|
251
|
+ color: MyColours.color_E7E7E7,
|
|
|
|
252
|
+ ),
|
|
|
|
253
|
+ VEmptyView(48),
|
|
|
|
254
|
+ // Container(
|
|
|
|
255
|
+ // alignment: Alignment.centerLeft,
|
|
|
|
256
|
+ // child: Text(
|
|
|
|
257
|
+ // '优惠活动',
|
|
|
|
258
|
+ // style: TextStyle(
|
|
|
|
259
|
+ // color: MyColours.color_515151,
|
|
|
|
260
|
+ // fontSize: ScreenUtil().setSp(32)),
|
|
|
|
261
|
+ // ),
|
|
|
|
262
|
+ // ),
|
|
|
|
263
|
+ // VEmptyView(28),
|
|
|
|
264
|
+ // Padding(
|
|
|
|
265
|
+ // padding: EdgeInsets.only(left: w(16)),
|
|
|
|
266
|
+ // child: Column(
|
|
|
|
267
|
+ // crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
268
|
+ // // mainAxisAlignment: MainAxisAlignment.start,
|
|
|
|
269
|
+ // children: [
|
|
|
|
270
|
+ // if (marketingCenterProvider
|
|
|
|
271
|
+ // .rechargeDetail.rechargeList.isPrice ==
|
|
|
|
272
|
+ // '1')
|
|
|
|
273
|
+ // Row(
|
|
|
|
274
|
+ // mainAxisAlignment:
|
|
|
|
275
|
+ // MainAxisAlignment.spaceBetween,
|
|
|
|
276
|
+ // children: [
|
|
|
|
277
|
+ // Text(
|
|
|
|
278
|
+ // '赠送',
|
|
|
|
279
|
+ // style: TextStyle(
|
|
|
|
280
|
+ // color: MyColours.color_515151,
|
|
|
|
281
|
+ // fontSize: ScreenUtil().setSp(32)),
|
|
|
|
282
|
+ // ),
|
|
|
|
283
|
+ // Spacer(),
|
|
|
|
284
|
+ // Text(
|
|
|
|
285
|
+ // '${marketingCenterProvider.rechargeDetail.rechargeList.price}元余额',
|
|
|
|
286
|
+ // style: TextStyle(
|
|
|
|
287
|
+ // color: MyColours.color_999999,
|
|
|
|
288
|
+ // fontSize: ScreenUtil().setSp(32)),
|
|
|
|
289
|
+ // ),
|
|
|
|
290
|
+ // HEmptyView(32)
|
|
|
|
291
|
+ // ],
|
|
|
|
292
|
+ // ),
|
|
|
|
293
|
+ // if (marketingCenterProvider
|
|
|
|
294
|
+ // .rechargeDetail.rechargeList.isPrice ==
|
|
|
|
295
|
+ // '1')
|
|
|
|
296
|
+ // VEmptyView(26),
|
|
|
|
297
|
+ // if (marketingCenterProvider
|
|
|
|
298
|
+ // .rechargeDetail.rechargeList.isScore ==
|
|
|
|
299
|
+ // '1')
|
|
|
|
300
|
+ // Row(
|
|
|
|
301
|
+ // mainAxisAlignment:
|
|
|
|
302
|
+ // MainAxisAlignment.spaceBetween,
|
|
|
|
303
|
+ // children: [
|
|
|
|
304
|
+ // Text(
|
|
|
|
305
|
+ // '赠送',
|
|
|
|
306
|
+ // style: TextStyle(
|
|
|
|
307
|
+ // color: MyColours.color_515151,
|
|
|
|
308
|
+ // fontSize: ScreenUtil().setSp(32)),
|
|
|
|
309
|
+ // ),
|
|
|
|
310
|
+ // Spacer(),
|
|
|
|
311
|
+ // Text(
|
|
|
|
312
|
+ // '${marketingCenterProvider.rechargeDetail.rechargeList.score}积分',
|
|
|
|
313
|
+ // style: TextStyle(
|
|
|
|
314
|
+ // color: MyColours.color_999999,
|
|
|
|
315
|
+ // fontSize: ScreenUtil().setSp(32)),
|
|
|
|
316
|
+ // ),
|
|
|
|
317
|
+ // HEmptyView(32)
|
|
|
|
318
|
+ // ],
|
|
|
|
319
|
+ // ),
|
|
|
|
320
|
+ // if (marketingCenterProvider
|
|
|
|
321
|
+ // .rechargeDetail.rechargeList.isScore ==
|
|
|
|
322
|
+ // '1')
|
|
|
|
323
|
+ // VEmptyView(26),
|
|
|
|
324
|
+ // if (marketingCenterProvider.rechargeDetail
|
|
|
|
325
|
+ // .rechargeList.isCoupons ==
|
|
|
|
326
|
+ // '1')
|
|
|
|
327
|
+ // Row(
|
|
|
|
328
|
+ // mainAxisAlignment:
|
|
|
|
329
|
+ // MainAxisAlignment.spaceBetween,
|
|
|
|
330
|
+ // children: [
|
|
|
|
331
|
+ // Text(
|
|
|
|
332
|
+ // '赠送',
|
|
|
|
333
|
+ // style: TextStyle(
|
|
|
|
334
|
+ // color: MyColours.color_515151,
|
|
|
|
335
|
+ // fontSize: ScreenUtil().setSp(32)),
|
|
|
|
336
|
+ // ),
|
|
|
|
337
|
+ // Spacer(),
|
|
|
|
338
|
+ // Text(
|
|
|
|
339
|
+ // '优惠券',
|
|
|
|
340
|
+ // style: TextStyle(
|
|
|
|
341
|
+ // color: MyColours.color_999999,
|
|
|
|
342
|
+ // fontSize: ScreenUtil().setSp(32)),
|
|
|
|
343
|
+ // ),
|
|
|
|
344
|
+ // HEmptyView(32)
|
|
|
|
345
|
+ // ],
|
|
|
|
346
|
+ // ),
|
|
|
|
347
|
+ // if (marketingCenterProvider.rechargeDetail
|
|
|
|
348
|
+ // .rechargeList.isCoupons ==
|
|
|
|
349
|
+ // '1')
|
|
|
|
350
|
+ // VEmptyView(26),
|
|
|
|
351
|
+ // if (marketingCenterProvider.rechargeDetail
|
|
|
|
352
|
+ // .rechargeList.isCoupons ==
|
|
|
|
353
|
+ // '1')
|
|
|
|
354
|
+ // Wrap(
|
|
|
|
355
|
+ // spacing: w(9),
|
|
|
|
356
|
+ // runSpacing: w(9),
|
|
|
|
357
|
+ // alignment: WrapAlignment.start,
|
|
|
|
358
|
+ // runAlignment: WrapAlignment.start,
|
|
|
|
359
|
+ // children: marketingCenterProvider
|
|
|
|
360
|
+ // .rechargeDetail.rechargeList.coupons
|
|
|
|
361
|
+ // .map((e) {
|
|
|
|
362
|
+ // return InkWell(
|
|
|
|
363
|
+ // onTap: () {
|
|
|
|
364
|
+ // NavigatorUtil.goCouponDetailPage(
|
|
|
|
365
|
+ // context, null,
|
|
|
|
366
|
+ // idStr: e.id);
|
|
|
|
367
|
+ // },
|
|
|
|
368
|
+ // child: Text(
|
|
|
|
369
|
+ // e.aname,
|
|
|
|
370
|
+ // style: TextStyle(
|
|
|
|
371
|
+ // color: MyColours.color_438E93,
|
|
|
|
372
|
+ // fontSize:
|
|
|
|
373
|
+ // ScreenUtil().setSp(32)),
|
|
|
|
374
|
+ // ));
|
|
|
|
375
|
+ // }).toList()),
|
|
|
|
376
|
+ // VEmptyView(26),
|
|
|
|
377
|
+ // ],
|
|
|
|
378
|
+ // ),
|
|
|
|
379
|
+ // ),
|
|
|
|
380
|
+ // MyDivider(
|
|
|
|
381
|
+ // double.infinity,
|
|
|
|
382
|
+ // w(0.5),
|
|
|
|
383
|
+ // color: MyColours.color_E7E7E7,
|
|
|
|
384
|
+ // ),
|
|
|
|
385
|
+ // VEmptyView(48),
|
|
|
|
386
|
+ // Row(
|
|
|
|
387
|
+ // children: [
|
|
|
|
388
|
+ // Text(
|
|
|
|
389
|
+ // '使用限制:',
|
|
|
|
390
|
+ // style: TextStyle(
|
|
|
|
391
|
+ // color: MyColours.color_515151,
|
|
|
|
392
|
+ // fontSize: ScreenUtil().setSp(32)),
|
|
|
|
393
|
+ // ),
|
|
|
|
394
|
+ // Spacer(),
|
|
|
|
395
|
+ // Text(
|
|
|
|
396
|
+ // marketingCenterProvider
|
|
|
|
397
|
+ // .rechargeDetail.expDate.isFix ==
|
|
|
|
398
|
+ // '1'
|
|
|
|
399
|
+ // ? '无'
|
|
|
|
400
|
+ // : marketingCenterProvider.rechargeDetail
|
|
|
|
401
|
+ // .expDate.isWeek ==
|
|
|
|
402
|
+ // '1'
|
|
|
|
403
|
+ // ? '每周指定日期可用'
|
|
|
|
404
|
+ // : '会员生日当天',
|
|
|
|
405
|
+ // style: TextStyle(
|
|
|
|
406
|
+ // color: MyColours.color_999999,
|
|
|
|
407
|
+ // fontSize: ScreenUtil().setSp(32)),
|
|
|
|
408
|
+ // ),
|
|
|
|
409
|
+ // HEmptyView(32)
|
|
|
|
410
|
+ // ],
|
|
|
|
411
|
+ // ),
|
|
|
|
412
|
+ // if (marketingCenterProvider
|
|
|
|
413
|
+ // .rechargeDetail.expDate.isWeek ==
|
|
|
|
414
|
+ // '1')
|
|
|
|
415
|
+ // VEmptyView(26),
|
|
|
|
416
|
+ // if (marketingCenterProvider
|
|
|
|
417
|
+ // .rechargeDetail.expDate.isWeek ==
|
|
|
|
418
|
+ // '1')
|
|
|
|
419
|
+ // Align(
|
|
|
|
420
|
+ // alignment: Alignment.centerRight,
|
|
|
|
421
|
+ // child: Padding(
|
|
|
|
422
|
+ // padding: EdgeInsets.only(right: w(16)),
|
|
|
|
423
|
+ // child: Text(
|
|
|
|
424
|
+ // marketingCenterProvider
|
|
|
|
425
|
+ // .rechargeDetail.expDate.weekDateShow,
|
|
|
|
426
|
+ // maxLines: 10,
|
|
|
|
427
|
+ // style: TextStyle(
|
|
|
|
428
|
+ // color: MyColours.color_999999,
|
|
|
|
429
|
+ // fontSize: ScreenUtil().setSp(32)),
|
|
|
|
430
|
+ // ))),
|
|
|
|
431
|
+ // VEmptyView(24),
|
|
|
|
432
|
+ // MyDivider(
|
|
|
|
433
|
+ // double.infinity,
|
|
|
|
434
|
+ // w(0.5),
|
|
|
|
435
|
+ // color: MyColours.color_E7E7E7,
|
|
|
|
436
|
+ // ),
|
|
|
|
437
|
+ // VEmptyView(48),
|
|
|
|
438
|
+ // Row(
|
|
|
|
439
|
+ // children: [
|
|
|
|
440
|
+ // Text(
|
|
|
|
441
|
+ // '有效期:',
|
|
|
|
442
|
+ // style: TextStyle(
|
|
|
|
443
|
+ // color: MyColours.color_515151,
|
|
|
|
444
|
+ // fontSize: ScreenUtil().setSp(32)),
|
|
|
|
445
|
+ // ),
|
|
|
|
446
|
+ // Spacer(),
|
|
|
|
447
|
+ // Text(
|
|
|
|
448
|
+ // marketingCenterProvider
|
|
|
|
449
|
+ // .rechargeDetail.stimeStr +
|
|
|
|
450
|
+ // '至' +
|
|
|
|
451
|
+ // marketingCenterProvider
|
|
|
|
452
|
+ // .rechargeDetail.etimeStr,
|
|
|
|
453
|
+ // style: TextStyle(
|
|
|
|
454
|
+ // color: MyColours.color_999999,
|
|
|
|
455
|
+ // fontSize: ScreenUtil().setSp(32)),
|
|
|
|
456
|
+ // ),
|
|
|
|
457
|
+ // HEmptyView(32)
|
|
|
|
458
|
+ // ],
|
|
|
|
459
|
+ // ),
|
|
|
|
460
|
+ // VEmptyView(24),
|
|
|
|
461
|
+ // MyDivider(
|
|
|
|
462
|
+ // double.infinity,
|
|
|
|
463
|
+ // w(0.5),
|
|
|
|
464
|
+ // color: MyColours.color_E7E7E7,
|
|
|
|
465
|
+ // ),
|
|
|
|
466
|
+ // VEmptyView(48),
|
|
|
|
467
|
+ // _explain(
|
|
|
|
468
|
+ // '备注',
|
|
|
|
469
|
+ // '请输入备注信息',
|
|
|
|
470
|
+ // ),
|
|
|
|
471
|
+ // VEmptyView(48),
|
|
|
|
472
|
+ // _canUse()
|
|
|
|
473
|
+ ],
|
|
|
|
474
|
+ )),
|
|
|
|
475
|
+ )),
|
|
|
|
476
|
+ ],
|
|
|
|
477
|
+ );
|
|
|
|
478
|
+ }
|
|
|
|
479
|
+ }));
|
|
|
|
480
|
+ }
|
|
|
|
481
|
+} |