1、网站首页的URI{if PhpcmfService::L('Router')->uri() == "home/index"} 当前控制器是首页的{/if}2、news模块首页的uri{if PhpcmfService::L('Router')->uri() == "news/home/index"} 当前控制器是news模块首页的{/if}3、news模块栏目的uri{if PhpcmfService::L('Router')->uri() == "news/category/index"} 当前控制器是news模块栏目页的{/if}4、news模块内容的uri{if PhpcmfService::L('Router')->uri() == "news/show/index"} 当前控制器是news模块内容目页的{/if}5、news模块搜索的uri{if PhpcmfService::L('Router')->uri() == "news/search/index"} 当前控制器是news模快搜索页的{/if}6、会员中心首页的uri{if PhpcmfService::L('Router')->uri() == "member/home/index"} 当前控制器是会员中心首页{/if}7、会员中心的news模块列表的uri{if PhpcmfService::L('Router')->uri() == "member/news/home/index"} 当前控制器是会员中心news模块列表{/if}
{{ $content = db($articleList[$item.id]['path'],false);}} {$content}
async 异步加载脚本,加载完后立即执行脚本 defer 异步加载脚本,页面加载完成之后DomcontentLoaded事件之前执行脚本 preload 提前加载脚本,但是不执行,缓存后期可能会使用 prefetch 同preload但是优先级低,空闲时候加载
npx tailwindcss -i ./input.css -o ./tpl/pyq/style/base.css --watch
修改index.php文件,找到发布后跳转,jump('admin/article');替换为jump($id);找到编辑后跳转,jump('admin/article');替换为jump(post(
龙城男人
好好活着就是做有意义的事