19 lines
528 B
Plaintext
19 lines
528 B
Plaintext
@Component
|
|
export default struct LoadingPopup {
|
|
constructor() {
|
|
super()
|
|
}
|
|
|
|
private title:string = ''
|
|
|
|
build(){
|
|
Column(){
|
|
Column(){
|
|
Image($rawfile('judge/loading-car.gif')).width(250).margin({top:20,bottom:20})
|
|
Text(this.title).fontSize(32).margin({top:70})
|
|
}.width('70%').height('70%').backgroundColor('#E6E3DF').borderRadius(38).position({y:'15%',x:'15%'}).justifyContent(FlexAlign.Center)
|
|
|
|
}.width('100%').height('100%').position({y:0}).backgroundColor('rgba(0,0,0,0.7)')
|
|
}
|
|
}
|