image.html 4.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title></title>
  6. <meta name="apple-mobile-web-app-capable" content="yes">
  7. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  8. <meta name="format-detection" content="telephone=no">
  9. <script>!function(){var e;e=function(e){return function(e,t){function i(){var t=r.getBoundingClientRect().width;t/m>540&&(t=540*m);var i=t/16;r.style.fontSize=i+"px",d.rem=e.rem=i}var a,n=e.document,r=n.documentElement,o=n.querySelector('meta[name="viewport"]'),l=n.querySelector('meta[name="flexible"]'),m=0,s=0,d=t.flexible||(t.flexible={});if(o){console.warn("将根据已有的meta标签来设置缩放比例");var c=o.getAttribute("content").match(/initial\-scale=([\d\.]+)/);c&&(s=parseFloat(c[1]),m=parseInt(1/s))}else if(l){var p=l.getAttribute("content");if(p){var u=p.match(/initial\-dpr=([\d\.]+)/),f=p.match(/maximum\-dpr=([\d\.]+)/);u&&(m=parseFloat(u[1]),s=parseFloat((1/m).toFixed(2))),f&&(m=parseFloat(f[1]),s=parseFloat((1/m).toFixed(2)))}}if(!m&&!s){var v=(e.navigator.appVersion.match(/android/gi),e.navigator.appVersion.match(/iphone/gi)),h=e.devicePixelRatio;m=v?h>=3&&(!m||m>=3)?3:h>=2&&(!m||m>=2)?2:1:1,s=1/m}if(r.setAttribute("data-dpr",m),!o)if(o=n.createElement("meta"),o.setAttribute("name","viewport"),o.setAttribute("content","initial-scale="+s+", maximum-scale="+s+", minimum-scale="+s+", user-scalable=no"),r.firstElementChild)r.firstElementChild.appendChild(o);else{var x=n.createElement("div");x.appendChild(o),n.write(x.innerHTML)}e.addEventListener("resize",function(){clearTimeout(a),a=setTimeout(i,300)},!1),e.addEventListener("pageshow",function(e){e.persisted&&(clearTimeout(a),a=setTimeout(i,300))},!1),"complete"===n.readyState?n.body.style.fontSize=12*m+"px":n.addEventListener("DOMContentLoaded",function(e){n.body.style.fontSize=12*m+"px"},!1),i(),d.dpr=e.dpr=m,d.refreshRem=i,d.rem2px=function(e){var t=parseFloat(e)*this.rem;return"string"==typeof e&&e.match(/rem$/)&&(t+="px"),t},d.px2rem=function(e){var t=parseFloat(e)/this.rem;return"string"==typeof e&&e.match(/px$/)&&(t+="rem"),t}}(window,window.lib||(window.lib={})),e}()}();
  10. </script>
  11. <link rel="stylesheet" type="text/css" href="../build/p/my/style.css">
  12. </head>
  13. <body>
  14. <div class="header">
  15. <ul class="nav clearfix">
  16. <li class="active"><a href="" title="">设备名称</a></li>
  17. </ul>
  18. <a href="index.html" class="back"></a>
  19. </div>
  20. <div class="container equip image data">
  21. <div class="title">气象站图像</div>
  22. <div class="args">
  23. <span id="J_argsTxt">一号摄像头</span>
  24. <select id="J_argsSelect">
  25. <option value="一号摄像头">一号摄像头</option>
  26. <option value="二号摄像头">二号摄像头</option>
  27. <option value="三号摄像头">三号摄像头</option>
  28. </select>
  29. </div>
  30. <div class="image-list clearfix">
  31. <div class="image-item">
  32. <img src="../img/image3.jpg" />
  33. <div class="title">1号摄像头,2015.10.11 15:13</div>
  34. </div>
  35. <div class="image-item">
  36. <img src="../img/image3.jpg" />
  37. <div class="title">1号摄像头,2015.10.11 15:13</div>
  38. </div>
  39. <div class="image-item">
  40. <img src="../img/image3.jpg" />
  41. <div class="title">1号摄像头,2015.10.11 15:13</div>
  42. </div>
  43. <div class="image-item">
  44. <img src="../img/image3.jpg" />
  45. <div class="title">1号摄像头,2015.10.11 15:13</div>
  46. </div>
  47. <div class="image-item">
  48. <img src="../img/image3.jpg" />
  49. <div class="title">1号摄像头,2015.10.11 15:13</div>
  50. </div>
  51. </div>
  52. </div>
  53. <div class="footer clearfix image">
  54. <a href="business.html" class="item">墒情分析</a>
  55. <a href="image.html" class="item active">图像采集</a>
  56. <a href="data.html" class="item">数据统计</a>
  57. <a href="log.html" class="item">设备记录</a>
  58. </div>
  59. <script type="text/javascript" src="../build/lib/zepto.min.js"></script>
  60. <script type="text/javascript">
  61. $('#J_argsSelect').on('change', function(){
  62. var val = $(this).val();
  63. $('#J_argsTxt').html(val);
  64. });
  65. </script>
  66. </body>
  67. </html>