1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <template>
- <div class="band">
- <div class="box">
- <div class="box_header">母猪存栏走势</div>
- <div class="box_content">
- <chart-mzcl></chart-mzcl>
- </div>
- </div>
- <div class="box">
- <div class="box_header">母猪存栏走势</div>
- <div class="box_main">
- <chart-mzxz></chart-mzxz>
- </div>
- </div>
- <div class="box">
- <div class="box_header">公猪存栏走势</div>
- <div class="box_main">
- <chart-gzxz></chart-gzxz>
- </div>
- </div>
- </div>
- </template>
- <script>
- import chartMzcl from "./chart/chartMzcl";
- import chartMzxz from "./chart/chartMzxz";
- import chartGzxz from "./chart/chartGzxz";
- export default {
- name: "hand",
- components: {
- chartMzcl,
- chartMzxz,
- chartGzxz
- },
- }
- </script>
- <style scoped>
- .band {
- width: 100%;
- box-sizing: border-box;
- padding: 20px 10px;
- }
- .box {
- border: 1px solid #ddd;
- box-sizing: border-box;
- margin-bottom: 20px;
- }
- .box_header {
- box-sizing: border-box;
- padding: 10px 20px;
- background-color: #F3F3F3;
- height: 50px;
- border-bottom: 1px solid #ddd;
- }
- .box_content {
- box-sizing: border-box;
- padding: 10px 20px;
- background-color: #fff;
- height: 500px;
- }
- .box_main {
- box-sizing: border-box;
- padding: 10px 20px;
- background-color: #fff;
- height: 340px;
- }
- </style>
|