Commit 988ad3ca by libai

测试

parent 07c2258e
......@@ -31,6 +31,10 @@
background-size: 100% 100%;
margin: 0 auto;
}
.downapp-en{
background: url(images/downapp-en.png)no-repeat;
background-size: 100% 100%;
}
#room-qrcode{
display: block;
position: absolute;
......@@ -52,13 +56,16 @@
<script src="../../lib/qrcode.min.js"></script>
<script>
$(function(){
if(sessionStorage.lang==1){
$(".downapp").addClass("downapp-en")
}
if(sessionStorage.pmt!=undefined&&sessionStorage.pmt!='undefined'){
var html=[];
html+='<p id="room-qrcode"></p>'
$(".downapp").html(html);
new QRCode(document.getElementById("room-qrcode"),sessionStorage.pmt);
}
})
</script>
</html>
\ No newline at end of file
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