| | |
| | | .layui-table img{ |
| | | max-width:100px |
| | | } |
| | | ::-webkit-scrollbar { |
| | | height: 20px !important; |
| | | background-color: #f4f4f4; |
| | | } |
| | | </style> |
| | | </div> |
| | | </div> |
| | |
| | | url: ctx + 'admin/goodsCategory/categoryList', |
| | | cols: [[ |
| | | {field: 'name', title: '名称', minWidth: 150,align:'left'}, |
| | | {field: 'parentName', title: '父级名称', minWidth: 150,align:'left'}, |
| | | {field: 'image', title: '图片', |
| | | templet: function (d) { |
| | | return '<a lay-event="seeImges"><img id="seeImges'+d.id+'" src="'+d.image+'" alt=""></a>'; |
| | | }, minWidth: 100,align:'center'}, |
| | | // {field: 'parentName', title: '父级名称', minWidth: 150,align:'left'}, |
| | | // {field: 'image', title: '图片', |
| | | // templet: function (d) { |
| | | // return '<a lay-event="seeImges"><img id="seeImges'+d.id+'" src="'+d.image+'" alt=""></a>'; |
| | | // }, minWidth: 100,align:'center'}, |
| | | {field: 'indexNum', title: '排序', minWidth: 150,align:'left'}, |
| | | {title: '操作', |
| | | templet: function (d) { |