This commit is contained in:
wyf
2025-06-17 19:12:30 +08:00
parent e34966aaba
commit f3f3e4f73f
117 changed files with 5479 additions and 6679 deletions

View File

@@ -77,12 +77,6 @@ class _RepairHistoryInfoWidgetState extends State<RepairHistoryInfoWidget> {
style: TextStyle(
fontSize: 26.rpx,
letterSpacing: 0.0,
fontWeight: FlutterFlowTheme.of(context)
.bodyMedium
.fontWeight,
fontStyle: FlutterFlowTheme.of(context)
.bodyMedium
.fontStyle,
color: themeController.currentColor.sc4,
),
),
@@ -94,12 +88,6 @@ class _RepairHistoryInfoWidgetState extends State<RepairHistoryInfoWidget> {
style: TextStyle(
fontSize: 26.rpx,
letterSpacing: 0.0,
fontWeight: FlutterFlowTheme.of(context)
.bodyMedium
.fontWeight,
fontStyle: FlutterFlowTheme.of(context)
.bodyMedium
.fontStyle,
color: themeController.currentColor.sc3,
),
),
@@ -125,12 +113,6 @@ class _RepairHistoryInfoWidgetState extends State<RepairHistoryInfoWidget> {
style: TextStyle(
fontSize: 26.rpx,
letterSpacing: 0.0,
fontWeight: FlutterFlowTheme.of(context)
.bodyMedium
.fontWeight,
fontStyle: FlutterFlowTheme.of(context)
.bodyMedium
.fontStyle,
color: themeController.currentColor.sc4,
),
),
@@ -143,12 +125,6 @@ class _RepairHistoryInfoWidgetState extends State<RepairHistoryInfoWidget> {
style: TextStyle(
fontSize: 26.rpx,
letterSpacing: 0.0,
fontWeight: FlutterFlowTheme.of(context)
.bodyMedium
.fontWeight,
fontStyle: FlutterFlowTheme.of(context)
.bodyMedium
.fontStyle,
color: themeController.currentColor.sc3,
),
),
@@ -175,12 +151,6 @@ class _RepairHistoryInfoWidgetState extends State<RepairHistoryInfoWidget> {
style: TextStyle(
fontSize: 26.rpx,
letterSpacing: 0.0,
fontWeight: FlutterFlowTheme.of(context)
.bodyMedium
.fontWeight,
fontStyle: FlutterFlowTheme.of(context)
.bodyMedium
.fontStyle,
color: themeController.currentColor.sc4,
),
),
@@ -192,12 +162,7 @@ class _RepairHistoryInfoWidgetState extends State<RepairHistoryInfoWidget> {
style: TextStyle(
fontSize: 26.rpx,
letterSpacing: 0.0,
fontWeight: FlutterFlowTheme.of(context)
.bodyMedium
.fontWeight,
fontStyle: FlutterFlowTheme.of(context)
.bodyMedium
.fontStyle,
color: themeController.currentColor.sc3,
),
),
@@ -223,12 +188,6 @@ class _RepairHistoryInfoWidgetState extends State<RepairHistoryInfoWidget> {
style: TextStyle(
fontSize: 26.rpx,
letterSpacing: 0.0,
fontWeight: FlutterFlowTheme.of(context)
.bodyMedium
.fontWeight,
fontStyle: FlutterFlowTheme.of(context)
.bodyMedium
.fontStyle,
color: themeController.currentColor.sc4,
),
),
@@ -240,12 +199,7 @@ class _RepairHistoryInfoWidgetState extends State<RepairHistoryInfoWidget> {
style: TextStyle(
fontSize: 26.rpx,
letterSpacing: 0.0,
fontWeight: FlutterFlowTheme.of(context)
.bodyMedium
.fontWeight,
fontStyle: FlutterFlowTheme.of(context)
.bodyMedium
.fontStyle,
color: themeController.currentColor.sc3,
),
),
@@ -277,12 +231,12 @@ class _RepairHistoryInfoWidgetState extends State<RepairHistoryInfoWidget> {
child: Center(
child: Text(
"查看".tr,
style: FlutterFlowTheme.of(context).bodyMedium.override(
fontFamily: 'Inter',
fontSize: 26.rpx,
letterSpacing: 0.0,
color: Colors.white,
),
style: TextStyle(
fontFamily: 'Inter',
fontSize: 26.rpx,
letterSpacing: 0.0,
color: Colors.white,
),
),
),
),

View File

