|
|
|
@ -90,7 +90,7 @@ class AgentProductController extends AdminController |
|
|
|
$grid->column('小程序码') |
|
|
|
->display('查看') |
|
|
|
->modal(function ($modal) { |
|
|
|
return '<img data-action="preview-img" src="'.(new AgentProductController)->mpQrcode($this->id).'" style="max-width:60px;max-height:60px;cursor:pointer" class="img img-thumbnail">'; |
|
|
|
return '<img src="'.admin_url('product/qrcode/' . $this->id).'" style="max-width:400px;max-height:400px;cursor:pointer">'; |
|
|
|
}); |
|
|
|
$grid->column('updated_at')->width(100); |
|
|
|
|
|
|
|
|