鸿蒙 HarmonyOS Arkts ArkUI 彩色旋转线条 加载中

鸿蒙 HarmonyOS Arkts ArkUI 彩色旋转线条 加载中_第1张图片

 

    @Entry
    @Component
    struct Index {
      @State num : number = 0
      @State numZ : number = 100
      @State twonum : number = 90
      @State twonumZ : number = 90
      @State treenum : number = 180
      @State treenumZ : number = 90
      @State formnum : number = 270
      @State formnumZ : number = 270
      onPageShow (): void {
        console.log ( '页面触发')
        animateTo ( {
          duration: 2000,
          iterations: -1,
          curve:Curve.Linear
        }, () => {
          this.num = 360
          this.numZ=470
          this.twonum = 450
          this.twonumZ = 470
          this.treenum = 480
          this.treenumZ = 450
          this.formnum = 610
          this.formnumZ =

你可能感兴趣的:(鸿蒙HarmonyOS社区,harmonyos,华为)