鑫苑新版本前端代码

callScreen.html 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>来电弹屏</title>
  6. <script src="../Script/Common/huayi.load.js"></script>
  7. <script src="../Script/Common/huayi.config.js"></script>
  8. <style>
  9. body,
  10. html,
  11. .wrapper {
  12. height: 100%;
  13. }
  14. </style>
  15. </head>
  16. <body class="gray-bg">
  17. <div class="wrapper wrapper-content animated fadeInRight">
  18. <iframe class="callIn_iframe" width="100%" height="100%" src="https://www.baidu.com/" frameborder="0" data-id="index_v1.html" seamless></iframe>
  19. </div>
  20. <script>
  21. var Number = helper.request.queryString("tel"),//来电号码
  22. CallID = helper.request.queryString("CallID"),//callid
  23. callType = helper.request.queryString("callType"),//业务类型
  24. userCode=top.$('#userCode').val();//工号
  25. if(callType){
  26. switch (callType){
  27. case "1":
  28. callType=2;
  29. break;
  30. case "2":
  31. callType=1;
  32. break;
  33. case "9":
  34. callType=4;
  35. break;
  36. }
  37. }
  38. $('.callIn_iframe').attr('src', 'http://192.168.128.246/400/?logid=' + userCode + '&Telephone=' + Number + '&calltype=' + callType + '&Media=' + CallID)
  39. </script>
  40. </body>
  41. </html>