替换白色为 fafa

This commit is contained in:
张成
2025-11-08 22:18:48 +08:00
parent 83f83b13a7
commit 46d3a8f13f
11 changed files with 12 additions and 11 deletions

View File

@@ -52,7 +52,7 @@ export default function withAuth<P extends object>(
style={{ style={{
width: "100vw", width: "100vw",
height: "100vh", height: "100vh",
backgroundColor: "#fff", backgroundColor: "#FAFAFA",
position: "fixed", position: "fixed",
top: 0, top: 0,
left: 0, left: 0,
@@ -69,7 +69,7 @@ export default function withAuth<P extends object>(
style={{ style={{
width: "100vw", width: "100vw",
height: "100vh", height: "100vh",
backgroundColor: "#fff", backgroundColor: "#FAFAFA",
position: "fixed", position: "fixed",
top: 0, top: 0,
left: 0, left: 0,

View File

@@ -18,7 +18,7 @@ const CustomNavbar = (props: IProps) => {
style={{ style={{
height: `${navBarHeight}px`, height: `${navBarHeight}px`,
paddingTop: `${statusBarHeight}px`, paddingTop: `${statusBarHeight}px`,
backgroundColor: backgroundColor || 'transparent' backgroundColor: backgroundColor || '#fafafa'
}} }}
> >
{children} {children}

View File

@@ -1,7 +1,7 @@
.detail-page { .detail-page {
width: 100%; width: 100%;
height: 100%; height: 100%;
background-color: #FAFAFA; // background-color: #FAFAFA;
// padding-bottom: env(safe-area-inset-bottom); // padding-bottom: env(safe-area-inset-bottom);
.custom-navbar { .custom-navbar {

View File

@@ -363,6 +363,7 @@ const ListPage = () => {
return ( return (
<> <>
{/* 自定义导航 */} {/* 自定义导航 */}
<CustomerNavBar <CustomerNavBar
config={{ config={{

View File

@@ -1,6 +1,6 @@
export default definePageConfig({ export default definePageConfig({
navigationBarTitleText: '登录', navigationBarTitleText: '登录',
navigationBarBackgroundColor: '#ffffff', navigationBarBackgroundColor:'#FAFAFA',
navigationBarTextStyle: 'black', navigationBarTextStyle: 'black',
backgroundColor: '#f5f5f5', backgroundColor: '#f5f5f5',
enablePullDownRefresh: false, enablePullDownRefresh: false,

View File

@@ -127,7 +127,7 @@ src/pages/login/terms/
```typescript ```typescript
export default definePageConfig({ export default definePageConfig({
navigationBarTitleText: '条款和条件', navigationBarTitleText: '条款和条件',
navigationBarBackgroundColor: '#ffffff', navigationBarBackgroundColor:'#FAFAFA',
navigationBarTextStyle: 'black', navigationBarTextStyle: 'black',
backgroundColor: '#f5f5f5', backgroundColor: '#f5f5f5',
enablePullDownRefresh: false, enablePullDownRefresh: false,

View File

@@ -1,6 +1,6 @@
export default definePageConfig({ export default definePageConfig({
navigationBarTitleText: '条款和条件', navigationBarTitleText: '条款和条件',
navigationBarBackgroundColor: '#ffffff', navigationBarBackgroundColor:'#FAFAFA',
navigationBarTextStyle: 'black', navigationBarTextStyle: 'black',
backgroundColor: '#f5f5f5', backgroundColor: '#f5f5f5',
enablePullDownRefresh: false, enablePullDownRefresh: false,

View File

@@ -105,7 +105,7 @@ src/pages/login/verification/
```typescript ```typescript
export default definePageConfig({ export default definePageConfig({
navigationBarTitleText: '手机号登录', navigationBarTitleText: '手机号登录',
navigationBarBackgroundColor: '#ffffff', navigationBarBackgroundColor:'#FAFAFA',
navigationBarTextStyle: 'black', navigationBarTextStyle: 'black',
backgroundColor: '#f5f5f5', backgroundColor: '#f5f5f5',
enablePullDownRefresh: false, enablePullDownRefresh: false,

View File

@@ -1,6 +1,6 @@
export default definePageConfig({ export default definePageConfig({
navigationBarTitleText: '手机号登录', navigationBarTitleText: '手机号登录',
navigationBarBackgroundColor: '#ffffff', navigationBarBackgroundColor:'#FAFAFA',
navigationBarTextStyle: 'black', navigationBarTextStyle: 'black',
backgroundColor: '#f5f5f5', backgroundColor: '#f5f5f5',
enablePullDownRefresh: false, enablePullDownRefresh: false,

View File

@@ -1,6 +1,6 @@
export default definePageConfig({ export default definePageConfig({
navigationBarTitleText: '约球规则', navigationBarTitleText: '约球规则',
navigationBarBackgroundColor: '#ffffff', navigationBarBackgroundColor:'#FAFAFA',
navigationBarTextStyle: 'black', navigationBarTextStyle: 'black',
backgroundColor: '#f5f5f5', backgroundColor: '#f5f5f5',
enablePullDownRefresh: false, enablePullDownRefresh: false,

View File

@@ -1,6 +1,6 @@
export default { export default {
navigationBarTitleText: '个人主页', navigationBarTitleText: '个人主页',
navigationBarBackgroundColor: '#FFFFFF', navigationBarBackgroundColor:'#FAFAFA',
navigationBarTextStyle: 'black', navigationBarTextStyle: 'black',
backgroundColor: '#FAFAFA', backgroundColor: '#FAFAFA',
enablePullDownRefresh: false, enablePullDownRefresh: false,