lvhao 5 giorni fa
parent
commit
89f4a18d1b
2 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. 1 1
      core/CoreApp/controllers/Color.php
  2. 3 3
      template/erp/color.html

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

@@ -197,7 +197,7 @@ class Color extends Start_Controller {
 						$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."'>";
 					   //$info[$key]['img'] = "<img src='".$v."' width='100px' height='100' />";
 						if(count($colorimg) > 1){
-							$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='),'',$colorimg[1])."&w=100&h=100' data-src='".$colorimg[1]."'>";
+							$info_list[$key]['img'] .= "<img style='margin-left:5px;' 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='),'',$colorimg[1])."&w=100&h=100' data-src='".$colorimg[1]."'>";
 						}
 				
 			 		 

+ 3 - 3
template/erp/color.html

@@ -80,12 +80,12 @@ $(this).find('td:eq(2)').css("width","5%");
 $(this).find('td:eq(3)').css("width","6%");
 $(this).find('td:eq(4)').css("width","6%");
 $(this).find('td:eq(5)').css("width","6%");
-$(this).find('td:eq(6)').css("width","20%");
+$(this).find('td:eq(6)').css("width","16%");
 $(this).find('td:eq(7)').css("width","5%");
 $(this).find('td:eq(8)').css("width","8%");
 $(this).find('td:eq(9)').css("width","20%");
-$(this).find('td:eq(10)').css("width","6%");
-$(this).find('td:eq(11)').css("width","6%");
+$(this).find('td:eq(10)').css("width","8%");
+$(this).find('td:eq(11)').css("width","8%");
 });}
 $(".excel").click(function() {
     var f = "";