@@ -116,12 +116,6 @@ class _RepairModelReadOnlyWidgetState extends State<RepairModelReadOnlyWidget> {
isDense: true,
labelStyle: TextStyle(
letterSpacing: 0.0,
fontWeight: FlutterFlowTheme.of(context)
.labelMedium
.fontWeight,
fontStyle: FlutterFlowTheme.of(context)
.labelMedium
.fontStyle,
),
hintText: "设备参数提示".tr,
hintStyle: TextStyle(
@@ -146,14 +140,12 @@ class _RepairModelReadOnlyWidgetState extends State<RepairModelReadOnlyWidget> {
),
errorBorder: OutlineInputBorder(
borderSide: BorderSide(
color: FlutterFlowTheme.of(context).error,
width: 1.rpx,
),
borderRadius: BorderRadius.circular(8.rpx),
),
focusedErrorBorder: OutlineInputBorder(
borderSide: BorderSide(
color: FlutterFlowTheme.of(context).error,
width: 1.rpx,
),
borderRadius: BorderRadius.circular(8.rpx),
@@ -220,12 +212,7 @@ class _RepairModelReadOnlyWidgetState extends State<RepairModelReadOnlyWidget> {
isDense: true,
labelStyle: TextStyle(
letterSpacing: 0.0,
fontWeight: FlutterFlowTheme.of(context)
.labelMedium
.fontWeight,
fontStyle: FlutterFlowTheme.of(context)
.labelMedium
.fontStyle,
),
hintText: "设备参数提示".tr,
hintStyle: TextStyle(
@@ -250,14 +237,12 @@ class _RepairModelReadOnlyWidgetState extends State<RepairModelReadOnlyWidget> {
),
errorBorder: OutlineInputBorder(
borderSide: BorderSide(
color: FlutterFlowTheme.of(context).error,
width: 1.rpx,
),
borderRadius: BorderRadius.circular(8.rpx),
),
focusedErrorBorder: OutlineInputBorder(
borderSide: BorderSide(
color: FlutterFlowTheme.of(context).error,
width: 1.rpx,
),
borderRadius: BorderRadius.circular(8.rpx),
@@ -308,10 +293,7 @@ class _RepairModelReadOnlyWidgetState extends State<RepairModelReadOnlyWidget> {
isDense: true,
labelStyle: TextStyle(
letterSpacing: 0.0,
fontWeight:
FlutterFlowTheme.of(context).labelMedium.fontWeight,
fontStyle:
FlutterFlowTheme.of(context).labelMedium.fontStyle,
),
hintText: '问题描述'.tr,
hintStyle: TextStyle(
@@ -335,14 +317,12 @@ class _RepairModelReadOnlyWidgetState extends State<RepairModelReadOnlyWidget> {
),
errorBorder: OutlineInputBorder(
borderSide: BorderSide(
color: FlutterFlowTheme.of(context).error,
width: 1,
),
borderRadius: BorderRadius.circular(8.rpx),
),
focusedErrorBorder: OutlineInputBorder(
borderSide: BorderSide(
color: FlutterFlowTheme.of(context).error,
width: 1,
),
borderRadius: BorderRadius.circular(8.rpx),
@@ -464,14 +444,12 @@ class _RepairModelReadOnlyWidgetState extends State<RepairModelReadOnlyWidget> {
children: [
Text(
'删除'.tr,
style: FlutterFlowTheme.of(context)
.bodyMedium
.override(
color: themeController.currentColor.sc9,
fontFamily: 'Inter',
fontSize: AppConstants().normal_text_fontSize,
letterSpacing: 0.0,
),
style: TextStyle(
color: themeController.currentColor.sc9,
fontFamily: 'Inter',
fontSize: AppConstants().normal_text_fontSize,
letterSpacing: 0.0,
),
),
].divide(SizedBox(
width: 17.rpx,

View File

@@ -21,7 +21,7 @@ class RepairModelWidget extends StatefulWidget {
int length;
final GlobalKey widgetKey; // 新增
final bool showDelete; // ✅ 新增
RepairModelWidget({
super.key,
required this.model,
@@ -143,7 +143,7 @@ class _RepairModelWidgetState extends State<RepairModelWidget> {
),
icon: Icon(
Icons.keyboard_arrow_down_rounded,
color: FlutterFlowTheme.of(context).secondaryText,
color:Colors.white,
size: 24.rpx,
),
fillColor: themeController.currentColor.sc15,
@@ -208,12 +208,6 @@ class _RepairModelWidgetState extends State<RepairModelWidget> {
isDense: true,
labelStyle: TextStyle(
letterSpacing: 0.0,
fontWeight: FlutterFlowTheme.of(context)
.labelMedium
.fontWeight,
fontStyle: FlutterFlowTheme.of(context)
.labelMedium
.fontStyle,
),
hintText: "设备参数提示".tr,
hintStyle: TextStyle(
@@ -238,14 +232,14 @@ class _RepairModelWidgetState extends State<RepairModelWidget> {
),
errorBorder: OutlineInputBorder(
borderSide: BorderSide(
color: FlutterFlowTheme.of(context).error,
//
width: 1.rpx,
),
borderRadius: BorderRadius.circular(8.rpx),
),
focusedErrorBorder: OutlineInputBorder(
borderSide: BorderSide(
color: FlutterFlowTheme.of(context).error,
//
width: 1.rpx,
),
borderRadius: BorderRadius.circular(8.rpx),
@@ -295,10 +289,6 @@ class _RepairModelWidgetState extends State<RepairModelWidget> {
isDense: true,
labelStyle: TextStyle(
letterSpacing: 0.0,
fontWeight:
FlutterFlowTheme.of(context).labelMedium.fontWeight,
fontStyle:
FlutterFlowTheme.of(context).labelMedium.fontStyle,
),
hintText: '问题描述'.tr,
hintStyle: TextStyle(
@@ -322,14 +312,14 @@ class _RepairModelWidgetState extends State<RepairModelWidget> {
),
errorBorder: OutlineInputBorder(
borderSide: BorderSide(
color: FlutterFlowTheme.of(context).error,
//
width: 1,
),
borderRadius: BorderRadius.circular(8.rpx),
),
focusedErrorBorder: OutlineInputBorder(
borderSide: BorderSide(
color: FlutterFlowTheme.of(context).error,
//
width: 1,
),
borderRadius: BorderRadius.circular(8.rpx),
@@ -451,14 +441,12 @@ class _RepairModelWidgetState extends State<RepairModelWidget> {
children: [
Text(
'删除'.tr,
style: FlutterFlowTheme.of(context)
.bodyMedium
.override(
color: themeController.currentColor.sc9,
fontFamily: 'Inter',
fontSize: AppConstants().normal_text_fontSize,
letterSpacing: 0.0,
),
style: TextStyle(
color: themeController.currentColor.sc9,
fontFamily: 'Inter',
fontSize: AppConstants().normal_text_fontSize,
letterSpacing: 0.0,
),
),
].divide(SizedBox(
width: 17.rpx,