pull/1/head
张萌 3 years ago
commit c420e24a13

@ -328,11 +328,11 @@ class _PersonalIndexState extends State<PersonalIndex>
children: [ children: [
'我的积分'.text.size(30.sp).black.bold.make(), '我的积分'.text.size(30.sp).black.bold.make(),
Spacer(), Spacer(),
Assets.icons.intergral // Assets.icons.intergral
.image(width: 32.w, height: 32.w), // .image(width: 32.w, height: 32.w),
16.w.widthBox, // 16.w.widthBox,
'123'.text.size(28.sp).black.make(), // '123'.text.size(28.sp).black.make(),
16.w.widthBox, // 16.w.widthBox,
Icon( Icon(
CupertinoIcons.right_chevron, CupertinoIcons.right_chevron,
size: 24.w, size: 24.w,
@ -375,12 +375,12 @@ class _PersonalIndexState extends State<PersonalIndex>
_function('我的家庭', R.ASSETS_ICONS_ICON_MY_HOUSE_PNG, _function('我的家庭', R.ASSETS_ICONS_ICON_MY_HOUSE_PNG,
() => MyFamilyPage(), ''), () => MyFamilyPage(), ''),
36.hb, 36.hb,
_function('我的车位', R.ASSETS_ICONS_ICON_MY_CARSEAT_PNG, // _function('我的车位', R.ASSETS_ICONS_ICON_MY_CARSEAT_PNG,
() => CarParkingPage(), ''), // () => CarParkingPage(), ''),
36.hb, // 36.hb,
_function('我的车', R.ASSETS_ICONS_ICON_MY_CAR_PNG, // _function('我的车', R.ASSETS_ICONS_ICON_MY_CAR_PNG,
() => CarManagePage(), ''), // () => CarManagePage(), ''),
36.hb, // 36.hb,
_function('我的访客', R.ASSETS_ICONS_ICON_MY_VISITOR_PNG, _function('我的访客', R.ASSETS_ICONS_ICON_MY_VISITOR_PNG,
() => CarManagePage(), ''), () => CarManagePage(), ''),
36.hb, 36.hb,

@ -780,7 +780,7 @@ class _PublishTaskPageState extends State<PublishTaskPage> {
_content = await Get.to(() => TaskRemarkPage( _content = await Get.to(() => TaskRemarkPage(
text: _content, text: _content,
)) ?? )) ??
''; _content;
setState(() {}); setState(() {});
}, },
child: Material( child: Material(
@ -796,11 +796,11 @@ class _PublishTaskPageState extends State<PublishTaskPage> {
.make(), .make(),
), ),
Expanded( Expanded(
child: '${_content == null ? '请输入任务备注' : _content}' child: '${_content.isEmptyOrNull ? '请输入任务备注' : _content}'
.text .text
.size(28.sp) .size(28.sp)
.color(Colors.black .color(Colors.black
.withOpacity(_rewardType == 0 ? 0.25 : 0.85)) .withOpacity(_content.isEmptyOrNull ? 0.25 : 0.85))
.make(), .make(),
), ),
20.wb, 20.wb,
@ -963,11 +963,11 @@ class _PublishTaskPageState extends State<PublishTaskPage> {
.color(Colors.black.withOpacity(0.45)) .color(Colors.black.withOpacity(0.45))
.make(), .make(),
Spacer(), Spacer(),
'建议上传图片不超过6张' // '建议上传图片不超过6张'
.text // .text
.size(24.sp) // .size(24.sp)
.color(Colors.black.withOpacity(0.25)) // .color(Colors.black.withOpacity(0.25))
.make(), // .make(),
], ],
), ),
24.w.heightBox, 24.w.heightBox,

Loading…
Cancel
Save