mod: issues #101
This commit is contained in:
@ -56,8 +56,36 @@ class _UpPanelState extends State<UpPanel> {
|
|||||||
floating: true,
|
floating: true,
|
||||||
pinned: false,
|
pinned: false,
|
||||||
delegate: _SliverHeaderDelegate(
|
delegate: _SliverHeaderDelegate(
|
||||||
height: 90,
|
height: 126,
|
||||||
|
child: Column(
|
||||||
|
children: [
|
||||||
|
Expanded(
|
||||||
|
child: Padding(
|
||||||
|
padding: const EdgeInsets.only(left: 16, right: 16),
|
||||||
|
child: Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
|
children: [
|
||||||
|
const Text('最新关注'),
|
||||||
|
GestureDetector(
|
||||||
|
onTap: () {
|
||||||
|
feedBack();
|
||||||
|
Get.toNamed('/follow?mid=${userInfo.mid}');
|
||||||
|
},
|
||||||
child: Container(
|
child: Container(
|
||||||
|
padding: const EdgeInsets.only(top: 0, bottom: 4),
|
||||||
|
child: Text(
|
||||||
|
'查看全部',
|
||||||
|
style: TextStyle(
|
||||||
|
color: Theme.of(context).colorScheme.outline),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
Container(
|
||||||
height: 90,
|
height: 90,
|
||||||
color: Theme.of(context).colorScheme.background,
|
color: Theme.of(context).colorScheme.background,
|
||||||
child: Row(
|
child: Row(
|
||||||
@ -89,34 +117,11 @@ class _UpPanelState extends State<UpPanel> {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Material(
|
],
|
||||||
child: InkWell(
|
|
||||||
onTap: () => {
|
|
||||||
feedBack(),
|
|
||||||
Get.toNamed('/follow?mid=${userInfo.mid}')
|
|
||||||
},
|
|
||||||
child: Container(
|
|
||||||
height: 100,
|
|
||||||
padding: const EdgeInsets.only(left: 10, right: 10),
|
|
||||||
color: Theme.of(context)
|
|
||||||
.colorScheme
|
|
||||||
.secondaryContainer
|
|
||||||
.withOpacity(0.3),
|
|
||||||
child: Center(
|
|
||||||
child: Text(
|
|
||||||
'全部',
|
|
||||||
style: TextStyle(
|
|
||||||
color: Theme.of(context)
|
|
||||||
.colorScheme
|
|
||||||
.onSecondaryContainer),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
)),
|
)),
|
||||||
),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user