openatc-components 0.2.73 → 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.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openatc-components",
3
- "version": "0.2.73",
3
+ "version": "0.2.74",
4
4
  "description": "A Vue.js project",
5
5
  "author": "openatc developer",
6
6
  "private": false,
@@ -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: 33px;height: 33px;position: relative;border: 1px solid rgba(255, 255, 255, 0.1);margin-right: 7px;">
39
- <xdr-dir-selector :Data="xdrData" :Datas="xdrpedData" Width="42px" Height="42px" Widths="42px" Heights="42px" :showlist="curPhase.showlist" :roadDirection="roadDirection"></xdr-dir-selector>
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: 10px;width: 30px;">P{{curPhase.id}}:</span>
42
- <span style="float: left;font-size: 20px;">{{curPhase.phaseCountdown}}</span>
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;font-size: 20px;color: #fff;width: 70px;">{{$t('openatccomponents.overview.phase')}}{{curPhase.id}}:</span>
104
- <span style="float: left;">{{curPhase.phaseCountdown}}</span>
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: 32PX;
1228
- font-size: 14px;
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: 16PX;
1242
+ padding-left: 14PX;
1240
1243
  padding-top: 10PX;
1241
1244
  padding-bottom: 10PX;
1242
1245
  }