Commit 8f69ec76 authored by 杜欣's avatar 杜欣

输入框样式

parent f8b86cb6
......@@ -369,6 +369,8 @@ class MechanismBox implements IBottomPicker {
height: 35,
width: double.maxFinite,
margin: EdgeInsets.only(top: 12, left: 15, right: 15),
padding: EdgeInsets.only(left: 16, right: 16),
alignment: Alignment.centerLeft,
decoration: BoxDecoration(
border: Border.all(color: Color(0xffE5E5E5), width: 0.5),
color: Color(0xffffffff),
......@@ -405,9 +407,9 @@ class MechanismBox implements IBottomPicker {
style:
TextStyle(fontSize: 14, color: Color(0xff282828)),
maxLines: 1,
textAlign: TextAlign.left,
decoration: InputDecoration(
contentPadding: EdgeInsets.only(
left: 16, top: 0, bottom: 12, right: 16),
contentPadding: EdgeInsets.only(top: -13),
hintText: '请输入您想了解的问题',
hintStyle: TextStyle(
color: Color(0xff999999), fontSize: 12),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment