From 4de570f5f4466809e64b457e77061b7d0b32c418 Mon Sep 17 00:00:00 2001
From: jacy <18049821889@163.com>
Date: Thu, 16 Jul 2026 11:24:48 +0800
Subject: [PATCH] =?UTF-8?q?=E5=90=88=E4=BC=99=E4=BA=BA=E7=AB=AF=E7=9A=84?=
=?UTF-8?q?=E5=AD=90=E8=B4=A6=E5=8F=B7=E7=AE=A1=E7=90=86=E9=A1=B5=E9=9D=A2?=
=?UTF-8?q?=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
apps/h5-partner/src/PartnerAppRoutes.tsx | 3 +-
apps/h5-partner/src/pages/PartnerMePage.tsx | 119 +++++++++++-------
apps/h5-partner/src/pages/StoreCreatePage.tsx | 7 +-
apps/h5-partner/src/styles.css | 7 +-
4 files changed, 84 insertions(+), 52 deletions(-)
diff --git a/apps/h5-partner/src/PartnerAppRoutes.tsx b/apps/h5-partner/src/PartnerAppRoutes.tsx
index 981ab3f..4b4f3d4 100644
--- a/apps/h5-partner/src/PartnerAppRoutes.tsx
+++ b/apps/h5-partner/src/PartnerAppRoutes.tsx
@@ -50,10 +50,11 @@ function SubAccountRoutes() {
}>
} />
- } />
} />
} />
+ {/* 与主账号一致:录入门店全屏,避免 sticky 底栏被 TabBar 挡住 */}
+ } />
} />
);
diff --git a/apps/h5-partner/src/pages/PartnerMePage.tsx b/apps/h5-partner/src/pages/PartnerMePage.tsx
index d3f53e8..b93cb88 100644
--- a/apps/h5-partner/src/pages/PartnerMePage.tsx
+++ b/apps/h5-partner/src/pages/PartnerMePage.tsx
@@ -1,4 +1,5 @@
import { useEffect, useState } from 'react';
+import { Link } from 'react-router-dom';
import { PARTNER_STAFF_ROLE_LABELS, type PartnerStaffRole } from '@dukang/shared-types';
import { request } from '../lib/api';
import { usePartnerSession } from '../contexts/PartnerSessionContext';
@@ -43,59 +44,91 @@ export default function PartnerMePage() {
}
return (
-
-
+
+
+
+
person
-
{account?.name || '我的'}
-
{roleLabel}
- {account?.companyName ? (
-
{account.companyName}
- ) : null}
+
+
{account?.name || '合伙人'}
+ {roleLabel}
+
+
+ location_on
+ {account?.companyName || '—'}
+
+
{account?.phone || ''}
-
-
- setName(e.target.value)}
- placeholder="请输入姓名"
- maxLength={32}
- />
+
+ 账号资料
+
+
+
setName(e.target.value)}
+ placeholder="请输入姓名"
+ maxLength={32}
+ />
-
-
-
手机号由管理员维护,如需修改请联系总部
+
+
+
+ 手机号由管理员维护,如需修改请联系总部
+
+
+
+
-
-
-
+
+ 快捷入口
+
+
+
+
chevron_right
+
+
+
+
chevron_right
+
+
+
+
+
+
+
);
diff --git a/apps/h5-partner/src/pages/StoreCreatePage.tsx b/apps/h5-partner/src/pages/StoreCreatePage.tsx
index 51d01cc..363c0f4 100644
--- a/apps/h5-partner/src/pages/StoreCreatePage.tsx
+++ b/apps/h5-partner/src/pages/StoreCreatePage.tsx
@@ -20,7 +20,6 @@ import { fetchPartnerCities, type OpenCityOption } from '../lib/upload';
import { isWechatEnv, weixinSdk } from '../lib/weixin';
import { usePartnerSession } from '../contexts/PartnerSessionContext';
-import { isSubAccount } from '../lib/partnerAccess';
import {
@@ -82,8 +81,6 @@ export default function StoreCreatePage() {
const { account, refresh } = usePartnerSession();
- const subAccountLayout = isSubAccount(account);
-
const accountId = account?.id;
const wechatReady = !!account?.hasWechat;
@@ -610,7 +607,7 @@ export default function StoreCreatePage() {
return (
-
+
navigate('/stores')} />
@@ -1094,7 +1091,7 @@ export default function StoreCreatePage() {
-