bug修改

This commit is contained in:
XiuYun CHEN 2025-08-13 14:27:37 +08:00
parent f5a31e1ffa
commit b7a08cc1b3

View File

@ -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()