Commit a5cf4ee3d99fbe1d7a91e3cf0ec0879a74e72e7c

Authored by wdn127929
1 parent 38678322

在线预订显示online

... ... @@ -358,7 +358,7 @@ class _BaseInfoPageState extends State<BaseInfoPage> {
_uploadImageProvider =
Provider.of<UploadImageProvider>(context, listen: true);
_baseIndoProvider = Provider.of<BaseIndoProvider>(context, listen: true);
return Scaffold(
return Scaffold(
backgroundColor: MyColours.color_fefefe,
appBar: SystemAppBar(
'填写信息',
... ... @@ -367,7 +367,11 @@ class _BaseInfoPageState extends State<BaseInfoPage> {
Navigator.of(context).pop();
},
),
body: InkWell(
body: WillPopScope(
onWillPop: () {
EventBus().emit('changeStatusColor');
Navigator.of(context).pop();
},child: InkWell(
onTap: () {
FocusScope.of(context).requestFocus(FocusNode()); //点击空白处隐藏键盘
},
... ... @@ -442,6 +446,6 @@ class _BaseInfoPageState extends State<BaseInfoPage> {
width: double.infinity,
radius: ScreenUtil().setWidth(10),
))
])));
}
])))
);}
}
... ...
... ... @@ -219,11 +219,11 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver {
bottom: ScreenUtil().setWidth(120),
child: RoundButton(
image: Utils.getImgPath('edit'),
text: '编辑',
text: '个人信息',
gradientStart: Color.fromRGBO(255, 255, 255, 0.1),
gradientEnd: Color.fromRGBO(255, 255, 255, 0.1),
borderColor: Color.fromRGBO(255, 255, 255, 0.2),
width: ScreenUtil().setWidth(160),
width: ScreenUtil().setWidth(195),
height: ScreenUtil().setWidth(60),
fontSize: 28,
isBold: false,
... ...
... ... @@ -70,14 +70,25 @@ class NotebookItemState extends State<NoteBookItem> {
horizontal: ScreenUtil().setWidth(14),
vertical: ScreenUtil().setWidth(40)),
alignment: Alignment.center,
child: Text(
notebook.tableinfoStr?.trim(),
maxLines: 30,
overflow: TextOverflow.ellipsis,
style: TextStyle(
color: textColor,
// fontWeight: FontWeight.bold,
fontSize: ScreenUtil().setSp(30)),
child: Column(
children: [
Text(
'${notebook.tableinfoStr?.trim()}',
maxLines: 30,
overflow: TextOverflow.ellipsis,
style: TextStyle(
color: textColor,
// fontWeight: FontWeight.bold,
fontSize: ScreenUtil().setSp(30)),
),
notebook.type == '1'
? Text('online',
style: TextStyle(
color: Colors.blue,
// fontWeight: FontWeight.bold,
fontSize: ScreenUtil().setSp(26)))
: SizedBox()
],
),
),
MyDivider(
... ...