• This project
    • Loading...
  • Sign in

developOne / harmonyPool

Go to a project
Toggle navigation
  • Projects
  • Groups
  • Snippets
  • Help
Toggle navigation pinning
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • harmonyPool
  • ..
  • details
  • TabChatComponent.ets
  • feat:1)添加直播详情页基本组件(直播预约信息tab页面) · 20a85473
    20a85473 Browse Files
    wangyujian_wd authored 2024-04-10 10:25:40 +0800
TabChatComponent.ets 477 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
@Component
export struct TabChatComponent {
  arr: string[] = []
  aboutToAppear(): void {
    for (let index = 0; index < 80; index++) {
      this.arr.push(index + '')
    }
  }

  build() {
    List() {
      ForEach(this.arr, (item: string) => {
        ListItem() {
          Column() {
            Text(item)
            Divider().height(10).width('100%')
          }
          .backgroundColor(Color.Gray)
        }
      })
    }
  }

  aboutToDisappear(): void {
  }
}