作者 lyh

gx

@@ -85,7 +85,7 @@ class BTemplateLogic extends BaseLogic @@ -85,7 +85,7 @@ class BTemplateLogic extends BaseLogic
85 $mainInfo = ['main_html'=>$templateInfo['main_html'], 'main_style'=>$templateInfo['main_css']]; 85 $mainInfo = ['main_html'=>$templateInfo['main_html'], 'main_style'=>$templateInfo['main_css']];
86 } 86 }
87 $commonInfo = $this->getTemplateComHtml($this->param['source'],$is_list,$is_custom,$template_id);//获取非定制头部 87 $commonInfo = $this->getTemplateComHtml($this->param['source'],$is_list,$is_custom,$template_id);//获取非定制头部
88 - $html = $commonInfo['head_style'].$mainInfo['main_style'].$commonInfo['footer_style'].$commonInfo['other']. $commonInfo['head_html'].$mainInfo['main_html'].$commonInfo['footer_html']; 88 + $html = $commonInfo['head_style'].$mainInfo['main_css'].$commonInfo['footer_style'].$commonInfo['other']. $commonInfo['head_html'].$mainInfo['main_html'].$commonInfo['footer_html'];
89 $html = $this->getHeadFooter($html); 89 $html = $this->getHeadFooter($html);
90 $result = ['html'=>$html,'template_id'=>$template_id]; 90 $result = ['html'=>$html,'template_id'=>$template_id];
91 if($templateInfo !== false) { 91 if($templateInfo !== false) {