|  |  |  | 
|---|
|  |  |  | url: ctx + 'orderCoin/bzzNewPrice', | 
|---|
|  |  |  | cols: [[ | 
|---|
|  |  |  | {field: 'newprice', title: '最新价', minWidth: 100,align:'left'}, | 
|---|
|  |  |  | {field: 'bzzStart', title: '是否开售', | 
|---|
|  |  |  | templet: function (d) { | 
|---|
|  |  |  | if (d.bzzStart === '1') { | 
|---|
|  |  |  | return '<span style="color:green;">开始</span>' | 
|---|
|  |  |  | } else if (d.bzzStart === '2') { | 
|---|
|  |  |  | return '<span style="color:red;">停止</span>' | 
|---|
|  |  |  | } else{ | 
|---|
|  |  |  | return '' | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }, minWidth: 80,align:'center'}, | 
|---|
|  |  |  | {title: '操作', title: '操作', | 
|---|
|  |  |  | templet: function (d) { | 
|---|
|  |  |  | return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="edit" shiro:hasPermission="user:update">修改</button>' | 
|---|