| | |
| | | <label class="layui-form-label"> |
| | | 当前账户余额:</label> |
| | | <div class="layui-input-inline"> |
| | | <span style="font-size: 16px;">1000.00元</span> |
| | | <span style="font-size: 16px;">{{balance}}元</span> |
| | | <a style="float: right;" class="layui-btn">充值</a> |
| | | </div> |
| | | </div> |
| | |
| | | el: '.layui-form', |
| | | data: { |
| | | total: "", |
| | | count: "" |
| | | count: "", |
| | | balance: 0.00 |
| | | }, |
| | | created: function () { |
| | | |
| | | var $this = this; |
| | | var data = JSON.parse(decodeURIComponent(common.getQueryString("data"))); |
| | | this.total = data.total; |
| | | this.count = data.count; |
| | |
| | | app.render(); |
| | | }); |
| | | |
| | | ksapp.post("/admin/sponsor/getBalance", {}, function (res) { |
| | | if (res.code == 0) { |
| | | $this.balance = res.data.balance; |
| | | } |
| | | }, null); |
| | | |
| | | |
| | | }, |
| | | watch: {}, |