hand.vue 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <template>
  2. <div class="band">
  3. <div class="box">
  4. <div class="box_header">母猪存栏走势</div>
  5. <div class="box_content">
  6. <chart-mzcl></chart-mzcl>
  7. </div>
  8. </div>
  9. <div class="box">
  10. <div class="box_header">母猪存栏走势</div>
  11. <div class="box_main">
  12. <chart-mzxz></chart-mzxz>
  13. </div>
  14. </div>
  15. <div class="box">
  16. <div class="box_header">公猪存栏走势</div>
  17. <div class="box_main">
  18. <chart-gzxz></chart-gzxz>
  19. </div>
  20. </div>
  21. </div>
  22. </template>
  23. <script>
  24. import chartMzcl from "./chart/chartMzcl";
  25. import chartMzxz from "./chart/chartMzxz";
  26. import chartGzxz from "./chart/chartGzxz";
  27. export default {
  28. name: "hand",
  29. components: {
  30. chartMzcl,
  31. chartMzxz,
  32. chartGzxz
  33. },
  34. }
  35. </script>
  36. <style scoped>
  37. .band {
  38. width: 100%;
  39. box-sizing: border-box;
  40. padding: 20px 10px;
  41. }
  42. .box {
  43. border: 1px solid #ddd;
  44. box-sizing: border-box;
  45. margin-bottom: 20px;
  46. }
  47. .box_header {
  48. box-sizing: border-box;
  49. padding: 10px 20px;
  50. background-color: #F3F3F3;
  51. height: 50px;
  52. border-bottom: 1px solid #ddd;
  53. }
  54. .box_content {
  55. box-sizing: border-box;
  56. padding: 10px 20px;
  57. background-color: #fff;
  58. height: 500px;
  59. }
  60. .box_main {
  61. box-sizing: border-box;
  62. padding: 10px 20px;
  63. background-color: #fff;
  64. height: 340px;
  65. }
  66. </style>