openatc-components 0.1.110 → 0.1.112

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.1.110",
3
+ "version": "0.1.112",
4
4
  "description": "A Vue.js project",
5
5
  "author": "openatc developer",
6
6
  "private": false,
@@ -183,7 +183,6 @@ export default class RingDataModel {
183
183
  }
184
184
  getStageData () {
185
185
  let data = this.crossStatusData
186
- console.log(data, 'data')
187
186
  let stagesTemp = []
188
187
  let busPhaseData = this.getBusPos()
189
188
  let sidewalkPhaseData = this.getPedPhasePos()
@@ -194,11 +193,12 @@ export default class RingDataModel {
194
193
  let stageControType = 0
195
194
  let peddirections = []
196
195
  for (let stg of stage) {
196
+ let phaseMode = data.phase.filter(item => item.id === stg)
197
197
  let currPhase = this.phaseList.filter((item) => {
198
198
  return item.id === stg
199
199
  })[0]
200
200
  if (!currPhase) return
201
- if (currPhase !== undefined) {
201
+ if (currPhase !== undefined && phaseMode[0].mode !== 1) {
202
202
  directionList = [...currPhase.direction, ...directionList]
203
203
  }
204
204
  if (currPhase.peddirection) {
@@ -11,19 +11,19 @@
11
11
  **/
12
12
  /* 改变主题色变量 */
13
13
  // $--color-black: #f7f8fa;
14
- $--color-primary: #409EFF;
15
- $--color-white: #202940;
16
- $--color-black: #30384D;
17
- $--background-color-base: #191F34;
14
+ $--color-primary: #299BCC;
15
+ $--color-white: #102C4E;
16
+ $--color-black: #243D59;
17
+ $--background-color-base: #0C2137;
18
18
  $--color-text-primary: #FFFFFF;
19
19
  $--color-text-regular: #FFFFFF;
20
20
  $--color-text-secondary: #B9BABF;
21
21
  $--color-text-placeholder: #8D9498;
22
22
  $--color-info: #8D9498;
23
- $--border-color-base: #30384D;
24
- $--border-color-light: #30384D;
25
- $--border-color-lighter: #30384D;
26
- $--border-color-extra-light:#30384D;
23
+ $--border-color-base: #243D59;
24
+ $--border-color-light: #61697B;
25
+ $--border-color-lighter: #243D59;
26
+ $--border-color-extra-light:#243D59;
27
27
  $--box-shadow-base: 0 2px 4px 0 rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);
28
28
  $--button-primary-font-color: #FFFFFF;
29
29
  $--button-info-font-color: #FFFFFF;
@@ -11,7 +11,7 @@
11
11
  **/
12
12
  /* 改变主题色变量 */
13
13
  $--color-black: #f7f8fa;
14
- // $--color-primary: #409EFF;
14
+ $--color-primary: #299BCC;
15
15
  // $--color-white: #202940;
16
16
  // $--color-black: #30384D;
17
17
  // $--background-color-base: #191F34;