Commit c5795bf64b73555d34d6908d5c75b0ef9d73012d

Authored by wdn127929
1 parent 9e111772

限制字数

@@ -548,7 +548,7 @@ @@ -548,7 +548,7 @@
548 CODE_SIGN_ENTITLEMENTS = Runner/RunnerProfile.entitlements; 548 CODE_SIGN_ENTITLEMENTS = Runner/RunnerProfile.entitlements;
549 CODE_SIGN_IDENTITY = "Apple Development"; 549 CODE_SIGN_IDENTITY = "Apple Development";
550 CODE_SIGN_STYLE = Automatic; 550 CODE_SIGN_STYLE = Automatic;
551 - CURRENT_PROJECT_VERSION = 5270; 551 + CURRENT_PROJECT_VERSION = 5271;
552 DEVELOPMENT_TEAM = 8J59HM8B82; 552 DEVELOPMENT_TEAM = 8J59HM8B82;
553 ENABLE_BITCODE = NO; 553 ENABLE_BITCODE = NO;
554 FLUTTER_BUILD_MODE = release; 554 FLUTTER_BUILD_MODE = release;
@@ -696,7 +696,7 @@ @@ -696,7 +696,7 @@
696 CODE_SIGN_ENTITLEMENTS = "Runner/一键订Debug.entitlements"; 696 CODE_SIGN_ENTITLEMENTS = "Runner/一键订Debug.entitlements";
697 CODE_SIGN_IDENTITY = "Apple Development"; 697 CODE_SIGN_IDENTITY = "Apple Development";
698 CODE_SIGN_STYLE = Automatic; 698 CODE_SIGN_STYLE = Automatic;
699 - CURRENT_PROJECT_VERSION = 5270; 699 + CURRENT_PROJECT_VERSION = 5271;
700 DEVELOPMENT_TEAM = 8J59HM8B82; 700 DEVELOPMENT_TEAM = 8J59HM8B82;
701 ENABLE_BITCODE = NO; 701 ENABLE_BITCODE = NO;
702 FLUTTER_BUILD_MODE = release; 702 FLUTTER_BUILD_MODE = release;
@@ -732,7 +732,7 @@ @@ -732,7 +732,7 @@
732 CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; 732 CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
733 CODE_SIGN_IDENTITY = "Apple Development"; 733 CODE_SIGN_IDENTITY = "Apple Development";
734 CODE_SIGN_STYLE = Automatic; 734 CODE_SIGN_STYLE = Automatic;
735 - CURRENT_PROJECT_VERSION = 5270; 735 + CURRENT_PROJECT_VERSION = 5271;
736 DEVELOPMENT_TEAM = 8J59HM8B82; 736 DEVELOPMENT_TEAM = 8J59HM8B82;
737 ENABLE_BITCODE = NO; 737 ENABLE_BITCODE = NO;
738 FLUTTER_BUILD_MODE = release; 738 FLUTTER_BUILD_MODE = release;
@@ -2,6 +2,7 @@ import 'dart:convert'; @@ -2,6 +2,7 @@ import 'dart:convert';
2 2
3 import 'package:common_utils/common_utils.dart'; 3 import 'package:common_utils/common_utils.dart';
4 import 'package:flutter/material.dart'; 4 import 'package:flutter/material.dart';
  5 +import 'package:flutter/services.dart';
5 import 'package:flutter_picker/flutter_picker.dart'; 6 import 'package:flutter_picker/flutter_picker.dart';
6 import 'package:flutter_screenutil/flutter_screenutil.dart'; 7 import 'package:flutter_screenutil/flutter_screenutil.dart';
7 import 'package:fluttertoast/fluttertoast.dart'; 8 import 'package:fluttertoast/fluttertoast.dart';
@@ -372,6 +373,7 @@ class _CouponEidtPageState extends State<CouponEidtPage> { @@ -372,6 +373,7 @@ class _CouponEidtPageState extends State<CouponEidtPage> {
372 // cursorColor: 373 // cursorColor:
373 // widget.isSelect ? Colors.white : MyColours.color_199095, 374 // widget.isSelect ? Colors.white : MyColours.color_199095,
374 //输入文本的样式 375 //输入文本的样式
  376 + inputFormatters:title== '券名称' ? [LengthLimitingTextInputFormatter(15)]:[],
375 style: TextStyle( 377 style: TextStyle(
376 color: MyColours.color_515151, 378 color: MyColours.color_515151,
377 fontSize: ScreenUtil().setSp(32), 379 fontSize: ScreenUtil().setSp(32),
@@ -2,6 +2,7 @@ import 'dart:convert'; @@ -2,6 +2,7 @@ import 'dart:convert';
2 2
3 import 'package:common_utils/common_utils.dart'; 3 import 'package:common_utils/common_utils.dart';
4 import 'package:flutter/material.dart'; 4 import 'package:flutter/material.dart';
  5 +import 'package:flutter/services.dart';
5 import 'package:flutter_keyboard_visibility/flutter_keyboard_visibility.dart'; 6 import 'package:flutter_keyboard_visibility/flutter_keyboard_visibility.dart';
6 import 'package:flutter_picker/Picker.dart'; 7 import 'package:flutter_picker/Picker.dart';
7 import 'package:flutter_screenutil/flutter_screenutil.dart'; 8 import 'package:flutter_screenutil/flutter_screenutil.dart';
@@ -251,6 +252,9 @@ class _RechargeEditPageState extends State<RechargeEditPage> { @@ -251,6 +252,9 @@ class _RechargeEditPageState extends State<RechargeEditPage> {
251 // cursorColor: 252 // cursorColor:
252 // widget.isSelect ? Colors.white : MyColours.color_199095, 253 // widget.isSelect ? Colors.white : MyColours.color_199095,
253 //输入文本的样式 254 //输入文本的样式
  255 +
  256 + inputFormatters:
  257 + title == '活动名称' ? [LengthLimitingTextInputFormatter(15)] : [],
254 style: TextStyle( 258 style: TextStyle(
255 color: MyColours.color_515151, 259 color: MyColours.color_515151,
256 fontSize: ScreenUtil().setSp(32), 260 fontSize: ScreenUtil().setSp(32),
@@ -137,13 +137,16 @@ class _RechargeItemState extends State<RechargeItem> { @@ -137,13 +137,16 @@ class _RechargeItemState extends State<RechargeItem> {
137 mainAxisAlignment: 137 mainAxisAlignment:
138 MainAxisAlignment.spaceBetween, 138 MainAxisAlignment.spaceBetween,
139 children: [ 139 children: [
140 - Text( 140 + Expanded(child: Text(
141 widget.rechargeListSunModel.rname, 141 widget.rechargeListSunModel.rname,
  142 + maxLines: 1,
  143 + overflow: TextOverflow.ellipsis,
142 style: TextStyle( 144 style: TextStyle(
143 color: MyColours.color_ffffff, 145 color: MyColours.color_ffffff,
144 fontWeight: FontWeight.bold, 146 fontWeight: FontWeight.bold,
145 fontSize: ScreenUtil().setSp(32)), 147 fontSize: ScreenUtil().setSp(32)),
146 - ), 148 + )),
  149 + HEmptyView(10),
147 Text( 150 Text(
148 '更新时间:${widget.rechargeListSunModel.cdateStr}', 151 '更新时间:${widget.rechargeListSunModel.cdateStr}',
149 maxLines: 1, 152 maxLines: 1,