| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <script type="text/html" id="stateType"> |
| | | <script type="text/html" id="statesType"> |
| | | {{# |
| | | var state = { |
| | | 2: {title: '进行中', color: 'volcano'}, |
| | | 1: {title: '成功', color: 'green'}, |
| | | 0: {title: '失败', color: 'blue'} |
| | | 2: {title: '进行中', color: 'green'}, |
| | | 1: {title: '成功', color: 'blue'}, |
| | | 0: {title: '失败', color: 'red'} |
| | | }[d.state]; |
| | | }} |
| | | <span class="layui-badge febs-bg-{{state.color}}">{{ state.title }}</span> |
| | |
| | | {field: 'amount', title: '金额', minWidth: 100,align:'center',totalRow: '{{= parseInt(d.amount) }}'}, |
| | | {field: 'type', title: '链', minWidth: 100,align:'center'}, |
| | | {field: 'address', title: '地址', minWidth: 100,align:'center'}, |
| | | {title: '状态', templet: '#stateType', minWidth: 100,align:'center'}, |
| | | {title: '状态', templet: '#statesType', minWidth: 100,align:'center'}, |
| | | {field: 'failTime', title: '失效时间', minWidth: 180,align:'center'}, |
| | | {field: 'vipCnt', title: '数量', minWidth: 100,align:'center'}, |
| | | {field: 'createdTime', title: '创建时间', minWidth: 180,align:'center'}, |