Browse Source

优化样式

ios
王子贤 1 month ago
parent
commit
79941f0ba2
3 changed files with 39 additions and 24 deletions
  1. 48
      lib/pages/home/send_timeline.dart
  2. 6
      lib/pages/mine/edit_info_page.dart
  3. 9
      lib/pages/mine/mine_page.dart

48
lib/pages/home/send_timeline.dart

@ -449,7 +449,7 @@ class _SendTimelineState extends State<SendTimeline> {
),
child: Center(
child: Text(
"",
"",
style: TextStyle(
fontSize: 13.w,
color: Colors.white
@ -460,7 +460,35 @@ class _SendTimelineState extends State<SendTimeline> {
sendTimeLine();
}),),
body: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Container(
width: 70.w,
height: 70.w,
margin: EdgeInsets.only(
left: 15.w,
),
decoration: BoxDecoration(
borderRadius: BorderRadius.all(Radius.circular(9.w)),
border: Border.all(width: 1.w, color: const Color.fromRGBO(224, 224, 224, 1))
),
child: Center(
child: Icon(
Icons.add,
size: 35.w,
color: const Color.fromRGBO(224, 224, 224, 1)
),
),
).onTap(() {
_showAvatarPopup();
}),
SizedBox(height: 25.w,),
Container(
margin: EdgeInsets.symmetric(horizontal: 15.w,),
width: 345.w,
height: 1.w,
color: const Color.fromRGBO(224, 224, 224, 1),
),
Expanded(
child: Container(
padding: EdgeInsets.symmetric(horizontal: 17.w, vertical: 10.w),
@ -487,7 +515,7 @@ class _SendTimelineState extends State<SendTimeline> {
vertical: 0,
horizontal: 0
),
hintText: "分享你的日常,让缘分更早来临~",
hintText: "勇敢表达吧,你的有趣,总有人懂。",
hintStyle: TextStyle(
fontSize: 14.sp,
color: Colors.grey,
@ -685,21 +713,7 @@ class _SendTimelineState extends State<SendTimeline> {
}),
],
),
Row(
children: [
Image.asset(
Assets.imagesImg,
width: 20.w,
).onTap(() {
_showAvatarPopup();
}),
SizedBox(width: 25.w,),
Image.asset(
Assets.imagesEmoji,
width: 18.w,
).onTap(toggleEmojiPanel)
],
),
],
),

6
lib/pages/mine/edit_info_page.dart

@ -718,7 +718,7 @@ class _EditInfoPageState extends State<EditInfoPage> {
),),
),
InkWell(
if(false) InkWell(
onTap: () {
TDPicker.showMultiPicker(context, title: '',
onConfirm: (selected) {
@ -768,7 +768,7 @@ class _EditInfoPageState extends State<EditInfoPage> {
),),
),
InkWell(
if(false) InkWell(
onTap: () {
TDPicker.showMultiPicker(context, title: '',
onConfirm: (selected) {
@ -844,7 +844,7 @@ class _EditInfoPageState extends State<EditInfoPage> {
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text(
"交友心声",
"个性签名",
style: TextStyle(
fontSize: 15.w,
fontWeight: FontWeight.w500

9
lib/pages/mine/mine_page.dart

@ -173,13 +173,14 @@ class _MinePageState extends State<MinePage> with AutomaticKeepAliveClientMixin{
Container(
width: 356.w,
padding: EdgeInsets.only(
left: 6.w,
right: 5.w
left: 10.w,
right: 10.w
),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Row(
Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
ClipRRect(
borderRadius: BorderRadius.all(Radius.circular(60.w)),
@ -201,7 +202,7 @@ class _MinePageState extends State<MinePage> with AutomaticKeepAliveClientMixin{
height: 60.w,
)
),
SizedBox(width: 14.w,),
SizedBox(height: 14.w,),
Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [

Loading…
Cancel
Save