小区名称跟随用户信息

修改打包配置
master
张萌 3 years ago
parent bb82dda8b8
commit 9aa1e866f4

@ -1,4 +1,4 @@
{ {
"flutterSdkVersion": "2.8.1", "flutterSdkVersion": "2.8.0",
"flavors": {} "flavors": {}
} }

@ -27,9 +27,9 @@ import 'package:provider/provider.dart';
void main() async { void main() async {
WidgetsFlutterBinding.ensureInitialized(); WidgetsFlutterBinding.ensureInitialized();
JPush jpush = new JPush(); JPush jpush = new JPush();
const isProduct = const isDev =
const bool.fromEnvironment('ISPRODUCT', defaultValue: false); const String.fromEnvironment('ENV', defaultValue: 'dev')=='dev';
DevUtil.setDev(!isProduct); DevUtil.setDev(isDev);
WebSocketUtil().initWebSocket( WebSocketUtil().initWebSocket(
// heartDuration: Duration(seconds: 5), // heartDuration: Duration(seconds: 5),
onError: (e) { onError: (e) {

@ -16,218 +16,153 @@ class AgreementPage extends StatelessWidget {
padding: EdgeInsets.all(16.w), padding: EdgeInsets.all(16.w),
child: Text( child: Text(
''' '''
20220325
使 1.1
使使
使 线
 使 便 2.1
 使        使            APP线
              
  使 CookiesSDK  2.2
2.2.1 使
  
2.2.2 iOSandroid
 访  
2.3
2.3.1 使使
14 使 2.3.2 使使
kaidalai@163.com
线 3.1
3.2 使
4.1
20220325 4.2
20220327 4.3
kaidalai@163.com7 4.4 使
1 5.1
2使 5.2
3 5.3 使
4
5 6.1
6 6.2 使使使
7 6.3
8 6.4 访使
9 6.5
便使使线 7.1 使
7.1.1 使使
使 7.1.2 使使使使
使
7.1.3 怀使
1
使 7.2
AndroidV8.0.0iOSV7.4.0访-> 7.2.1 使
使使使
使 7.2.2
2 7.2.2.1
便使  
3 7.2.2.2
使使
4 7.2.2.3 使
apppdf使使
5 7.2.3 使
Android 使 7.2.3.1
1   使 7.2.3.2
2 SDK MACAPPlist
3    7.2.3.3 使访
7.2.3.4
 Android使 Android访
  crash   7.2.3.5 线线
使WLANWLANWLANWLAN WiFi 使WLANWLANWLANWLAN
退 / 使 / 退 7.2.4 14
  
使       7.2.5 ;
  iOS
使PCTVweb   使  7.3
v8.5.3 使  使 7.3.1 使
toast使  
便    APP--
IDID 使IFAAiOS使ID  IDIDiOS IDID   使IFAAiOS使ID APP 8.1
WLANWLAN访   Wi-Fi SSID 使   WLAN WLAN WLAN WLANWLANWLAN   访 使 8.1.1
使  使使 使  便 8.1.1.1
使  使 Android6.0
使 使 使 使 Bonjour Apple TV 8.1.1.2
iOS 使 AndroidiOS 
SDK使 8.1.1.3
使APP使使SDK 使SDKSDKSDK SDK使SDKSDKSDK
8.1.1.4 广
使Cookie
1Cookie 8.1.1.5
访CookieCookie访访Cookie访访
Cookie Cookie AboutCookies.orgCookieCookie 访 8.2 使
2 使
Cookie 使使访访HTTPSSSL 8.2.1
3
访便HTTPS 8.2.2
4Do Not Track
Do Not Track Do Not Track Do Not Track 8.2.3 使
使/ 8.2.4 使/
1
2 8.2.5
3
4 8.2.6 使
5
6 8.2.7
7
8// 8.2.8
9
10 8.3
11 使
使 8.3.1
1访
2 8.3.2
1
2线线 8.3.3
3
4 8.3.4
5
6 8.3.5 广广
7
8 8.3.6
9
3使使APP 8.3.7
8.3.8
1 8.4
2 使
3
访 8.5
8.5.1 使
使
APISDK 8.5.2
8.5.3
9.1
9.2
10.1 访使
1使 10.2 使
2 10.3 使
3 10.4
10.5
11.1 使使使
11.2 使使
11.3 使
4使使 12.1 APP---APP 1APP 2/ 使访使
5使 12.20574-87760023
6
1
2
3
使 访使访访 SSL https 使使访访
使
访
使
访
访使访访
->-APPAPP访kaidalai@163.com7
访
kaidalai@163.com7
kaidalai@163.com
1/iOS->->
2/iOS->->->
使
使Android->->iOS->APP->->->使
 
1
2
3
4
5
6
使
14
1使
2
3
4使
5
6
kaidalai@163.com
kaidalai@163.com
40-11
''', ''',
style: Theme.of(context).textTheme.subtitle1, style: Theme.of(context).textTheme.subtitle1,
), ),

@ -18,219 +18,125 @@ class PrivacyPage extends StatelessWidget {
children: [ children: [
Text( Text(
''' '''
20220325 便使使
使
1. 2.使 3. 4. 5. 6. 7. 8.
使 线
1.
 使 便 1.1
 使        使            APP使APP便访
              
  使 CookiesSDK  1.2
APPAPP使APP使 APP使使APPAPP使APP 使使
  
 访  
使
/使使
14 使
使使
kaidalai@163.com
线 使使使
访使访访访访访访访访访访
20220325 使使使
20220327
kaidalai@163.com7 使使使
1 /使
2使
3 使
4
5 使使使
6
7 使
8
9 /使
便使使线 使
使
使
使 使
1 ETC使ETC
使
AndroidV8.0.0iOSV7.4.0访-> 使使
使使使
使 使使
2
便使   使
3
使使 使,
4
apppdf使使 访使
5 访使使访
Android 使
使访
1   使
2 SDK MACAPPlist 使访
3   
使访
 Android使 Android访 使访
  crash  
使WLANWLANWLANWLAN WiFi 使WLANWLANWLANWLAN 使访
退 / 使 / 退
   使访
使      
  iOS
使PCTVweb   使 
v8.5.3 使  使
toast使  
便    APP--
IDID 使IFAAiOS使ID  IDIDiOS IDID   使IFAAiOS使ID APP
WLANWLAN访   Wi-Fi SSID 使   WLAN WLAN WLAN WLANWLANWLAN   访 使 访
使  使使 使  便
使  使 Android6.0 访
使 使 使 使 Bonjour Apple TV
iOS 使 AndroidiOS  访访访
SDK使
使APP使使SDK 使SDKSDKSDK SDK使SDKSDKSDK 访
使Cookie 1.3
1Cookie APPAPP 使访
访CookieCookie访访Cookie访访
Cookie Cookie AboutCookies.orgCookieCookie 访 1.4
2
Cookie 使使访访HTTPSSSL
3 1.5
访便HTTPS 便使APPID访
4Do Not Track
Do Not Track Do Not Track Do Not Track 2.使
2.1
使/ 2.2 APP使使使APPAPP使
1 3.
2 3.1
3 3.2
4 4.
5 便
6
7 app
8//
9 5.
10 访使APP APP
11
使
1访
2 使
1
2线线 线APP
3
4 6.
5 6.1 APP访
6 6.2
7 7.
8 APP18使APPAPP使8
9
3使使APP 8.
kaidalai@163.com ''',
1
2
3
访
使
APISDK
1使
2
3
4使使
5使
6
1
2
3
使 访使访访 SSL https 使使访访
使
访
使
访
访使访访
->-APPAPP访kaidalai@163.com7
访
kaidalai@163.com7
kaidalai@163.com
1/iOS->->
2/iOS->->->
使
使Android->->iOS->APP->->->使
 
1
2
3
4
5
6
使
14
1使
2
3
4使
5
6
kaidalai@163.com
kaidalai@163.com
40-11
''',
style: Theme.of(context).textTheme.subtitle1, style: Theme.of(context).textTheme.subtitle1,
), ),
], ],

@ -2,6 +2,7 @@
// Project imports: // Project imports:
import 'package:aku_new_community_manager/models/announce/announcement_detail_model.dart'; import 'package:aku_new_community_manager/models/announce/announcement_detail_model.dart';
import 'package:aku_new_community_manager/style/app_style.dart'; import 'package:aku_new_community_manager/style/app_style.dart';
import 'package:aku_new_community_manager/tools/user_tool.dart';
import 'package:aku_new_community_manager/ui/widgets/common/aku_scaffold.dart'; import 'package:aku_new_community_manager/ui/widgets/common/aku_scaffold.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart'; import 'package:flutter_gen/gen_l10n/app_localizations.dart';
@ -47,7 +48,7 @@ class AnouncementDetails extends StatelessWidget {
Column( Column(
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.center,
children: [ children: [
Text('${S.of(context)!.tempPlotName}物业管理处', Text('${UserTool.userProvider.userInfoModel!.communityName}物业管理处',
style: AppStyle().primaryStyle), style: AppStyle().primaryStyle),
SizedBox( SizedBox(
height: 4.w, height: 4.w,

@ -2,6 +2,7 @@
// Project imports: // Project imports:
import 'package:aku_new_community_manager/models/todo_bussiness/todo_outdoor_model.dart'; import 'package:aku_new_community_manager/models/todo_bussiness/todo_outdoor_model.dart';
import 'package:aku_new_community_manager/style/app_style.dart'; import 'package:aku_new_community_manager/style/app_style.dart';
import 'package:aku_new_community_manager/tools/user_tool.dart';
import 'package:aku_new_community_manager/ui/sub_pages/items_outdoor/items_outdoor_details_page.dart'; import 'package:aku_new_community_manager/ui/sub_pages/items_outdoor/items_outdoor_details_page.dart';
import 'package:aku_new_community_manager/ui/widgets/common/aku_button.dart'; import 'package:aku_new_community_manager/ui/widgets/common/aku_button.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
@ -104,7 +105,7 @@ class _ToDoOutDoorCardState extends State<ToDoOutDoorCard> {
), ),
Spacer(), Spacer(),
Text( Text(
'${S.of(context)!.tempPlotName}', '${UserTool.userProvider.userInfoModel!.communityName}',
style: AppStyle().primaryStyle, style: AppStyle().primaryStyle,
), ),
], ],

@ -107,7 +107,7 @@ class _PersonalDrawState extends State<PersonalDraw> {
children: [ children: [
Icon(Icons.location_on_outlined, size: 33.w), Icon(Icons.location_on_outlined, size: 33.w),
Text( Text(
'${S.of(context)!.tempPlotName}', '${UserTool.userProvider.userInfoModel!.communityName}',
style: TextStyle( style: TextStyle(
color: AppStyle.primaryTextColor, color: AppStyle.primaryTextColor,
fontSize: 24.sp), fontSize: 24.sp),

@ -2,6 +2,7 @@ import 'dart:io';
import 'package:aku_new_community_manager/const/api.dart'; import 'package:aku_new_community_manager/const/api.dart';
import 'package:aku_new_community_manager/style/app_style.dart'; import 'package:aku_new_community_manager/style/app_style.dart';
import 'package:aku_new_community_manager/tools/user_tool.dart';
import 'package:aku_new_community_manager/ui/manage_pages/engineer_repair/engineer_repair_func.dart'; import 'package:aku_new_community_manager/ui/manage_pages/engineer_repair/engineer_repair_func.dart';
import 'package:aku_new_community_manager/ui/widgets/app_widgets/bee_pick_image_widget.dart'; import 'package:aku_new_community_manager/ui/widgets/app_widgets/bee_pick_image_widget.dart';
import 'package:aku_new_community_manager/ui/widgets/app_widgets/aku_single_check_button.dart'; import 'package:aku_new_community_manager/ui/widgets/app_widgets/aku_single_check_button.dart';
@ -48,7 +49,7 @@ class _AddEngineerRepairPageState extends State<AddEngineerRepairPage> {
height: 60.w, height: 60.w,
), ),
36.w.widthBox, 36.w.widthBox,
'${S.of(context)!.tempPlotName}'.text.size(28.sp).make(), '${UserTool.userProvider.userInfoModel!.communityName}'.text.size(28.sp).make(),
], ],
), ),
24.w.heightBox, 24.w.heightBox,

@ -1,6 +1,7 @@
import 'package:aku_new_community_manager/const/api.dart'; import 'package:aku_new_community_manager/const/api.dart';
import 'package:aku_new_community_manager/json_models/manager/engineer_repair/engineer_repair_new_acceptance_record_model.dart'; import 'package:aku_new_community_manager/json_models/manager/engineer_repair/engineer_repair_new_acceptance_record_model.dart';
import 'package:aku_new_community_manager/style/app_style.dart'; import 'package:aku_new_community_manager/style/app_style.dart';
import 'package:aku_new_community_manager/tools/user_tool.dart';
import 'package:aku_new_community_manager/ui/widgets/common/aku_scaffold.dart'; import 'package:aku_new_community_manager/ui/widgets/common/aku_scaffold.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart'; import 'package:flutter_gen/gen_l10n/app_localizations.dart';
@ -44,7 +45,7 @@ class _EngineerRepairAcceptanceRecordListPageState
children: [ children: [
Row( Row(
children: [ children: [
'${S.of(context)!.tempPlotName}' '${UserTool.userProvider.userInfoModel!.communityName}'
.text .text
.size(32.sp) .size(32.sp)
.color(kTextPrimaryColor) .color(kTextPrimaryColor)

@ -4,6 +4,7 @@ import 'package:aku_new_community_manager/const/api.dart';
import 'package:aku_new_community_manager/const/resource.dart'; import 'package:aku_new_community_manager/const/resource.dart';
import 'package:aku_new_community_manager/json_models/manager/engineer_repair/engineer_repair_detail_model.dart'; import 'package:aku_new_community_manager/json_models/manager/engineer_repair/engineer_repair_detail_model.dart';
import 'package:aku_new_community_manager/style/app_style.dart'; import 'package:aku_new_community_manager/style/app_style.dart';
import 'package:aku_new_community_manager/tools/user_tool.dart';
import 'package:aku_new_community_manager/tools/widget_tool.dart'; import 'package:aku_new_community_manager/tools/widget_tool.dart';
import 'package:aku_new_community_manager/ui/manage_pages/engineer_repair/engineer_repair_func.dart'; import 'package:aku_new_community_manager/ui/manage_pages/engineer_repair/engineer_repair_func.dart';
import 'package:aku_new_community_manager/ui/manage_pages/engineer_repair/engineer_repair_map.dart'; import 'package:aku_new_community_manager/ui/manage_pages/engineer_repair/engineer_repair_map.dart';
@ -152,7 +153,7 @@ class _EngineerRepairCompletePageState
widget.detailModel.createTel, widget.detailModel.createTel,
), ),
_buildTile(R.ASSETS_MESSAGE_IC_AREA_PNG, '报修区域', _buildTile(R.ASSETS_MESSAGE_IC_AREA_PNG, '报修区域',
'${S.of(context)!.tempPlotName}'), '${UserTool.userProvider.userInfoModel!.communityName}'),
AkuBox.h(8), AkuBox.h(8),
Text( Text(
widget.detailModel.reportDetail, widget.detailModel.reportDetail,

@ -362,7 +362,7 @@ class _EngineerRepairDetailPageState extends State<EngineerRepairDetailPage> {
_model!.createTel, _model!.createTel,
), ),
_buildTile(R.ASSETS_MESSAGE_IC_AREA_PNG, '报修区域', _buildTile(R.ASSETS_MESSAGE_IC_AREA_PNG, '报修区域',
'${S.of(context)!.tempPlotName} ${_model!.repairArea}'), '${UserTool.userProvider.userInfoModel!.communityName} ${_model!.repairArea}'),
AkuBox.h(8), AkuBox.h(8),
Text( Text(
_model!.reportDetail, _model!.reportDetail,

@ -3,6 +3,7 @@
import 'package:aku_new_community_manager/const/api.dart'; import 'package:aku_new_community_manager/const/api.dart';
import 'package:aku_new_community_manager/models/manager/rules_manage/rules_manage_list_model.dart'; import 'package:aku_new_community_manager/models/manager/rules_manage/rules_manage_list_model.dart';
import 'package:aku_new_community_manager/style/app_style.dart'; import 'package:aku_new_community_manager/style/app_style.dart';
import 'package:aku_new_community_manager/tools/user_tool.dart';
import 'package:aku_new_community_manager/ui/manage_pages/rules_manage/rules_manage_detail_page.dart'; import 'package:aku_new_community_manager/ui/manage_pages/rules_manage/rules_manage_detail_page.dart';
import 'package:aku_new_community_manager/ui/widgets/common/aku_scaffold.dart'; import 'package:aku_new_community_manager/ui/widgets/common/aku_scaffold.dart';
import 'package:aku_new_community_manager/ui/widgets/common/bee_list_view.dart'; import 'package:aku_new_community_manager/ui/widgets/common/bee_list_view.dart';
@ -93,7 +94,7 @@ class _RulesManagePageState extends State<RulesManagePage> {
32.w.heightBox, 32.w.heightBox,
Row( Row(
children: [ children: [
'${S.of(context)!.tempPlotName}' '${UserTool.userProvider.userInfoModel!.communityName}'
.text .text
.size(20.sp) .size(20.sp)
.color(kTextSubColor) .color(kTextSubColor)

@ -3,6 +3,7 @@
import 'package:aku_new_community_manager/const/resource.dart'; import 'package:aku_new_community_manager/const/resource.dart';
import 'package:aku_new_community_manager/models/manager/goods_out/goods_out_item_model.dart'; import 'package:aku_new_community_manager/models/manager/goods_out/goods_out_item_model.dart';
import 'package:aku_new_community_manager/style/app_style.dart'; import 'package:aku_new_community_manager/style/app_style.dart';
import 'package:aku_new_community_manager/tools/user_tool.dart';
import 'package:aku_new_community_manager/tools/widget_tool.dart'; import 'package:aku_new_community_manager/tools/widget_tool.dart';
import 'package:aku_new_community_manager/ui/sub_pages/items_outdoor/items_outdoor_details_page.dart'; import 'package:aku_new_community_manager/ui/sub_pages/items_outdoor/items_outdoor_details_page.dart';
import 'package:aku_new_community_manager/ui/widgets/common/aku_button.dart'; import 'package:aku_new_community_manager/ui/widgets/common/aku_button.dart';
@ -99,7 +100,7 @@ class _ItemsOutdoorCardState extends State<ItemsOutdoorCard> {
), ),
Spacer(), Spacer(),
Text( Text(
'${S.of(context)!.tempPlotName}', '${UserTool.userProvider.userInfoModel!.communityName}',
style: AppStyle().primaryStyle, style: AppStyle().primaryStyle,
), ),
], ],

@ -7,6 +7,7 @@ import 'package:aku_new_community_manager/provider/user_provider.dart';
import 'package:aku_new_community_manager/saas_models/net_model/base_model.dart'; import 'package:aku_new_community_manager/saas_models/net_model/base_model.dart';
import 'package:aku_new_community_manager/style/app_style.dart'; import 'package:aku_new_community_manager/style/app_style.dart';
import 'package:aku_new_community_manager/tools/extensions/list_extension_tool.dart'; import 'package:aku_new_community_manager/tools/extensions/list_extension_tool.dart';
import 'package:aku_new_community_manager/tools/user_tool.dart';
import 'package:aku_new_community_manager/tools/widget_tool.dart'; import 'package:aku_new_community_manager/tools/widget_tool.dart';
import 'package:aku_new_community_manager/ui/sub_pages/items_outdoor/outdoor_notpass_page.dart'; import 'package:aku_new_community_manager/ui/sub_pages/items_outdoor/outdoor_notpass_page.dart';
import 'package:aku_new_community_manager/ui/sub_pages/items_outdoor/outdoor_pass_page.dart'; import 'package:aku_new_community_manager/ui/sub_pages/items_outdoor/outdoor_pass_page.dart';
@ -107,7 +108,7 @@ class _ItemsOutdoorDetailsPageState extends State<ItemsOutdoorDetailsPage> {
AkuBox.h(16), AkuBox.h(16),
...<Widget>[ ...<Widget>[
_buildTile(R.ASSETS_OUTDOOR_IC_HOME_PNG, '小区名称', _buildTile(R.ASSETS_OUTDOOR_IC_HOME_PNG, '小区名称',
'${S.of(context)!.tempPlotName}'), '${UserTool.userProvider.userInfoModel!.communityName}'),
_buildTile( _buildTile(
R.ASSETS_OUTDOOR_IC_ADDRESS_PNG, R.ASSETS_OUTDOOR_IC_ADDRESS_PNG,
'详细地址', '详细地址',

@ -3,6 +3,7 @@ import 'dart:async';
// Project imports: // Project imports:
import 'package:aku_new_community_manager/style/app_style.dart'; import 'package:aku_new_community_manager/style/app_style.dart';
import 'package:aku_new_community_manager/tools/user_tool.dart';
import 'package:aku_new_community_manager/tools/widget_tool.dart'; import 'package:aku_new_community_manager/tools/widget_tool.dart';
import 'package:aku_new_community_manager/ui/tool_pages/warning/warning_detail_page.dart'; import 'package:aku_new_community_manager/ui/tool_pages/warning/warning_detail_page.dart';
import 'package:aku_new_community_manager/ui/tool_pages/warning/warning_success.dart'; import 'package:aku_new_community_manager/ui/tool_pages/warning/warning_success.dart';
@ -80,7 +81,7 @@ class _WarningSubPageState extends State<WarningSubPage> {
], ],
), ),
Text( Text(
'${S.of(context)!.tempPlotName}', '${UserTool.userProvider.userInfoModel!.communityName}',
style: TextStyle( style: TextStyle(
fontSize: 44.w, fontSize: 44.w,
color: AppStyle.primaryTextColor, color: AppStyle.primaryTextColor,

@ -3,6 +3,7 @@ import 'dart:async';
// Project imports: // Project imports:
import 'package:aku_new_community_manager/style/app_style.dart'; import 'package:aku_new_community_manager/style/app_style.dart';
import 'package:aku_new_community_manager/tools/user_tool.dart';
import 'package:aku_new_community_manager/tools/widget_tool.dart'; import 'package:aku_new_community_manager/tools/widget_tool.dart';
import 'package:aku_new_community_manager/ui/tool_pages/warning/warning_detail_page.dart'; import 'package:aku_new_community_manager/ui/tool_pages/warning/warning_detail_page.dart';
// Flutter imports: // Flutter imports:
@ -51,7 +52,7 @@ class _WarningSuccessState extends State<WarningSuccess> {
width: 420.w, width: 420.w,
), ),
Text( Text(
'${S.of(context)!.tempPlotName}', '${UserTool.userProvider.userInfoModel!.communityName}',
style: TextStyle( style: TextStyle(
fontSize: 44.w, fontSize: 44.w,
color: AppStyle.primaryTextColor, color: AppStyle.primaryTextColor,

@ -11,9 +11,9 @@ class Config {
/// ///
static String get apkDevDir => static String get apkDevDir =>
'/users/zhangmeng/team/bee/app/aku_new_community_manager/dev'; '/users/zhangmeng/team/bee/aku_new_community_manager/dev';
///aku_new_community_manager ///aku_new_community_manager
static String get apkDir => static String get apkDir =>
'/users/zhangmeng/team/bee/app/aku_new_community_manager/release'; '/users/zhangmeng/team/bee/aku_new_community_manager/release';
} }

@ -33,7 +33,7 @@ buildApk() async {
'apk', 'apk',
'--target-platform=android-arm64', '--target-platform=android-arm64',
'--dart-define', '--dart-define',
'ISPRODUCT=true' 'ENV=dev'
]); ]);
String date = DateUtil.formatDate(DateTime.now(), format: 'yy_MM_dd_HH_mm'); String date = DateUtil.formatDate(DateTime.now(), format: 'yy_MM_dd_HH_mm');
String version = await getVersion(); String version = await getVersion();
@ -53,7 +53,7 @@ buildApkDev() async {
'apk', 'apk',
'--target-platform=android-arm64', '--target-platform=android-arm64',
'--dart-define', '--dart-define',
'ISPRODUCT=false' 'ENV=release'
]); ]);
String date = DateUtil.formatDate(DateTime.now(), format: 'yy_MM_dd_HH_mm'); String date = DateUtil.formatDate(DateTime.now(), format: 'yy_MM_dd_HH_mm');
String version = await getVersion(); String version = await getVersion();

Loading…
Cancel
Save