更改小区名称

hmxc
张萌 3 years ago
parent b339e6df86
commit 05efa22bf5

@ -2,7 +2,7 @@ part 'engineer_repair.dart';
class API {
///HOST
static const String host = 'http://shop.kaidalai.cn';
static const String host = 'http://hmxc.kaidalai.cn';
///
static const String baseURL = '$host/api/butlerApp';

@ -1,9 +1,9 @@
{
"appName": "智慧小区",
"appName": "华脉新村小区",
"@appName":{
"description": "应用名称"
},
"tempPlotName": "人才公寓智慧小区",
"tempPlotName": "华脉新村小区",
"@tempPlotName":{
"description": "临时使用的小区名称"
}

@ -1,13 +1,12 @@
// Flutter imports:
import 'package:flutter/material.dart';
// Package imports:
import 'package:flutter_screenutil/flutter_screenutil.dart';
// Project imports:
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/ui/widgets/common/aku_scaffold.dart';
import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
// Package imports:
import 'package:flutter_screenutil/flutter_screenutil.dart';
class AnouncementDetails extends StatelessWidget {
final AnnouncementDetailModel model;
@ -48,7 +47,8 @@ class AnouncementDetails extends StatelessWidget {
Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Text('南宁人才公寓物业管理处', style: AppStyle().primaryStyle),
Text('${S.of(context)!.tempPlotName}物业管理处',
style: AppStyle().primaryStyle),
SizedBox(
height: 4.w,
),

@ -1,23 +1,25 @@
// Flutter imports:
// Project imports:
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/ui/sub_pages/items_outdoor/items_outdoor_details_page.dart';
import 'package:aku_new_community_manager/ui/widgets/common/aku_button.dart';
import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
// Package imports:
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:velocity_x/velocity_x.dart';
// Project imports:
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/ui/sub_pages/items_outdoor/items_outdoor_details_page.dart';
class ToDoOutDoorCard extends StatefulWidget {
final ToDoOutDoorModel model;
final VoidCallback? callRefresh;
final bool homeDisplay;
ToDoOutDoorCard(
{Key? key, required this.model, this.callRefresh, this.homeDisplay = false})
{Key? key,
required this.model,
this.callRefresh,
this.homeDisplay = false})
: super(key: key);
@override
@ -102,7 +104,7 @@ class _ToDoOutDoorCardState extends State<ToDoOutDoorCard> {
),
Spacer(),
Text(
'五象新区人才公寓',
'${S.of(context)!.tempPlotName}',
style: AppStyle().primaryStyle,
),
],

@ -9,6 +9,7 @@ import 'package:aku_new_community_manager/ui/settings/user_info_page.dart';
import 'package:aku_new_community_manager/ui/widgets/app_widgets/aku_avatar.dart';
import 'package:aku_new_community_manager/ui/widgets/common/aku_button.dart';
import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:provider/provider.dart';
@ -101,7 +102,7 @@ class _PersonalDrawState extends State<PersonalDraw> {
children: [
Icon(Icons.location_on_outlined, size: 33.w),
Text(
'人才公寓',
'${S.of(context)!.tempPlotName}',
style: TextStyle(
color: AppStyle.primaryTextColor,
fontSize: 24.sp),

@ -1,21 +1,20 @@
// Flutter imports:
// Project imports:
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/style/app_style.dart';
import 'package:aku_new_community_manager/ui/manage_pages/rules_manage/rules_manage_detail_page.dart';
import 'package:flutter/material.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';
// Package imports:
import 'package:common_utils/common_utils.dart';
import 'package:flutter/material.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:velocity_x/velocity_x.dart';
// Project imports:
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/style/app_style.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';
class RulesManagePage extends StatefulWidget {
RulesManagePage({Key? key}) : super(key: key);
@ -66,7 +65,9 @@ class _RulesManagePageState extends State<RulesManagePage> {
Widget _buildCard(RulesManageListModel model) {
return GestureDetector(
onTap: () {
Get.to(() => RulesManageDetailPage(model: model,));
Get.to(() => RulesManageDetailPage(
model: model,
));
},
child: Container(
color: Colors.white,
@ -92,7 +93,11 @@ class _RulesManagePageState extends State<RulesManagePage> {
32.w.heightBox,
Row(
children: [
'南宁人才公寓'.text.size(20.sp).color(kTextSubColor).make(),
'${S.of(context)!.tempPlotName}'
.text
.size(20.sp)
.color(kTextSubColor)
.make(),
Spacer(),
'发布于 ${DateUtil.formatDateStr(model.releaseDate!, format: 'MM-dd HH:mm')}'
.text

@ -1,22 +1,24 @@
// Flutter imports:
import 'package:aku_new_community_manager/ui/widgets/common/aku_button.dart';
import 'package:flutter/material.dart';
// Package imports:
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
// Project imports:
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/style/app_style.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/widgets/common/aku_button.dart';
import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
// Package imports:
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
class ItemsOutdoorCard extends StatefulWidget {
final GoodsOutItemModel model;
final VoidCallback? callRefresh;
ItemsOutdoorCard({Key? key, /*required*/ /*required*/ required this.model, this.callRefresh})
ItemsOutdoorCard(
{Key? key,
/*required*/ /*required*/ required this.model,
this.callRefresh})
: super(key: key);
@override
@ -97,7 +99,7 @@ class _ItemsOutdoorCardState extends State<ItemsOutdoorCard> {
),
Spacer(),
Text(
'五象新区人才公寓',
'${S.of(context)!.tempPlotName}',
style: AppStyle().primaryStyle,
),
],

@ -1,16 +1,4 @@
// Flutter imports:
import 'package:aku_new_community_manager/ui/widgets/common/aku_button.dart';
import 'package:aku_new_community_manager/ui/widgets/common/aku_material_button.dart';
import 'package:flutter/material.dart';
// Package imports:
import 'package:common_utils/common_utils.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:provider/provider.dart';
import 'package:url_launcher/url_launcher.dart';
// Project imports:
import 'package:aku_new_community_manager/const/api.dart';
import 'package:aku_new_community_manager/const/resource.dart';
@ -21,13 +9,25 @@ import 'package:aku_new_community_manager/tools/extensions/list_extension_tool.d
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_pass_page.dart';
import 'package:aku_new_community_manager/ui/widgets/common/aku_button.dart';
import 'package:aku_new_community_manager/ui/widgets/common/aku_material_button.dart';
import 'package:aku_new_community_manager/ui/widgets/common/aku_scaffold.dart';
import 'package:aku_new_community_manager/utils/network/base_model.dart';
import 'package:aku_new_community_manager/utils/network/net_util.dart';
// Package imports:
import 'package:common_utils/common_utils.dart';
import 'package:flutter/material.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:provider/provider.dart';
import 'package:url_launcher/url_launcher.dart';
class ItemsOutdoorDetailsPage extends StatefulWidget {
final int id;
ItemsOutdoorDetailsPage({Key? key, /*required*/ required this.id}) : super(key: key);
ItemsOutdoorDetailsPage({Key? key, /*required*/ required this.id})
: super(key: key);
@override
_ItemsOutdoorDetailsPageState createState() =>
@ -105,8 +105,8 @@ class _ItemsOutdoorDetailsPageState extends State<ItemsOutdoorDetailsPage> {
),
AkuBox.h(16),
...<Widget>[
_buildTile(
R.ASSETS_OUTDOOR_IC_HOME_PNG, '小区名称', '五象新区人才公寓'),
_buildTile(R.ASSETS_OUTDOOR_IC_HOME_PNG, '小区名称',
'${S.of(context)!.tempPlotName}'),
_buildTile(
R.ASSETS_OUTDOOR_IC_ADDRESS_PNG,
'详细地址',

@ -1,20 +1,19 @@
// Dart imports:
import 'dart:async';
// Flutter imports:
import 'package:aku_new_community_manager/ui/widgets/common/aku_material_button.dart';
import 'package:flutter/material.dart';
// Package imports:
import 'package:bot_toast/bot_toast.dart';
import 'package:get/get.dart';
// Project imports:
import 'package:aku_new_community_manager/style/app_style.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_success.dart';
// Flutter imports:
import 'package:aku_new_community_manager/ui/widgets/common/aku_material_button.dart';
import 'package:aku_new_community_manager/ui/widgets/common/aku_scaffold.dart';
// Package imports:
import 'package:bot_toast/bot_toast.dart';
import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
import 'package:get/get.dart';
class WarningSubPage extends StatefulWidget {
WarningSubPage({Key? key}) : super(key: key);
@ -81,7 +80,7 @@ class _WarningSubPageState extends State<WarningSubPage> {
],
),
Text(
'人才公寓',
'${S.of(context)!.tempPlotName}',
style: TextStyle(
fontSize: 44.w,
color: AppStyle.primaryTextColor,

@ -1,18 +1,17 @@
// Dart imports:
import 'dart:async';
// Flutter imports:
import 'package:aku_new_community_manager/ui/widgets/common/aku_material_button.dart';
import 'package:flutter/material.dart';
// Package imports:
import 'package:get/get.dart';
// Project imports:
import 'package:aku_new_community_manager/style/app_style.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';
// Flutter imports:
import 'package:aku_new_community_manager/ui/widgets/common/aku_material_button.dart';
import 'package:aku_new_community_manager/ui/widgets/common/aku_scaffold.dart';
import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
// Package imports:
import 'package:get/get.dart';
class WarningSuccess extends StatefulWidget {
WarningSuccess({Key? key}) : super(key: key);
@ -52,7 +51,7 @@ class _WarningSuccessState extends State<WarningSuccess> {
width: 420.w,
),
Text(
'人才公寓',
'${S.of(context)!.tempPlotName}',
style: TextStyle(
fontSize: 44.w,
color: AppStyle.primaryTextColor,

@ -5,7 +5,7 @@ import 'package:power_logger/power_logger.dart';
import 'package:web_socket_channel/io.dart';
import 'package:web_socket_channel/web_socket_channel.dart';
const String baseUri = 'wss://shop.kaidalai.cn/websocket/butlerApp';
const String baseUri = 'wss://hmxc.kaidalai.cn/websocket/butlerApp';
enum SOCKETSTATUS {
CONNECTED, //
BREAKOFF, //

Loading…
Cancel
Save