bug修改
This commit is contained in:
parent
f5a31e1ffa
commit
b7a08cc1b3
@ -19,6 +19,7 @@ export struct InterrogationDetailComp {
|
|||||||
@State state: string='1' ;
|
@State state: string='1' ;
|
||||||
@State createDate: string='' ;
|
@State createDate: string='' ;
|
||||||
@State content: string='' ;
|
@State content: string='' ;
|
||||||
|
@State quest: string='' ;
|
||||||
@State diseaseName: string='' ;
|
@State diseaseName: string='' ;
|
||||||
@State step1_uuid: string='' ;
|
@State step1_uuid: string='' ;
|
||||||
@State imgListurl:string[]=[]
|
@State imgListurl:string[]=[]
|
||||||
@ -63,6 +64,7 @@ export struct InterrogationDetailComp {
|
|||||||
this.birthday=json.data.birthday
|
this.birthday=json.data.birthday
|
||||||
this.createDate=json.data.create_date
|
this.createDate=json.data.create_date
|
||||||
this.content=json.data.disease_describe
|
this.content=json.data.disease_describe
|
||||||
|
this.quest=json.data.your_question
|
||||||
this.diseaseName=json.data.disease_name
|
this.diseaseName=json.data.disease_name
|
||||||
this.step1_uuid=json.data.step1_uuid
|
this.step1_uuid=json.data.step1_uuid
|
||||||
if(json.data.imgs!=null)
|
if(json.data.imgs!=null)
|
||||||
@ -141,16 +143,21 @@ export struct InterrogationDetailComp {
|
|||||||
.alignSelf(ItemAlign.Start)
|
.alignSelf(ItemAlign.Start)
|
||||||
.padding({ left: 10, right: 10, bottom: 10 })
|
.padding({ left: 10, right: 10, bottom: 10 })
|
||||||
|
|
||||||
Row() {
|
Column() {
|
||||||
Text(this.content)
|
Text(this.content)
|
||||||
.fontSize(14)
|
.fontSize(14)
|
||||||
.fontColor($r('app.color.common_gray_03'))
|
.fontColor($r('app.color.common_gray_03'))
|
||||||
.padding(9)
|
.padding({left:9,right:9,top:9})
|
||||||
.backgroundColor($r('app.color.f6f6f6'))
|
.width('100%')
|
||||||
.borderRadius(8)
|
Text(this.quest)
|
||||||
|
.fontSize(14)
|
||||||
|
.fontColor($r('app.color.common_gray_03'))
|
||||||
|
.padding({left:9,right:9,bottom:9})
|
||||||
.width('100%')
|
.width('100%')
|
||||||
}
|
}
|
||||||
.margin({ left: 10, right: 10, bottom: 10 })
|
.margin({ left: 10, right: 10, bottom: 10 })
|
||||||
|
.backgroundColor($r('app.color.f6f6f6'))
|
||||||
|
.borderRadius(8)
|
||||||
|
|
||||||
PhotoGrids({ imgList: this.changeToImg(this.imgListurl) })
|
PhotoGrids({ imgList: this.changeToImg(this.imgListurl) })
|
||||||
Row()
|
Row()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user