修改 包裹代收card

hmxc
张萌 4 years ago
parent 22695f9412
commit b02b7fdbb8

@ -6,12 +6,13 @@
import 'package:device_info_plus_web/device_info_plus_web.dart'; import 'package:device_info_plus_web/device_info_plus_web.dart';
import 'package:firebase_core_web/firebase_core_web.dart'; import 'package:firebase_core_web/firebase_core_web.dart';
import 'package:flutter_web_plugins/flutter_web_plugins.dart';
import 'package:image_picker_for_web/image_picker_for_web.dart'; import 'package:image_picker_for_web/image_picker_for_web.dart';
import 'package:package_info_plus_web/package_info_plus_web.dart'; import 'package:package_info_plus_web/package_info_plus_web.dart';
import 'package:shared_preferences_web/shared_preferences_web.dart'; import 'package:shared_preferences_web/shared_preferences_web.dart';
import 'package:url_launcher_web/url_launcher_web.dart'; import 'package:url_launcher_web/url_launcher_web.dart';
import 'package:flutter_web_plugins/flutter_web_plugins.dart';
// ignore: public_member_api_docs // ignore: public_member_api_docs
void registerPlugins(Registrar registrar) { void registerPlugins(Registrar registrar) {
DeviceInfoPlusPlugin.registerWith(registrar); DeviceInfoPlusPlugin.registerWith(registrar);

@ -65,25 +65,36 @@ class _ExpressPackageCardState extends State<ExpressPackageCard> {
.color(ktextSubColor) .color(ktextSubColor)
.make()), .make()),
].sepWidget(separate: 12.w.heightBox), ].sepWidget(separate: 12.w.heightBox),
40.w.heightBox, ...widget.index == 1
Row( ? [SizedBox()]
children: [ : [
Spacer(), 40.w.heightBox,
MaterialButton( Row(
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(74.w)), children: [
padding: EdgeInsets.symmetric(vertical: 8.w, horizontal: 24.w), Spacer(),
height: 50.w, MaterialButton(
color: kPrimaryColor, shape: RoundedRectangleBorder(
elevation: 0, borderRadius: BorderRadius.circular(74.w)),
focusElevation: 0, padding: EdgeInsets.symmetric(
hoverElevation: 0, vertical: 8.w, horizontal: 24.w),
disabledElevation: 0, height: 50.w,
highlightElevation: 0, color: kPrimaryColor,
onPressed: () {}, elevation: 0,
child: '确认领取'.text.size(24.sp).bold.color(ktextPrimary).make(), focusElevation: 0,
) hoverElevation: 0,
], disabledElevation: 0,
), highlightElevation: 0,
onPressed: () {},
child: '确认领取'
.text
.size(24.sp)
.bold
.color(ktextPrimary)
.make(),
)
],
),
]
], ],
), ),
); );

Loading…
Cancel
Save