openatc-components 0.1.173 → 0.1.174

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.
@@ -79,12 +79,12 @@
79
79
  </g>
80
80
  <g>
81
81
  <!-- 特殊车道类型 -->
82
- <path
82
+ <!-- <path
83
83
  id="mainroad"
84
84
  v-if="Data.controltype === 0"
85
85
  :fill="chooseIndex === Data.index ? highlightColor : defaultColor"
86
86
  d="m 29.449665,55.157473 1.73734,5.322986 h 0.40494 c 0.91497,0 1.65943,0.745202 1.65943,1.659436 v 3.831845 c 0,0.914968 -0.74446,1.659437 -1.65943,1.659437 h -1.07592 v 1.951933 c 0,0.543836 -0.44315,0.98699 -0.98699,0.98699 h -2.65671 c -0.5431,0 -0.98626,-0.443154 -0.98626,-0.98699 v -1.951933 h -6.87733 v 1.951933 c 0,0.543836 -0.44315,0.98699 -0.98699,0.98699 h -2.65745 c -0.54384,0 -0.98699,-0.443154 -0.98699,-0.98699 v -1.951933 h -1.07591 c -0.91424,0 -1.65871,-0.744469 -1.65871,-1.659437 v -3.831845 c 0,-0.914234 0.74447,-1.659436 1.65871,-1.659436 h 0.40493 l 1.73808,-5.322986 c 0.27191,-0.834128 1.04504,-1.394868 1.92253,-1.394868 h 10.1602 c 0.87675,0 1.65061,0.56074 1.92253,1.394868 z m -2.29293,14.141224 h 2.08863 v -1.66752 h -2.08863 z m -0.73786,-4.715946 c 0,0.347615 0.28295,0.631292 0.63056,0.631292 h 2.73388 c 0.34762,0 0.63056,-0.283677 0.63056,-0.631292 v -1.473503 c 0,-0.347615 -0.28294,-0.630557 -0.63056,-0.630557 h -2.73388 c -0.34761,0 -0.63056,0.282942 -0.63056,0.630557 z m -10.77017,4.715946 h 2.08863 v -1.66752 h -2.08863 z m -1.16925,-4.715946 c 0,0.347615 0.28368,0.631292 0.6313,0.631292 h 2.73314 c 0.34762,0 0.63056,-0.283677 0.63056,-0.631292 v -1.473503 c 0,-0.347615 -0.28294,-0.630557 -0.63056,-0.630557 h -2.73314 c -0.34762,0 -0.6313,0.282942 -0.6313,0.630557 z m 2.88748,-9.549479 c -0.3263,0 -0.61292,0.207981 -0.71433,0.51885 l -1.60873,4.928337 h 14.80632 l -1.60873,-4.928337 c -0.10142,-0.310869 -0.38877,-0.51885 -0.71433,-0.51885 z m 2.46491,1.238331 c 0.2653,0.230763 0.29249,0.632762 0.0632,0.897331 l -2.1195,2.439916 c -0.13155,0.149923 -0.31748,0.224149 -0.50268,0.217534 -0.14037,-0.0044 -0.28074,-0.05585 -0.39391,-0.155067 -0.26531,-0.230763 -0.29323,-0.632026 -0.0632,-0.896595 l 2.11876,-2.439917 c 0.23002,-0.264568 0.63276,-0.292495 0.89733,-0.06321 z m 0.86132,1.442637 c 0.22929,-0.265304 0.63055,-0.296171 0.89659,-0.06762 0.26604,0.228558 0.29691,0.629821 0.0676,0.896596 l -0.94363,1.098697 c -0.12567,0.145513 -0.30425,0.221209 -0.4821,0.221209 -0.14625,0 -0.29397,-0.05071 -0.41449,-0.153597 -0.26604,-0.228559 -0.29544,-0.629822 -0.0669,-0.896596 z"
87
- ></path>
87
+ ></path> -->
88
88
  <path
89
89
  id="sideroad"
90
90
  v-if="Data.controltype === 1"
