diff --git a/lib/constants/api.dart b/lib/constants/api.dart index a9dd88b8..5309437a 100644 --- a/lib/constants/api.dart +++ b/lib/constants/api.dart @@ -2,7 +2,7 @@ part 'sars_api.dart'; class API { ///HOST - static const String host = 'http://shop.kaidalai.cn'; + static const String host = 'http://star.kaidalai.cn/'; ///接口基础地址 static const String baseURL = '$host/api/app'; diff --git a/lib/l10n/app_zh.arb b/lib/l10n/app_zh.arb index dc4ada6b..441ece50 100644 --- a/lib/l10n/app_zh.arb +++ b/lib/l10n/app_zh.arb @@ -3,7 +3,7 @@ "@appName": { "description": "应用名称" }, - "tempPlotName": "人才公寓智慧小区", + "tempPlotName": "盛邦滨江府", "@tempPlotName": { "description": "临时使用的小区名称" } diff --git a/lib/pages/renovation_manage/renovation_manage_card.dart b/lib/pages/renovation_manage/renovation_manage_card.dart index f1e13fa6..e91d6554 100644 --- a/lib/pages/renovation_manage/renovation_manage_card.dart +++ b/lib/pages/renovation_manage/renovation_manage_card.dart @@ -8,6 +8,8 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:get/get.dart'; import 'package:velocity_x/velocity_x.dart'; +import '../../utils/headers.dart'; + class RenovationManageCard extends StatefulWidget { final int index; @@ -55,7 +57,7 @@ class _RenovationManageCardState extends State { ], ), 24.w.heightBox, - _buildTile(R.ASSETS_ICONS_ARTICLE_NAME_PNG, '小区名称', '人才公寓'), + _buildTile(R.ASSETS_ICONS_ARTICLE_NAME_PNG, '小区名称',S.of(context)!.tempPlotName ), 12.w.heightBox, _buildTile( R.ASSETS_ICONS_APPOINTMENT_ADDRESS_PNG, diff --git a/lib/pages/renovation_manage/renovation_manage_detail_page.dart b/lib/pages/renovation_manage/renovation_manage_detail_page.dart index 4ee03ec9..04cf3060 100644 --- a/lib/pages/renovation_manage/renovation_manage_detail_page.dart +++ b/lib/pages/renovation_manage/renovation_manage_detail_page.dart @@ -9,6 +9,8 @@ import 'package:flutter/material.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:velocity_x/velocity_x.dart'; +import '../../utils/headers.dart'; + class RenovationManageDetailPage extends StatefulWidget { RenovationManageDetailPage({Key? key}) : super(key: key); @@ -197,7 +199,7 @@ class _RenovationManageDetailPageState [ _buildInfoCard( tag: '家', - midTop: '人才公寓', + midTop: S.of(context)!.tempPlotName, midBottom: '1幢-1单元-302', name: '业主:' + '马泽鹏', phone: '13720183183', diff --git a/lib/pages/service_browse/service_browse_page.dart b/lib/pages/service_browse/service_browse_page.dart index 0ae09901..46ba6a61 100644 --- a/lib/pages/service_browse/service_browse_page.dart +++ b/lib/pages/service_browse/service_browse_page.dart @@ -11,6 +11,8 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:get/get.dart'; import 'package:velocity_x/velocity_x.dart'; +import '../../utils/headers.dart'; + class ServiceBrowsePage extends StatefulWidget { ServiceBrowsePage({Key? key}) : super(key: key); @@ -89,7 +91,7 @@ class _ServiceBrowsePageState extends State { 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.createDate, format: 'MM-dd HH:mm')}' .text diff --git a/lib/pages/surrounding_enterprises/surrounding_enterprises_page.dart b/lib/pages/surrounding_enterprises/surrounding_enterprises_page.dart index 6de8b8bd..6d703f11 100644 --- a/lib/pages/surrounding_enterprises/surrounding_enterprises_page.dart +++ b/lib/pages/surrounding_enterprises/surrounding_enterprises_page.dart @@ -94,7 +94,7 @@ class _SurroundingEnterprisesPageState Spacer(), Row( children: [ - '南宁人才公寓'.text.size(20.sp).color(ktextThirdColor).make(), + S.of(context)!.tempPlotName.text.size(20.sp).color(ktextThirdColor).make(), Spacer(), '发布于:${model.getReleaseDate}' .text diff --git a/lib/ui/market/order/my_order_card.dart b/lib/ui/market/order/my_order_card.dart index 47249d70..e1256c61 100644 --- a/lib/ui/market/order/my_order_card.dart +++ b/lib/ui/market/order/my_order_card.dart @@ -16,6 +16,8 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:get/get.dart'; import 'package:velocity_x/velocity_x.dart'; +import '../../../utils/headers.dart'; + class MyOrderCard extends StatefulWidget { final MyOrderListModel model; final VoidCallback callRefresh; @@ -119,7 +121,7 @@ class _MyOrderCardState extends State { 40.w.heightBox, ...[ _rowTile('下单时间', widget.model.arrivalDateString), - _rowTile('到达地点', '人才公寓小区北侧门口'), + _rowTile('到达地点', '${S.of(context)!.tempPlotName}北侧门口'), _rowTile('发货时间', widget.model.sendDateString), ].sepWidget(separate: 16.w.heightBox), ..._bottomWidget(),