Skip to content

Commit

Permalink
feat: add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zhousg committed Dec 9, 2023
1 parent 7599086 commit 0594005
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 6 deletions.
28 changes: 22 additions & 6 deletions docs/docs/project/mine.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -134,15 +134,31 @@ export struct Mine {
.padding({ top: vp2vp(15), bottom: vp2vp(15) })
.borderRadius(vp2vp(8))

Column() {
this.CellBuilder('推荐分享')
this.CellBuilder('意见反馈')
this.CellBuilder('关于我们')
this.CellBuilder('退出登录')
List() {
ListItem() {
this.CellBuilder('推荐分享')
}

ListItem() {
this.CellBuilder('意见反馈')
}

ListItem() {
this.CellBuilder('关于我们')
}

if (this.user.token) {
ListItem() {
this.CellBuilder('退出登录', () => {
// 退出登录
})
}
}
}
.backgroundColor('#fff')
.padding({ top: vp2vp(10), bottom: vp2vp(10) })
.borderRadius(vp2vp(8))
.backgroundColor('#fff')
.divider({ strokeWidth: 0.5, color: $r('app.color.gray_bg') })

}
.padding(vp2vp(15))
Expand Down
7 changes: 7 additions & 0 deletions docs/docs/project/publish.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ title: HM - 面试宝典APP-应用分发





## 项目经验

1. 项目描述
Expand Down Expand Up @@ -41,6 +43,11 @@ title: HM - 面试宝典APP-应用分发
• 共享库维护,将一些通用的组件统一维护,为后期项目迭代准备


其他:

- 如何实现地图?
- 如何实现支付?

## 学习建议

1. 鸿蒙能力集
Expand Down

0 comments on commit 0594005

Please sign in to comment.