feat: add ArkTS shell code skeleton placeholders
This commit is contained in:
1 parent
339756c1aa
commit
f8f18f185e
32 files changed
+561
No files matched your search
@@ -0,0 +1,12 @@
|
||||
@Component
|
||||
export struct ImportProgressPanel {
|
||||
@Prop text: string = '导入中'
|
||||
|
||||
build() {
|
||||
Column() {
|
||||
LoadingProgress()
|
||||
Text(this.text).margin({ top: 8 })
|
||||
}
|
||||
.padding(16)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
@Component
|
||||
export struct ImportResultPanel {
|
||||
@Prop text: string = ''
|
||||
|
||||
build() {
|
||||
Text(this.text).padding(16)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
@Component
|
||||
export struct ImportSourceSelector {
|
||||
build() {
|
||||
Button('选择本地文件')
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
@Component
|
||||
export struct PackagePreviewCard {
|
||||
@Prop name: string = ''
|
||||
|
||||
build() {
|
||||
Column() {
|
||||
Text(this.name || '未选择文件')
|
||||
}
|
||||
.padding(16)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user