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,4 +1,5 @@
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:pilipala/common/constants.dart';
import 'package:pilipala/common/widgets/network_img_layer.dart';
import 'package:pilipala/utils/utils.dart';
@ -16,7 +17,9 @@ Widget livePanel(item, context, {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,