| 123456789101112131415161718192021222324252627 |
- import { YTAvoid } from 'basic'
- import { _YtHeader } from '../components/YtComp/_YtHeader'
- @ComponentV2
- struct MsgDetailPage {
- @Local safeTop: number = AppStorage.get(YTAvoid.SAFE_TOP_KEY) as number
- build() {
- NavDestination() {
- Column() {
- // 注意考虑标题过长的问题
- _YtHeader({
- title: ''
- })
- }
- .width("100%")
- .height('100%')
- }
- .hideTitleBar(true)
- .padding({ top: this.safeTop })
- }
- }
- @Builder
- function MsgDetailPageBuilder() {
- MsgDetailPage()
- }
|