logo和名称替换
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:hgmj/assets_tool/images.dart';
|
||||
import 'package:hgmj/extension/extensions.dart';
|
||||
import 'package:hgmj/hj_page/user_center_page/user_center_logic.dart';
|
||||
import 'package:hgmj/hj_utils/screen.dart';
|
||||
import 'package:hgmj/tools_base/global_store/store.dart';
|
||||
import 'package:hgmj/tools_base/widget/follow_button.dart';
|
||||
import 'package:wydj/assets_tool/images.dart';
|
||||
import 'package:wydj/extension/extensions.dart';
|
||||
import 'package:wydj/hj_page/user_center_page/user_center_logic.dart';
|
||||
import 'package:wydj/hj_utils/screen.dart';
|
||||
import 'package:wydj/tools_base/global_store/store.dart';
|
||||
import 'package:wydj/tools_base/widget/follow_button.dart';
|
||||
|
||||
import '../../../tools_base/widget/net_image_widget.dart';
|
||||
|
||||
@@ -26,8 +26,10 @@ class UserCenterHeader extends StatelessWidget {
|
||||
right: 0,
|
||||
child: Container(
|
||||
height: 190,
|
||||
foregroundDecoration: BoxDecoration(color: const Color(0xff151515).withValues(alpha: 0.1)),
|
||||
child: Image.asset("user_center_bg.webp".mineImgPath, fit: BoxFit.fill),
|
||||
foregroundDecoration: BoxDecoration(
|
||||
color: const Color(0xff151515).withValues(alpha: 0.1)),
|
||||
child: Image.asset("user_center_bg.webp".mineImgPath,
|
||||
fit: BoxFit.fill),
|
||||
),
|
||||
),
|
||||
Padding(
|
||||
@@ -60,7 +62,8 @@ class UserCenterHeader extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
const Spacer(),
|
||||
if (!globalStore.isMe(logic.model?.uid)) ..._actionButtons(),
|
||||
if (!globalStore.isMe(logic.model?.uid))
|
||||
..._actionButtons(),
|
||||
],
|
||||
),
|
||||
),
|
||||
@@ -78,7 +81,8 @@ class UserCenterHeader extends StatelessWidget {
|
||||
//作品数 / 粉丝数
|
||||
Text(
|
||||
"${logic.model?.totalWorkCount ?? "0"} 作品 ${logic.model?.fans?.countStr ?? "0"}粉丝",
|
||||
style: const TextStyle(color: Color(0xff656565), fontSize: 12),
|
||||
style:
|
||||
const TextStyle(color: Color(0xff656565), fontSize: 12),
|
||||
),
|
||||
24.sizeBoxH,
|
||||
//个人简介
|
||||
@@ -89,7 +93,8 @@ class UserCenterHeader extends StatelessWidget {
|
||||
logic.model?.summary ?? "",
|
||||
maxLines: 3,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: const TextStyle(color: Color(0x99FFFFFF), fontSize: 12, height: 1.5),
|
||||
style: const TextStyle(
|
||||
color: Color(0x99FFFFFF), fontSize: 12, height: 1.5),
|
||||
),
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user