患者相关
This commit is contained in:
@@ -21,6 +21,7 @@ interface callBackData {
|
||||
struct FeedbackPage {
|
||||
@State feedbackText: string = ''
|
||||
controller:TextAreaController = new TextAreaController();
|
||||
@State params:Record<string,string> = router.getParams() as Record<string,string>;
|
||||
|
||||
uploadChangePasswordAction() {
|
||||
hdHttp.post<string>(BasicConstant.urlExpert + 'feedBack', {
|
||||
@@ -42,7 +43,7 @@ struct FeedbackPage {
|
||||
|
||||
build() {
|
||||
Column() {
|
||||
HdNav({ title: '意见反馈', showRightIcon: false, hasBorder: true })
|
||||
HdNav({ title: this.params.title, showRightIcon: false, hasBorder: true })
|
||||
// 输入框区域
|
||||
TextArea({
|
||||
placeholder:'欢迎对我们的软件提供建议,帮助我们更快更好地改进"肝胆相照"APP(200字以内)',
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
import { MassSendingComp } from 'patient'
|
||||
import { HMDefaultGlobalAnimator, HMNavigation } from '@hadss/hmrouter';
|
||||
import { AttributeUpdater } from '@kit.ArkUI';
|
||||
|
||||
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 GroupSendMessagePage {
|
||||
@Provide refreshFlag:boolean = false;
|
||||
modifier: NavModifier = new NavModifier();
|
||||
|
||||
onPageShow(): void {
|
||||
this.refreshFlag = !this.refreshFlag;
|
||||
}
|
||||
|
||||
build() {
|
||||
Column() {
|
||||
HMNavigation({
|
||||
navigationId:"GroupSendMessagePageNavigation",
|
||||
homePageUrl:'MassSendingComp',
|
||||
options:{
|
||||
standardAnimator:HMDefaultGlobalAnimator.STANDARD_ANIMATOR,
|
||||
dialogAnimator:HMDefaultGlobalAnimator.DIALOG_ANIMATOR,
|
||||
modifier:this.modifier
|
||||
}
|
||||
}) {
|
||||
MassSendingComp()
|
||||
}
|
||||
}
|
||||
.height('100%')
|
||||
.width('100%')
|
||||
}
|
||||
}
|
||||
@@ -1,11 +1,39 @@
|
||||
import { PatientApplyPage } from 'patient'
|
||||
import { HMDefaultGlobalAnimator, HMNavigation } from '@hadss/hmrouter';
|
||||
import { AttributeUpdater } from '@kit.ArkUI';
|
||||
|
||||
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 PatientPages {
|
||||
@Provide refreshFlag:boolean = false;
|
||||
modifier: NavModifier = new NavModifier();
|
||||
|
||||
onPageShow(): void {
|
||||
this.refreshFlag = !this.refreshFlag;
|
||||
}
|
||||
|
||||
build() {
|
||||
RelativeContainer() {
|
||||
PatientApplyPage();
|
||||
Column() {
|
||||
HMNavigation({
|
||||
navigationId:"PatientPagesNavigation",
|
||||
homePageUrl:'PatientApplyPage',
|
||||
options:{
|
||||
standardAnimator:HMDefaultGlobalAnimator.STANDARD_ANIMATOR,
|
||||
dialogAnimator:HMDefaultGlobalAnimator.DIALOG_ANIMATOR,
|
||||
modifier:this.modifier
|
||||
}
|
||||
}) {
|
||||
PatientApplyPage()
|
||||
}
|
||||
}
|
||||
.height('100%')
|
||||
.width('100%')
|
||||
|
||||
@@ -44,6 +44,7 @@
|
||||
"pages/PatientsPage/GroupManagementPage",
|
||||
"pages/WebView/WebPageSnapshot",
|
||||
"pages/VideoPage/PLVMediaPlayerOnlyVideoPage",
|
||||
"pages/Netease/OutpatientPage"
|
||||
"pages/Netease/OutpatientPage",
|
||||
"pages/PatientsPage/GroupSendMessagePage"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user