出诊计划
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
import { OutpatientComp } from 'netease'
|
||||
import { AttributeUpdater } from '@kit.ArkUI';
|
||||
import { HMDefaultGlobalAnimator, HMNavigation } from '@hadss/hmrouter';
|
||||
|
||||
class NavModifier extends AttributeUpdater<NavigationAttribute> {
|
||||
initializeModifier(instance: NavigationAttribute): void {
|
||||
instance.mode(NavigationMode.Stack);
|
||||
instance.navBarWidth('100%');
|
||||
instance.hideTitleBar(true);
|
||||
instance.hideToolBar(true);
|
||||
}
|
||||
}
|
||||
|
||||
@Entry
|
||||
@Component
|
||||
struct OutpatientPage {
|
||||
modifier: NavModifier = new NavModifier();
|
||||
|
||||
build() {
|
||||
RelativeContainer() {
|
||||
HMNavigation({
|
||||
navigationId:"OutpatientPageNavigation",
|
||||
homePageUrl:'OutpatientPage',
|
||||
options:{
|
||||
standardAnimator:HMDefaultGlobalAnimator.STANDARD_ANIMATOR,
|
||||
dialogAnimator:HMDefaultGlobalAnimator.DIALOG_ANIMATOR,
|
||||
modifier:this.modifier
|
||||
}
|
||||
})
|
||||
{
|
||||
OutpatientComp()
|
||||
}
|
||||
|
||||
}
|
||||
.height('100%')
|
||||
.width('100%')
|
||||
}
|
||||
}
|
||||
@@ -43,7 +43,7 @@
|
||||
"pages/Netease/MyOpinionPage",
|
||||
"pages/PatientsPage/GroupManagementPage",
|
||||
"pages/WebView/WebPageSnapshot",
|
||||
"pages/VideoPage/PLVMediaPlayerOnlyVideoPage"
|
||||
|
||||
"pages/VideoPage/PLVMediaPlayerOnlyVideoPage",
|
||||
"pages/Netease/OutpatientPage"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user