lvhao 20 jam lalu
induk
melakukan
4643f7cca8
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      core/CoreApp/controllers/Returns.php

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

@@ -513,10 +513,10 @@ class Returns extends Start_Controller {
 					$v = $this->show_url.$v;
 					$img .= '<span class="deldata"><a href="'.$v.'" target="_blank">'."<img src='".$v."' 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>";
 				}else{
-					$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 = $url[0];
-					$img .= '<span class="deldata"><a href="'.$url.'" target="_blank">'."<img src='".$url."' 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>";
 				}
 			  
 			}