openatc-components 0.3.1 → 0.3.11

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.
@@ -19,8 +19,9 @@
19
19
  <xdrdirselector
20
20
  Width="75PX"
21
21
  Height="75PX"
22
- Widths="95PX"
22
+ Widths="65PX"
23
23
  Heights="65PX"
24
+ :Data="Data"
24
25
  :showlist="ring.desc"
25
26
  :roadDirection="roadDirection"></xdrdirselector>
26
27
  <div class="num">{{ring.id}}</div>
@@ -38,6 +39,7 @@
38
39
  Height="75PX"
39
40
  Widths="65PX"
40
41
  Heights="65PX"
42
+ :Datas="Datas"
41
43
  :showlist="ring.desc"
42
44
  :roadDirection="roadDirection"></xdrdirselector>
43
45
  <div class="num">{{ring.id}}</div>
@@ -81,6 +83,14 @@ export default {
81
83
  },
82
84
  data () {
83
85
  return {
86
+ Data: {
87
+ left: '10PX',
88
+ top: '10PX'
89
+ },
90
+ Datas: {
91
+ left: '12PX',
92
+ top: '8PX'
93
+ },
84
94
  themeColor: getTheme() === 'light' ? '#606266' : '#fff',
85
95
  backgroundBase: getTheme() === 'light' ? '#606266' : '#fff',
86
96
  backgroundSelected: getTheme() === 'light' ? '#606266' : '#fff',
@@ -88,6 +98,7 @@ export default {
88
98
  pedPhaseList: [],
89
99
  phaseDirection: [],
90
100
  pedDirection: [],
101
+ style: {},
91
102
  params: {
92
103
  'phases':
93
104
  [
@@ -147,6 +158,9 @@ export default {
147
158
  }
148
159
  },
149
160
  methods: {
161
+ getStyle (ring) {
162
+ return this.style
163
+ },
150
164
  onCardClick (item, index) {
151
165
  item.selected = !item.selected
152
166
  let res = this.getParams()