PHPYUN修改首页紧急招聘、知名企业、推荐企业的文章颜色

PHPYUN修改首页紧急招聘、知名企业、推荐企业的文章颜色

在这里插入图片描述

<li>

 <div class="index_newjobname">
     <a href="https://www.ganpz.com/job/37.html"><font color="red">售后服务人员</font></a>
 <span class="index_newjobtime">
    <span style="color:red;">08:25</span>//这句话的red是从代码里面写死的
 </span>
 </div>

 <div class="index_newjob_com nowrap">  
    <a href="https://www.ganpz.com/company/c_show-id_40.html">中国人寿</a>
 </div>

 <div class="index_newjob_info nowrap">
    <span class="index_newjob_info_xz">面议</span>
    <i class="index_newjob_info_line">|</i>不限经验<i class="index_newjob_info_line">|</i> 不限学历
 </div>

</li>

下面是代码的路径,自行补脑
\app\include\libs\sysplugins\smarty_internal_compile_joblist.php

if($paramer[namelen]){
    
    
	if($value[\'rec_time\']>time()){
		'.$name.'[$key][name_n] = "~~<font color=\'red\'>~~ ".mb_substr($value[\'name\'],0,$paramer[namelen],"utf-8")."</font>";
	}else{
		'.$name.'[$key][name_n] = mb_substr($value[\'name\'],0,$paramer[namelen],"utf-8");
	}
	}else{
		if($value[\'rec_time\']>time()){
			'.$name.'[$key][\'name_n\'] = "~~<font color=\'red\'>~~ ".$value[\'name\']."</font>";
		}
}

猜你喜欢

转载自blog.csdn.net/aasss12345/article/details/88017257