Commit 988ad3ca by libai

测试

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