feat(ywq): 新增帮助文档和授权记录功能
- 新增帮助文档列表和详情页面- 新增授权记录查询功能- 优化个人设置页面布局和交互 - 调整部分组件样式,如刷新视图和安全视图
这个提交包含在:
父节点
aed773bec1
当前提交
bba2a173f4
@ -1,12 +1,10 @@
|
|||||||
import { ToolsHelper } from '../utils/ToolsHelper'
|
import { ToolsHelper } from '../utils/ToolsHelper'
|
||||||
|
|
||||||
type ItemType = (string | number | Object)
|
|
||||||
|
|
||||||
@Preview
|
@Preview
|
||||||
@Component
|
@Component
|
||||||
export struct RefreshView {
|
export struct RefreshView {
|
||||||
@Link isLoading: boolean
|
@Link isLoading: boolean
|
||||||
@Prop data: Array<object>
|
@Prop data: Array<ESObject>
|
||||||
@Require keyGenerator?: (item: ESObject, index: number) => string
|
@Require keyGenerator?: (item: ESObject, index: number) => string
|
||||||
pageSize: number = 10
|
pageSize: number = 10
|
||||||
onLoadMore?: (pageNum: number) => void
|
onLoadMore?: (pageNum: number) => void
|
||||||
@ -72,7 +70,7 @@ export struct RefreshView {
|
|||||||
.width('100%')
|
.width('100%')
|
||||||
.height('100%')
|
.height('100%')
|
||||||
.onStateChange((refreshStatus: RefreshStatus) => {
|
.onStateChange((refreshStatus: RefreshStatus) => {
|
||||||
ToolsHelper.log('Refresh onStatueChange state is ' + refreshStatus)
|
// ToolsHelper.log('Refresh onStatueChange state is ' + refreshStatus)
|
||||||
})
|
})
|
||||||
.onRefreshing(() => {
|
.onRefreshing(() => {
|
||||||
this.onRefresh && this.onRefresh()
|
this.onRefresh && this.onRefresh()
|
||||||
|
|||||||
@ -57,7 +57,8 @@ export struct SafeView {
|
|||||||
this.customBuilderParam()
|
this.customBuilderParam()
|
||||||
}
|
}
|
||||||
.padding({
|
.padding({
|
||||||
top: this.isImmersive ? 0 : WindowHelper.topRectHeight + 44
|
top: this.isImmersive ? 0 : WindowHelper.topRectHeight + 44,
|
||||||
|
bottom: this.isImmersive ? 0 : WindowHelper.bottomRectHeight
|
||||||
})
|
})
|
||||||
.align(Alignment.Top)
|
.align(Alignment.Top)
|
||||||
.width('100%')
|
.width('100%')
|
||||||
|
|||||||
正在加载...
在新工单中引用
屏蔽一个用户