fix:修复记录页面
This commit is contained in:
parent
ed4ab94246
commit
8de69a0180
@ -42,6 +42,12 @@ class _ValueAddedServicesRealNamePageState
|
|||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: AppColors.darkGrayTextColor, fontSize: 20.sp),
|
color: AppColors.darkGrayTextColor, fontSize: 20.sp),
|
||||||
)),
|
)),
|
||||||
|
TextButton(
|
||||||
|
onPressed: () {
|
||||||
|
Get.toNamed(Routers.valueAddedServicesRecordPage,
|
||||||
|
arguments: UseRecordListArg.cloudauth);
|
||||||
|
},
|
||||||
|
child: Text('asdasd')),
|
||||||
middleWidget(),
|
middleWidget(),
|
||||||
bottomWidget()
|
bottomWidget()
|
||||||
],
|
],
|
||||||
@ -53,8 +59,6 @@ class _ValueAddedServicesRealNamePageState
|
|||||||
Widget middleWidget() {
|
Widget middleWidget() {
|
||||||
return Container(
|
return Container(
|
||||||
width: 1.sw,
|
width: 1.sw,
|
||||||
// height: 100,
|
|
||||||
// color: Colors.grey.shade300,
|
|
||||||
margin: EdgeInsets.all(10.h),
|
margin: EdgeInsets.all(10.h),
|
||||||
decoration: const BoxDecoration(
|
decoration: const BoxDecoration(
|
||||||
image: DecorationImage(
|
image: DecorationImage(
|
||||||
@ -76,11 +80,8 @@ class _ValueAddedServicesRealNamePageState
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
// SizedBox(height:20.h),
|
Padding(
|
||||||
Container(
|
padding: const EdgeInsets.only(top: 10, bottom: 10),
|
||||||
margin: const EdgeInsets.only(top: 10, bottom: 10),
|
|
||||||
// color: Colors.red,
|
|
||||||
// height: 100.h,
|
|
||||||
child: Row(
|
child: Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceAround,
|
mainAxisAlignment: MainAxisAlignment.spaceAround,
|
||||||
children: [
|
children: [
|
||||||
@ -91,8 +92,6 @@ class _ValueAddedServicesRealNamePageState
|
|||||||
},
|
},
|
||||||
child: Container(
|
child: Container(
|
||||||
width: 200.w,
|
width: 200.w,
|
||||||
// height: 70.h,
|
|
||||||
// color: Colors.red,
|
|
||||||
child: Center(
|
child: Center(
|
||||||
child: Text(TranslationLoader.lanKeys!.record!.tr,
|
child: Text(TranslationLoader.lanKeys!.record!.tr,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
@ -106,8 +105,7 @@ class _ValueAddedServicesRealNamePageState
|
|||||||
},
|
},
|
||||||
child: Container(
|
child: Container(
|
||||||
width: 200.w,
|
width: 200.w,
|
||||||
// height: 70.h,
|
color: Colors.transparent,
|
||||||
// color: Colors.red,
|
|
||||||
child: Center(
|
child: Center(
|
||||||
child: Text(TranslationLoader.lanKeys!.buy!.tr,
|
child: Text(TranslationLoader.lanKeys!.buy!.tr,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
|
|||||||
@ -20,7 +20,7 @@ class ValueAddedServicesRecordLogic extends BaseGetXController {
|
|||||||
void onInit() {
|
void onInit() {
|
||||||
super.onInit();
|
super.onInit();
|
||||||
dynamic data = Get.arguments;
|
dynamic data = Get.arguments;
|
||||||
if (data is! Map && data['type'] is! String) {
|
if (data is! Map || data['type'] is! String) {
|
||||||
Get.back();
|
Get.back();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -68,7 +68,7 @@ class _PurchaseRecordsState extends State<_PurchaseRecords> {
|
|||||||
return EasyRefresh(
|
return EasyRefresh(
|
||||||
onRefresh: () async {},
|
onRefresh: () async {},
|
||||||
onLoad: () async {},
|
onLoad: () async {},
|
||||||
child: ListView.builder(itemBuilder: (BuildContext context, int index) {
|
child: ListView.builder(itemCount: 0,itemBuilder: (BuildContext context, int index) {
|
||||||
return SizedBox();
|
return SizedBox();
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user