feat: add account profile, search, help and security features
1. add default avatar and multiple notification icons 2. update finance archive note and add form styles 3. add new pages: edit-profile, security, password, change-phone, search, help 4. refactor navigation action layout to support multiple actions 5. add search button to home page 6. add security code component and account service APIs 7. add help and search content services 8. update message notice to use svg icons 9. update asset section in finance assessment 10. update manifest appid and pack options
This commit is contained in:
+5
-4
@@ -7,7 +7,7 @@ export type PageLayout = {
|
||||
statusStyle: (offset: number) => string,
|
||||
navigationStyle: () => string,
|
||||
navigationTitleStyle: () => string,
|
||||
navigationActionStyle: (headerHeight: number) => string,
|
||||
navigationActionStyle: (headerHeight: number, actionCount: number) => string,
|
||||
navigationBrandStyle: (headerHeight: number) => string,
|
||||
bottomStyle: (padding: number) => string
|
||||
}
|
||||
@@ -63,13 +63,14 @@ export function usePageLayout(): PageLayout {
|
||||
return ''
|
||||
// #endif
|
||||
}
|
||||
const navigationActionStyle = (headerHeight: number): string => {
|
||||
// 微信通知按钮与系统胶囊等高、顶部对齐;App 保持导航行内居中。
|
||||
const navigationActionStyle = (headerHeight: number, actionCount: number): string => {
|
||||
// 微信操作按钮与胶囊等高、顶部对齐,整组向左展开;App 保持导航行内居中。
|
||||
// #ifdef MP-WEIXIN
|
||||
const size = capsuleHeight.value > 0 ? capsuleHeight.value : 32
|
||||
const top = capsuleHeight.value > 0 ? Math.max(0, capsuleTop.value - status()) : Math.max(0, (rpx(headerHeight) - size) / 2)
|
||||
const right = capsuleLeft.value > 0 ? windowInfo.value.windowWidth - capsuleLeft.value + 8 : 104
|
||||
return 'position:absolute;top:' + top + 'px;right:' + right + 'px;width:' + size + 'px;height:' + size + 'px;'
|
||||
const width = size * actionCount + rpx(16) * Math.max(0, actionCount - 1)
|
||||
return 'position:absolute;top:' + top + 'px;right:' + right + 'px;width:' + width + 'px;height:' + size + 'px;'
|
||||
// #endif
|
||||
// #ifndef MP-WEIXIN
|
||||
return ''
|
||||
|
||||
Reference in New Issue
Block a user