摘要: if ($this->request->isMobile()) { return $this->fetch('/chanpinfenlei/chanpin_moban_daochu'); } else { return $this->fetch();} 阅读全文
posted @ 2021-12-17 17:03 lingdu2000 阅读(54) 评论(0) 推荐(0)
摘要: 前端HTML文件头部加上以下代码:{__NOLAYOUT__} 或者 后端PHP文件加载如下代码: class User extends Controller { public function add() { // 临时关闭当前模板的布局功能 $this->view->engine->layout 阅读全文
posted @ 2021-12-17 17:02 lingdu2000 阅读(89) 评论(0) 推荐(0)