openatc-components 0.1.182 → 0.1.183
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
</div>
|
|
50
50
|
</div>
|
|
51
51
|
<div v-show="(this.curtime>0 && cycle && cycle>0) || (this.curtime>0 && newCycle && newCycle>0)">
|
|
52
|
-
<div class="curTimeDiv" :style="{'left':paddingLeft
|
|
52
|
+
<div class="curTimeDiv" :style="{'left':paddingLeft }">{{ timeNumDevide }}</div>
|
|
53
53
|
<div class="curTimeLine" :style="{'left':paddingLeft, 'height':barrierHeight}"></div>
|
|
54
54
|
</div>
|
|
55
55
|
</div>
|
|
@@ -188,12 +188,14 @@ export default {
|
|
|
188
188
|
timeNumDevide () {
|
|
189
189
|
if (this.contrloCycle > 0) {
|
|
190
190
|
// let res = (this.contrloCycle - this.syncTime) + '/' + this.contrloCycle
|
|
191
|
-
let res = this.curtime + '/' + (this.fixCycle ? this.fixCycle : this.max ? this.max : this.contrloCycle)
|
|
191
|
+
// let res = this.curtime + '/' + (this.fixCycle ? this.fixCycle : this.max ? this.max : this.contrloCycle)
|
|
192
|
+
let res = this.curtime
|
|
192
193
|
return res
|
|
193
194
|
}
|
|
194
195
|
if (this.cycles > 0) {
|
|
195
196
|
// let res = (this.cycles - this.syncTime) + '/' + this.cycles
|
|
196
|
-
let res = this.curtime + '/' + (this.fixCycle ? this.fixCycle : this.max ? this.max : this.contrloCycle)
|
|
197
|
+
// let res = this.curtime + '/' + (this.fixCycle ? this.fixCycle : this.max ? this.max : this.contrloCycle)
|
|
198
|
+
let res = this.curtime
|
|
197
199
|
return res
|
|
198
200
|
}
|
|
199
201
|
}
|
|
@@ -1404,25 +1406,25 @@ export default {
|
|
|
1404
1406
|
width: 3px;
|
|
1405
1407
|
// height: 99px;
|
|
1406
1408
|
z-index: 999;
|
|
1407
|
-
background-color
|
|
1409
|
+
background-color:black;
|
|
1408
1410
|
}
|
|
1409
1411
|
.curTimeLine {
|
|
1410
1412
|
position: absolute;
|
|
1411
1413
|
top: -10px;
|
|
1412
|
-
width:
|
|
1413
|
-
background-color:
|
|
1414
|
+
width: 4px;
|
|
1415
|
+
background-color: black;
|
|
1414
1416
|
}
|
|
1415
1417
|
.curTimeDiv {
|
|
1416
1418
|
position: absolute;
|
|
1417
1419
|
z-index:50;
|
|
1418
1420
|
top: -21px;
|
|
1419
|
-
margin-left: -
|
|
1421
|
+
margin-left: -10px;
|
|
1420
1422
|
text-align:center;
|
|
1421
1423
|
vertical-align: middle;
|
|
1422
1424
|
width: 60px;
|
|
1423
1425
|
height: 19px;
|
|
1424
1426
|
color:#FFFFFF;
|
|
1425
|
-
background-color:
|
|
1427
|
+
background-color: black;
|
|
1426
1428
|
}
|
|
1427
1429
|
}
|
|
1428
1430
|
.ring-first {
|