use xtemplate for component
use template in component
fix contentTpl