摘要: 先说下模板继承: 假定:在View文件夹中 -> Public 公共模块 —>base/header/top/footer 4个html文件 这下面base文件使用include引入其他3个文件,其中title用block标签,给个name属性,在不同的模板中可以实用block来重新定义title值 阅读全文
posted @ 2017-03-26 00:20 NT.Wang 阅读(852) 评论(0) 推荐(0) 编辑