index.html 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Loader #1</title>
  6. <link rel="stylesheet" type="text/css" href='/uploads/wechat/163607/file/广西东盟项目/css/style-1.css' />
  7. <!--[if IE]>
  8. <script src="js/html5.js"></script>
  9. <![endif]-->
  10. <style>
  11. a{
  12. background:#13A3A5;
  13. padding:5px;
  14. margin:10px;
  15. display:block;
  16. font-weight:100;
  17. cursor:pointer;
  18. font-size:1.5em;
  19. float:left;
  20. text-decoration:none;
  21. font-size:18px;
  22. color:white;
  23. }
  24. </style>
  25. <style>
  26. .processcontainer{
  27. position: fixed;
  28. bottom: 3rem;
  29. right: 0;
  30. left: 0;
  31. width: 500px;
  32. border:1px solid #3486da;
  33. height: 10px;
  34. margin: 0 auto;
  35. padding: 4px;
  36. }
  37. #back {
  38. background:url('/uploads/wechat/163607/file/广西东盟项目/Image/优.gif');
  39. }
  40. #processbar{
  41. background:#3053af;
  42. // float:left;
  43. height:100%;
  44. text-align:center;
  45. line-height: 90%;
  46. }
  47. </style>
  48. </head>
  49. <body>
  50. <div id="back" style="position:absolute; width: 100%; height: 100%; z-index:2021;"></div>
  51. <div class="processcontainer" style="z-index: 2021;">
  52. <div id="processbar" style="width:0%;"></div>
  53. </div>
  54. <!-- <a href="loader-1.html">loader 1</a>
  55. <a href="loader-2.html">loader 2</a>
  56. <a href="loader-3.html">loader 3</a>
  57. <a href="loader-4.html">loader 4</a>
  58. <a href="loader-5.html">loader 5</a>
  59. <a href="loader-6.html">loader 6</a>
  60. <a href="loader-7.html">loader 7</a>
  61. <a href="loader-8.html">loader 8</a>
  62. <a href="loader-9.html">loader 9</a>
  63. <a href="loader-10.html">loader 10</a> -->
  64. <!-- <div class="loader">
  65. <div class="text">Loading...</div>
  66. <div class="horizontal">
  67. <div class="circlesup">
  68. <div class="circle"></div>
  69. <div class="circle"></div>
  70. <div class="circle"></div>
  71. <div class="circle"></div>
  72. <div class="circle"></div>
  73. </div>
  74. <div class="circlesdwn">
  75. <div class="circle"></div>
  76. <div class="circle"></div>
  77. <div class="circle"></div>
  78. <div class="circle"></div>
  79. <div class="circle"></div>
  80. </div>
  81. </div>
  82. <div class="vertical">
  83. <div class="circlesup">
  84. <div class="circle"></div>
  85. <div class="circle"></div>
  86. <div class="circle"></div>
  87. <div class="circle"></div>
  88. <div class="circle"></div>
  89. </div>
  90. <div class="circlesdwn">
  91. <div class="circle"></div>
  92. <div class="circle"></div>
  93. <div class="circle"></div>
  94. <div class="circle"></div>
  95. <div class="circle"></div>
  96. </div>
  97. </div>
  98. </div> -->
  99. </body>
  100. <script>
  101. function setProcess() {
  102. var processbar = document.getElementById("processbar");
  103. processbar.style.width = parseInt(processbar.style.width) + 4 + "%";
  104. // processbar.innerHTML = processbar.style.width;
  105. if (processbar.style.width == "100%") {
  106. window.clearInterval(bartimer);
  107. }
  108. }
  109. var bartimer = window.setInterval(function () { setProcess(); }, 100);
  110. window.onload = function () {
  111. bartimer;
  112. }
  113. </script>
  114. </html>