Browse Source

样式修改

zbx_weibo
longchao 4 weeks ago
parent
commit
a0e41ddb99
  1. 2
      model/mEs.php

2
model/mEs.php

@ -82,7 +82,7 @@ class mEs extends mBase {
$highlights = $v['highlight']["content"];
if(!empty($highlights)) {
foreach($highlights as $k=>$val) {
$weibo['text'] = str_replace($val, '<em class="highlight" style="color:green;">'.$val.'</em>', $weibo['text']);
$weibo['text'] = str_replace($val, '<span class="highlight" style="color:red;backgroud:yellow;">'.$val.'</span>', $weibo['text']);
}
}

Loading…
Cancel
Save