meetingQrPrint.html 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <!DOCTYPE html>
  2. <html>
  3. <head lang="en">
  4. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  5. <link rel="stylesheet" type="text/css" href="../x_desktop/css/style.css" charset="UTF-8" />
  6. <link rel="stylesheet" href="../x_desktop/css/mBoxNotice.css" charset="UTF-8" />
  7. <link rel="stylesheet" href="../x_desktop/css/mBoxTooltip.css" charset="UTF-8" />
  8. <script src="../o2_core/o2.min.js?v=2.1.3"></script>
  9. <script src="../x_desktop/js/base.min.js?v=2.1.3"></script>
  10. <script>
  11. layout.addReady(function(){
  12. (function(layout){
  13. var uri = new URI(window.location.href);
  14. var meeting = uri.getData("meeting");
  15. var _load = function(){
  16. MWF.Actions.get("x_meeting_assemble_control").getCheckinQrCode( meeting, function(json){
  17. var img = new Element("img",{
  18. src : "data:image/png;base64,"+json.data.image,
  19. styles : {
  20. width : "600px",
  21. height : "600px"
  22. },
  23. events : {
  24. load : function(){ window.print() }
  25. }
  26. }).inject( $("contentArea") );
  27. }.bind(this));
  28. };
  29. if( meeting )_load();
  30. })(layout);
  31. });
  32. </script>
  33. <title>会议签到二维码</title>
  34. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  35. </head>
  36. <body style="height: 100%; width:800px;overflow: auto; margin:0px">
  37. <!--<div id="layout" style="overflow: auto; height:100%">-->
  38. <!--<div id="loaddingArea" style="overflow: hidden;width:0px; height:2px; background-color:#4e82bd; position: absolute; top: 0; z-index: 100"></div>-->
  39. <!--</div>-->
  40. <div id="contentArea" style="margin-top:100px;margin-left:100px">
  41. </div>
  42. </body>
  43. </html>