Commit 9bae544c by libai

测试

parent acff7773
Showing with 5 additions and 3 deletions
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
// var $ip = "http://test.pay.ishuaji.cn"; // var $ip = "http://test.pay.ishuaji.cn";
var $ip="https://pay.ishuaji.cn"; var $ip="https://pay.ishuaji.cn";
var cdn = "https://zhibocdn.ishuaji.cn/comm"; var cdn = "https://zhibocdn.ishuaji.cn/comm";
var money=0 var money=100
payOk = true; payOk = true;
moneyBl = true; moneyBl = true;
payBl = true; payBl = true;
...@@ -113,8 +113,10 @@ ...@@ -113,8 +113,10 @@
console.log(msg) console.log(msg)
var html=[]; var html=[];
for(var i=0;i<msg.data.third.length;i++){ for(var i=0;i<msg.data.third.length;i++){
html+='<li data-type='+msg.data.third[i].amount+'>'; if(msg.data.third[i].amount==100)html+='<li class="reg-click" data-type='+msg.data.third[i].amount+'>';
html+='<p><img src="images/diamond.png">'+msg.data.third[i].diamond+'</p>'; else html+='<li data-type='+msg.data.third[i].amount+'>';
if(msg.data.third[i].addnum==0) html+='<p><img src="images/diamond.png">'+msg.data.third[i].diamond+'</p>';
else html+='<p><img src="images/diamond.png">'+msg.data.third[i].diamond+'(' + msg.data.third[i].addnum + '钻石)</p>';
html+='<p>¥'+msg.data.third[i].amount+'</p>'; html+='<p>¥'+msg.data.third[i].amount+'</p>';
if(msg.data.third[i].sale==1)html+='<img class="hot" src="images/hot.png" alt="">' if(msg.data.third[i].sale==1)html+='<img class="hot" src="images/hot.png" alt="">'
html+='</li>'; html+='</li>';
......
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