-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: 格式化 axml * chore: 格式化 src 的 axml --------- Co-authored-by: DiamondYuan <fandi.yfd@antgroup.com>
- Loading branch information
1 parent
91c2e44
commit f95b3df
Showing
171 changed files
with
3,908 additions
and
2,613 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,50 @@ | ||
<container title="基础用法"> | ||
<button onTap="handleOpenBasic" inline="{{true}}" inlineSize="large" data-index="1">基础用法</button> | ||
<button | ||
onTap="handleOpenBasic" | ||
inline="{{true}}" | ||
inlineSize="large" | ||
data-index="1"> | ||
基础用法 | ||
</button> | ||
</container> | ||
<container title="选项状态"> | ||
<button onTap="handleOpenBasic" inline="{{true}}" inlineSize="large" data-index="2">危险状态&禁用状态</button> | ||
<button | ||
onTap="handleOpenBasic" | ||
inline="{{true}}" | ||
inlineSize="large" | ||
data-index="2"> | ||
危险状态&禁用状态 | ||
</button> | ||
</container> | ||
<container title="带注释及icon"> | ||
<button onTap="handleOpenBasic" inline="{{true}}" inlineSize="large" data-index="3">带注释及icon</button> | ||
<button | ||
onTap="handleOpenBasic" | ||
inline="{{true}}" | ||
inlineSize="large" | ||
data-index="3"> | ||
带注释及icon | ||
</button> | ||
</container> | ||
<action-sheet | ||
title="请选择你要进行的操作" | ||
visible="{{visible1}}" | ||
actions="{{actions1}}" | ||
data-index="1" | ||
onAction="handleAction" | ||
onClose="handleCloseBasic" | ||
/> | ||
onClose="handleCloseBasic" /> | ||
|
||
<action-sheet | ||
title="请选择你要进行的操作" | ||
visible="{{visible2}}" | ||
actions="{{actions2}}" | ||
data-index="2" | ||
onAction="handleAction" | ||
onClose="handleCloseBasic" | ||
/> | ||
onClose="handleCloseBasic" /> | ||
|
||
<action-sheet | ||
title="请选择你要进行的操作" | ||
visible="{{visible3}}" | ||
actions="{{actions3}}" | ||
data-index="3" | ||
onAction="handleAction" | ||
onClose="handleCloseBasic" | ||
/> | ||
onClose="handleCloseBasic" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,40 @@ | ||
<container title="基础用法-四种尺寸"> | ||
<avatar src="{{item}}" a:for="{{images}}" class="avatar" /> | ||
<avatar | ||
src="{{item}}" | ||
a:for="{{images}}" | ||
class="avatar" /> | ||
</container> | ||
|
||
<container title="占位头像"> | ||
<avatar size="{{item}}" /> | ||
</container> | ||
|
||
<container title="不同大小"> | ||
<avatar size="{{item}}" src="{{images[0]}}" a:for="{{sizes}}" class="avatar" /> | ||
<avatar | ||
size="{{item}}" | ||
src="{{images[0]}}" | ||
a:for="{{sizes}}" | ||
class="avatar" /> | ||
</container> | ||
|
||
<container title="配合列表使用" className="container"> | ||
<container | ||
title="配合列表使用" | ||
className="container"> | ||
<list-item | ||
imageSize="large" | ||
brief="Deserunt dolor ea eaque eos" | ||
> | ||
brief="Deserunt dolor ea eaque eos"> | ||
Novalee Spicer | ||
<avatar | ||
slot="image" | ||
name="Novlee Spicer" | ||
desc="Deserunt dolor ea eaque eos" | ||
src="{{images[0]}}" | ||
/> | ||
src="{{images[0]}}" /> | ||
</list-item> | ||
</container> | ||
|
||
<container title="自定义"> | ||
<avatar size="{{item}}" src="{{images[0]}}" class="avatar-custom" /> | ||
<avatar | ||
size="{{item}}" | ||
src="{{images[0]}}" | ||
class="avatar-custom" /> | ||
</container> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.