Commit c9e63e2b by libai

测试

parent 8277066a
......@@ -78,7 +78,6 @@ var mySound=data.sound;
success: function (res) {
var result = JSON.parse(res);
localStorage.canvasCode=window.navigator.userAgent.toLowerCase()+'ip:'+result.ip;
alert(localStorage.canvasCode)
// if (result.code === 1) {
// if (result.checkResult) {
// window.location.hash = "no-back";
......
......@@ -697,9 +697,12 @@ $(function(){
$(".room-content-loading").show()
$(".loading-face").show().attr("src","https://zhibocdn.yabolive.net/comm"+data.room.face.split('?')[0]+"?x-oss-process=image/resize,w_350")
var loadNum=1
sessionStorage.type!=pwa
if(sessionStorage.type!='pwa'){
if(sessionStorage.lookNum==undefined)sessionStorage.lookNum=1;
else sessionStorage.lookNum=sessionStorage.lookNum+1;
}
loadT=setInterval(function(){
$(".loading-icon").attr("src","images/loading/loading ("+loadNum+").png")
loadNum++
......@@ -1479,8 +1482,8 @@ $(function(){
if(list.currency==5)continue;
if(list.currency==6)continue;
html+='<li data-type="'+list.gid+'">';
if(list.subimg!=undefined)html+='<img class="subimg" src="https://zhibocdn.yabolive.net/comm'+list.subimg+'?x-oss-process=image/resize,h_18">'
html+='<img src="https://zhibocdn.yabolive.net/comm' + list.resource + '?x-oss-process=image/resize,w_52" alt="">';
if(list.subimg!=undefined)html+='<img class="subimg" src="https://zhibocdn.yabolive.net/comm'+list.subimg+'?x-oss-process=image/resize,h_30">'
html+='<img src="https://zhibocdn.yabolive.net/comm' + list.resource + '?x-oss-process=image/resize,w_100" alt="">';
html+='<p class="gift-p1">'+list.name+'</p>';
html+='<p class="gift-p2"><img src="images/diamond.png" alt="">'+list.price+'</p>';
html+='</li>';
......@@ -1492,8 +1495,8 @@ $(function(){
var list=data.data[i]
if(list.category!=1001)continue;
html+='<li data-type="'+list.gid+'">';
if(list.subimg!=undefined)html+='<img class="subimg" src="https://zhibocdn.yabolive.net/comm'+list.subimg+'?x-oss-process=image/resize,h_18">'
html+='<img src="https://zhibocdn.yabolive.net/comm' + list.resource + '?x-oss-process=image/resize,w_52" alt="">';
if(list.subimg!=undefined)html+='<img class="subimg" src="https://zhibocdn.yabolive.net/comm'+list.subimg+'?x-oss-process=image/resize,h_30">'
html+='<img src="https://zhibocdn.yabolive.net/comm' + list.resource + '?x-oss-process=image/resize,w_100" alt="">';
html+='<p class="gift-p1">'+list.name+'</p>';
html+='<p class="gift-p2"><img src="images/diamond.png" alt="">'+list.price+'</p>';
html+='</li>';
......@@ -1507,8 +1510,8 @@ $(function(){
if(list.currency!=5)continue;
html+='<li data-type="'+list.gid+'">';
if(list.subimg!=undefined)html+='<img class="subimg" src="https://zhibocdn.yabolive.net/comm'+list.subimg+'?x-oss-process=image/resize,h_18">'
html+='<img src="https://zhibocdn.yabolive.net/comm' + list.resource + '?x-oss-process=image/resize,w_52" alt="">';
if(list.subimg!=undefined)html+='<img style="width:0.6rem" class="subimg" src="https://zhibocdn.yabolive.net/comm'+list.subimg+'?x-oss-process=image/resize,h_30">'
html+='<img src="https://zhibocdn.yabolive.net/comm' + list.resource + '?x-oss-process=image/resize,w_100" alt="">';
html+='<p class="gift-p1">'+list.name+'</p>';
html+='<p class="gift-p2"><img src="images/dew.png" alt="">'+list.price+'</p>';
html+='</li>';
......@@ -1538,7 +1541,7 @@ $(function(){
for(var i=0;i<data.data.length;i++){
var list=data.data[i]
html+='<li data-type="'+list.gid+'">';
html+='<img src="https://zhibocdn.yabolive.net/comm'+list.resource+'?x-oss-process=image/resize,w_52" alt="">';
html+='<img src="https://zhibocdn.yabolive.net/comm'+list.resource+'?x-oss-process=image/resize,w_100" alt="">';
html+='<p class="gift-p1">'+list.name+'</p>';
html+='<p style="color:#fff" class="gift-p2">x<span>'+list.total+'</span></p>';
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