add: some samples of ui widgets

This commit is contained in:
hyb1996
2017-11-30 14:14:54 +08:00
parent 7bf9b3f0d9
commit 45bbc33ab7
23 changed files with 357 additions and 17 deletions

View File

@@ -18,7 +18,7 @@ module.exports = function(__runtime__, scope){
ui.id = function(id){
if(!ui.view)
return null;
var v = ui.view.getChildAt(0).id(id);
var v = ui.findViewByStringId(ui.view.getChildAt(0), id);
if(v){
v = decorate(v);
}