@@ -212,8 +212,8 @@ export default {
212
212
  Detector: [], // 管理所有检测器
213
213
  DetectorChart: [], // 管理所有检测器统计图
214
214
  motorwayicon: '',
215
- IconLengh: 45,
216
- IconWdith: 100,
215
+ IconLengh: 60,
216
+ IconWdith: 134,
217
217
  textareaW: 200,
218
218
  textareaH: 100,
219
219
  pedW: 206,
@@ -389,8 +389,8 @@ export default {
389
389
  h: this.IconWdith,
390
390
  angle: 0
391
391
  }
392
- this.IconLengh = 45
393
- this.IconWdith = 100
392
+ this.IconLengh = 60
393
+ this.IconWdith = 134
394
394
  let Motorwaysitem = {
395
395
  index: this.index,
396
396
  id: this.motorid,
@@ -18,7 +18,7 @@
18
18
  </div>
19
19
 
20
20
  <div class="phase-icon" v-if="item.direction">
21
- <xdr-dir-selector Width="60px" Height="60px" Widths="50px" Heights="50px" :showlist="getShowlist(item)" :roadDirection="roadDirection"></xdr-dir-selector>
21
+ <xdr-dir-selector :Data="Data" Width="60px" Height="60px" Widths="60px" Heights="60px" :showlist="getShowlist(item)" :roadDirection="roadDirection"></xdr-dir-selector>
22
22
  </div>
23
23
  </div>
24
24
  <div class="single-phase-name">{{$t('openatccomponents.channelizationmap.phase') + item.id}}</div>
@@ -38,7 +38,11 @@ export default {
38
38
  return {
39
39
  preselectPhase: -1,
40
40
  id: 1,
41
- isCanAdd: true
41
+ isCanAdd: true,
42
+ Data: {
43
+ left: '4px',
44
+ top: '3px'
45
+ }
42
46
  }
43
47
  },
44
48
  props: {
@@ -109,7 +113,7 @@ export default {
109
113
  return {
110
114
  id: dir,
111
115
  peddirection: this.getshowped(data.peddirection),
112
- color: '#606266'
116
+ color: '#1E1E1E'
113
117
  }
114
118
  })
115
119
  } else {
@@ -117,7 +121,7 @@ export default {
117
121
  {
118
122
  id: '',
119
123
  peddirection: this.getshowped(data.peddirection),
120
- color: '#606266'
124
+ color: '#1E1E1E'
121
125
  }
122
126
  ]
123
127
  }
@@ -18,7 +18,7 @@
18
18
  </div>
19
19
 
20
20
  <div class="phase-icon" v-if="item.direction">
21
- <xdr-dir-selector Width="50px" Height="50px" Widths="60px" Heights="60px" :showlist="getShowlist(item)" :roadDirection="roadDirection"></xdr-dir-selector>
21
+ <xdr-dir-selector :Data="Data" Width="60px" Height="60px" Widths="60px" Heights="60px" :showlist="getShowlist(item)" :roadDirection="roadDirection"></xdr-dir-selector>
22
22
  </div>
23
23
  </div>
24
24
  <div class="single-phase-name">{{$t('openatccomponents.channelizationmap.phase') + item.id}}</div>
@@ -38,7 +38,11 @@ export default {
38
38
  return {
39
39
  preselectPhase: -1,
40
40
  id: 1,
41
- isCanAdd: true
41
+ isCanAdd: true,
42
+ Data: {
43
+ left: '4px',
44
+ top: '3px'
45
+ }
42
46
  }
43
47
  },
44
48
  props: {
@@ -109,7 +113,7 @@ export default {
109
113
  return {
110
114
  id: dir,
111
115
  peddirection: this.getshowped(data.peddirection),
112
- color: '#606266'
116
+ color: '#1E1E1E'
113
117
  }
114
118
  })
115
119
  } else {
@@ -117,7 +121,7 @@ export default {
117
121
  {
118
122
  id: '',
119
123
  peddirection: this.getshowped(data.peddirection),
120
- color: '#606266'
124
+ color: '#1E1E1E'
121
125
  }
122
126
  ]
123
127
  }
@@ -266,6 +266,7 @@
266
266
  style="enable-background:new 0 0 50 50;"
267
267
  :width="Widths"
268
268
  :height="Heights"
269
+ overflow='visible'
269
270
  xml:space="preserve">
270
271
  <!-- <style type="text/css">
271
272
  .st0{fill:#CBD3DB;}