优化parseTpl
优化widget
Merge pull request #110 from liaoxuezhi/dev-refactor

Dev refactor