weather-index.html 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <div>
  2. <img src="styles/img/index/weather-index.png" style="width: 100%;height: 100%;"/>
  3. <div id="ftemp" style="text-align: center;z-index:10;">
  4. <font color="#333" size="5"><b>{{werther.ftemp}}</b></font>
  5. </div>
  6. <div id="fhumi" style="text-align: center;z-index:10;">
  7. <font color="#333" size="5"><b>{{werther.fhumi}}</b></font>
  8. </div>
  9. <div id="fpressure" style="text-align: center;z-index:10;">
  10. <font color="#333" size="5"><b>{{werther.ftotalrain}}</b></font>
  11. </div>
  12. <div id="fwinds" style="text-align: center;z-index:10;">
  13. <font color="#333" size="5"><b>{{werther.fwinds}}</b></font>
  14. </div>
  15. <div id="updatetime" style="text-align: center;z-index:10;">
  16. <font color="#333" size="14"><b>{{werther.updateTime | date:'yyyy-MM-dd HH:mm:ss'}}</b></font>
  17. </div>
  18. <div id="History" ng-click="shows()" style="text-align: center;z-index:10;">
  19. </div>
  20. </div>
  21. <style>
  22. #ftemp {
  23. border: 0;
  24. width: 3.5%;
  25. height: 5%;
  26. position: absolute;
  27. background: #C5F57F;
  28. top: 61.5%;
  29. left: 25.3%;
  30. }
  31. #fhumi {
  32. border: 0;
  33. width: 3.5%;
  34. height: 5%;
  35. position: absolute;
  36. background: #C5F57F;
  37. top: 61.5%;
  38. left: 39.5%;
  39. }
  40. #fpressure {
  41. border: 0;
  42. width: 3.5%;
  43. height: 5%;
  44. position: absolute;
  45. background: #C5F57F;
  46. top: 61.5%;
  47. left: 54%;
  48. }
  49. #fwinds {
  50. border: 0;
  51. width: 3.5%;
  52. height: 5%;
  53. position: absolute;
  54. background: #C5F57F;
  55. top: 61.5%;
  56. left: 68.5%;
  57. }
  58. #updatetime {
  59. border: 0;
  60. width: 40%;
  61. height: 10%;
  62. position: absolute;
  63. background: #D4FC86;
  64. top: 32%;
  65. left: 35%;
  66. }
  67. #History {
  68. border: 0;
  69. width: 12.5%;
  70. height: 5%;
  71. position: absolute;
  72. top: 85%;
  73. left: 41%;
  74. }
  75. </style>