Commit e888e7d82a71887f7757905e93b00525303001a8

Authored by wdn127929
1 parent 8423d9b0

安排bug修复

... ... @@ -554,7 +554,7 @@ class InvicationPageState extends State<InvicationPage>
_baseIndoProvider.pageState = PageState.Success;
String _nameStr = '';
String _tid = '';
tableInfo = [];
for (int i = 0; i < detailEntity.tables.length; i++) {
_nameStr += '${detailEntity.tables[i].name},';
_tid += '${detailEntity.tables[i].id},';
... ... @@ -839,7 +839,7 @@ class InvicationPageState extends State<InvicationPage>
_seePhoto(tableid) {
// List<String> temp = [];
if (_baseIndoProvider.photoList[tableid].length > 0) {
if (_baseIndoProvider.photoList[tableid]?.length > 0) {
// for (int i = 0; i < _baseIndoProvider.photoList.length; i++) {
// temp.add(_baseIndoProvider.photoList[i].image);
// }
... ... @@ -1083,16 +1083,19 @@ class InvicationPageState extends State<InvicationPage>
width: ScreenUtil().setWidth(60 * 2),
height: ScreenUtil().setWidth(18 * 2),
fontSize: 22,
textColor: _baseIndoProvider.photoList.isNotEmpty &&
textColor: _baseIndoProvider.photoList[item['tid']] !=
null &&
_baseIndoProvider.photoList[item['tid']].length > 0
? MyColours.color_ffffff
: MyColours.color_ffffff,
isBold: false,
gradientStart: _baseIndoProvider.photoList.isNotEmpty &&
gradientStart: _baseIndoProvider.photoList[item['tid']] !=
null &&
_baseIndoProvider.photoList[item['tid']].length > 0
? MyColours.color_199095
: Color.fromRGBO(154, 154, 154, 1),
gradientEnd: _baseIndoProvider.photoList.isNotEmpty &&
gradientEnd: _baseIndoProvider.photoList[item['tid']] !=
null &&
_baseIndoProvider.photoList[item['tid']].length > 0
? MyColours.color_199095
: Color.fromRGBO(154, 154, 154, 1),
... ... @@ -1244,25 +1247,34 @@ class InvicationPageState extends State<InvicationPage>
width: ScreenUtil().setWidth(60 * 2),
height: ScreenUtil().setWidth(18 * 2),
fontSize: 22,
textColor: _baseIndoProvider.photoList.isNotEmpty &&
_baseIndoProvider
.photoList[tableInfo[i]['tid']].length >
0
? MyColours.color_ffffff
: MyColours.color_ffffff,
textColor:
_baseIndoProvider.photoList[tableInfo[i]['tid']] !=
null &&
_baseIndoProvider
.photoList[tableInfo[i]['tid']]
.length >
0
? MyColours.color_ffffff
: MyColours.color_ffffff,
isBold: false,
gradientStart: _baseIndoProvider.photoList.isNotEmpty &&
_baseIndoProvider
.photoList[tableInfo[i]['tid']].length >
0
? MyColours.color_199095
: Color.fromRGBO(154, 154, 154, 1),
gradientEnd: _baseIndoProvider.photoList.isNotEmpty &&
_baseIndoProvider
.photoList[tableInfo[i]['tid']].length >
0
? MyColours.color_199095
: Color.fromRGBO(154, 154, 154, 1),
gradientStart:
_baseIndoProvider.photoList[tableInfo[i]['tid']] !=
null &&
_baseIndoProvider
.photoList[tableInfo[i]['tid']]
.length >
0
? MyColours.color_199095
: Color.fromRGBO(154, 154, 154, 1),
gradientEnd:
_baseIndoProvider.photoList[tableInfo[i]['tid']] !=
null &&
_baseIndoProvider
.photoList[tableInfo[i]['tid']]
.length >
0
? MyColours.color_199095
: Color.fromRGBO(154, 154, 154, 1),
))
],
))),
... ...