TG Telegram Group & Channel
yzqzss|一座桥在水上's Note | United States America (US)
Create: Update:

我会使用 DevEco 死丢丢,使用 ArkTS 写🌸应用。
看我现场给你写一个!

@Entry
@Component
struct JueQi {
@State isJueQi: boolean = false;
build() {
Column({space:20}){
if(this.isJueQi){
Image($r('app.media.鸿蒙崛起了'))
.height(300)
.width(300)
}else{
Image($r('app.media.隐忍中'))
.height(300)
.width(300)
}
Row({space:20}){
Button('崛起')
.onClick(()=>this.isJueQi = true
)
.backgroundColor(Color.Green)
Button('隐忍')
.onClick(()=>this.isJueQi = false)
.backgroundColor(Color.Red)
}
}
.width('100%')
.height('100%')
.justifyContent(FlexAlign.Center)
}
}

万事俱备,只差一台🌸设备了,望江湖义士赠我一台🌸PC,助我🔼

我会使用 DevEco 死丢丢,使用 ArkTS 写🌸应用。
看我现场给你写一个!

@Entry
@Component
struct JueQi {
@State isJueQi: boolean = false;
build() {
Column({space:20}){
if(this.isJueQi){
Image($r('app.media.鸿蒙崛起了'))
.height(300)
.width(300)
}else{
Image($r('app.media.隐忍中'))
.height(300)
.width(300)
}
Row({space:20}){
Button('崛起')
.onClick(()=>this.isJueQi = true
)
.backgroundColor(Color.Green)
Button('隐忍')
.onClick(()=>this.isJueQi = false)
.backgroundColor(Color.Red)
}
}
.width('100%')
.height('100%')
.justifyContent(FlexAlign.Center)
}
}

万事俱备,只差一台🌸设备了,望江湖义士赠我一台🌸PC,助我🔼
Please open Telegram to view this post
VIEW IN TELEGRAM


>>Click here to continue<<

yzqzss|一座桥在水上's Note




Share with your best friend
VIEW MORE

United States America Popular Telegram Group (US)