conditions可以根据条件绑定样式或者数据 type ==、!=、 left 条件左值 right 条件右值 executionType 条件执行类型,支持 0 和 1 两个值。0 标识该条件满足并执行后跳出条件列表,1 表示当前条件满足并执行后不跳出条件列表,继续向下执行。默认情况是0,即到 Read More
posted @ 2020-08-31 23:38 tinyphp Views(397) Comments(0) Diggs(0) Edit
dataBinding数据绑定,可以为静态数据,也可以为动态数据,引用data中的数据或api的动态数据 使用$name引用变量,如: <ui> <view> <container> <editProperty> <dataDefines> <dataDefine type="text" prope Read More
posted @ 2020-08-31 16:25 tinyphp Views(338) Comments(0) Diggs(0) Edit
styleBinding样式针对父层 放label里则只对label起作用 <ui> <view> <container> <subViews> <label value="测试数据测试数据\n呵呵哈哈哈\n测试数据测试数据测试数据测试数据测试数据测试数据测试数据测试数据\n测试数据测试数据测试数据 Read More
posted @ 2020-08-31 12:20 tinyphp Views(114) Comments(0) Diggs(0) Edit
<ui> <view> <container> <subViews> <label value="测试数据"/> </subViews> <styleBinding> <attribute name="backgroundColor" value="#ff0000" /> <attribute na Read More
posted @ 2020-08-31 12:05 tinyphp Views(112) Comments(0) Diggs(0) Edit
styleBinding样式绑定,可控制颜色、宽高、定位等,样式用styleBinding包裹,里面的属性用attribute的name定义,value控制值 样式值 layout linearLayout,absoluteLayout width 宽 height 高 paddingTop 内边距 Read More
posted @ 2020-08-31 11:55 tinyphp Views(158) Comments(0) Diggs(0) Edit