|
|
@ -8,6 +8,7 @@ import 'package:aku_new_community/models/integral/clocked_record_list_model.dart
|
|
|
|
import 'package:aku_new_community/models/integral/integral_info_model.dart';
|
|
|
|
import 'package:aku_new_community/models/integral/integral_info_model.dart';
|
|
|
|
import 'package:aku_new_community/pages/personal/clock_in/clock_success_dialog.dart';
|
|
|
|
import 'package:aku_new_community/pages/personal/clock_in/clock_success_dialog.dart';
|
|
|
|
import 'package:aku_new_community/utils/network/net_util.dart';
|
|
|
|
import 'package:aku_new_community/utils/network/net_util.dart';
|
|
|
|
|
|
|
|
import 'package:aku_new_community/widget/beeImageNetwork.dart';
|
|
|
|
import 'package:aku_new_community/widget/bee_back_button.dart';
|
|
|
|
import 'package:aku_new_community/widget/bee_back_button.dart';
|
|
|
|
import 'package:aku_new_community/widget/others/user_tool.dart';
|
|
|
|
import 'package:aku_new_community/widget/others/user_tool.dart';
|
|
|
|
import 'package:bot_toast/bot_toast.dart';
|
|
|
|
import 'package:bot_toast/bot_toast.dart';
|
|
|
@ -75,25 +76,10 @@ class _ClockInPageState extends State<ClockInPage> {
|
|
|
|
Hero(
|
|
|
|
Hero(
|
|
|
|
tag: 'AVATAR',
|
|
|
|
tag: 'AVATAR',
|
|
|
|
child: ClipOval(
|
|
|
|
child: ClipOval(
|
|
|
|
// child: FadeInImage.assetNetwork(
|
|
|
|
child: BeeImageNetwork(
|
|
|
|
// placeholder: Assets.images.placeholder.path,
|
|
|
|
height: 106.w,
|
|
|
|
// image: SARSAPI.image(
|
|
|
|
width: 106.w,
|
|
|
|
// (UserTool.userProvider.userInfoModel?.imgUrls ?? [])
|
|
|
|
),
|
|
|
|
// .isNotEmpty
|
|
|
|
|
|
|
|
// ? UserTool
|
|
|
|
|
|
|
|
// .userProvider.userInfoModel!.imgUrls.first.url
|
|
|
|
|
|
|
|
// : ''),
|
|
|
|
|
|
|
|
// height: 106.w,
|
|
|
|
|
|
|
|
// width: 106.w,
|
|
|
|
|
|
|
|
// fit: BoxFit.cover,
|
|
|
|
|
|
|
|
// imageErrorBuilder: (context, error, stackTrace) {
|
|
|
|
|
|
|
|
// return Image.asset(
|
|
|
|
|
|
|
|
// Assets.icons.iconMySetting.path,
|
|
|
|
|
|
|
|
// height: 106.w,
|
|
|
|
|
|
|
|
// width: 106.w,
|
|
|
|
|
|
|
|
// );
|
|
|
|
|
|
|
|
// },
|
|
|
|
|
|
|
|
// ),
|
|
|
|
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Container(
|
|
|
|
Container(
|
|
|
@ -254,7 +240,7 @@ class _ClockInPageState extends State<ClockInPage> {
|
|
|
|
width: double.infinity,
|
|
|
|
width: double.infinity,
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
color: Colors.white,
|
|
|
|
color: Colors.white,
|
|
|
|
borderRadius: BorderRadius.circular(30.w),
|
|
|
|
borderRadius: BorderRadius.vertical(top: Radius.circular(30.w)),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
child: Column(
|
|
|
|
child: Column(
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|