position: fixed
z-index: 10
position: fixed
z-index: 5
position: fixed
z-index: -1
z-index: 10
z-index: {{data.zIndex}}
点击修改z-index
z-index: 0
111
222
text 组件
text组件: z-index: 10
text组件: z-index: 5
text组件: z-index: 0
image 组件
scroll-view 组件
z-index: 10 和 z-index: 5
z-index: 10
z-index: 5
setProperty 设置与 getPropertyValue 获取
view 组件
设置值: {{data.zIndexValue}}
获取值: {{data.zIndexActual}}
蓝色view
青色view
text 组件
设置值: {{data.zIndexValue}}
获取值: {{data.zIndexActualText}}
蓝色text
青色text
image 组件
设置值: {{data.zIndexValue}}
获取值: {{data.zIndexActualImage}}
第一个枚举值,'' (空字符串) - 空值情况
native-view组件: z-index: 10 和 z-index: 5