{ | |
type: 'container', | |
style: { | |
flexDirection: 'column' | |
}, | |
attr: { | |
append: "tree" | |
}, | |
children: [{ | |
type: 'container', | |
children: [{ | |
type: 'image', | |
attr: { | |
src: 'https://gd2.alicdn.com/bao/uploaded/i2/T14H1LFwBcXXXXXXXX_!!0-item_pic.jpg' | |
} | |
}, { | |
type: 'text', | |
attr: { | |
value: 'title1' | |
} | |
}] | |
}, { | |
type: 'container', | |
children: [{ | |
type: 'image', | |
attr: { | |
src: 'https://gd1.alicdn.com/bao/uploaded/i1/TB1PXJCJFXXXXciXFXXXXXXXXXX_!!0-item_pic.jpg' | |
} | |
}, { | |
type: 'text', | |
attr: { | |
value: 'title2' | |
} | |
}] | |
}] | |
} |