作者 anyv
1 个管道 的构建 通过 耗费 0 秒

5

... ... @@ -15,11 +15,11 @@
<div class="tx_mask">
<div class="tx_maskCon">
<div class="tx_maskConImg">
<img src="__TMPL__/public/assets/images/70.png" alt="" />
<img src="__TMPL__/public/assets/images/70.png" alt="" onblur="message()"/>
</div>
<div class="tx_maskCon2">
<!-- 输入金额 -->
<input class="tx_maskInput" type="text" placeholder="输入提现金额" />
<input class="tx_maskInput" type="text" placeholder="输入提现金额" id="money" />
<!-- 确定 -->
<div class="tx_maskOk">确定</div>
<!-- 提现说明 -->
... ... @@ -134,6 +134,19 @@
<script src="__TMPL__/public/assets/js/jquery.js"></script>
<script src="__TMPL__/public/assets/js/base.js"></script>
<script>
/**
*当光标离开
*/
function message(){
money = $('#money').val();
if(money < 0){
alert('提现金额错误');
}else if(money>{$balance}){
alert('提现金额额超出余额');
}
}
</script>
<script>
$(".log_seven_btn_contant").click(function() {
$(".tx_mask").css({
display: "block"
... ... @@ -144,6 +157,7 @@
display: "none"
});
});
</script>
</body>
... ...