Yield.vue 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  1. <template>
  2. <div class="Yield">
  3. <header>
  4. <!-- <h1 class="title">湖羊全产业链数字化管理系统</h1> -->
  5. <hy-header :navTag="3"></hy-header>
  6. </header>
  7. <section>
  8. <div class="left">
  9. <div class="left_chart">
  10. <E-Left1 style="height: 50%; width: 95%"></E-Left1>
  11. <E-Left2 style="height: 50%; width: 95%"></E-Left2>
  12. </div>
  13. <div class="left_title">
  14. <div class="item">
  15. <div>
  16. <span class="title">存栏量:</span>
  17. <span class="num">11.09</span>
  18. <span class="unit">万只</span>
  19. </div>
  20. </div>
  21. <div class="item">
  22. <div>
  23. <span class="title">出栏量:</span>
  24. <span class="num">6.83</span>
  25. <span class="unit">万只</span>
  26. </div>
  27. </div>
  28. <div class="item">
  29. <div>
  30. <span class="title">种羊价:</span>
  31. <span class="num">53</span>
  32. <span class="unit">元/kg</span>
  33. </div>
  34. </div>
  35. <div class="item">
  36. <div>
  37. <span class="title">肉羊价:</span>
  38. <span class="num">33</span>
  39. <span class="unit">元/kg</span>
  40. </div>
  41. </div>
  42. <div class="item">
  43. <div>
  44. <span class="title">产肉量:</span>
  45. <span class="num">1145.65</span>
  46. <span class="unit">吨</span>
  47. </div>
  48. </div>
  49. <div class="item">
  50. <div>
  51. <span class="title">产值:</span>
  52. <span class="num">1.13</span>
  53. <span class="unit">亿元</span>
  54. </div>
  55. </div>
  56. </div>
  57. </div>
  58. <div class="center">
  59. <!-- <E-MiddleMap style="height: 100%"></E-MiddleMap> -->
  60. <img src="../../assets/9bce2ea1dc3f5a0faeae227ad9ee24c.png" style="height: 100%; width: 100%">
  61. </div>
  62. <div class="right">
  63. <div class="warp">
  64. <div class="cell cell1">
  65. <img
  66. src="../../assets/u871.jpg"
  67. width="80%"
  68. height="80%"
  69. />
  70. </div>
  71. <div class="cell e_cell">
  72. <E-Right1 style="height: 100%"></E-Right1>
  73. </div>
  74. </div>
  75. <div class="warp">
  76. <div class="cell cell2">
  77. <img
  78. src="../../assets/u871.jpg"
  79. width="80%"
  80. height="80%"
  81. />
  82. </div>
  83. <div class="cell e_cell">
  84. <E-Right2 style="height: 100%"></E-Right2>
  85. </div>
  86. </div>
  87. </div>
  88. </section>
  89. <footer>
  90. <div class="cell_one">
  91. <E-Bottom1 style="height: 100%"></E-Bottom1>
  92. </div>
  93. <div class="cell_two">
  94. <E-Bottom2 style="height: 100%"></E-Bottom2>
  95. </div>
  96. <div class="cell_three">
  97. <E-Bottom3 style="height: 100%"></E-Bottom3>
  98. </div>
  99. <div class="cell_four">
  100. <E-Bottom4 style="height: 100%"></E-Bottom4>
  101. </div>
  102. </footer>
  103. </div>
  104. </template>
  105. <script>
  106. import HyHeader from "@/components/HyHeader";
  107. import ELeft1 from "./charts/ELeft1";
  108. import ELeft2 from "./charts/ELeft2";
  109. import ERight1 from "./charts/ERight1";
  110. import ERight2 from "./charts/ERight2";
  111. import EBottom1 from "./charts/EBottom1";
  112. import EBottom2 from "./charts/EBottom2";
  113. import EBottom3 from "./charts/EBottom3";
  114. import EBottom4 from "./charts/EBottom4";
  115. import EMiddleMap from "./charts/EMiddleMap";
  116. export default {
  117. name: "Yield",
  118. components: {
  119. HyHeader,
  120. ELeft1,
  121. ELeft2,
  122. ERight1,
  123. ERight2,
  124. EBottom1,
  125. EBottom2,
  126. EMiddleMap,
  127. EBottom3,
  128. EBottom4,
  129. },
  130. data() {
  131. return {};
  132. },
  133. created() {
  134. document.title = "湖羊养殖";
  135. },
  136. methods: {},
  137. };
  138. </script>
  139. <style lang="scss" scope>
  140. .Yield {
  141. background-image: url(../../assets/bg.png);
  142. background-size: 100% 100%;
  143. background-repeat: no-repeat;
  144. height: 100%;
  145. display: flex;
  146. flex-direction: column;
  147. // > header {
  148. // height: 180px;
  149. // display: flex;
  150. // justify-content: center;
  151. // .title {
  152. // // border: 1px solid rgb(218, 99, 99);
  153. // background: url(../../assets/bg_header.png) no-repeat;
  154. // background-size: 100% 100%;
  155. // width: 80%;
  156. // height: 100%;
  157. // font-size: 50px;
  158. // line-height: 110px;
  159. // color: #fff;
  160. // display: flex;
  161. // justify-content: center;
  162. // }
  163. // }
  164. > section {
  165. // border: 1px solid rgb(62, 58, 128);
  166. height: 61%;
  167. display: flex;
  168. > .left {
  169. width: 35%;
  170. display: flex;
  171. .left_chart {
  172. width: 57%;
  173. flex-grow: 1;
  174. display: flex;
  175. flex-direction: column;
  176. }
  177. .left_title {
  178. margin: 40px 0 60px 0;
  179. width: 43%;
  180. display: flex;
  181. flex-direction: column;
  182. justify-content: space-around;
  183. .item {
  184. border-radius: 20px;
  185. height: 90px;
  186. min-width: 400px;
  187. max-width: 500px;
  188. border: 4px solid #53bafd;
  189. box-sizing: border-box;
  190. margin: 20px 60px;
  191. font-size: 35px;
  192. font-weight: 600;
  193. display: flex;
  194. align-items: center;
  195. justify-content: center;
  196. .title {
  197. color: #fff;
  198. }
  199. .num {
  200. color: #53bafd;
  201. font-size: 1.2em;
  202. }
  203. .unit {
  204. color: #53bafd;
  205. font-size: 20px;
  206. margin-left: 15px;
  207. }
  208. }
  209. }
  210. }
  211. > .center {
  212. width: 30%;
  213. // border: 1px solid rgb(163, 147, 58);
  214. }
  215. > .right {
  216. width: 35%;
  217. // border: 1px solid rgb(23, 131, 116);
  218. display: flex;
  219. flex-direction: column;
  220. justify-content: space-between;
  221. > .warp {
  222. height: 48%;
  223. display: flex;
  224. justify-content: space-between;
  225. > .cell {
  226. width: 40.5%;
  227. background-image: url(../../assets/download.png);
  228. background-size: 100% 100%;
  229. background-repeat: no-repeat;
  230. }
  231. > .e_cell {
  232. width: 57%;
  233. }
  234. > .cell1,
  235. .cell2 {
  236. display: flex;
  237. align-items: center;
  238. justify-content: center;
  239. }
  240. }
  241. }
  242. }
  243. > footer {
  244. flex-grow: 1;
  245. display: flex;
  246. justify-content: space-between;
  247. // > div {}
  248. .cell_one {
  249. // border: 1px solid rgb(126, 95, 38);
  250. width: 20%;
  251. }
  252. .cell_two {
  253. // border: 1px solid rgb(61, 90, 38);
  254. width: 27%;
  255. }
  256. .cell_three {
  257. // border: 1px solid rgb(176, 86, 204);
  258. width: 27%;
  259. }
  260. .cell_four {
  261. // border: 1px solid rgb(218, 99, 99);
  262. width: 20%;
  263. }
  264. }
  265. }
  266. </style>