1、实例:如后台admin模块,公用一个header.html和footer.hml

2、模块结构:

【TP5.0】页面布局,引入公共的模版文件

 

3、使用方式:

{include file="common/header"}
<!--  <body>在header里,不用在写 -->

<div>
    let's do something !~
</div>

<!--  </body>在footer里,不用在写 -->
{include file="common/footer"}

 

相关文章:

  • 2022-12-23
  • 2021-10-04
  • 2022-12-23
  • 2022-01-05
  • 2022-12-23
  • 2021-11-29
  • 2021-10-12
  • 2021-11-30
猜你喜欢
  • 2022-12-23
  • 2021-07-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-17
相关资源
相似解决方案