一、模板的替换输出和使用
//模板的替换输出 'tpl_replace_string'=>[ '__JS__'=>'static/js', '__CSS__'=> 'static/css' ]
//加载包含输出的使用 应用于模板之中
方法一 {load href="__CSS__/style.css"}
方法二{css href='__css__/style.css'} //js文件则用js开头一、模板的替换输出和使用
//模板的替换输出 'tpl_replace_string'=>[ '__JS__'=>'static/js', '__CSS__'=> 'static/css' ]
//加载包含输出的使用 应用于模板之中
方法一 {load href="__CSS__/style.css"}
方法二{css href='__css__/style.css'} //js文件则用js开头
0 评论