openatc-components 0.2.72 → 0.2.74
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.
- package/package/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +14 -11
- package/package/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +8 -0
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/i18n/language/en.js +2 -0
- package/src/i18n/language/zh.js +2 -0
- package/src/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +14 -11
- package/src/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +8 -0
- package/src/views/overView.vue +1 -1
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
<div class="phaseCountdown" v-show="isShowInterval" v-if="isLoaded && isHasPhase && isHasCountdown" :class="{'countdownBg': isLoaded}">
|
|
36
36
|
<div v-for="curPhase in phaseCountdownList" :key="curPhase.id" :style="{color: curPhase.phaseCountdownColor}">
|
|
37
37
|
<div v-if="curPhase.phaseCountdown !== undefined && curPhase.phaseCountdown !== -1" style="overflow: hidden;margin-bottom: 4px;">
|
|
38
|
-
<span style="float: left;width:
|
|
39
|
-
<xdr-dir-selector :Data="xdrData" :Datas="xdrpedData" Width="
|
|
38
|
+
<span style="float: left;width: 42px;height: 42px;position: relative;border: 1px solid rgba(255, 255, 255, 0.1);margin-right: 5px;">
|
|
39
|
+
<xdr-dir-selector :Data="xdrData" :Datas="xdrpedData" Width="55px" Height="55px" Widths="55px" Heights="55px" :showlist="curPhase.showlist" :roadDirection="roadDirection"></xdr-dir-selector>
|
|
40
40
|
</span>
|
|
41
|
-
<span style="float: left;color: #fff;margin-right:
|
|
42
|
-
<span style="float: left;font-size:
|
|
41
|
+
<span style="float: left;color: #fff;margin-right: 8px;width: 30px;">P{{curPhase.id}}:</span>
|
|
42
|
+
<span style="float: left;font-size: 25px;">{{curPhase.phaseCountdown}}</span>
|
|
43
43
|
</div>
|
|
44
44
|
</div>
|
|
45
45
|
</div>
|
|
@@ -97,11 +97,14 @@
|
|
|
97
97
|
<div class="left-dir-road" v-if="roadDir === 'left'">
|
|
98
98
|
<div class="centerText" v-if="mainType === '100' || mainType === '101'" :class="{'countdownBg': isLoaded}">
|
|
99
99
|
<!-- 相位倒计时 -->
|
|
100
|
-
<div class="phaseCountdown" v-if="isLoaded && isHasPhase">
|
|
100
|
+
<div class="phaseCountdown" v-show="isShowInterval" v-if="isLoaded && isHasPhase && isHasCountdown" :class="{'countdownBg': isLoaded}">
|
|
101
101
|
<div v-for="curPhase in phaseCountdownList" :key="curPhase.id" :style="{color: curPhase.phaseCountdownColor}">
|
|
102
|
-
<div v-if="curPhase.phaseCountdown !== -1">
|
|
103
|
-
<span style="float: left;
|
|
104
|
-
|
|
102
|
+
<div v-if="curPhase.phaseCountdown !== undefined && curPhase.phaseCountdown !== -1" style="overflow: hidden;margin-bottom: 4px;">
|
|
103
|
+
<span style="float: left;width: 42px;height: 42px;position: relative;border: 1px solid rgba(255, 255, 255, 0.1);margin-right: 5px;">
|
|
104
|
+
<xdr-dir-selector :Data="xdrData" :Datas="xdrpedData" Width="55px" Height="55px" Widths="55px" Heights="55px" :showlist="curPhase.showlist" :roadDirection="roadDirection"></xdr-dir-selector>
|
|
105
|
+
</span>
|
|
106
|
+
<span style="float: left;color: #fff;margin-right: 8px;width: 30px;">P{{curPhase.id}}:</span>
|
|
107
|
+
<span style="float: left;font-size: 25px;">{{curPhase.phaseCountdown}}</span>
|
|
105
108
|
</div>
|
|
106
109
|
</div>
|
|
107
110
|
</div>
|
|
@@ -1224,8 +1227,8 @@ export default {
|
|
|
1224
1227
|
/* padding-left: 16px; */
|
|
1225
1228
|
}
|
|
1226
1229
|
.phaseCountdown {
|
|
1227
|
-
line-height:
|
|
1228
|
-
font-size:
|
|
1230
|
+
line-height: 42PX;
|
|
1231
|
+
font-size: 18px;
|
|
1229
1232
|
font-weight: normal;
|
|
1230
1233
|
font-stretch: normal;
|
|
1231
1234
|
letter-spacing: 0px;
|
|
@@ -1236,7 +1239,7 @@ export default {
|
|
|
1236
1239
|
.countdownBg {
|
|
1237
1240
|
border-radius: 10PX;
|
|
1238
1241
|
background-color: rgba(94, 90, 90, 0.8);
|
|
1239
|
-
padding-left:
|
|
1242
|
+
padding-left: 14PX;
|
|
1240
1243
|
padding-top: 10PX;
|
|
1241
1244
|
padding-bottom: 10PX;
|
|
1242
1245
|
}
|
|
@@ -49,6 +49,14 @@
|
|
|
49
49
|
<div style="float: left;" class="cross-name">{{$t('openatccomponents.overview.platform')}}:</div>
|
|
50
50
|
<div style="margin-left: 85px;" class="cross-value">{{platform}}</div>
|
|
51
51
|
</div>
|
|
52
|
+
<div class="cross-content" v-if="controlData.current_stagecd !== undefined">
|
|
53
|
+
<div style="float: left;" class="cross-name">{{$t('openatccomponents.overview.stagecountdown')}}:</div>
|
|
54
|
+
<div style="margin-left: 85px;" class="cross-value">{{controlData.current_stagecd}}</div>
|
|
55
|
+
</div>
|
|
56
|
+
<div class="cross-content" v-if="controlData.stages_len">
|
|
57
|
+
<div style="float: left;" class="cross-name">{{$t('openatccomponents.overview.stageduration')}}:</div>
|
|
58
|
+
<div style="margin-left: 85px;" class="cross-value">{{controlData.stages_len + ''}}</div>
|
|
59
|
+
</div>
|
|
52
60
|
<div class="cross-content">
|
|
53
61
|
<div style="float: left;" class="cross-name">{{$t('openatccomponents.overview.faultinfo')}}:</div>
|
|
54
62
|
<div style="margin-left: 85px;" v-if="curFaultList.length">
|