diff --git a/application/config.php b/application/config.php index 00ada8b..0e61c67 100644 --- a/application/config.php +++ b/application/config.php @@ -144,7 +144,8 @@ return [ // 视图输出字符串内容替换 'view_replace_str' => [ '__PUBLIC__' => 'public', - '__ROOT__' => '/' + '__ROOT__' => '/', + '__RELATIVE_PATH__' => './', ], // 默认跳转页面对应的模板文件 diff --git a/application/push/controller/Index.php b/application/push/controller/Index.php index 3be6242..e230a29 100644 --- a/application/push/controller/Index.php +++ b/application/push/controller/Index.php @@ -1,10 +1,12 @@ *{ padding: 0; margin: 0; } div{ padding: 4px 48px;} a{color:#2E5CD5;cursor: pointer;text-decoration: none} a:hover{text-decoration:underline; } body{ background: #fff; font-family: "Century Gothic","Microsoft yahei"; color: #333;font-size:18px;} h1{ font-size: 100px; font-weight: normal; margin-bottom: 12px; } p{ line-height: 1.6em; font-size: 42px }