1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
| <template>
| <div class="home">
| <div class="left">
| <div class="farm-info">
| 农场概览
| </div>
| <div class="farm-variety">
| 当前种养品种
| </div>
| </div>
| <div class="right">
| <div class="production">生成管理</div>
| <div class="statistics">生成统计</div>
| <div class="repertory">农资库存</div>
| </div>
|
| </div>
| </template>
|
| <script>
| import {mapGetters} from "vuex";
|
| export default {
| name: "wel",
| data() {
| return {
| };
| },
| computed: {
| ...mapGetters(["userInfo"]),
| },
| methods: {
| handleChange(val) {
| window.console.log(val);
| }
| },
| };
| </script>
|
| <style lang="scss" scope>
| .el-font-size {
| font-size: 14px;
| }
|
| .home{
| width: 100%;
| height: 100%;
| display: flex;
| flex-direction: row;
|
| .left{
| margin-left: 1%;
| width: 71%;
| height: 100%;
|
|
| .farm-info{
| width: 100%;
| height: 30%;
| background-color:#fff ;
| border-radius: 5px;
| }
|
| .farm-variety{
| margin-top: 15px;
| width: 100%;
| height: 65%;
| background-color:#fff ;
| border-radius: 5px;
| }
| }
|
| .right{
| width: 26%;
| height: 100%;
| margin-left: 1%;
|
| .production{
| width: 100%;
| height: 30%;
| background-color:#fff ;
| border-radius: 5px;
| }
| .statistics{
| margin-top: 15px;
| width: 100%;
| height: 20%;
| background-color:#fff ;
| border-radius: 5px;
| }
| .repertory{
| margin-top: 15px;
| width: 100%;
| height: 20%;
| background-color:#fff ;
| border-radius: 5px;
| }
| }
| }
| </style>
|
|