更改小区名称

master
张萌 2 years ago
parent 667abf7372
commit 0f84ca17b9

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

@ -3,7 +3,7 @@
"@appName": { "@appName": {
"description": "应用名称" "description": "应用名称"
}, },
"tempPlotName": "人才公寓智慧小区", "tempPlotName": "盛邦滨江府",
"@tempPlotName": { "@tempPlotName": {
"description": "临时使用的小区名称" "description": "临时使用的小区名称"
} }

@ -8,6 +8,8 @@ import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart'; import 'package:get/get.dart';
import 'package:velocity_x/velocity_x.dart'; import 'package:velocity_x/velocity_x.dart';
import '../../utils/headers.dart';
class RenovationManageCard extends StatefulWidget { class RenovationManageCard extends StatefulWidget {
final int index; final int index;
@ -55,7 +57,7 @@ class _RenovationManageCardState extends State<RenovationManageCard> {
], ],
), ),
24.w.heightBox, 24.w.heightBox,
_buildTile(R.ASSETS_ICONS_ARTICLE_NAME_PNG, '小区名称', '人才公寓'), _buildTile(R.ASSETS_ICONS_ARTICLE_NAME_PNG, '小区名称',S.of(context)!.tempPlotName ),
12.w.heightBox, 12.w.heightBox,
_buildTile( _buildTile(
R.ASSETS_ICONS_APPOINTMENT_ADDRESS_PNG, R.ASSETS_ICONS_APPOINTMENT_ADDRESS_PNG,

@ -9,6 +9,8 @@ import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:velocity_x/velocity_x.dart'; import 'package:velocity_x/velocity_x.dart';
import '../../utils/headers.dart';
class RenovationManageDetailPage extends StatefulWidget { class RenovationManageDetailPage extends StatefulWidget {
RenovationManageDetailPage({Key? key}) : super(key: key); RenovationManageDetailPage({Key? key}) : super(key: key);
@ -197,7 +199,7 @@ class _RenovationManageDetailPageState
[ [
_buildInfoCard( _buildInfoCard(
tag: '', tag: '',
midTop: '人才公寓', midTop: S.of(context)!.tempPlotName,
midBottom: '1幢-1单元-302', midBottom: '1幢-1单元-302',
name: '业主:' + '马泽鹏', name: '业主:' + '马泽鹏',
phone: '13720183183', phone: '13720183183',

@ -11,6 +11,8 @@ import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart'; import 'package:get/get.dart';
import 'package:velocity_x/velocity_x.dart'; import 'package:velocity_x/velocity_x.dart';
import '../../utils/headers.dart';
class ServiceBrowsePage extends StatefulWidget { class ServiceBrowsePage extends StatefulWidget {
ServiceBrowsePage({Key? key}) : super(key: key); ServiceBrowsePage({Key? key}) : super(key: key);
@ -89,7 +91,7 @@ class _ServiceBrowsePageState extends State<ServiceBrowsePage> {
32.w.heightBox, 32.w.heightBox,
Row( Row(
children: [ children: [
'南宁人才公寓'.text.size(20.sp).color(ktextSubColor).make(), S.of(context)!.tempPlotName.text.size(20.sp).color(ktextSubColor).make(),
Spacer(), Spacer(),
'发布于 ${DateUtil.formatDateStr(model.createDate, format: 'MM-dd HH:mm')}' '发布于 ${DateUtil.formatDateStr(model.createDate, format: 'MM-dd HH:mm')}'
.text .text

@ -94,7 +94,7 @@ class _SurroundingEnterprisesPageState
Spacer(), Spacer(),
Row( Row(
children: [ children: [
'南宁人才公寓'.text.size(20.sp).color(ktextThirdColor).make(), S.of(context)!.tempPlotName.text.size(20.sp).color(ktextThirdColor).make(),
Spacer(), Spacer(),
'发布于:${model.getReleaseDate}' '发布于:${model.getReleaseDate}'
.text .text

@ -16,6 +16,8 @@ import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart'; import 'package:get/get.dart';
import 'package:velocity_x/velocity_x.dart'; import 'package:velocity_x/velocity_x.dart';
import '../../../utils/headers.dart';
class MyOrderCard extends StatefulWidget { class MyOrderCard extends StatefulWidget {
final MyOrderListModel model; final MyOrderListModel model;
final VoidCallback callRefresh; final VoidCallback callRefresh;
@ -119,7 +121,7 @@ class _MyOrderCardState extends State<MyOrderCard> {
40.w.heightBox, 40.w.heightBox,
...[ ...[
_rowTile('下单时间', widget.model.arrivalDateString), _rowTile('下单时间', widget.model.arrivalDateString),
_rowTile('到达地点', '人才公寓小区北侧门口'), _rowTile('到达地点', '${S.of(context)!.tempPlotName}北侧门口'),
_rowTile('发货时间', widget.model.sendDateString), _rowTile('发货时间', widget.model.sendDateString),
].sepWidget(separate: 16.w.heightBox), ].sepWidget(separate: 16.w.heightBox),
..._bottomWidget(), ..._bottomWidget(),

Loading…
Cancel
Save