lvhao hai 17 horas
pai
achega
5b902f1b8b

+ 2 - 1
core/CoreApp/controllers/Goodimglibrary.php

@@ -111,6 +111,7 @@ class Goodimglibrary extends Start_Controller {
                 $this->db->like('g.features', $hairnumber);
             }
             $this->db->order_by('g.has_source', 'desc');
+            $this->db->order_by('g.update_time', 'desc');
             $this->db->order_by('g.id', 'asc');
             
             
@@ -127,7 +128,7 @@ class Goodimglibrary extends Start_Controller {
                 $info_list[$k]['sku'] = $v['sku'];
                 $info_list[$k]['title'] = $v['title'];
                 $info_list[$k]['zh'] = $v['zh'];
-                $info_list[$k]['update_time'] = empty($v['update_time'])? '' : date('Y-m-d ',$v['update_time']);
+                $info_list[$k]['update_time'] = empty($v['update_time'])? '' : date('Y-m-d H:i',$v['update_time']);
                 $info_list[$k]['imgs'] = $this->transimg($v['source_cont']);
             }
 			$this->db->from('crowd_goods');

+ 6 - 6
template/erp/goodimglibrary.html

@@ -89,7 +89,7 @@ dialog::backdrop {
 <td>SKU</td>
 <td>商品名称</td>
 <td>仓库品名</td>
-<td>上传时间</td>
+<td>更新时间</td>
 <td>图片|视频</td>
 </tr>
 </table>
@@ -114,11 +114,11 @@ var customon = 1;
 function custom(){
 $(".data tr").each(function() {
 $(this).find('td:eq(0)').css("width","1%");
-$(this).find('td:eq(1)').css("width","16%");
-$(this).find('td:eq(2)').css("width","16%");
-$(this).find('td:eq(3)').css("width","16%");
-$(this).find('td:eq(4)').css("width","10%");
-$(this).find('td:eq(5)').css("width","40%");
+$(this).find('td:eq(1)').css("width","13%");
+$(this).find('td:eq(2)').css("width","13%");
+$(this).find('td:eq(3)').css("width","13%");
+$(this).find('td:eq(4)').css("width","9%");
+$(this).find('td:eq(5)').css("width","50%");
 
 
 });}