|  |  | 
 |  |  |                     maxmin: true, | 
 |  |  |                 }); | 
 |  |  |             } | 
 |  |  |             if (layEvent === 'goodsUpdate') { | 
 |  |  |                 febs.modal.open('编辑', 'modules/goods/goodsUpdate/' + data.id, { | 
 |  |  |                     btn: ['提交', '取消'], | 
 |  |  |                     yes: function (index, layero) { | 
 |  |  |                         $('#goods-update').find('#submit').trigger('click'); | 
 |  |  |                     }, | 
 |  |  |                     btn2: function () { | 
 |  |  |                         layer.closeAll(); | 
 |  |  |                     } | 
 |  |  |                 }); | 
 |  |  |             } | 
 |  |  |             if (layEvent === 'seeImgThumb') { | 
 |  |  |                 var t = $view.find('#seeImgThumb'+data.id+''); | 
 |  |  |                 //页面层 | 
 |  |  | 
 |  |  |                             }else{ | 
 |  |  |                                 return '<button class="layui-btn layui-btn-normal layui-btn-xs febs-bg-green" lay-event="upGoods" shiro:hasPermission="user:update">上架</button>' | 
 |  |  |                                 + '<button class="layui-btn layui-btn-normal layui-btn-xs febs-bg-red" lay-event="delGoods" shiro:hasPermission="user:update">删除</button>' | 
 |  |  |                                 + '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="updateGoods" shiro:hasPermission="user:update">编辑</button>' | 
 |  |  |                                 + '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="goodsUpdate" shiro:hasPermission="user:update">编辑</button>' | 
 |  |  |  | 
 |  |  |                             } | 
 |  |  |                         },minWidth: 300,align:'center'} |