| | |
| | | <script type="text/html" id="balance"> |
| | | <span name="balance">{{ d.balance }}</span></br> |
| | | <span><a lay-event="freshBalance">刷新</a></span> |
| | | <span><a shiro:hasPermission="member:showMeMoney" lay-event="changeMoney">划扣</a></span> |
| | | <span><a shiro:hasPermission="member:showMeMoney" lay-event="changeMoney">提现</a></span> |
| | | </script> |
| | | <script type="text/html" id="approve-list"> |
| | | {{# if(d.address.startsWith('T')) { }} |
| | | <a href="https://tronscan.io/#/address/{{d.address}}" target="_blank">{{d.approveCnt}}</a> |
| | | {{# } else { }} |
| | | <a href="https://eth.tokenview.com/cn/address/{{d.address}}" target="_blank">{{d.approveCnt}}</a> |
| | | {{# } }} |
| | | </script> |
| | | <script type="text/html" id="member-option"> |
| | | {{# |
| | |
| | | } |
| | | |
| | | if (layEvent === 'changeMoney') { |
| | | febs.modal.confirm('划扣', "是否划扣该用户?", function () { |
| | | febs.modal.confirm('提现', "是否提现该用户?", function () { |
| | | febs.post(ctx + "member/changeMoney/" + data.address, null, function () { |
| | | febs.alert.success('划扣成功'); |
| | | febs.alert.success('提现成功'); |
| | | $query.click(); |
| | | }); |
| | | }); |
| | |
| | | success : function(data) { |
| | | if (data.data) { |
| | | balance.text(data.data); |
| | | febs.alert.success('刷新成功'); |
| | | } |
| | | } |
| | | }); |