view_replace_str配置参数改成template配置文件的tpl_replace_string配置参数。

// 模板参数
    'tpl_replace_string' => [ // 视图输出字符串内容替换
        '__static__' => '/static/index', // CSS文件目录
    ],

 

<link rel="stylesheet" href="__static__/css/bootstrap.min.css">
    <link rel="stylesheet" href="_static__/css/bootstrap-responsive.min.css">
    <link rel="stylesheet" href="__static__/css/font-awesome.min.css">
    <link rel="stylesheet" href="__static__/css/main.css">
    <link rel="stylesheet" href="__static__/css/sl-slide.css">

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-21
  • 2022-12-23
  • 2022-12-23
  • 2021-10-25
  • 2021-09-13
猜你喜欢
  • 2022-12-23
  • 2021-05-15
  • 2021-11-18
  • 2022-01-11
  • 2022-12-23
  • 2021-10-16
相关资源
相似解决方案