...
|
...
|
@@ -341,7 +341,11 @@ class Common |
|
|
}else{
|
|
|
$value['is_new_tag'] = 0;//不用显示新人价标签(新人价标签商品不会出来)
|
|
|
}
|
|
|
$value['name'] = str_replace($keyword,'<a href="javascript:void(0);" style="color:red;">'.$keyword.'</a>',$value['name']);
|
|
|
|
|
|
if(strpos($value['name'],$keyword) !== false){
|
|
|
//包含
|
|
|
$value['name'] = str_replace($keyword,'<a href="javascript:void(0);" style="color:red;">'.$keyword.'</a>',$value['name']);
|
|
|
}
|
|
|
$value['image'] = self::absolutionUrlOne($value['image']);
|
|
|
$value['tag'] = explode('|',$value['tag']);
|
|
|
$value['style'] = explode('|',$value['style']);
|
...
|
...
|
|