This commit is contained in:
anonymous
2025-01-11 11:11:56 +08:00
parent 59d47ec9f5
commit 4be8749cf5
5 changed files with 8 additions and 8 deletions
+3 -3
View File
@@ -65,7 +65,7 @@
"navigationBarTitleText": "忘记密码", "navigationBarTitleText": "忘记密码",
"navigationStyle": "custom" "navigationStyle": "custom"
}, },
"notNeedLogin": false "notNeedLogin": true
}, },
{ {
"path": "pages/invest/index", "path": "pages/invest/index",
@@ -91,7 +91,7 @@
"navigationBarTitleText": "登录", "navigationBarTitleText": "登录",
"navigationStyle": "custom" "navigationStyle": "custom"
}, },
"notNeedLogin": false "notNeedLogin": true
}, },
{ {
"path": "pages/my/index", "path": "pages/my/index",
@@ -108,7 +108,7 @@
"navigationBarTitleText": "注册", "navigationBarTitleText": "注册",
"navigationStyle": "custom" "navigationStyle": "custom"
}, },
"notNeedLogin": false "notNeedLogin": true
} }
], ],
"subPackages": [ "subPackages": [
+1 -1
View File
@@ -4,7 +4,7 @@
navigationBarTitleText: '忘记密码', navigationBarTitleText: '忘记密码',
navigationStyle: 'custom', navigationStyle: 'custom',
}, },
notNeedLogin: false, notNeedLogin: true,
} }
</route> </route>
<template> <template>
+1 -1
View File
@@ -4,7 +4,7 @@
navigationBarTitleText: '登录', navigationBarTitleText: '登录',
navigationStyle: 'custom', navigationStyle: 'custom',
}, },
notNeedLogin: false, notNeedLogin: true,
} }
</route> </route>
<template> <template>
+2 -2
View File
@@ -4,7 +4,7 @@
navigationBarTitleText: '注册', navigationBarTitleText: '注册',
navigationStyle: 'custom', navigationStyle: 'custom',
}, },
notNeedLogin: false, notNeedLogin: true,
} }
</route> </route>
@@ -84,7 +84,7 @@ onLoad(async (options) => {
<template> <template>
<view class="login-container relative"> <view class="login-container relative">
<NavBar /> <NavBar title-color="#333" />
<view class="pt-45"> <view class="pt-45">
<view class="mx-15 px-15 shadow-[0_0_10px_rgba(10,68,245,0.1)] rounded-10"> <view class="mx-15 px-15 shadow-[0_0_10px_rgba(10,68,245,0.1)] rounded-10">
<view class="flex items-center py-15"> <view class="flex items-center py-15">
+1 -1
View File
@@ -84,7 +84,7 @@ export const getAllPages = (key = 'notNeedLogin') => {
...pages ...pages
.filter((page) => { .filter((page) => {
if (!key) return false if (!key) return false
return page[key] === false return page[key] !== false
}) })
.map((page) => ({ .map((page) => ({
...page, ...page,