From b7a08cc1b3594b5dce3436aeae4258bfee1bb996 Mon Sep 17 00:00:00 2001 From: XiuYun CHEN Date: Wed, 13 Aug 2025 14:27:37 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/ets/view/InterrogationDetailComp.ets | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/features/netease/src/main/ets/view/InterrogationDetailComp.ets b/features/netease/src/main/ets/view/InterrogationDetailComp.ets index 232cf6b..ccebee0 100644 --- a/features/netease/src/main/ets/view/InterrogationDetailComp.ets +++ b/features/netease/src/main/ets/view/InterrogationDetailComp.ets @@ -19,6 +19,7 @@ export struct InterrogationDetailComp { @State state: string='1' ; @State createDate: string='' ; @State content: string='' ; + @State quest: string='' ; @State diseaseName: string='' ; @State step1_uuid: string='' ; @State imgListurl:string[]=[] @@ -63,6 +64,7 @@ export struct InterrogationDetailComp { this.birthday=json.data.birthday this.createDate=json.data.create_date this.content=json.data.disease_describe + this.quest=json.data.your_question this.diseaseName=json.data.disease_name this.step1_uuid=json.data.step1_uuid if(json.data.imgs!=null) @@ -141,16 +143,21 @@ export struct InterrogationDetailComp { .alignSelf(ItemAlign.Start) .padding({ left: 10, right: 10, bottom: 10 }) - Row() { + Column() { Text(this.content) .fontSize(14) .fontColor($r('app.color.common_gray_03')) - .padding(9) - .backgroundColor($r('app.color.f6f6f6')) - .borderRadius(8) + .padding({left:9,right:9,top:9}) + .width('100%') + Text(this.quest) + .fontSize(14) + .fontColor($r('app.color.common_gray_03')) + .padding({left:9,right:9,bottom:9}) .width('100%') } .margin({ left: 10, right: 10, bottom: 10 }) + .backgroundColor($r('app.color.f6f6f6')) + .borderRadius(8) PhotoGrids({ imgList: this.changeToImg(this.imgListurl) }) Row()