index.html 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <link rel="icon" type="image/x-icon" href="favicon.ico"/>
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  7. <meta name="mobile-web-app-capable" content="yes">
  8. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  9. <meta name="format-detection" content="telephone=no"/>
  10. <meta name="format-detection" content="email=no"/>
  11. <!-- <script src="http://skyforest.static.elab-plus.com/js/jquery.min.js"></script>
  12. <script src="http://skyforest.static.elab-plus.com/weixin/jweixin-1.3.2.js"></script> -->
  13. <script src="./static/jquery.min.js"></script>
  14. <script src="./static/jweixin-1.3.2.js"></script>
  15. <link rel="stylesheet" href="https://at.alicdn.com/t/font_615890_cc2iq2jmsqqwipb9.css">
  16. <title></title>
  17. <style rel="stylesheet" src="/assets/common.scss"></style>
  18. </head>
  19. <script>
  20. console.log(wx,'[[[[[')
  21. if(/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {
  22. window.getWidth= function(){
  23. if(window.innerWidth!= undefined){
  24. return window.innerWidth;
  25. }
  26. else{
  27. var B= document.body, D= document.documentElement;
  28. return B==null?D.clientWidth:Math.min(D.clientWidth, B.clientWidth);
  29. }
  30. }
  31. document.documentElement.style.fontSize = 100 * window.getWidth() / 750 + 'px';
  32. addEventListener('load', function() {
  33. var _wid=window.getWidth();
  34. document.documentElement.style.fontSize =100 * _wid / 750 + 'px'
  35. setTimeout(function(){
  36. document.documentElement.style.fontSize =100 * _wid / 750 + 'px'
  37. window.unit =100 * _wid / 750;
  38. var e = document.createEvent('Event');
  39. e.initEvent('adjustReady', true, true);
  40. window.dispatchEvent(e);
  41. }, 480);
  42. })
  43. addEventListener('orientationchange', function() {
  44. var _wid=window.getWidth();
  45. setTimeout(function(){
  46. document.documentElement.style.fontSize =100 * _wid / 750 + 'px'
  47. }, 480)
  48. });
  49. window.addEventListener('pageshow',function(event){
  50. console.log(event.persisted)
  51. if(event.persisted){
  52. location.reload()
  53. }
  54. })
  55. }
  56. var env = 'prod';
  57. if(env==='test'){
  58. if(location.href.indexOf('https')==0){
  59. WEB_CONF={
  60. open_api:'https://examopenapi.elab-plus.com',
  61. im_url:'https://test-skyforest.elab-plus.com',
  62. uploadUrl:'http://139.196.5.59:7000', //文件上传
  63. api_url:'https://test-factory.elab-plus.com',//測試
  64. verify_url:'https://test-factory.elab-plus.com',//測試验证码
  65. qrcode:"https://m.elab-plus.com/"//生成二维码
  66. }
  67. }
  68. else{
  69. WEB_CONF={
  70. open_api:'http://139.196.5.59:3001',
  71. im_url:'http://139.196.5.59:9005',
  72. uploadUrl:'http://139.196.5.59:7000', //文件上传
  73. api_url:'http://test-factory.elab-plus.com',//測試
  74. verify_url:'http://139.196.5.59:9006',//測試验证码
  75. qrcode:"https://m.elab-plus.com/"//生成二维码
  76. }
  77. }
  78. console.log("***test***",WEB_CONF)
  79. }else if(env==='dev'){
  80. WEB_CONF={
  81. open_api:'http://139.196.5.59:3001',
  82. im_url:'http://139.196.5.59:9005',
  83. uploadUrl:'http://192.168.0.14:7000', //文件上传
  84. api_url:'http://192.168.0.14:9006',//开发
  85. verify_url:'http://139.196.5.59:9006',//測試验证码
  86. qrcode:"https://m.elab-plus.com/"//生成二维码
  87. }
  88. }else if(env==='uat'){
  89. WEB_CONF={
  90. open_api:'http://139.196.5.82:3001',
  91. uploadUrl:'http://139.196.5.82:7000',
  92. im_url:'http://139.196.5.82:9005',
  93. //文件上传
  94. api_url:'http://139.196.5.82:9006',//堡垒
  95. verify_url:'http://139.196.5.82:9006',//堡垒验证码
  96. qrcode:"https://m.elab-plus.com/"//生成二维码
  97. }
  98. }else{
  99. if(location.href.indexOf('https')==0){
  100. WEB_CONF={
  101. open_api:'https://openapi.elab-plus.com',
  102. api_url:'https://factory.elab-plus.com',
  103. im_url:'https://skyforest.elab-plus.com',
  104. verify_url:'https://factory.elab-plus.com',
  105. uploadUrl:'http://139.196.6.132:7000', //文件上传
  106. qrcode:"https://m.elab-plus.com/"//生成二维码
  107. }
  108. }
  109. else{
  110. WEB_CONF={
  111. open_api:'http://openapi.elab-plus.com',
  112. api_url:'http://factory.elab-plus.com',
  113. im_url:'http://skyforest.elab-plus.com',
  114. verify_url:'http://factory.elab-plus.com',
  115. uploadUrl:'http://139.196.6.132:7000', //文件上传
  116. qrcode:"https://m.elab-plus.com/"//生成二维码
  117. }
  118. }
  119. }
  120. </script>
  121. <body>
  122. <div id="app"></div>
  123. <!-- built files will be auto injected -->
  124. </body>
  125. <!-- <script src="vconsole.min.js"></script> -->
  126. <!-- <script src="//res.wx.qq.com/open/js/jweixin-1.2.0.js"></script> -->
  127. <!-- <script src="http://skyforest.static.elab-plus.com/weixin/jweixin-1.3.2.js"></script>
  128. <script src="http://skyforest.static.elab-plus.com/js/jquery.min.js"></script> -->
  129. <script type="text/javascript">
  130. </script>
  131. <style>
  132. .el-table{
  133. font-size: 12px;
  134. }
  135. .el-table tr{
  136. box-shadow: inset 0 -1px 0 0 #CCCCCC;
  137. }
  138. .el-table tr:hover{
  139. background: #EFF6FF;
  140. }
  141. .has-gutter tr,.has-gutter th{
  142. background-color: #f4f4f4;
  143. }
  144. .el-table_1_column_9,.el-table_1_column_10{
  145. text-align: center;
  146. }
  147. .el-table__body-wrapper{
  148. overflow: visible;
  149. }
  150. .el-table td{
  151. position: static;
  152. }
  153. .el-table td p{
  154. margin:0;
  155. }
  156. .el-table td input{
  157. border:none;
  158. background-color: transparent;
  159. padding:0;
  160. }
  161. .el-table__row span.overflow{
  162. width:67px;
  163. display: inline-block;
  164. vertical-align: middle;
  165. }
  166. .el-table__row div.overflow{
  167. width:110px;
  168. }
  169. .el-table .cell,.el-table{
  170. overflow:visible;
  171. position: relative;
  172. }
  173. .el-table td input.select{
  174. background: #FFFFFF;
  175. border: 1px solid #CCCCCC;
  176. padding:0 6px;
  177. }
  178. .el-button--text{
  179. color:#606266;
  180. }
  181. .slide1-sec .mint-swipe-indicators{
  182. bottom:-12px;
  183. }
  184. .slide2-sec .mint-swipe-indicators{
  185. bottom:-39px;
  186. }
  187. .slide3-sec .mint-swipe-indicators,.swiper-img .mint-swipe-indicators{
  188. bottom:-11px;
  189. }
  190. </style>
  191. </html>