修改我的页面

解决打包问题
pull/1/head
张萌 3 years ago
parent a223744ce3
commit b07cace120

@ -19,7 +19,6 @@
screen fades out. A splash screen is useful to avoid any visual screen fades out. A splash screen is useful to avoid any visual
gap between the end of Android's launch screen and the painting of gap between the end of Android's launch screen and the painting of
Flutter's first frame. --> Flutter's first frame. -->
<meta-data android:name="io.flutter.embedding.android.SplashScreenDrawable" android:resource="@drawable/launch_background" />
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN"/> <action android:name="android.intent.action.MAIN"/>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 500 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 998 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

@ -26,7 +26,7 @@ flutter_native_splash:
# parameters from above. If the image_dark parameter is specified, color_dark or # parameters from above. If the image_dark parameter is specified, color_dark or
# background_image_dark must be specified. color_dark and background_image_dark cannot both be # background_image_dark must be specified. color_dark and background_image_dark cannot both be
# set. # set.
color_dark: "#333333" color_dark: "#FBE541"
#background_image_dark: "assets/dark-background.png" #background_image_dark: "assets/dark-background.png"
#image_dark: assets/splash-invert.png #image_dark: assets/splash-invert.png

@ -182,7 +182,6 @@ List<String> _recommendApp = [
'电子商务', '电子商务',
'服务浏览', '服务浏览',
'社区介绍', '社区介绍',
'家政服务',
'地理信息', '地理信息',
'周边企业', '周边企业',
'住房说明', '住房说明',

@ -639,6 +639,10 @@ class $AssetsNewIconGen {
AssetGenImage get avatarPlaceholder => AssetGenImage get avatarPlaceholder =>
const AssetGenImage('assets/newIcon/avatar_placeholder.png'); const AssetGenImage('assets/newIcon/avatar_placeholder.png');
AssetGenImage get icDaifuk =>
const AssetGenImage('assets/newIcon/ic_daifuk.png');
AssetGenImage get icDaishouh =>
const AssetGenImage('assets/newIcon/ic_daishouh.png');
AssetGenImage get icDlxx => const AssetGenImage('assets/newIcon/ic_dlxx.png'); AssetGenImage get icDlxx => const AssetGenImage('assets/newIcon/ic_dlxx.png');
AssetGenImage get icDzsw => const AssetGenImage('assets/newIcon/ic_dzsw.png'); AssetGenImage get icDzsw => const AssetGenImage('assets/newIcon/ic_dzsw.png');
AssetGenImage get icEssc => const AssetGenImage('assets/newIcon/ic_essc.png'); AssetGenImage get icEssc => const AssetGenImage('assets/newIcon/ic_essc.png');
@ -647,19 +651,41 @@ class $AssetsNewIconGen {
AssetGenImage get icGxtp => const AssetGenImage('assets/newIcon/ic_gxtp.png'); AssetGenImage get icGxtp => const AssetGenImage('assets/newIcon/ic_gxtp.png');
AssetGenImage get icHdtp => const AssetGenImage('assets/newIcon/ic_hdtp.png'); AssetGenImage get icHdtp => const AssetGenImage('assets/newIcon/ic_hdtp.png');
AssetGenImage get icJhgl => const AssetGenImage('assets/newIcon/ic_jhgl.png'); AssetGenImage get icJhgl => const AssetGenImage('assets/newIcon/ic_jhgl.png');
AssetGenImage get icJifen =>
const AssetGenImage('assets/newIcon/ic_jifen.png');
AssetGenImage get icKdbg => const AssetGenImage('assets/newIcon/ic_kdbg.png'); AssetGenImage get icKdbg => const AssetGenImage('assets/newIcon/ic_kdbg.png');
AssetGenImage get icKmm => const AssetGenImage('assets/newIcon/ic_kmm.png'); AssetGenImage get icKmm => const AssetGenImage('assets/newIcon/ic_kmm.png');
AssetGenImage get icRwsm => const AssetGenImage('assets/newIcon/ic_rwsm.png'); AssetGenImage get icRwsm => const AssetGenImage('assets/newIcon/ic_rwsm.png');
AssetGenImage get icShdz => const AssetGenImage('assets/newIcon/ic_shdz.png');
AssetGenImage get icSqjs => const AssetGenImage('assets/newIcon/ic_sqjs.png'); AssetGenImage get icSqjs => const AssetGenImage('assets/newIcon/ic_sqjs.png');
AssetGenImage get icTsby => const AssetGenImage('assets/newIcon/ic_tsby.png'); AssetGenImage get icTsby => const AssetGenImage('assets/newIcon/ic_tsby.png');
AssetGenImage get icWdfk => const AssetGenImage('assets/newIcon/ic_wdfk.png');
AssetGenImage get icWdfw => const AssetGenImage('assets/newIcon/ic_wdfw.png');
AssetGenImage get icWdjt => const AssetGenImage('assets/newIcon/ic_wdjt.png');
AssetGenImage get icWjdc => const AssetGenImage('assets/newIcon/ic_wjdc.png'); AssetGenImage get icWjdc => const AssetGenImage('assets/newIcon/ic_wjdc.png');
AssetGenImage get icXmfrw => AssetGenImage get icXmfrw =>
const AssetGenImage('assets/newIcon/ic_xmfrw.png'); const AssetGenImage('assets/newIcon/ic_xmfrw.png');
AssetGenImage get icYwh => const AssetGenImage('assets/newIcon/ic_ywh.png'); AssetGenImage get icYwh => const AssetGenImage('assets/newIcon/ic_ywh.png');
AssetGenImage get icZbqy => const AssetGenImage('assets/newIcon/ic_zbqy.png'); AssetGenImage get icZbqy => const AssetGenImage('assets/newIcon/ic_zbqy.png');
AssetGenImage get icZysc => const AssetGenImage('assets/newIcon/ic_zysc.png'); AssetGenImage get icZysc => const AssetGenImage('assets/newIcon/ic_zysc.png');
AssetGenImage get imgBg => const AssetGenImage('assets/newIcon/img_bg.png');
AssetGenImage get imgBmdh => AssetGenImage get imgBmdh =>
const AssetGenImage('assets/newIcon/img_bmdh.png'); const AssetGenImage('assets/newIcon/img_bmdh.png');
AssetGenImage get imgDaifah =>
const AssetGenImage('assets/newIcon/img_daifah.png');
AssetGenImage get imgDaipingj =>
const AssetGenImage('assets/newIcon/img_daipingj.png');
AssetGenImage get imgDengji =>
const AssetGenImage('assets/newIcon/img_dengji.png');
AssetGenImage get imgQiandao =>
const AssetGenImage('assets/newIcon/img_qiandao.png');
AssetGenImage get imgShezhi =>
const AssetGenImage('assets/newIcon/img_shezhi.png');
AssetGenImage get imgTxmr =>
const AssetGenImage('assets/newIcon/img_txmr.png');
AssetGenImage get imgVip => const AssetGenImage('assets/newIcon/img_vip.png');
AssetGenImage get imgVipbg =>
const AssetGenImage('assets/newIcon/img_vipbg.png');
AssetGenImage get imgWpcm => AssetGenImage get imgWpcm =>
const AssetGenImage('assets/newIcon/img_wpcm.png'); const AssetGenImage('assets/newIcon/img_wpcm.png');
AssetGenImage get imgZxgl => AssetGenImage get imgZxgl =>

@ -8,7 +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_avatar_widget.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,11 +75,10 @@ class _ClockInPageState extends State<ClockInPage> {
children: [ children: [
Hero( Hero(
tag: 'AVATAR', tag: 'AVATAR',
child: ClipOval( child: BeeAvatarWidget(
child: BeeImageNetwork( width: 106.w,
height: 106.w, height: 106.w,
width: 106.w, imgs: UserTool.userProvider.userInfoModel!.imgList,
),
), ),
), ),
Container( Container(

@ -1,12 +1,10 @@
import 'package:aku_new_community/constants/saas_api.dart'; import 'package:aku_new_community/constants/saas_api.dart';
import 'package:aku_new_community/gen/assets.gen.dart'; import 'package:aku_new_community/gen/assets.gen.dart';
import 'package:aku_new_community/pages/personal/clock_in/clock_in_page.dart';
import 'package:aku_new_community/pages/personal/user_profile_page.dart'; import 'package:aku_new_community/pages/personal/user_profile_page.dart';
import 'package:aku_new_community/pages/setting_page/settings_page.dart'; import 'package:aku_new_community/pages/setting_page/settings_page.dart';
import 'package:aku_new_community/pages/sign/login/other_login_page.dart'; import 'package:aku_new_community/pages/sign/login/other_login_page.dart';
import 'package:aku_new_community/provider/user_provider.dart'; import 'package:aku_new_community/provider/user_provider.dart';
import 'package:aku_new_community/ui/market/order/order_page.dart'; import 'package:aku_new_community/ui/market/order/order_page.dart';
import 'package:aku_new_community/ui/profile/car/car_manage_page.dart';
import 'package:aku_new_community/ui/profile/new_house/my_family_page.dart'; import 'package:aku_new_community/ui/profile/new_house/my_family_page.dart';
import 'package:aku_new_community/ui/profile/new_house/my_house_page.dart'; import 'package:aku_new_community/ui/profile/new_house/my_house_page.dart';
import 'package:aku_new_community/utils/headers.dart'; import 'package:aku_new_community/utils/headers.dart';
@ -22,6 +20,7 @@ import 'package:get/get.dart';
import 'package:provider/provider.dart'; import 'package:provider/provider.dart';
import 'address/address_list_page.dart'; import 'address/address_list_page.dart';
import 'clock_in/clock_in_page.dart';
import 'clock_in/clock_success_dialog.dart'; import 'clock_in/clock_success_dialog.dart';
import 'intergral/integral_center_page.dart'; import 'intergral/integral_center_page.dart';
@ -86,11 +85,11 @@ class _PersonalIndexState extends State<PersonalIndex>
children: [ children: [
Container( Container(
width: double.infinity, width: double.infinity,
height: 441.w, height: 512.w,
alignment: Alignment.topCenter, alignment: Alignment.topCenter,
decoration: BoxDecoration( decoration: BoxDecoration(
image: DecorationImage( image: DecorationImage(
image: AssetImage(R.ASSETS_IMAGES_MY_BG_PNG), image: Assets.newIcon.imgBg,
fit: BoxFit.cover, fit: BoxFit.cover,
), ),
), ),
@ -190,17 +189,23 @@ class _PersonalIndexState extends State<PersonalIndex>
}, },
elevation: 0, elevation: 0,
color: Colors.white, color: Colors.white,
minWidth: 112.w, minWidth: 168.w,
height: 58.w, height: 64.w,
shape: RoundedRectangleBorder( shape: RoundedRectangleBorder(
borderRadius: borderRadius:
BorderRadius.circular(50.w)), BorderRadius.circular(50.w)),
child: child: Row(
'${UserTool.userProvider.userConfig.todayClocked ? '已签到' : '签到'}' children: [
Assets.newIcon.imgQiandao
.image(width: 48.w, height: 48.w),
12.wb,
'${UserTool.userProvider.userInfoModel!.isSign ? '已签到' : '签到'}'
.text .text
.size(22.sp) .size(22.sp)
.black .black
.make(), .make(),
],
),
), ),
32.w.widthBox, 32.w.widthBox,
], ],
@ -210,26 +215,50 @@ class _PersonalIndexState extends State<PersonalIndex>
Spacer(), Spacer(),
Container( Container(
width: 686.w, width: 686.w,
height: 120.w, height: 168.w,
alignment: Alignment.center, alignment: Alignment.center,
padding: EdgeInsets.only(
left: 24.w, top: 24.w, bottom: 24.w),
decoration: BoxDecoration( decoration: BoxDecoration(
image: DecorationImage( color: Colors.black,
image: AssetImage(
Assets.static.vipBackground.path)),
borderRadius: BorderRadius.only( borderRadius: BorderRadius.only(
topLeft: Radius.circular(16.w), topLeft: Radius.circular(24.w),
topRight: Radius.circular(16.w))), topRight: Radius.circular(24.w))),
child: Row( child: Row(
crossAxisAlignment: CrossAxisAlignment.center,
children: [ children: [
32.wb, 32.wb,
Assets.icons.vipFont Column(
.image(width: 60.w, height: 60.w), mainAxisSize: MainAxisSize.min,
24.wb, children: [
'当前会员等级2级' Row(
.text children: [
.size(24.sp) Assets.newIcon.imgVip
.color(Color(0xFFFFE0A9)) .image(width: 84.w, height: 32.w),
.make(), 24.wb,
Container(
decoration: BoxDecoration(
borderRadius:
BorderRadius.circular(16.w),
gradient: LinearGradient(colors: [
Color(0xFFFEE8C0),
Color(0xFFFCCC8C),
])),
padding: EdgeInsets.symmetric(
horizontal: 14.w, vertical: 8.w),
child: Assets.newIcon.imgDengji
.image(width: 40.w, height: 16.w),
),
],
),
16.hb,
'尊享6大会员权益'
.text
.size(24.sp)
.color(Color(0xFFFCCC8C))
.make(),
],
),
Spacer(), Spacer(),
GestureDetector( GestureDetector(
onTap: () => Get.to(() => integralCenterPage()), onTap: () => Get.to(() => integralCenterPage()),
@ -252,7 +281,7 @@ class _PersonalIndexState extends State<PersonalIndex>
), ),
), ),
Padding( Padding(
padding: EdgeInsets.only(top: 450.w), padding: EdgeInsets.only(top: 600.w),
child: Column( child: Column(
children: [ children: [
Container( Container(
@ -284,22 +313,22 @@ class _PersonalIndexState extends State<PersonalIndex>
children: [ children: [
_orderButton( _orderButton(
name: '待付款', name: '待付款',
path: R.ASSETS_ICONS_USER_ICON_DFK_PNG, path: Assets.newIcon.icDaifuk.path,
index: 1, index: 1,
), ),
_orderButton( _orderButton(
name: '待发货', name: '待发货',
path: R.ASSETS_ICONS_USER_ICON_DSH_PNG, path: Assets.newIcon.imgDaifah.path,
index: 2, index: 2,
), ),
_orderButton( _orderButton(
name: '待收货', name: '待收货',
path: R.ASSETS_ICONS_USER_ICON_DPJ_PNG, path: Assets.newIcon.icDaishouh.path,
index: 3, index: 3,
), ),
_orderButton( _orderButton(
name: '已完成', name: '已完成',
path: R.ASSETS_ICONS_USER_ICON_SH_PNG, path: Assets.newIcon.imgDaipingj.path,
index: 4, index: 4,
), ),
], ],
@ -307,44 +336,43 @@ class _PersonalIndexState extends State<PersonalIndex>
], ],
), ),
), ),
24.w.heightBox, // Container(
Container( // width: double.infinity,
width: double.infinity, // height: 100.w,
height: 100.w, // clipBehavior: Clip.antiAlias,
clipBehavior: Clip.antiAlias, // decoration: BoxDecoration(
decoration: BoxDecoration( // // color: Colors.white,
// color: Colors.white, // borderRadius: BorderRadius.circular(16.w)),
borderRadius: BorderRadius.circular(16.w)), // margin: EdgeInsets.symmetric(horizontal: 32.w),
margin: EdgeInsets.symmetric(horizontal: 32.w), // child: Material(
child: Material( // color: Colors.white,
color: Colors.white, // child: InkWell(
child: InkWell( // onTap: () {
onTap: () { // Get.to(() => ClockInPage());
Get.to(() => ClockInPage()); // },
}, // borderRadius: BorderRadius.circular(16.w),
borderRadius: BorderRadius.circular(16.w), // child: Padding(
child: Padding( // padding: EdgeInsets.symmetric(
padding: EdgeInsets.symmetric( // horizontal: 32.w, vertical: 24.w),
horizontal: 32.w, vertical: 24.w), // child: Row(
child: Row( // 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, // ),
), // ],
], // ),
), // ),
), // ),
), // ),
), // ),
),
Container( Container(
decoration: BoxDecoration( decoration: BoxDecoration(
color: Color(0xffffffff), color: Color(0xffffffff),
@ -359,8 +387,22 @@ class _PersonalIndexState extends State<PersonalIndex>
margin: EdgeInsets.all(32.w), margin: EdgeInsets.all(32.w),
padding: EdgeInsets.all(32.w), padding: EdgeInsets.all(32.w),
child: Column( child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [ children: [
Row(
children: [
22.wb,
'其他功能'
.text
.size(32.sp)
.color(Color(0xFF2B2B2B))
.bold
.make(),
Spacer(),
],
),
24.hb,
_function('我的积分', Assets.newIcon.icJifen.path,
() => ClockInPage(), ''),
_function( _function(
'我的房屋', '我的房屋',
R.ASSETS_ICONS_ICON_MY_HOUSE_PNG, R.ASSETS_ICONS_ICON_MY_HOUSE_PNG,
@ -373,27 +415,25 @@ class _PersonalIndexState extends State<PersonalIndex>
'${UserTool.userProvider.defaultHouse?.unitName ?? ''}' '${UserTool.userProvider.defaultHouse?.unitName ?? ''}'
'${UserTool.userProvider.defaultHouse?.estateName ?? ''}', '${UserTool.userProvider.defaultHouse?.estateName ?? ''}',
), ),
36.hb,
_function( _function(
'我的家庭', '我的家庭',
R.ASSETS_ICONS_ICON_MY_HOUSE_PNG, R.ASSETS_ICONS_ICON_MY_HOUSE_PNG,
() => MyFamilyPage(), () => MyFamilyPage(),
''), ''),
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,
// () => CarManagePage(),
// ''),
// 36.hb,
_function( _function(
'我的访客', '收货地址',
R.ASSETS_ICONS_ICON_MY_VISITOR_PNG,
() => CarManagePage(),
''),
36.hb,
_function(
'收货地址设置',
R.ASSETS_ICONS_ICON_MY_LOCATION_PNG, R.ASSETS_ICONS_ICON_MY_LOCATION_PNG,
() => AddressListPage( () => AddressListPage(
canBack: false, canBack: false,
@ -446,6 +486,7 @@ class _PersonalIndexState extends State<PersonalIndex>
}, },
child: Container( child: Container(
color: Colors.transparent, color: Colors.transparent,
padding: EdgeInsets.symmetric(horizontal: 20.w, vertical: 20.w),
child: Row( child: Row(
children: [ children: [
Image.asset( Image.asset(

@ -262,14 +262,15 @@ class _AllApplicationPageState extends State<AllApplicationPage> {
), ),
body: Column( body: Column(
children: [ children: [
_buildEditTile(), //
Divider( // _buildEditTile(),
indent: 32.w, // Divider(
endIndent: 32.w, // indent: 32.w,
height: 1.w, // endIndent: 32.w,
).material(color: Colors.white), // height: 1.w,
_buildMyApp(), // ).material(color: Colors.white),
32.hb, // _buildMyApp(),
// 32.hb,
_buildAppList().expand(), _buildAppList().expand(),
], ],
), ),

File diff suppressed because it is too large Load Diff

@ -131,7 +131,7 @@ dev_dependencies:
hive_generator: ^1.1.0 hive_generator: ^1.1.0
#脚本工具 #脚本工具
grinder: ^0.9.0 grinder: ^0.9.0
flutter_native_splash: ^1.1.8+4 # flutter_native_splash: ^1.1.8+4
#model自动生成 #model自动生成
json_serializable: ^6.1.3 json_serializable: ^6.1.3
build_runner: ^2.0.2 build_runner: ^2.0.2

Loading…
Cancel
Save