作者 lyh

gx

... ... @@ -171,7 +171,7 @@ class CustomTemplateLogic extends BaseLogic
* @time :2023/7/21 18:08
*/
public function getBodyHeaderFooter($preg_html,$html_style){
if(!empty($preg_html)){
if(empty($preg_html)){
$preg_html = "<main></main>";
$html_style = "<style id='globalsojs-styles'></style>";
}
... ... @@ -186,8 +186,6 @@ class CustomTemplateLogic extends BaseLogic
$html = $commonInfo['head_css'].$html_style.$commonInfo['footer_css'].$commonInfo['other'].
$commonInfo['head_html'].$preg_html.$commonInfo['footer_html'];
}
var_dump($html);
die();
return $html;
}
... ...