/*** Created by A.J on 2020/6/17.*/$(document).ready(function(){$(".increasecoins").on("click", function(){var tobj = $(this).parent().prev("input");var jfobj = $(this).parent().parent().parent().siblings(".jinbi");var increase = tobj.val();var usr = $(this).next("input").val();$.post("increasecoins", { increase: increase, uid: usr, verification:$("#verification").text()}, function(data){if(data == 'ok'){jfobj.text(parseInt(jfobj.text()) + parseInt(increase));tobj.val("");}else{$.alert({title: $('#chucuo').text(),content: data,buttons: {confirm: {text: $('#queding').text(),btnClass: 'btn-info',keys: ['enter']}}});}});});$(".decreasecoins").on("click", function(){var tobj = $(this).parent().prev("input");var jfobj = $(this).parent().parent().parent().siblings(".jinbi");var decrease = tobj.val();var usr = $(this).next("input").val();$.post("decreasecoins", { decrease: decrease, uid: usr, verification:$("#verification").text()}, function(data){if(data == 'ok'){jfobj.text(parseInt(jfobj.text()) - parseInt(decrease));tobj.val("");}else{$.alert({title: $('#chucuo').text(),content: data,buttons: {confirm: {text: $('#queding').text(),btnClass: 'btn-info',keys: ['enter']}}});}});});});