效果图

1、PHP文件\application\index\controller\index.php第65行左右新增三行
如图
//今日更新数
$time=strtotime(date('Y-m-d'));
$today_update=Db::name('article')->where("open=1 and updatetime > {$time}")->count();
$this->assign('today_update', $today_update);2、HTML文件 \template\c_default\html\index_index.html第35行左右新增一行

今天更新 <b style="color:red"> {$today_update}</b> 篇<<span class="hljs-regexp">/font>
作者: xinian 时间:2018-08-25 17:13:24
也没讲怎么显示红色字啊