Commit d025ecc7 authored by 林生雨's avatar 林生雨

Merge branch 'featrue/duxin' into 'test'

输入框样式

See merge request !65
parents 27565f23 5e14cb97
...@@ -369,6 +369,8 @@ class MechanismBox implements IBottomPicker { ...@@ -369,6 +369,8 @@ class MechanismBox implements IBottomPicker {
height: 35, height: 35,
width: double.maxFinite, width: double.maxFinite,
margin: EdgeInsets.only(top: 12, left: 15, right: 15), margin: EdgeInsets.only(top: 12, left: 15, right: 15),
padding: EdgeInsets.only(left: 16, right: 16),
alignment: Alignment.centerLeft,
decoration: BoxDecoration( decoration: BoxDecoration(
border: Border.all(color: Color(0xffE5E5E5), width: 0.5), border: Border.all(color: Color(0xffE5E5E5), width: 0.5),
color: Color(0xffffffff), color: Color(0xffffffff),
...@@ -405,9 +407,9 @@ class MechanismBox implements IBottomPicker { ...@@ -405,9 +407,9 @@ class MechanismBox implements IBottomPicker {
style: style:
TextStyle(fontSize: 14, color: Color(0xff282828)), TextStyle(fontSize: 14, color: Color(0xff282828)),
maxLines: 1, maxLines: 1,
textAlign: TextAlign.left,
decoration: InputDecoration( decoration: InputDecoration(
contentPadding: EdgeInsets.only( contentPadding: EdgeInsets.only(top: -13),
left: 16, top: 0, bottom: 12, right: 16),
hintText: '请输入您想了解的问题', hintText: '请输入您想了解的问题',
hintStyle: TextStyle( hintStyle: TextStyle(
color: Color(0xff999999), fontSize: 12), 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