lvhao 3 weeks ago
parent
commit
d4dfabc05c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      core/CoreApp/controllers/Color.php

+ 2 - 2
core/CoreApp/controllers/Color.php

@@ -178,7 +178,7 @@ class Color extends Start_Controller {
 					}
 					}
 					else if($v != '')
 					else if($v != '')
 					{
 					{
-			 		   $info_list[$key]['img'] = "<img src='".site_url('img/thumb')."?src=".str_replace(array('http://'.$_SERVER['HTTP_HOST'],'http://erp.hnwmzp.cn','https://erp.hnwmzp.cn','http://1.wepolicy.cn/','https://1.wepolicy.cn/','/img/thumb?src='),'',$v)."&w=100&h=100' data-src='".$v."'>";
+			 		   $info_list[$key]['img'] = "<img src='".site_url('img/thumb')."?src=".str_replace(array('http://'.$_SERVER['HTTP_HOST'],'http://erp.hnwmzp.cn','https://erp.hnwmzp.cn','http://1.wepolicy.cn/','https://1.wepolicy.cn/','http://a.wepolicy.cn/','/img/thumb?src='),'',$v)."&w=100&h=100' data-src='".$v."'>";
 					}
 					}
 					else
 					else
 					{
 					{
@@ -310,7 +310,7 @@ class Color extends Start_Controller {
 			}
 			}
 			else if($v != '')
 			else if($v != '')
 			{
 			{
-			   $url = str_replace(array('http://'.$_SERVER['HTTP_HOST'],'http://erp.hnwmzp.cn','https://erp.hnwmzp.cn','http://1.wepolicy.cn','https://1.wepolicy.cn','/img/thumb?src='),'',$v);
+			   $url = str_replace(array('http://'.$_SERVER['HTTP_HOST'],'http://erp.hnwmzp.cn','https://erp.hnwmzp.cn','http://1.wepolicy.cn','http://a.wepolicy.cn','https://1.wepolicy.cn','/img/thumb?src='),'',$v);
 				$url = explode('&',$url);
 				$url = explode('&',$url);
 				$url = $url[0];
 				$url = $url[0];
 			    $img .= '<span class="deldata"><a href="'.$url.'" target="_blank">'."<img src='".site_url('img/thumb')."?src=".$url."&w=500&h=500' data-src='".$v."'></a>"."<em style='width:30px;height:30px;line-height:30px;text-align: center;display: inline-block;position: absolute;top: 0px;right: 20px;z-index: 10;background-color: #FFF;cursor: pointer;' title='点击删除'>X</em></span>";
 			    $img .= '<span class="deldata"><a href="'.$url.'" target="_blank">'."<img src='".site_url('img/thumb')."?src=".$url."&w=500&h=500' data-src='".$v."'></a>"."<em style='width:30px;height:30px;line-height:30px;text-align: center;display: inline-block;position: absolute;top: 0px;right: 20px;z-index: 10;background-color: #FFF;cursor: pointer;' title='点击删除'>X</em></span>";