• Home
Name Date Size #Lines LOC

..--

entry/12-May-2024-240195

screenshot/devices/12-May-2024-

.gitignoreD12-May-2024121 88

README.mdD12-May-2024467 157

README_zh.mdD12-May-2024653 2813

build-profile.json5D12-May-20241.1 KiB4341

hvigorfile.jsD12-May-2024175 21

package.jsonD12-May-2024382 1818

README.md

1# Stack
2
3### Introduction<a name="section104mcpsimp"></a>
4
5The  **<stack\>**  component provides a stack container where child components are successively stacked and the latter one overwrites the previous one.
6
7### Usage<a name="section107mcpsimp"></a>
8
9This sample app shows stacked color blocks, which are red, orange, yellow, and green from bottom to top.
10
11### Constraints<a name="section110mcpsimp"></a>
12
13This sample can only be run on standard-system devices.
14
15

README_zh.md

1# 堆叠容器
2
3### 简介
4
5堆叠容器stack,子组件按照顺序依次入栈,后一个子组件覆盖前一个子组件。实现效果如下:
6
7![](screenshot/devices/stack.png)
8
9### 相关概念
10
11Stack:堆叠容器,子组件按照顺序依次入栈,后一个子组件覆盖前一个子组件。
12
13### 相关权限
14
15不涉及。
16
17### 使用说明
18
19本示例页面显示色块堆叠,从下往上颜色依次为红色、橙色、黄色、绿色。
20
21### 约束与限制
22
231.本示例仅支持在标准系统上运行。
24
252.本示例需要使用DevEco Studio 3.0 Beta4 (Build Version: 3.0.0.992, built on July 14, 2022)才可编译运行。
26
27
28