VaccinationPage.vue 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. <template>
  2. <div id="vaccinationPage">
  3. <img class="yq_back_img" id="img1" src="../../assets/png/yq_background.png"></img>
  4. <img class="yq_back_img" id="img2" src="../../assets/png/yq_background.png"></img>
  5. <img class="yq_border_img" id="img3" src="../../assets/png/yq_border.png"></img>
  6. <img class="yq_border_img" id="img4" src="../../assets/png/yq_border.png"></img>
  7. <img class="yq_border_img" id="img5" src="../../assets/png/yq_border.png"></img>
  8. <span id="ym_name1">疫苗接种</span>
  9. <span id="ym_num">10000</span>
  10. <span id="ym_name2">疫苗总接种率</span>
  11. <span id="ym_num1">90.99%</span>
  12. <span id="ym_name3">3-12岁疫苗接种率</span>
  13. <span id="ym_num2">90.34%</span>
  14. <span id="ym_name4">12-18岁疫苗接种率</span>
  15. <span id="ym_num3">99.99%</span>
  16. <span id="ym_name5">18岁以上疫苗接种率</span>
  17. <span id="ym_num4">96.06%</span>
  18. </div>
  19. </template>
  20. <script>
  21. export default {
  22. name: 'VaccinationPage',
  23. components:{
  24. },
  25. data () {
  26. return {
  27. msg: '',
  28. }
  29. },
  30. mounted(){
  31. },
  32. methods:{
  33. }
  34. }
  35. </script>
  36. <style scoped>
  37. #ym_num{
  38. position: absolute;
  39. left: 21%;
  40. top:28%;
  41. font-size: 28px;
  42. color: rgb(251,212,21);
  43. font-weight:bold;
  44. }
  45. #ym_name1{
  46. position: absolute;
  47. left: 26%;
  48. top:16%;
  49. font-size: 12px;
  50. color: rgb(4,185,202);
  51. font-weight:bold;
  52. }
  53. #ym_name2{
  54. position: absolute;
  55. left: 62%;
  56. top:16%;
  57. font-size: 12px;
  58. color: rgb(4,185,202);
  59. font-weight:bold;
  60. }
  61. #ym_name3{
  62. position: absolute;
  63. font-weight:bold;
  64. top:70%;
  65. left: 12%;
  66. font-size: 12px;
  67. }
  68. #ym_name4{
  69. position: absolute;
  70. font-weight:bold;
  71. top:70%;
  72. left: 39%;
  73. font-size: 12px;
  74. }
  75. #ym_name5{
  76. position: absolute;
  77. font-weight:bold;
  78. top:70%;
  79. left: 67%;
  80. font-size: 12px;
  81. }
  82. #ym_num1{
  83. position: absolute;
  84. left: 60%;
  85. top:28%;
  86. font-size: 28px;
  87. color: rgb(251,212,21);
  88. font-weight:bold;
  89. }
  90. #ym_num2{
  91. position: absolute;
  92. left: 16%;
  93. top:78%;
  94. font-size: 20px;
  95. font-weight:bold;
  96. }
  97. #ym_num3{
  98. position: absolute;
  99. left: 43%;
  100. top:78%;
  101. font-size: 20px;
  102. font-weight:bold;
  103. }
  104. #ym_num4{
  105. position: absolute;
  106. left: 72%;
  107. top:78%;
  108. font-size: 20px;
  109. font-weight:bold;
  110. }
  111. #img1{
  112. left: 15%;
  113. top: 6%;
  114. }
  115. #img2{
  116. left: 55%;
  117. top: 6%;
  118. }
  119. #img3{
  120. left: 5%;
  121. bottom: -10%;
  122. }
  123. #img4{
  124. left: 33%;
  125. bottom: -10%;
  126. }
  127. #img5{
  128. right: 4%;
  129. bottom: -10%;
  130. }
  131. .yq_back_img{
  132. position: absolute;
  133. width: 30%;
  134. height: 50%;
  135. }
  136. .yq_border_img{
  137. position: absolute;
  138. width: 35%;
  139. height: 60%;
  140. }
  141. #vaccinationPage{
  142. position: absolute;
  143. bottom:1%;
  144. width: 100%;
  145. height: 18%;
  146. /* background-color: rgb(0, 0, 255,0.1); */
  147. }
  148. </style>