摘要: 想达到什么效果? 首先,我们先来看看doT中是怎样一个效果 标记变量的格式为 {{= }} 我们输出结果的容器为: <div id="output"></div> 模板: 1 <script id="template" type="text/x-dot-template"> 2 <p>Hi {{=i 阅读全文
posted @ 2017-04-15 14:28 不知望月 阅读(839) 评论(0) 推荐(0) 编辑