feat: 动态页面跳转个人主页

This commit is contained in:
guozhigq
2023-07-15 23:24:02 +08:00
parent a23103eb69
commit a0427c672b
10 changed files with 67 additions and 42 deletions

View File

@ -1,6 +1,7 @@
// 转发
import 'package:flutter/material.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
import 'package:get/get.dart';
import 'package:pilipala/utils/utils.dart';
import 'additional_panel.dart';
@ -24,7 +25,9 @@ Widget forWard(item, context, ctr, source, {floor = 1}) {
Row(
children: [
GestureDetector(
onTap: () {},
onTap: () => Get.toNamed(
'/member?mid=${item.modules.moduleAuthor.mid}',
arguments: {'face': item.modules.moduleAuthor.face}),
child: Text(
'@${item.modules.moduleAuthor.name}',
style: authorStyle,
@ -110,7 +113,9 @@ Widget forWard(item, context, ctr, source, {floor = 1}) {
Row(
children: [
GestureDetector(
onTap: () {},
onTap: () => Get.toNamed(
'/member?mid=${item.modules.moduleAuthor.mid}',
arguments: {'face': item.modules.moduleAuthor.face}),
child: Text(
'@${item.modules.moduleAuthor.name}',
style: authorStyle,