Commit fe8175b0 by libai

测试

parent 14cfb604
Showing with 20 additions and 4 deletions
...@@ -750,6 +750,26 @@ $(function(){ ...@@ -750,6 +750,26 @@ $(function(){
}) })
$("#qrcode").children().remove(); $("#qrcode").children().remove();
new QRCode(document.getElementById("qrcode"), codeUrl); new QRCode(document.getElementById("qrcode"), codeUrl);
myOrderId=res.orderId
console.log(myOrderId)
setInterval(function(){
$.ajax({
url:$ip+'setting/exchange/queryOrderStatus',
data:{
pageID:localStorage.canvasCode,
orderId:myOrderId
},
success:function(data){
if(data.orderStatus==1){
layer.msg("储值成功!")
setTimeout(function() {
window.location.reload()
}, 800);
}
}
})
},1500)
} }
} }
}) })
......
...@@ -879,7 +879,6 @@ $(function () { ...@@ -879,7 +879,6 @@ $(function () {
}, },
success:function(data){ success:function(data){
// console.log('获取活动中心列表',data) // console.log('获取活动中心列表',data)
var html=[]; var html=[];
for(var i=0;i<data.dataList.activitys.length;i++){ for(var i=0;i<data.dataList.activitys.length;i++){
var list=data.dataList.activitys[i] var list=data.dataList.activitys[i]
...@@ -902,7 +901,6 @@ $(function () { ...@@ -902,7 +901,6 @@ $(function () {
loop:true, loop:true,
}); });
} }
$(".act-btn").unbind("click").on("click",function(){ $(".act-btn").unbind("click").on("click",function(){
if(localStorage.token==undefined){ if(localStorage.token==undefined){
loginLayer() loginLayer()
...@@ -915,8 +913,6 @@ $(function () { ...@@ -915,8 +913,6 @@ $(function () {
shadeClose: true, shadeClose: true,
skin: "active-layer", skin: "active-layer",
area: ["360px", "634px"], area: ["360px", "634px"],
// area: ["344px", "728px"],
// 728px
content: _self.attr("data-type")+'?uid='+localStorage.uid+'&token='+localStorage.token+'&roomid='+sessionStorage.roomId+'&os=pc', content: _self.attr("data-type")+'?uid='+localStorage.uid+'&token='+localStorage.token+'&roomid='+sessionStorage.roomId+'&os=pc',
}) })
$(".layui-layer-shade").hide() $(".layui-layer-shade").hide()
......
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