Ei kuvausta

leaveInfo.html 6.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta content="yes" name="apple-mobile-web-app-capable">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0,minimum-scale=1.0,user-scalable=0" />
  7. <title>最奇葩的请假理由</title>
  8. <script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>
  9. <script type="text/javascript" src="public/dateRange.js?v=6"></script>
  10. <link rel="stylesheet" type="text/css" href="public/dateRange.css?v=6"/>
  11. <link rel="stylesheet" type="text/css" href="public/public_css.css?v=6"/>
  12. <link rel="stylesheet" type="text/css" href="public/leaveInfo.css?v=6.2"/>
  13. <script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
  14. <script src="public/weChatShare.js?v=3"></script>
  15. <script type="text/javascript">
  16. document.documentElement.style.fontSize = 100 * (document.documentElement.clientWidth/375) + "px";
  17. window.onresize = function(){
  18. document.documentElement.style.fontSize = 100 * (document.documentElement.clientWidth/375) + "px";
  19. }
  20. </script>
  21. </head>
  22. <body>
  23. <!--表单页面-->
  24. <div class="container" style="">
  25. <div class="top"><img src="images/jinniu.png" alt="" /><span>金牛记账</span></div>
  26. <form class="user_info">
  27. <div class="item"><span class="title">姓名:</span><input type="text" id="name" placeholder="请输入1到5个字"/></div>
  28. <div class="item"><span class="title">部门:</span><input type="text" id="department" placeholder="请输入2到5个字" /></div>
  29. <div class="item"><span class="title">公司:</span><input type="text" id="company" placeholder="请输入3到16个字" /></div>
  30. <div class="item"><span class="title">时间:</span>
  31. <div class="ta_date" id="div_date1">
  32. <span class="date_title" id="date1"></span>
  33. </div>
  34. </div>
  35. <div class="item"><span class="title">性别:</span>
  36. <label><input type="radio" value="man" name="sex"><img src="images/man.png" class="man" style="margin-right: 0.22rem;"/></label>
  37. <label><input type="radio" value="women" name="sex"><img src="images/women.png" alt="" class="women" /></label>
  38. </div>
  39. </form>
  40. <div class="leaveInfo_submit"></div>
  41. </div>
  42. <!--变成图片-->
  43. <div class="leaveImgwarp">
  44. <div class="leaveImg" style="">
  45. <div class="tran">
  46. <div class="top" style="margin-top: 0.1rem;padding-top: 0.3rem;"><img src="images/jinniu.png" alt="" /><span>金牛记账</span></div>
  47. <div class="leave_info" style="width: 2.9rem;height: 4.1rem; margin:auto;padding-top: 0.02rem;">
  48. <div class="leave_title" style="font-size: 0.3rem;font-size: 0.3rem;margin-bottom: 0.1rem;">请假条</div>
  49. <div class="leave_name" style=" height: 0.5rem; margin-bottom: 0.05rem;">
  50. <div><i style="width: 0.48rem;">姓名</i><span class="userName" style="width: 0.88rem;font-size: 0.13rem;"></span></div>
  51. <div><i style="width: 0.42rem;">部门</i><span class="userDepartment"style="width: 0.88rem;font-size: 0.13rem;"></span></div>
  52. </div>
  53. <div class="leave_time">
  54. <div>请假时间:</div>
  55. <div>
  56. <p class="timeForm">自<span class="timeStart"></span></p>
  57. <p class="timeTo">至<span class="timeEnd"></span></p>
  58. </div>
  59. <div><!--共<span>1</span>天--></div>
  60. </div>
  61. <div class="leave_reason" style="height: 2.2rem;">
  62. <div class="leave_reason_top"><span>请假理由:</span><img src="images/no.png" alt="" /></div>
  63. <div class="leave_reason_img" style="height: 1.64rem;">
  64. <span class="reason" style="font-size: 0.16rem;"></span>
  65. <span class="ok" style="top: 4.3rem;left: 2.2rem;font-size: 0.16rem;">老板意见:<i>同意</i></span>
  66. <canvas class="canvas" width="110" height="110"style="position: absolute; top: 3.65rem; left: 2.2rem;"></canvas>
  67. </div>
  68. </div>
  69. </div>
  70. </div>
  71. <div class="bottom" style="padding-top: 0.58rem;">
  72. <div class="code"><img src="images/jinniucode1.png" alt="" /></div>
  73. <div class="txet">
  74. <p>金牛记账</p>
  75. <p>妥妥安排你的十一黄金周账单</p>
  76. <p>赶紧扫码请假吧</p>
  77. </div>
  78. </div>
  79. </div>
  80. </div>
  81. <img src="" id="curTpl" style=" display: none;height: 70%;">
  82. <!--表单完成页面-->
  83. <div class="container2">
  84. <div class="top"><img src="images/jinniu.png" alt="" /><span>金牛记账</span></div>
  85. <div class="leave_info">
  86. <div class="leave_title">请假条</div>
  87. <div class="leave_name">
  88. <div><i>姓名</i><span class="userName"></span></div>
  89. <div><i>部门</i><span class="userDepartment"></span></div>
  90. </div>
  91. <div class="leave_time">
  92. <div>请假时间:</div>
  93. <div>
  94. <p class="timeForm">自<span class="timeStart"></span></p>
  95. <p class="timeTo">至<span class="timeEnd"></span></p>
  96. </div>
  97. <div>
  98. <!--共<span>1</span>天-->
  99. </div>
  100. </div>
  101. <div class="leave_reason">
  102. <div class="leave_reason_top"><span>请假理由:</span><img src="images/no.png" alt="" /></div>
  103. <div class="leave_reason_img">
  104. <span class="reason"></span>
  105. <span class="ok">老板意见:<i>同意</i></span>
  106. <canvas class="canvas" width="110" height="110"style="position: absolute; top: 4rem; left: 2.3rem;"></canvas>
  107. </div>
  108. </div>
  109. </div>
  110. <div class="long">长按保存图片</div>
  111. <div class="tip">这个假请完,怕就是回不来了。你敢不敢用!</div>
  112. <div class="btn">
  113. <div class="leave_change">换个理由</div>
  114. <div class="leave_share">分享</div>
  115. </div>
  116. </div>
  117. <!--分享-->
  118. <div class="shareMask">
  119. <div class="weixin">
  120. <div class="weixins">
  121. <div class="weixinShare" onclick="shareWeixin()">
  122. <img src="../H5/weixin.png" />
  123. <span>微信</span>
  124. </div>
  125. <div class="pengyouquan" onclick="sharePengyouquan()">
  126. <img src="../H5/weixinQuan.png"/>
  127. <span>朋友圈</span>
  128. </div>
  129. </div>
  130. <div class="cancel">取消分享</div>
  131. </div>
  132. </div>
  133. <div class="alert-info" style="display: none;">
  134. <!-- tip提示,3s后消失 -->
  135. <p></p>
  136. </div>
  137. </body>
  138. </html>
  139. <script type="text/javascript" src="public/jquery-2.1.0.js"></script>
  140. <script src="public/leaveInfo.js?v=6.2"></script>
  141. <script src="public/html2canvas.js"></script>
  142. <script type="text/javascript">
  143. </script>