This commit is contained in:
张成
2025-11-14 22:21:54 +08:00
parent d6349d14e8
commit 6b560da897
9 changed files with 81 additions and 29 deletions

View File

@@ -10,9 +10,13 @@ import { NTRPTestEntryCard } from "@/components";
import { EvaluateScene } from "@/store/evaluateStore";
import { useUserInfo } from "@/store/userStore";
import { usePickerOption } from "@/store/pickerOptionsStore";
import { useGlobalState } from "@/store/global";
const MyselfPageContent: React.FC = () => {
const pickerOption = usePickerOption();
const { statusNavbarHeightInfo } = useGlobalState() || {};
const { totalHeight = 98 } = statusNavbarHeightInfo || {};
const instance = (Taro as any).getCurrentInstance();
const user_id = instance.router?.params?.userid || "";
const is_current_user = !user_id;
@@ -132,7 +136,7 @@ const MyselfPageContent: React.FC = () => {
return (
<View className="myself_page">
<View className="main_content">
<View className="main_content" style={{ paddingTop: `${totalHeight}px` }}>
<View className="user_info_section">
<UserInfoCard
editable={is_current_user}