Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: avatar api_v2 #1315

Merged
merged 1 commit into from
Apr 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 21 additions & 6 deletions docs/mobile/api_v2/avatar.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,36 @@ toc: false

### 头像类型

头像样式可为默认头像、微信头像圆形、方形、自定义文字
图片头像

{{ shape }}
{{ image-avatar }}

### 纯展示 从上往下
字符头像

{{ character-avatar }}

图标头像

{{ icon-avatar }}

徽标头像

{{ badge-avatar }}


### 组合头像

纯展示

{{ exhibition }}

### 带操作 从下往上
带操作

{{ action }}

### 头像大小尺寸
### 头像尺寸

头像默认支持三种大小:`small``medium``large`,用户可自定义设置大小
头像 large/medium/small 尺寸

{{ size }}