|
...
|
...
|
@@ -2088,6 +2088,7 @@ class InvicationPageState extends State<InvicationPage> |
|
|
|
children: [
|
|
|
|
Column(
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
mainAxisSize: MainAxisSize.max,
|
|
|
|
children: [
|
|
|
|
//姓名
|
|
|
|
if (enterMore)
|
|
...
|
...
|
@@ -2137,6 +2138,23 @@ class InvicationPageState extends State<InvicationPage> |
|
|
|
print('ggg');
|
|
|
|
|
|
|
|
nameStr = value;
|
|
|
|
Map<String, String> params = {
|
|
|
|
"keywords": value.trim(),
|
|
|
|
"sid": Provider.of<UserModel>(context,
|
|
|
|
listen: false)
|
|
|
|
.user
|
|
|
|
.sellerid,
|
|
|
|
};
|
|
|
|
_baseIndoProvider.getUserHistorys(
|
|
|
|
context, params);
|
|
|
|
},
|
|
|
|
onTap: () {
|
|
|
|
setState(() {
|
|
|
|
showPhoneHistory = true;
|
|
|
|
});
|
|
|
|
// Future.delayed(Duration(milliseconds: 300), () {
|
|
|
|
// _controller.jumpTo(_controller.position.maxScrollExtent);
|
|
|
|
// });
|
|
|
|
},
|
|
|
|
onEditingComplete: () {
|
|
|
|
print('fff');
|
|
...
|
...
|
@@ -2423,7 +2441,7 @@ class InvicationPageState extends State<InvicationPage> |
|
|
|
),
|
|
|
|
if (enterMore)
|
|
|
|
Positioned(
|
|
|
|
top: 0,
|
|
|
|
top: _nameNode.hasFocus ? w(60) : 0,
|
|
|
|
left: 0,
|
|
|
|
child: Offstage(
|
|
|
|
offstage: !(showPhoneHistory &&
|
|
...
|
...
|
@@ -2445,7 +2463,7 @@ class InvicationPageState extends State<InvicationPage> |
|
|
|
// : ScreenUtil().setWidth(104),
|
|
|
|
width: ScreenUtil().screenWidth - w(60),
|
|
|
|
// width: ScreenUtil().setWidth(350),
|
|
|
|
constraints: BoxConstraints(maxHeight: w(270)),
|
|
|
|
constraints: BoxConstraints(maxHeight: w(220)),
|
|
|
|
padding: EdgeInsets.symmetric(
|
|
|
|
horizontal: ScreenUtil().setWidth(30)),
|
|
|
|
child: Align(
|
|
...
|
...
|
@@ -2478,7 +2496,7 @@ class InvicationPageState extends State<InvicationPage> |
|
|
|
},
|
|
|
|
child: Container(
|
|
|
|
width: double.infinity,
|
|
|
|
height: ScreenUtil().setWidth(102),
|
|
|
|
height: ScreenUtil().setWidth(100),
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
border: Border(
|
|
|
|
bottom: (index !=
|
|
...
|
...
|
@@ -2501,30 +2519,53 @@ class InvicationPageState extends State<InvicationPage> |
|
|
|
MainAxisAlignment.spaceBetween,
|
|
|
|
children: [
|
|
|
|
Text(
|
|
|
|
_baseIndoProvider
|
|
|
|
_nameNode.hasFocus
|
|
|
|
? (_baseIndoProvider
|
|
|
|
.userHistorys[
|
|
|
|
index]
|
|
|
|
.rname ==
|
|
|
|
null
|
|
|
|
? ''
|
|
|
|
: _baseIndoProvider
|
|
|
|
.userHistorys[index]
|
|
|
|
.rnameStr)
|
|
|
|
: (_baseIndoProvider
|
|
|
|
.userHistorys[
|
|
|
|
index]
|
|
|
|
.phone ==
|
|
|
|
null
|
|
|
|
? ''
|
|
|
|
: _baseIndoProvider
|
|
|
|
.userHistorys[index]
|
|
|
|
.phone ==
|
|
|
|
null
|
|
|
|
? ''
|
|
|
|
: _baseIndoProvider
|
|
|
|
.userHistorys[index]
|
|
|
|
.phone,
|
|
|
|
.phone),
|
|
|
|
style: TextStyle(
|
|
|
|
color:
|
|
|
|
MyColours.color_333333,
|
|
|
|
fontSize:
|
|
|
|
ScreenUtil().setSp(32)),
|
|
|
|
),
|
|
|
|
HEmptyView(20),
|
|
|
|
Expanded(
|
|
|
|
child: Text(
|
|
|
|
_baseIndoProvider
|
|
|
|
_nameNode.hasFocus
|
|
|
|
? (_baseIndoProvider
|
|
|
|
.userHistorys[
|
|
|
|
index]
|
|
|
|
.phone ==
|
|
|
|
null
|
|
|
|
? ''
|
|
|
|
: _baseIndoProvider
|
|
|
|
.userHistorys[index]
|
|
|
|
.phone)
|
|
|
|
: (_baseIndoProvider
|
|
|
|
.userHistorys[
|
|
|
|
index]
|
|
|
|
.rname ==
|
|
|
|
null
|
|
|
|
? ''
|
|
|
|
: _baseIndoProvider
|
|
|
|
.userHistorys[index]
|
|
|
|
.rname ==
|
|
|
|
null
|
|
|
|
? ''
|
|
|
|
: _baseIndoProvider
|
|
|
|
.userHistorys[index]
|
|
|
|
.rnameStr,
|
|
|
|
.rnameStr),
|
|
|
|
style: TextStyle(
|
|
|
|
color:
|
|
|
|
MyColours.color_333333,
|
...
|
...
|
|