Commit 5b5a625c by libai

测试

parent 5591bbf5
...@@ -128,7 +128,7 @@ ...@@ -128,7 +128,7 @@
html+='<a href="yazhai://_'+data.list[i].url+'_zone">'; html+='<a href="yazhai://_'+data.list[i].url+'_zone">';
} }
else if(data.list[i].opentype==3){ else if(data.list[i].opentype==3){
if(data.list[i].url.indexOf("?") != -1)html+='<a href='+data.list[i].url+'&uid='+sessionStorage.bbb+'&token='+sessionStorage.kkk+'&v=20210330>'; if(data.list[i].url.indexOf("?") != -1)html+='<a href='+data.list[i].url+'&uid='+sessionStorage.bbb+'&token='+sessionStorage.kkk+'&v=202103300>';
else html+='<a href='+data.list[i].url+'?uid='+sessionStorage.bbb+'&token='+sessionStorage.kkk+'>'; else html+='<a href='+data.list[i].url+'?uid='+sessionStorage.bbb+'&token='+sessionStorage.kkk+'>';
} }
html+='<li>'; html+='<li>';
......
...@@ -329,7 +329,6 @@ ...@@ -329,7 +329,6 @@
setTimeout(function () { setTimeout(function () {
window.location.href='card.html'; window.location.href='card.html';
},300) },300)
}) })
$(".diamond-exchange").on("click", function () { $(".diamond-exchange").on("click", function () {
window.location.href='diamond.html' window.location.href='diamond.html'
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
<body> <body>
<div style="background: rgb(245,245,245);height: 0.15rem;"></div> <div style="background: rgb(245,245,245);height: 0.15rem;"></div>
<div style="display: block" class="withdraw-bg"> <div style="display: block" class="withdraw-bg">
<div class="withdraw-div"><span style="width: 2.25rem;display: inline-block;">到账银行卡</span> <span class="withdraw-bank"></span><span class="r-arrow"></span></div> <div class="withdraw-div"><span style="width: 2.25rem;display: inline-block;">到账银行卡</span> <span class="withdraw-bank"></span><span class="r-arrow">></span></div>
<div><span style="width: 2.25rem;display: inline-block;">提现金额</span><input oninput="value=value.replace(/[^\d]/g,'')" placeholder="请输入提现金额" class="withdraw-money" type="text"></div> <div><span style="width: 2.25rem;display: inline-block;">提现金额</span><input oninput="value=value.replace(/[^\d]/g,'')" placeholder="请输入提现金额" class="withdraw-money" type="text"></div>
<p class="withdraw-p">可提现小券:<span>--</span></p> <p class="withdraw-p">可提现小券:<span>--</span></p>
<p class="withdraw-tips"><span>温馨提示 : </span>提现金额最低为100且必须为100的倍数,10000小券=100元</p> <p class="withdraw-tips"><span>温馨提示 : </span>提现金额最低为100且必须为100的倍数,10000小券=100元</p>
...@@ -54,6 +54,11 @@ ...@@ -54,6 +54,11 @@
<div class="msgBox-btn-yes">授权</div> <div class="msgBox-btn-yes">授权</div>
</div> </div>
</div> </div>
<div class="shadow"></div>
<div class="more-layer">
<div>收款账户</div>
<div>取消</div>
</div>
</body> </body>
<script src="lib/jquery-3.1.1.min.js"></script> <script src="lib/jquery-3.1.1.min.js"></script>
<script src="layer-v3.1.0/layer/layer.js"></script> <script src="layer-v3.1.0/layer/layer.js"></script>
...@@ -120,7 +125,20 @@ ...@@ -120,7 +125,20 @@
sessionStorage.firstwithdraw=data.firstwithdraw; sessionStorage.firstwithdraw=data.firstwithdraw;
} }
}) })
$(".r-arrow").on("click",function(){
more()
})
$(".more-layer div").eq(1).on("click", function () {
$(".shadow").fadeOut(350)
$(".more-layer").css("bottom","-3.2rem")
})
$(".more-layer div").eq(0).on("click", function () {
$(".shadow").fadeOut(350)
$(".more-layer").css("bottom","-3.2rem")
setTimeout(function () {
window.location.href='card.html';
},300)
})
$(".withdraw-money").on("input", function () { $(".withdraw-money").on("input", function () {
if($(".withdraw-money").val()>($(".withdraw-p span").text()-$(".withdraw-p span").text()%10000)/100){ if($(".withdraw-money").val()>($(".withdraw-p span").text()-$(".withdraw-p span").text()%10000)/100){
$(".withdraw-money").val(($(".withdraw-p span").text()-$(".withdraw-p span").text()%10000)/100) $(".withdraw-money").val(($(".withdraw-p span").text()-$(".withdraw-p span").text()%10000)/100)
...@@ -289,6 +307,10 @@ ...@@ -289,6 +307,10 @@
}) })
} }
}) })
function more(){
$('.more-layer').css("bottom","0.2rem");
$(".shadow").show()
}
function appCollaboration(msg) { function appCollaboration(msg) {
var ua = window.navigator.userAgent.toLowerCase(); var ua = window.navigator.userAgent.toLowerCase();
try{ try{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment