openatc-components 0.1.183 → 0.1.185

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.
@@ -803,6 +803,16 @@ export default {
803
803
  let ringTeam = this.step1(this.phaseList, resArr)
804
804
  let ringTeams = ringTeam.filter(item => item.length !== 0)
805
805
  this.fillGap(ringTeams, val)
806
+ // 总览添加屏障
807
+ let newPattern = []
808
+ val.map(i => {
809
+ newPattern.push(...i)
810
+ })
811
+ let barrier = this.step2(ringTeams, newPattern)
812
+ let barrierLeft = barrier.map(item => item - 0.3)
813
+ this.barrierList = barrierLeft.map(j => {
814
+ return (j / (this.max ? this.max : this.contrloCycle) * 100) + '%'
815
+ })
806
816
  }
807
817
  // let cycle = this.controlData.cycle
808
818
  for (let rings of val) {
@@ -1406,26 +1416,26 @@ export default {
1406
1416
  width: 3px;
1407
1417
  // height: 99px;
1408
1418
  z-index: 999;
1409
- background-color:black;
1410
- }
1411
- .curTimeLine {
1412
- position: absolute;
1413
- top: -10px;
1414
- width: 4px;
1415
- background-color: black;
1416
- }
1417
- .curTimeDiv {
1418
- position: absolute;
1419
- z-index:50;
1420
- top: -21px;
1421
- margin-left: -10px;
1422
- text-align:center;
1423
- vertical-align: middle;
1424
- width: 60px;
1425
- height: 19px;
1426
- color:#FFFFFF;
1427
- background-color: black;
1419
+ background-color:#B9BABF;
1428
1420
  }
1421
+ // .curTimeLine {
1422
+ // position: absolute;
1423
+ // top: -10px;
1424
+ // width: 4px;
1425
+ // background-color: black;
1426
+ // }
1427
+ // .curTimeDiv {
1428
+ // position: absolute;
1429
+ // z-index:50;
1430
+ // top: -21px;
1431
+ // margin-left: -10px;
1432
+ // text-align:center;
1433
+ // vertical-align: middle;
1434
+ // width: 60px;
1435
+ // height: 19px;
1436
+ // color:black;
1437
+ // // background-color: black;
1438
+ // }
1429
1439
  }
1430
1440
  .ring-first {
1431
1441
  margin-top: 1px;