作者 lyh

gx

@@ -52,7 +52,8 @@ class CustomTemplateLogic extends BaseLogic @@ -52,7 +52,8 @@ class CustomTemplateLogic extends BaseLogic
52 if(!empty($info['html'])){ 52 if(!empty($info['html'])){
53 $info['is_renovation'] = 1; 53 $info['is_renovation'] = 1;
54 }else{ 54 }else{
55 - $info['html'] = $info['text']; 55 + $info['html'] = "<main>".$info['text']."</main>";
  56 + $info['html_style'] = "<style id='globalsojs-styles'></style>";
56 $info['is_renovation'] = 0; 57 $info['is_renovation'] = 0;
57 } 58 }
58 $info['image'] = getImageUrl($info['image'],$this->user['storage_type'],$this->user['project_location']); 59 $info['image'] = getImageUrl($info['image'],$this->user['storage_type'],$this->user['project_location']);