#
vincent
2020-05-30 a5c50ff60d14cad5ff27bfcade405c796f9ab0d3
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
html {
    height: 100%;
}
 
body {
    height: 100%;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 3px rgba(0,0,0,.3);
}
 
/* ------------------------------------ 头部 ------------------------------------*/
header {
    height: 20%;
    border: 1px solid red;
    text-align: center;
    opacity: 0.8;
    position: relative;
}
header h1 {
    margin: 0;
    letter-spacing: 2px;
}
 
/* 状态显示 */
.machine-state {
    text-align: left;
}
.crn-state-group {
    margin-bottom: 5px;
}
/* 堆垛机状态 */
.crn-state {
    display: inline-block;
    width: 50px;
    text-align: center;
}
/* 站点状态 */
.site-state {
    display: inline-block;
    width: 50px;
    text-align: center;
}
 
/* ------------------------------------ 主体 ------------------------------------*/
main {
    height: 80%;
    position: relative;
}
 
/* ------------------ 输送线总成 ------------------ */
.site-row {
    position: absolute;
    top: 122px;
}
/* 输送线第一列 */
.site-row-1 {
    left: 400px;
}
.site-row-1 .site {
    width: 100px;
}
/* 输送线第二列 */
.site-row-2 {
    left: 500px;
}
.site-row-2 .site {
    width: 100px;
}
/* 输送线第三列 */
.site-row-3 {
    left: 600px;
    width: 100px;
}
.site-row-3 .site {
    float: left;
    width: 100px;
}
/* 输送线第四列 */
.site-row-4 {
    left: 700px;
    width: 100px;
}
.site-row-4 .site {
    float: right;
    width: 100px;
}
 
/* 站点 */
.site {
    color: #333;
    height: 20px;
    border: 1px solid #fff;
    cursor: pointer;
    width: 50px;
    text-align: center;
    background-color: #21ff3a;
    font-size: 13px;
}
/* 无效站点(必须在site下面) */
.site-none {
    border: none;
    background-color: transparent;
}
 
/* ------------------ 货架总成 ------------------ */
.main-part {
    position: absolute;
    top: 250px;
    left: 600px;
}
 
/* 排号 */
.row-no {
    margin-left: 80px;
}
 
/* 库位组 */
.stock-group .item {
    float: left;
    border-top: 1px solid #333!important;
    border-bottom: 1px solid #333!important;
    border-left: 1px solid #333!important;
    border-right: 1px solid #333!important;
    border-right: none;
}
.stock-group .item:last-child {
    /*border-right: 1px solid #333!important;*/
}
.stock-group::after, .stock-group::before {
    content: "";
    display: table;
    clear: both;
}
.stock-group .site {
    width: 80px;
    float: left;
}
button.item {
    font-size: 13px;
    padding: 1px 1px 1px 1px;
    width: 30px;
    height: 20px;
    outline: none;
    cursor: pointer;
    color: #333;
    background-color: transparent;
    transition: 0.4s;
}
button.item:hover {
    background-color: #333;
    color: #fff;
}
 
/* 堆垛机 */
.machine {
    margin-left: 30px;
    position: relative;
    background-color: #fff;
    height: 20px;
    width: 80px;
    background-image: url("../image/Crane_auto.png");
    background-repeat: no-repeat;
    background-size:100% 100%;
    background-position: top center;
    cursor: pointer;
}
 
/* 堆垛机轨道 */
.pathway {
    margin-left: 30px;
    border: 1px solid #333;
    position: absolute;
    background-color:#333!important;
    color: #333 !important;
    width: 90%;
    margin-top: 10px;
    z-index: -1;
}
 
 
/* 输送线相关 */
.site:hover {
    opacity: 0.7;
}
 
 
/* 动画 */
/*.machine {*/
    /*position: relative;*/
    /*-webkit-animation: machine 2s;*/
    /*animation: machine 2s;*/
    /*animation-fill-mode: forwards;*/
/*}*/
/*@-webkit-keyframes machine {*/
    /*from {left: 0;}*/
    /*to {left: 100px}*/
/*}*/
/*@keyframes animationCrn {*/
    /*from {left: 0}*/
    /*to {left: 100px}*/
/*}*/