说明:左边是正常版本,右边是拍平版本
margin-bottom: 25px
margin-bottom: 10%
scroll-view 组件
margin-bottom: 10% 和 margin-bottom: 30px
setProperty 设置与 getPropertyValue 获取
view 组件
设置值: {{data.marginBottom}}
获取值: {{data.marginBottomActual}}
view
text 组件
设置值: {{data.marginBottom}}
获取值: {{data.marginBottomActualText}}
红色
text
蓝色
image 组件
设置值: {{data.marginBottom}}
获取值: {{data.marginBottomActualImage}}
view 组件拍平
设置值: {{data.marginBottom}}
获取值: {{data.marginBottomActualFlat}}
view
text 组件拍平
设置值: {{data.marginBottom}}
获取值: {{data.marginBottomActualTextFlat}}
红色
text
蓝色
image 组件拍平
设置值: {{data.marginBottom}}
获取值: {{data.marginBottomActualImageFlat}}
第一个枚举值,'' (空字符串) - 空值情况
native-view组件: margin-bottom: 25px 和 10%