user-page
This commit is contained in:
@@ -29,6 +29,21 @@ class _UserPageState extends State<UserPage> {
|
||||
height: 0,
|
||||
color: AppColors.border,
|
||||
),
|
||||
ActionItem(
|
||||
'服务',
|
||||
onTap: () {
|
||||
Get.toNamed(UserRoutes.share);
|
||||
},
|
||||
),
|
||||
const Divider(
|
||||
height: 0,
|
||||
color: AppColors.border,
|
||||
),
|
||||
const SizedBox(height: 8),
|
||||
const Divider(
|
||||
height: 0,
|
||||
color: AppColors.border,
|
||||
),
|
||||
ActionItem(
|
||||
'分享邀请',
|
||||
onTap: () {
|
||||
@@ -41,18 +56,7 @@ class _UserPageState extends State<UserPage> {
|
||||
indent: 16,
|
||||
),
|
||||
ActionItem(
|
||||
'安全设置',
|
||||
onTap: () {
|
||||
Get.toNamed(UserRoutes.safe);
|
||||
},
|
||||
),
|
||||
const Divider(
|
||||
height: 0,
|
||||
color: AppColors.border,
|
||||
indent: 16,
|
||||
),
|
||||
ActionItem(
|
||||
'设置中心',
|
||||
'设置',
|
||||
onTap: () {
|
||||
Get.toNamed(UserRoutes.setting);
|
||||
},
|
||||
|
||||
@@ -40,11 +40,16 @@ class UserTopBar extends StatelessWidget {
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
children: [
|
||||
Text(
|
||||
_.userInfo.value.nickname ?? '',
|
||||
style: const TextStyle(
|
||||
fontSize: 22,
|
||||
fontWeight: FontWeight.w400,
|
||||
InkWell(
|
||||
onTap: () {
|
||||
Get.toNamed(UserRoutes.info);
|
||||
},
|
||||
child: Text(
|
||||
_.userInfo.value.nickname ?? '',
|
||||
style: const TextStyle(
|
||||
fontSize: 22,
|
||||
fontWeight: FontWeight.w400,
|
||||
),
|
||||
),
|
||||
),
|
||||
Row(
|
||||
|
||||
Reference in New Issue
Block a user