博客
关于我
tp5使用header和footer模板
阅读量:239 次
发布时间:2019-03-01

本文共 154 字,大约阅读时间需要 1 分钟。

其实只要一句:

{  include file="index@tpl/header" /}

header.html的实际目录是在:

/项目/application/index/view/tpl/header.html

如果还是有点乱,看下面的图:

这里写图片描述

在index.html引用header.html可以这样写。

你可能感兴趣的文章
NN&DL4.7 Parameters vs Hyperparameters
查看>>
NN&DL4.8 What does this have to do with the brain?
查看>>
nnU-Net 终极指南
查看>>
No 'Access-Control-Allow-Origin' header is present on the requested resource.
查看>>