openatc-components 0.4.58 → 0.4.60

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.
Files changed (450) hide show
  1. package/.babelrc +18 -18
  2. package/.editorconfig +9 -9
  3. package/.eslintignore +5 -5
  4. package/.eslintrc.js +31 -31
  5. package/.postcssrc.js +10 -10
  6. package/README.md +30 -30
  7. package/build/build.js +41 -41
  8. package/build/check-versions.js +54 -54
  9. package/build/package.config.js +58 -58
  10. package/build/package.dev.config.js +107 -107
  11. package/build/package.prod.config.js +160 -160
  12. package/build/utils.js +101 -101
  13. package/build/vue-loader.conf.js +22 -22
  14. package/build/webpack.base.conf.js +120 -120
  15. package/build/webpack.dev.conf.js +95 -95
  16. package/build/webpack.prod.conf.js +149 -149
  17. package/config/dev.env.js +8 -8
  18. package/config/index.js +94 -94
  19. package/config/prod.env.js +5 -5
  20. package/config/test.env.js +7 -7
  21. package/index.html +12 -12
  22. package/package/kisscomps/components/BoardCard/BoardCard.vue +133 -133
  23. package/package/kisscomps/components/ChannelRealtimeIntersection/ChannelRealtimeIntersection.vue +123 -123
  24. package/package/kisscomps/components/Channelization/Channelization.vue +585 -585
  25. package/package/kisscomps/components/ChannelizationFlowStatistic/ChannelizationFlowStatistic.vue +360 -360
  26. package/package/kisscomps/components/ChannelizationWithInterface/ChannelizationWithInterface.vue +518 -518
  27. package/package/kisscomps/components/CommonKanban/CommonKanban.vue +132 -132
  28. package/package/kisscomps/components/DirectionListConfiguration/DirectionListConfiguration.vue +456 -456
  29. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-east-bottom.vue +41 -41
  30. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-east-top.vue +60 -60
  31. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-ewped.vue +105 -105
  32. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-north-left.vue +60 -60
  33. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-north-right.vue +60 -60
  34. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-snped.vue +105 -105
  35. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-south-left.vue +60 -60
  36. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-south-right.vue +60 -60
  37. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-west-bottom.vue +60 -60
  38. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-west-top.vue +60 -60
  39. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-xlped.vue +30 -30
  40. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-xrped.vue +30 -30
  41. package/package/kisscomps/components/DirectionListConfiguration/svg/pedSvg.vue +78 -78
  42. package/package/kisscomps/components/DrawChannelization/drawsvg/basicCoordInfo.vue +181 -181
  43. package/package/kisscomps/components/DrawChannelization/drawsvg/channelizationElements.vue +255 -255
  44. package/package/kisscomps/components/DrawChannelization/drawsvg/detectorAssociatedComponent.vue +152 -152
  45. package/package/kisscomps/components/DrawChannelization/drawsvg/drawElement/TextBox.vue +91 -91
  46. package/package/kisscomps/components/DrawChannelization/drawsvg/drawElement/crossMap.vue +194 -194
  47. package/package/kisscomps/components/DrawChannelization/drawsvg/drawElement/editText.vue +108 -108
  48. package/package/kisscomps/components/DrawChannelization/drawsvg/firstImportCrossmap.vue +51 -51
  49. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/countdownSvg.vue +236 -236
  50. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorChart.vue +247 -247
  51. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorIconSvg.vue +210 -210
  52. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/laneIcon.vue +72 -72
  53. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +368 -368
  54. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/pedroadIconSvg.vue +230 -230
  55. package/package/kisscomps/components/DrawChannelization/drawsvg/importDialog.vue +74 -74
  56. package/package/kisscomps/components/DrawChannelization/drawsvg/index.draw.vue +1022 -1022
  57. package/package/kisscomps/components/DrawChannelization/drawsvg/index.vue +144 -144
  58. package/package/kisscomps/components/DrawChannelization/drawsvg/laneEditPanel.vue +707 -707
  59. package/package/kisscomps/components/DrawChannelization/drawsvg/overlapAssociatedComponent.vue +172 -172
  60. package/package/kisscomps/components/DrawChannelization/drawsvg/phaseAssociatedComponent.vue +172 -172
  61. package/package/kisscomps/components/DrawChannelization/drawsvg/table.vue +99 -99
  62. package/package/kisscomps/components/DrawChannelization/drawsvg/utils/loadutils.js +87 -87
  63. package/package/kisscomps/components/DrawChannelization/drawsvg/utils/phaseDataModel.js +32 -32
  64. package/package/kisscomps/components/DrawChannelization/drawsvg/utils/phasePos.json +20 -20
  65. package/package/kisscomps/components/DrawChannelization/phaseDataMgr.js +278 -278
  66. package/package/kisscomps/components/ExpendConfig/ExpendConfig.vue +118 -118
  67. package/package/kisscomps/components/FaultDetailModal/FaultDetailModal.vue +178 -178
  68. package/package/kisscomps/components/IntersectionDirectionSelection/IntersectionDirectionSelection.vue +162 -162
  69. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/CrossRoadsSvg.vue +629 -629
  70. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/CustomRoadsSvg.vue +46 -46
  71. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/PedSectionEWSvg.vue +447 -447
  72. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/PedSectionSNSvg.vue +341 -341
  73. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampEastSvg.vue +497 -497
  74. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampNorthSvg.vue +353 -353
  75. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampSouthSvg.vue +359 -359
  76. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampWestSvg.vue +443 -443
  77. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/SidewalkClickSvg.vue +1302 -1302
  78. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/SidewalkSvg.vue +1190 -1190
  79. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeEastRoadsSvg.vue +498 -498
  80. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeNorthRoadsSvg.vue +484 -484
  81. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeSouthRoadsSvg.vue +488 -488
  82. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeWestRoadsSvg.vue +566 -566
  83. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LCrossRoadsSvg.vue +640 -640
  84. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeEastRoadsSvg.vue +497 -497
  85. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeNorthRoadsSvg.vue +486 -486
  86. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeSouthRoadsSvg.vue +490 -490
  87. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeWestRoadsSvg.vue +575 -575
  88. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/refreshSvg.vue +63 -63
  89. package/package/kisscomps/components/IntersectionMap/crossDirection/busIcon/busMapSvg.vue +50 -50
  90. package/package/kisscomps/components/IntersectionMap/crossDirection/busIcon/eastBusSvg.vue +167 -167
  91. package/package/kisscomps/components/IntersectionMap/crossDirection/busIcon/northBusSvg.vue +168 -168
  92. package/package/kisscomps/components/IntersectionMap/crossDirection/busIcon/southBusSvg.vue +168 -168
  93. package/package/kisscomps/components/IntersectionMap/crossDirection/busIcon/westBusSvg.vue +169 -169
  94. package/package/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +1554 -1555
  95. package/package/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/LphaseIconSvg.vue +197 -197
  96. package/package/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/phaseIconSvg.vue +196 -196
  97. package/package/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/rampPhaseIconSvg.vue +122 -122
  98. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/busPos.json +196 -196
  99. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/busPos.left.json +196 -196
  100. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/effectPos.json +115 -115
  101. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/phasePos.json +115 -115
  102. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/phasePos.left.json +115 -115
  103. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/rampPos.json +52 -52
  104. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/sidePos.json +219 -219
  105. package/package/kisscomps/components/IntersectionMap/crossDirection/utils.js +91 -91
  106. package/package/kisscomps/components/IntersectionMap/intersectionmap.vue +220 -220
  107. package/package/kisscomps/components/IntersectionWithInterface/IntersectionWithInterface.vue +534 -534
  108. package/package/kisscomps/components/KanBan/kanban.vue +231 -231
  109. package/package/kisscomps/components/MessageBox/index.vue +96 -96
  110. package/package/kisscomps/components/OverLap/OverLap.vue +237 -237
  111. package/package/kisscomps/components/OverviewComponent/index.vue +853 -853
  112. package/package/kisscomps/components/PatternOptimize/PatternOptimize.vue +329 -329
  113. package/package/kisscomps/components/PatternStatus/PatternStatus.vue +1843 -1843
  114. package/package/kisscomps/components/PatternWalkSvg/PatternWalkSvg.vue +423 -423
  115. package/package/kisscomps/components/PhaseDirectionSelect/PhaseDirectionSelect.vue +126 -126
  116. package/package/kisscomps/components/PhaseDirectionText/PhaseDirectionText.vue +106 -106
  117. package/package/kisscomps/components/PhaseLegend/PhaseLegend.vue +286 -286
  118. package/package/kisscomps/components/PhaseMarker/index.js +6 -6
  119. package/package/kisscomps/components/PhaseMarker/phasemarker.vue +215 -215
  120. package/package/kisscomps/components/PhaseMarker/svg/patternSvg.vue +121 -121
  121. package/package/kisscomps/components/PhaseMarker/svg/phase.vue +60 -60
  122. package/package/kisscomps/components/PhaseMarker/svg/phaseCount.vue +62 -62
  123. package/package/kisscomps/components/PhaseMarker/svg/phaseCountCycle.vue +62 -62
  124. package/package/kisscomps/components/PhaseMarker/svg/phaseSvg.vue +117 -117
  125. package/package/kisscomps/components/PhasePedSelect/index.vue +206 -206
  126. package/package/kisscomps/components/SchemeConfig/SchemeConfig.vue +1027 -1024
  127. package/package/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +365 -365
  128. package/package/kisscomps/components/SchemeConfig/azimuthlocking/utils.js +92 -92
  129. package/package/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +214 -214
  130. package/package/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +235 -235
  131. package/package/kisscomps/components/SchemeConfig/manualControlModal/index.vue +235 -235
  132. package/package/kisscomps/components/SchemeConfig/manualControlModalNew/controlModelGroup.vue +131 -131
  133. package/package/kisscomps/components/SchemeConfig/manualControlModalNew/icon.vue +470 -470
  134. package/package/kisscomps/components/SchemeConfig/manualControlModalNew/index.vue +871 -871
  135. package/package/kisscomps/components/SchemeConfig/manualControlModalNew/othersIcon.vue +151 -151
  136. package/package/kisscomps/components/SchemeConfig/priorityControl/index.vue +215 -215
  137. package/package/kisscomps/components/SchemeConfig/priorityControl/utils.js +163 -163
  138. package/package/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +308 -308
  139. package/package/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +1293 -1293
  140. package/package/kisscomps/components/SchemeConfig/utils/thirdPartypermission.js +95 -95
  141. package/package/kisscomps/components/SelectCrossPhase/index.vue +418 -418
  142. package/package/kisscomps/components/SelectCrossPhase/utils.js +142 -142
  143. package/package/kisscomps/components/StageBord/StageBord.vue +303 -303
  144. package/package/kisscomps/components/StageOptimize/StageOptimize.vue +367 -367
  145. package/package/kisscomps/components/StageOptimize/index.js +2 -2
  146. package/package/kisscomps/components/StageStatus/StageStatus.vue +341 -341
  147. package/package/kisscomps/components/Stages/index.vue +307 -319
  148. package/package/kisscomps/components/SvgIcon/SvgIcon.vue +53 -53
  149. package/package/kisscomps/components/XRDDirSelector/XRDDirSelector.vue +1041 -1041
  150. package/package/kisscomps/components/XiaoKanban/DirSelector.vue +356 -356
  151. package/package/kisscomps/components/XiaoKanban/index.vue +122 -122
  152. package/package/kisscomps/components/overView/index.vue +676 -676
  153. package/package/kisscomps/components/patternConfig/index.vue +802 -802
  154. package/package/kisscomps/components/patternConfig/pattern/patternTable.vue +599 -599
  155. package/package/kisscomps/components/patternConfig/pattern/planChart/model/coordinationModel.js +665 -665
  156. package/package/kisscomps/components/patternConfig/planContent.vue +604 -604
  157. package/package/kisscomps/components/patternConfig/planMenu.vue +329 -329
  158. package/package/kisscomps/components/patternConfig/utils.js +152 -152
  159. package/package/kisscomps/components/patternList/patternList.vue +606 -606
  160. package/package/kisscomps/index.js +131 -131
  161. package/package/kissui.js +216608 -0
  162. package/package/kissui.min.js +1 -1
  163. package/package.json +126 -126
  164. package/pnpm-lock.yaml +16362 -0
  165. package/src/App.vue +24 -24
  166. package/src/EdgeMgr/EdgeModelBase.js +16 -16
  167. package/src/EdgeMgr/controller/crossDiagramMgr.js +125 -125
  168. package/src/api/authapi.js +31 -31
  169. package/src/api/config.js +21 -21
  170. package/src/api/control.js +110 -110
  171. package/src/api/cross.js +56 -56
  172. package/src/api/device.js +135 -135
  173. package/src/api/fault.js +66 -66
  174. package/src/api/index.js +24 -24
  175. package/src/api/login.js +46 -46
  176. package/src/api/optimize.js +72 -72
  177. package/src/api/param.js +165 -165
  178. package/src/api/passwdAssest.js +101 -101
  179. package/src/api/permission.js +33 -33
  180. package/src/api/route.js +171 -171
  181. package/src/api/template.js +27 -27
  182. package/src/assets/font/LICENSE.txt +202 -202
  183. package/src/assets/font/font.css +6 -6
  184. package/src/i18n/index.js +26 -26
  185. package/src/i18n/language/en.js +1474 -1474
  186. package/src/i18n/language/index.js +25 -25
  187. package/src/i18n/language/zh.js +1474 -1474
  188. package/src/icons/demo_index.html +8445 -8445
  189. package/src/icons/iconfont.css +1451 -1451
  190. package/src/icons/iconfont.json +2522 -2522
  191. package/src/icons/index.js +20 -20
  192. package/src/icons/svg/azimuthlocking.svg +26 -26
  193. package/src/icons/svg/bendi.svg +110 -110
  194. package/src/icons/svg/bujin.svg +36 -36
  195. package/src/icons/svg/connectBlue.svg +7 -7
  196. package/src/icons/svg/currentvolume.svg +0 -0
  197. package/src/icons/svg/custom-BRTlane.svg +40 -40
  198. package/src/icons/svg/custom-buslane.svg +40 -40
  199. package/src/icons/svg/custom-detector.svg +12 -12
  200. package/src/icons/svg/custom-east-bottom.svg +32 -32
  201. package/src/icons/svg/custom-east-top.svg +32 -32
  202. package/src/icons/svg/custom-ewped.svg +35 -35
  203. package/src/icons/svg/custom-nonmotorizedlane.svg +40 -40
  204. package/src/icons/svg/custom-north-left.svg +32 -32
  205. package/src/icons/svg/custom-north-right.svg +32 -32
  206. package/src/icons/svg/custom-peddetector.svg +17 -17
  207. package/src/icons/svg/custom-snped.svg +35 -35
  208. package/src/icons/svg/custom-south-left.svg +32 -32
  209. package/src/icons/svg/custom-south-right.svg +32 -32
  210. package/src/icons/svg/custom-tramlane.svg +40 -40
  211. package/src/icons/svg/custom-vehiclebranch.svg +40 -40
  212. package/src/icons/svg/custom-vehiclemainroad.svg +41 -41
  213. package/src/icons/svg/custom-west-bottom.svg +32 -32
  214. package/src/icons/svg/custom-west-top.svg +32 -32
  215. package/src/icons/svg/custom-xlped.svg +14 -14
  216. package/src/icons/svg/custom-xrped.svg +14 -14
  217. package/src/icons/svg/cutRed.svg +7 -7
  218. package/src/icons/svg/cycle.svg +0 -0
  219. package/src/icons/svg/dingzhouqi.svg +34 -34
  220. package/src/icons/svg/ganyingkongzhi.svg +30 -30
  221. package/src/icons/svg/guandeng.svg +81 -81
  222. package/src/icons/svg/huangshan.svg +71 -71
  223. package/src/icons/svg/maincontrol.svg +0 -0
  224. package/src/icons/svg/manualcontrolbackground.svg +51 -51
  225. package/src/icons/svg/manualcontrolbackground1.svg +62 -62
  226. package/src/icons/svg/manualcontrolbackgrounden.svg +62 -62
  227. package/src/icons/svg/model.svg +0 -0
  228. package/src/icons/svg/phasediff.svg +0 -0
  229. package/src/icons/svg/prioritycontrol.svg +21 -21
  230. package/src/icons/svg/quanhong.svg +86 -86
  231. package/src/icons/svg/shanghe.svg +11 -11
  232. package/src/icons/svg/shoudong.svg +103 -103
  233. package/src/icons/svg/tentativeplan.svg +28 -28
  234. package/src/icons/svg/time.svg +0 -0
  235. package/src/icons/svg/wuxianlan.svg +46 -46
  236. package/src/icons/svg/xiala.svg +11 -11
  237. package/src/icons/svg/xingrenguojie.svg +33 -33
  238. package/src/icons/svg/xitong.svg +89 -89
  239. package/src/icons/svg/youxian.svg +41 -41
  240. package/src/icons/svg/zizhukongzhi.svg +43 -43
  241. package/src/kisscomps/components/BoardCard/BoardCard.vue +133 -133
  242. package/src/kisscomps/components/ChannelRealtimeIntersection/ChannelRealtimeIntersection.vue +123 -123
  243. package/src/kisscomps/components/Channelization/Channelization.vue +585 -585
  244. package/src/kisscomps/components/ChannelizationFlowStatistic/ChannelizationFlowStatistic.vue +360 -360
  245. package/src/kisscomps/components/ChannelizationWithInterface/ChannelizationWithInterface.vue +518 -518
  246. package/src/kisscomps/components/CommonKanban/CommonKanban.vue +132 -132
  247. package/src/kisscomps/components/DirectionListConfiguration/DirectionListConfiguration.vue +456 -456
  248. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-east-bottom.vue +41 -41
  249. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-east-top.vue +60 -60
  250. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-ewped.vue +105 -105
  251. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-north-left.vue +60 -60
  252. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-north-right.vue +60 -60
  253. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-snped.vue +105 -105
  254. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-south-left.vue +60 -60
  255. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-south-right.vue +60 -60
  256. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-west-bottom.vue +60 -60
  257. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-west-top.vue +60 -60
  258. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-xlped.vue +30 -30
  259. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-xrped.vue +30 -30
  260. package/src/kisscomps/components/DirectionListConfiguration/svg/pedSvg.vue +78 -78
  261. package/src/kisscomps/components/DrawChannelization/drawsvg/basicCoordInfo.vue +181 -181
  262. package/src/kisscomps/components/DrawChannelization/drawsvg/channelizationElements.vue +255 -255
  263. package/src/kisscomps/components/DrawChannelization/drawsvg/detectorAssociatedComponent.vue +152 -152
  264. package/src/kisscomps/components/DrawChannelization/drawsvg/drawElement/TextBox.vue +91 -91
  265. package/src/kisscomps/components/DrawChannelization/drawsvg/drawElement/crossMap.vue +194 -194
  266. package/src/kisscomps/components/DrawChannelization/drawsvg/drawElement/editText.vue +108 -108
  267. package/src/kisscomps/components/DrawChannelization/drawsvg/firstImportCrossmap.vue +51 -51
  268. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/countdownSvg.vue +236 -236
  269. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorChart.vue +247 -247
  270. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorIconSvg.vue +210 -210
  271. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/laneIcon.vue +72 -72
  272. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +368 -368
  273. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/pedroadIconSvg.vue +230 -230
  274. package/src/kisscomps/components/DrawChannelization/drawsvg/importDialog.vue +74 -74
  275. package/src/kisscomps/components/DrawChannelization/drawsvg/index.draw.vue +1022 -1022
  276. package/src/kisscomps/components/DrawChannelization/drawsvg/index.vue +144 -144
  277. package/src/kisscomps/components/DrawChannelization/drawsvg/laneEditPanel.vue +707 -707
  278. package/src/kisscomps/components/DrawChannelization/drawsvg/overlapAssociatedComponent.vue +172 -172
  279. package/src/kisscomps/components/DrawChannelization/drawsvg/phaseAssociatedComponent.vue +172 -172
  280. package/src/kisscomps/components/DrawChannelization/drawsvg/table.vue +99 -99
  281. package/src/kisscomps/components/DrawChannelization/drawsvg/utils/loadutils.js +87 -87
  282. package/src/kisscomps/components/DrawChannelization/drawsvg/utils/phaseDataModel.js +32 -32
  283. package/src/kisscomps/components/DrawChannelization/drawsvg/utils/phasePos.json +20 -20
  284. package/src/kisscomps/components/DrawChannelization/phaseDataMgr.js +278 -278
  285. package/src/kisscomps/components/ExpendConfig/ExpendConfig.vue +118 -118
  286. package/src/kisscomps/components/FaultDetailModal/FaultDetailModal.vue +178 -178
  287. package/src/kisscomps/components/IntersectionDirectionSelection/IntersectionDirectionSelection.vue +162 -162
  288. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/CrossRoadsSvg.vue +629 -629
  289. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/CustomRoadsSvg.vue +46 -46
  290. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/PedSectionEWSvg.vue +447 -447
  291. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/PedSectionSNSvg.vue +341 -341
  292. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampEastSvg.vue +497 -497
  293. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampNorthSvg.vue +353 -353
  294. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampSouthSvg.vue +359 -359
  295. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampWestSvg.vue +443 -443
  296. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/SidewalkClickSvg.vue +1302 -1302
  297. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/SidewalkSvg.vue +1190 -1190
  298. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeEastRoadsSvg.vue +498 -498
  299. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeNorthRoadsSvg.vue +484 -484
  300. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeSouthRoadsSvg.vue +488 -488
  301. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeWestRoadsSvg.vue +566 -566
  302. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LCrossRoadsSvg.vue +640 -640
  303. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeEastRoadsSvg.vue +497 -497
  304. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeNorthRoadsSvg.vue +486 -486
  305. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeSouthRoadsSvg.vue +490 -490
  306. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeWestRoadsSvg.vue +575 -575
  307. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/refreshSvg.vue +63 -63
  308. package/src/kisscomps/components/IntersectionMap/crossDirection/busIcon/busMapSvg.vue +50 -50
  309. package/src/kisscomps/components/IntersectionMap/crossDirection/busIcon/eastBusSvg.vue +167 -167
  310. package/src/kisscomps/components/IntersectionMap/crossDirection/busIcon/northBusSvg.vue +168 -168
  311. package/src/kisscomps/components/IntersectionMap/crossDirection/busIcon/southBusSvg.vue +168 -168
  312. package/src/kisscomps/components/IntersectionMap/crossDirection/busIcon/westBusSvg.vue +169 -169
  313. package/src/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +1554 -1555
  314. package/src/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/LphaseIconSvg.vue +197 -197
  315. package/src/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/phaseIconSvg.vue +196 -196
  316. package/src/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/rampPhaseIconSvg.vue +122 -122
  317. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/busPos.json +196 -196
  318. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/busPos.left.json +196 -196
  319. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/effectPos.json +115 -115
  320. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/phasePos.json +115 -115
  321. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/phasePos.left.json +115 -115
  322. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/rampPos.json +52 -52
  323. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/sidePos.json +219 -219
  324. package/src/kisscomps/components/IntersectionMap/crossDirection/utils.js +91 -91
  325. package/src/kisscomps/components/IntersectionMap/intersectionmap.vue +220 -220
  326. package/src/kisscomps/components/IntersectionWithInterface/IntersectionWithInterface.vue +534 -534
  327. package/src/kisscomps/components/KanBan/kanban.vue +231 -231
  328. package/src/kisscomps/components/MessageBox/index.vue +96 -96
  329. package/src/kisscomps/components/OverLap/OverLap.vue +237 -237
  330. package/src/kisscomps/components/OverviewComponent/index.vue +853 -853
  331. package/src/kisscomps/components/PatternOptimize/PatternOptimize.vue +329 -329
  332. package/src/kisscomps/components/PatternStatus/PatternStatus.vue +1843 -1843
  333. package/src/kisscomps/components/PatternWalkSvg/PatternWalkSvg.vue +423 -423
  334. package/src/kisscomps/components/PhaseDirectionSelect/PhaseDirectionSelect.vue +126 -126
  335. package/src/kisscomps/components/PhaseDirectionText/PhaseDirectionText.vue +106 -106
  336. package/src/kisscomps/components/PhaseLegend/PhaseLegend.vue +286 -286
  337. package/src/kisscomps/components/PhaseMarker/index.js +6 -6
  338. package/src/kisscomps/components/PhaseMarker/phasemarker.vue +215 -215
  339. package/src/kisscomps/components/PhaseMarker/svg/patternSvg.vue +121 -121
  340. package/src/kisscomps/components/PhaseMarker/svg/phase.vue +60 -60
  341. package/src/kisscomps/components/PhaseMarker/svg/phaseCount.vue +62 -62
  342. package/src/kisscomps/components/PhaseMarker/svg/phaseCountCycle.vue +62 -62
  343. package/src/kisscomps/components/PhaseMarker/svg/phaseSvg.vue +117 -117
  344. package/src/kisscomps/components/PhasePedSelect/index.vue +206 -206
  345. package/src/kisscomps/components/SchemeConfig/SchemeConfig.vue +1027 -1024
  346. package/src/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +365 -365
  347. package/src/kisscomps/components/SchemeConfig/azimuthlocking/utils.js +92 -92
  348. package/src/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +214 -214
  349. package/src/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +235 -235
  350. package/src/kisscomps/components/SchemeConfig/manualControlModal/index.vue +235 -235
  351. package/src/kisscomps/components/SchemeConfig/manualControlModalNew/controlModelGroup.vue +131 -131
  352. package/src/kisscomps/components/SchemeConfig/manualControlModalNew/icon.vue +470 -470
  353. package/src/kisscomps/components/SchemeConfig/manualControlModalNew/index.vue +871 -871
  354. package/src/kisscomps/components/SchemeConfig/manualControlModalNew/othersIcon.vue +151 -151
  355. package/src/kisscomps/components/SchemeConfig/priorityControl/index.vue +215 -215
  356. package/src/kisscomps/components/SchemeConfig/priorityControl/utils.js +163 -163
  357. package/src/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +308 -308
  358. package/src/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +1293 -1293
  359. package/src/kisscomps/components/SchemeConfig/utils/thirdPartypermission.js +95 -95
  360. package/src/kisscomps/components/SelectCrossPhase/index.vue +418 -418
  361. package/src/kisscomps/components/SelectCrossPhase/utils.js +142 -142
  362. package/src/kisscomps/components/StageBord/StageBord.vue +303 -303
  363. package/src/kisscomps/components/StageOptimize/StageOptimize.vue +367 -367
  364. package/src/kisscomps/components/StageOptimize/index.js +2 -2
  365. package/src/kisscomps/components/StageStatus/StageStatus.vue +341 -341
  366. package/src/kisscomps/components/Stages/index.vue +307 -319
  367. package/src/kisscomps/components/SvgIcon/SvgIcon.vue +53 -53
  368. package/src/kisscomps/components/XRDDirSelector/XRDDirSelector.vue +1041 -1041
  369. package/src/kisscomps/components/XiaoKanban/DirSelector.vue +356 -356
  370. package/src/kisscomps/components/XiaoKanban/index.vue +122 -122
  371. package/src/kisscomps/components/overView/index.vue +676 -676
  372. package/src/kisscomps/components/patternConfig/index.vue +802 -802
  373. package/src/kisscomps/components/patternConfig/pattern/patternTable.vue +599 -599
  374. package/src/kisscomps/components/patternConfig/pattern/planChart/model/coordinationModel.js +665 -665
  375. package/src/kisscomps/components/patternConfig/planContent.vue +604 -604
  376. package/src/kisscomps/components/patternConfig/planMenu.vue +329 -329
  377. package/src/kisscomps/components/patternConfig/utils.js +152 -152
  378. package/src/kisscomps/components/patternList/patternList.vue +606 -606
  379. package/src/kisscomps/index.js +131 -131
  380. package/src/lib/publicjs/ArryListUtil.js +38 -38
  381. package/src/lib/publicjs/HttpurlMgr.js +45 -45
  382. package/src/lib/publicjs/KissApi.js +158 -158
  383. package/src/lib/publicjs/KissWSSub/Heartcheck.js +128 -128
  384. package/src/lib/publicjs/KissWSSub/KissWsSub.js +91 -91
  385. package/src/lib/publicjs/KissWSSub/KissWsSubByType.js +152 -152
  386. package/src/lib/publicjs/KissWSSub/SimuWsSubByType.js +44 -44
  387. package/src/lib/publicjs/KissWSSub/Sub.js +51 -51
  388. package/src/lib/publicjs/KissWSSub/SubChannel.js +119 -119
  389. package/src/lib/publicjs/basecomponents.js +65 -65
  390. package/src/lib/publicjs/localStorage.js +112 -112
  391. package/src/lib/publicjs/objdeepcopy.js +32 -32
  392. package/src/lib/publicjs/pageScroll.js +30 -30
  393. package/src/lib/publicjs/passwdAssest.js +101 -101
  394. package/src/lib/publicjs/styleclassfactory.js +32 -32
  395. package/src/main.js +51 -51
  396. package/src/router/index.js +63 -63
  397. package/src/store/index.js +26 -26
  398. package/src/store/modules/globalParam.js +67 -67
  399. package/src/utils/ControlFormat.js +68 -68
  400. package/src/utils/RingDataModel.js +335 -335
  401. package/src/utils/auth.js +199 -199
  402. package/src/utils/conflct.js +268 -268
  403. package/src/utils/conflictList.js +87 -87
  404. package/src/utils/dateFormat.js +41 -41
  405. package/src/utils/errorcode.js +231 -231
  406. package/src/utils/fault.js +196 -196
  407. package/src/utils/faultcode.js +225 -225
  408. package/src/utils/index.js +69 -69
  409. package/src/utils/pedphasedesc.js +119 -119
  410. package/src/utils/phaseList.js +203 -203
  411. package/src/utils/phasedesc.js +144 -144
  412. package/src/utils/responseMessage.js +21 -21
  413. package/src/utils/validate.js +43 -43
  414. package/src/views/customchannelization.vue +49 -49
  415. package/src/views/home.1.vue +479 -479
  416. package/src/views/home.vue +93 -93
  417. package/src/views/intersection.vue +527 -527
  418. package/src/views/intersection2.vue +328 -328
  419. package/src/views/overView.vue +63 -63
  420. package/src/views/patternConfig.vue +14792 -14792
  421. package/src/views/schemeconfig.vue +205 -206
  422. package/static/apiconfig.json +466 -466
  423. package/static/styles/channelizatioon.scss +433 -433
  424. package/static/styles/common.scss +30 -30
  425. package/static/styles/commonkanban.scss +168 -168
  426. package/static/styles/dark/index.scss +2 -2
  427. package/static/styles/dark/theme/element-dark.scss +44 -44
  428. package/static/styles/index.scss +84 -84
  429. package/static/styles/intersection.scss +180 -180
  430. package/static/styles/light/index.scss +2 -2
  431. package/static/styles/light/theme/element-light.scss +44 -44
  432. package/static/styles/overview.scss +146 -146
  433. package/static/styles/patternConfig.scss +56 -56
  434. package/static/styles/phasePedSelect.scss +71 -71
  435. package/static/styles/schemeconfig.scss +558 -558
  436. package/static/styles/stages.scss +57 -57
  437. package/static/styles/uiComponents.scss +57 -57
  438. package/static/styles/xiaokanban.scss +61 -61
  439. package/static/token.json +2 -2
  440. package/test/e2e/custom-assertions/elementCount.js +27 -27
  441. package/test/e2e/nightwatch.conf.js +46 -46
  442. package/test/e2e/runner.js +48 -48
  443. package/test/e2e/specs/test.js +19 -19
  444. package/test/unit/.eslintrc +7 -7
  445. package/test/unit/jest.conf.js +30 -30
  446. package/test/unit/setup.js +3 -3
  447. package/test/unit/specs/HelloWorld.spec.js +11 -11
  448. package/package/kisscomps/components/StageOptimize/index.vue +0 -310
  449. package/package/static/img/CrossRoadsSvg.66a6236.svg +0 -529
  450. package/static/img/CrossRoadsSvg.svg +0 -529
@@ -1,1041 +1,1041 @@
1
- /**
2
- * Copyright (c) 2020 kedacom
3
- * OpenATC is licensed under Mulan PSL v2.
4
- * You can use this software according to the terms and conditions of the Mulan PSL v2.
5
- * You may obtain a copy of Mulan PSL v2 at:
6
- * http://license.coscl.org.cn/MulanPSL2
7
- * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
8
- * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
9
- * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
10
- * See the Mulan PSL v2 for more details.
11
- **/
12
- <template>
13
- <div :style="{position: 'relative',height: '40px'}">
14
- <div :style="{position: 'absolute', left: Data?Data.left:0, top: Data?Data.top:0}">
15
- <svg
16
- version="1.1"
17
- id="图层_1"
18
- xmlns="http://www.w3.org/2000/svg"
19
- xmlns:xlink="http://www.w3.org/1999/xlink"
20
- viewBox="0 0 60 60"
21
- :width="Width"
22
- :height="Height"
23
- style="enable-background:new 0 0 60 60;"
24
- xml:space="preserve">
25
- <g>
26
- <g id="南">
27
- <path id="南掉头"
28
- :stroke-width="PathWidth"
29
- :fill="isLock !== 0 ? status[15].lockColor:status[15].color"
30
- :class="status[15].isshow ? '' : 'invisible'"
31
- class="st0" d="M20.6,23.8c-2.2,0-4,1.8-4,4v0.4h-2.7l3.8,5.1l3.8-5.1h-2.9v-0.4c0-1.2,1-2.1,2.1-2.1
32
- c1.2,0,2.1,1,2.1,2.1v5.5h1.9v-5.5C24.5,25.6,22.8,23.8,20.6,23.8z"/>
33
- <polygon id="南直行"
34
- :stroke-width="PathWidth"
35
- :fill="isLock !== 0 ? status[12].lockColor:status[12].color"
36
- :class="status[12].isshow ? '' : 'invisible'"
37
- class="st0" points="27.5,17.8 23.7,12.6 20,17.8 22.8,17.8 22.8,33.3 24.7,33.3 24.7,17.8"/>
38
- <path id="南左转"
39
- :stroke-width="PathWidth"
40
- :fill="isLock !== 0 ? status[13].lockColor:status[13].color"
41
- :class="status[13].isshow ? '' : 'invisible'"
42
- class="st0" d="M24.7,33.3c0,0,0-5.5,0-5.5c0-2.2-1.2-4.5-3.1-5.7c-0.2-0.1-0.5-0.3-0.7-0.4
43
- c-1.2-0.5-2.5-0.7-3.7-0.9c0,0,0-0.2,0-0.2l0.2-2.8L12,21.2l4.8,4.2c0,0,0.2-2.6,0.2-2.6c0,0,1.3,0.2,1.4,0.2
44
- c1.7,0.3,3,1.1,3.8,2.7c0.6,1.2,0.5,2.4,0.5,3.7c0,1,0,2,0,3c0,0.3,0,0.6,0,1H24.7z"/>
45
- <path id="南右转"
46
- :stroke-width="PathWidth"
47
- :fill="isLock !== 0 ? status[14].lockColor:status[14].color"
48
- :class="status[14].isshow ? '' : 'invisible'"
49
- class="st0" d="M33.4,21.4L28,18.1l0.2,2.8l0,0.2l0,0.1c-0.6,0.1-1.1,0.3-1.7,0.5c-0.2,0.1-0.5,0.2-0.7,0.4
50
- c-1.9,1.2-3.1,3.4-3.1,5.7c0,0,0,5.5,0,5.5h1.9c0-0.3,0-0.6,0-1c0-1,0-2,0-3c0-1.3-0.1-2.5,0.5-3.7c0.7-1.4,1.8-2.2,3.2-2.5
51
- c0,0.5,0.2,2.5,0.2,2.5L33.4,21.4z"/>
52
- </g>
53
- <g id="北">
54
- <path id="北掉头"
55
- :stroke-width="PathWidth"
56
- :fill="isLock !== 0 ? status[11].lockColor:status[11].color"
57
- :class="status[11].isshow ? '' : 'invisible'"
58
- class="st0" d="M13.4,10.2c2.2,0,4-1.8,4-4V5.8h2.7l-3.8-5.1l-3.8,5.1h2.9v0.4c0,1.2-1,2.1-2.1,2.1
59
- s-2.1-1-2.1-2.1V0.7H9.3v5.5C9.5,8.4,11.2,10.2,13.4,10.2z"/>
60
- <polygon
61
- id="北直行_1_"
62
- :stroke-width="PathWidth"
63
- :fill="isLock !== 0 ? status[9].lockColor:status[8].color"
64
- :class="status[8].isshow ? '' : 'invisible'"
65
- class="st0" points="6.5,16.1 10.3,21.3 14,16.1 11.2,16.1 11.2,0.6 9.3,0.6 9.3,16.1"/>
66
- <path id="北左转"
67
- :stroke-width="PathWidth"
68
- :fill="isLock !== 0 ? status[9].lockColor:status[9].color"
69
- :class="status[9].isshow ? '' : 'invisible'"
70
- class="st0" d="M9.3,0.7c0,0,0,5.5,0,5.5c0,2.2,1.2,4.5,3.1,5.7c0.2,0.1,0.5,0.3,0.7,0.4
71
- c1.2,0.5,2.5,0.7,3.7,0.9c0,0,0,0.2,0,0.2l-0.2,2.8l5.4-3.3l-4.8-4.2c0,0-0.2,2.6-0.2,2.6c0,0-1.3-0.2-1.4-0.2
72
- c-1.7-0.3-3-1.1-3.8-2.7c-0.6-1.2-0.5-2.4-0.5-3.7c0-1,0-2,0-3c0-0.3,0-0.6,0-1H9.3z"/>
73
- <path id="北右转"
74
- :stroke-width="PathWidth"
75
- :fill="isLock !== 0 ? status[10].lockColor:status[10].color"
76
- :class="status[10].isshow ? '' : 'invisible'"
77
- class="st0" d="M0.6,12.6L6,15.9l-0.2-2.8l0-0.2l0-0.1c0.6-0.1,1.1-0.3,1.7-0.5c0.2-0.1,0.5-0.2,0.7-0.4
78
- c1.9-1.2,3.1-3.4,3.1-5.7c0,0,0-5.5,0-5.5H9.3c0,0.3,0,0.6,0,1c0,1,0,2,0,3c0,1.3,0.1,2.5-0.5,3.7C8.1,9.7,7,10.5,5.6,10.9
79
- c0-0.5-0.2-2.5-0.2-2.5L0.6,12.6z"/>
80
- </g>
81
- <g id="西">
82
- <path id="西掉头"
83
- :stroke-width="PathWidth"
84
- :fill="isLock !== 0 ? status[7].lockColor:status[7].color"
85
- :class="status[7].isshow ? '' : 'invisible'"
86
- class="st0" d="M10.2,20.6c0-2.2-1.8-4-4-4H5.8v-2.7l-5.1,3.8l5.1,3.8v-2.9h0.4c1.2,0,2.1,1,2.1,2.1
87
- c0,1.2-1,2.1-2.1,2.1H0.7v1.9h5.5C8.4,24.5,10.2,22.8,10.2,20.6z"/>
88
- <polygon id="西直行"
89
- :stroke-width="PathWidth"
90
- :fill="isLock !== 0 ? status[4].lockColor:status[4].color"
91
- :class="status[4].isshow ? '' : 'invisible'"
92
- class="st0"
93
- points="16.3,27.5 21.4,23.7 16.3,20 16.3,22.8 0.8,22.8 0.8,24.7 16.3,24.7"/>
94
- <path id="西左转"
95
- :stroke-width="PathWidth"
96
- :fill="isLock !== 0 ? status[5].lockColor:status[5].color"
97
- :class="status[5].isshow ? '' : 'invisible'"
98
- class="st0" d="M0.7,24.7c0,0,5.5,0,5.5,0c2.2,0,4.5-1.2,5.7-3.1c0.1-0.2,0.3-0.5,0.4-0.7
99
- c0.5-1.2,0.7-2.5,0.9-3.7c0,0,0.2,0,0.2,0l2.8,0.2L12.8,12l-4.2,4.8c0,0,2.6,0.2,2.6,0.2c0,0-0.2,1.3-0.2,1.4
100
- c-0.3,1.7-1.1,3-2.7,3.8c-1.2,0.6-2.4,0.5-3.7,0.5c-1,0-2,0-3,0c-0.3,0-0.6,0-1,0V24.7z"/>
101
- <path id="西右转"
102
- :stroke-width="PathWidth"
103
- :fill="isLock !== 0 ? status[6].lockColor:status[6].color"
104
- :class="status[6].isshow ? '' : 'invisible'"
105
- class="st0" d="M12.6,33.4l3.3-5.4l-2.8,0.2l-0.2,0l-0.1,0c-0.1-0.6-0.3-1.1-0.5-1.7
106
- c-0.1-0.2-0.2-0.5-0.4-0.7c-1.2-1.9-3.4-3.1-5.7-3.1c0,0-5.5,0-5.5,0v1.9c0.3,0,0.6,0,1,0c1,0,2,0,3,0c1.3,0,2.5-0.1,3.7,0.5
107
- c1.4,0.7,2.2,1.8,2.5,3.2c-0.5,0-2.5,0.2-2.5,0.2L12.6,33.4z"/>
108
- </g>
109
- <g id="东">
110
- <path id="东掉头"
111
- :stroke-width="PathWidth"
112
- :fill="isLock !== 0 ? status[3].lockColor:status[3].color"
113
- :class="status[3].isshow ? '' : 'invisible'"
114
- class="st0" d="M23.8,13.4c0,2.2,1.8,4,4,4h0.4v2.7l5.1-3.8l-5.1-3.8v2.9h-0.4c-1.2,0-2.1-1-2.1-2.1
115
- s1-2.1,2.1-2.1h5.5V9.3h-5.5C25.6,9.5,23.8,11.2,23.8,13.4z"/>
116
- <polygon
117
- :stroke-width="PathWidth"
118
- :fill="isLock !== 0 ? status[0].lockColor:status[0].color"
119
- :class="status[0].isshow ? '' : 'invisible'"
120
- id="东直行"
121
- class="st0"
122
- points="17.9,6.5 12.8,10.3 17.9,14 17.9,11.2 33.4,11.2 33.4,9.3 17.9,9.3"/>
123
- <path id="东左转"
124
- :stroke-width="PathWidth"
125
- :fill="isLock !== 0 ? status[1].lockColor:status[1].color"
126
- :class="status[1].isshow ? '' : 'invisible'"
127
- class="st0" d="M33.3,9.3c0,0-5.5,0-5.5,0c-2.2,0-4.5,1.2-5.7,3.1c-0.1,0.2-0.3,0.5-0.4,0.7
128
- c-0.5,1.2-0.7,2.5-0.9,3.7c0,0-0.2,0-0.2,0l-2.8-0.2l3.3,5.4l4.2-4.8c0,0-2.6-0.2-2.6-0.2c0,0,0.2-1.3,0.2-1.4
129
- c0.3-1.7,1.1-3,2.7-3.8c1.2-0.6,2.4-0.5,3.7-0.5c1,0,2,0,3,0c0.3,0,0.6,0,1,0V9.3z"/>
130
- <path id="东右转"
131
- :stroke-width="PathWidth"
132
- :fill="isLock !== 0 ? status[2].lockColor:status[2].color"
133
- :class="status[2].isshow ? '' : 'invisible'"
134
- class="st0" d="M21.4,0.6L18.1,6l2.8-0.2l0.2,0l0.1,0c0.1,0.6,0.3,1.1,0.5,1.7c0.1,0.2,0.2,0.5,0.4,0.7
135
- c1.2,1.9,3.4,3.1,5.7,3.1c0,0,5.5,0,5.5,0V9.3c-0.3,0-0.6,0-1,0c-1,0-2,0-3,0c-1.3,0-2.5,0.1-3.7-0.5c-1.4-0.7-2.2-1.8-2.5-3.2
136
- c0.5,0,2.5-0.2,2.5-0.2L21.4,0.6z"/>
137
- </g>
138
- </g>
139
- <g>
140
- <g id="西南">
141
- <path id="西南掉头"
142
- :stroke-width="PathWidth"
143
- :fill="isLock !== 0 ? status[23].lockColor:status[23].color"
144
- :class="status[23].isshow ? '' : 'invisible'"
145
- class="st0" d="M14.7,24.4c-1.6-1.6-4.1-1.5-5.6,0l-0.3,0.3l-1.9-1.9L6,29l6.3-1l-2-2l0.3-0.3
146
- c0.8-0.8,2.2-0.8,3,0c0.8,0.8,0.8,2.2,0,3l-3.9,3.9l1.4,1.4l3.9-3.9C16.2,28.4,16.2,25.9,14.7,24.4z"/>
147
- <polygon
148
- id="西南直行"
149
- class="st0"
150
- :stroke-width="PathWidth"
151
- :fill="isLock !== 0 ? status[20].lockColor:status[20].color"
152
- :class="status[20].isshow ? '' : 'invisible'"
153
- points="23.8,25 24.8,18.8 18.4,19.7 20.4,21.7 9.6,32.5 11,33.9 21.9,23"/>
154
- <path id="西南左转"
155
- :stroke-width="PathWidth"
156
- :fill="isLock !== 0 ? status[21].lockColor:status[21].color"
157
- :class="status[21].isshow ? '' : 'invisible'"
158
- class="st0" d="M10.9,34c0,0,3.9-3.9,3.9-3.9c1.6-1.6,2.3-4,1.8-6.2c-0.1-0.3-0.1-0.5-0.2-0.7
159
- c-0.5-1.2-1.3-2.2-2-3.3c0,0,0.1-0.1,0.1-0.1l2.1-1.8l-6.2-1.5l0.4,6.3c0,0,2-1.7,2-1.7c0,0,0.8,1.1,0.8,1.2
160
- c1,1.4,1.3,2.9,0.8,4.6c-0.4,1.3-1.3,2.1-2.2,3c-0.7,0.7-1.4,1.4-2.1,2.1c-0.2,0.2-0.4,0.4-0.7,0.7L10.9,34z"/>
161
- <path id="西南右转"
162
- :stroke-width="PathWidth"
163
- :fill="isLock !== 0 ? status[22].lockColor:status[22].color"
164
- :class="status[22].isshow ? '' : 'invisible'"
165
- class="st0" d="M25.4,31.7L24,25.6l-1.8,2.1L22,27.8L22,27.9c-0.5-0.3-1-0.6-1.5-0.8
166
- c-0.2-0.1-0.5-0.2-0.7-0.2c-2.2-0.5-4.6,0.2-6.2,1.8c0,0-3.9,3.9-3.9,3.9l1.4,1.4c0.2-0.2,0.4-0.4,0.7-0.7
167
- c0.7-0.7,1.4-1.4,2.1-2.1c0.9-0.9,1.7-1.8,3-2.2c1.4-0.5,2.8-0.3,4,0.5c-0.3,0.4-1.6,1.9-1.6,1.9L25.4,31.7z"/>
168
- </g>
169
- <g id="东北">
170
- <path id="东北掉头"
171
- :stroke-width="PathWidth"
172
- :fill="isLock !== 0 ? status[27].lockColor:status[27].color"
173
- :class="status[27].isshow ? '' : 'invisible'"
174
- class="st0" d="M19.3,9.6c1.6,1.6,4.1,1.5,5.6,0l0.3-0.3l1.9,1.9L28,5l-6.3,1l2,2l-0.3,0.3
175
- c-0.8,0.8-2.2,0.8-3,0c-0.8-0.8-0.8-2.2,0-3l3.9-3.9L23.1,0l-3.9,3.9C17.8,5.6,17.8,8.1,19.3,9.6z"/>
176
- <polygon
177
- :stroke-width="PathWidth"
178
- :fill="isLock !== 0 ? status[24].lockColor:status[24].color"
179
- :class="status[24].isshow ? '' : 'invisible'"
180
- id="东北直行"
181
- class="st0"
182
- points="10.2,9 9.2,15.2 15.4,14.3 13.4,12.3 24.4,1.4 23.1,0 12,11"/>
183
- <path id="东北左转"
184
- :stroke-width="PathWidth"
185
- :fill="isLock !== 0 ? status[25].lockColor:status[25].color"
186
- :class="status[25].isshow ? '' : 'invisible'"
187
- class="st0" d="M23.1,0c0,0-3.9,3.9-3.9,3.9c-1.6,1.6-2.3,4-1.8,6.2c0.1,0.3,0.1,0.5,0.2,0.7
188
- c0.5,1.2,1.3,2.2,2,3.3c0,0-0.1,0.1-0.1,0.1l-2.1,1.8l6.2,1.5l-0.4-6.3c0,0-2,1.7-2,1.7c0,0-0.8-1.1-0.8-1.2
189
- c-1-1.4-1.3-2.9-0.8-4.6c0.4-1.3,1.3-2.1,2.2-3c0.7-0.7,1.4-1.4,2.1-2.1c0.2-0.2,0.4-0.4,0.7-0.7L23.1,0z"/>
190
- <path id="东北右转"
191
- :stroke-width="PathWidth"
192
- :fill="isLock !== 0 ? status[26].lockColor:status[26].color"
193
- :class="status[26].isshow ? '' : 'invisible'"
194
- class="st0" d="M8.6,2.3L10,8.4l1.8-2.1L12,6.2L12,6.1c0.5,0.3,1,0.6,1.5,0.8c0.2,0.1,0.5,0.2,0.7,0.2
195
- c2.2,0.5,4.6-0.2,6.2-1.8c0,0,3.9-3.9,3.9-3.9L23.1,0c-0.2,0.2-0.4,0.4-0.7,0.7c-0.7,0.7-1.4,1.4-2.1,2.1c-0.9,0.9-1.7,1.8-3,2.2
196
- c-1.4,0.5-2.8,0.3-4-0.5c0.3-0.4,1.6-1.9,1.6-1.9L8.6,2.3z"/>
197
- </g>
198
- <g id="西北">
199
- <path id="西北掉头"
200
- :stroke-width="PathWidth"
201
- :fill="isLock !== 0 ? status[31].lockColor:status[31].color"
202
- :class="status[31].isshow ? '' : 'invisible'"
203
- class="st0" d="M9.6,14.7c1.6-1.6,1.5-4.1,0-5.6L9.4,8.8l1.9-1.9L5,6l1,6.3l2-2l0.3,0.3
204
- c0.8,0.8,0.8,2.2,0,3c-0.8,0.8-2.2,0.8-3,0L1.4,9.6L0,10.9l3.9,3.9C5.6,16.2,8.1,16.2,9.6,14.7z"/>
205
- <polygon
206
- :stroke-width="PathWidth"
207
- :fill="isLock !== 0 ? status[28].lockColor:status[28].color"
208
- :class="status[28].isshow ? '' : 'invisible'"
209
- id="西北直行"
210
- class="st0"
211
- points="8.9,23.8 15.1,24.8 14.3,18.5 12.3,20.5 1.4,9.5 0,10.9 10.9,21.9"/>
212
- <path id="西北左转"
213
- :stroke-width="PathWidth"
214
- :fill="isLock !== 0 ? status[21].lockColor:status[21].color"
215
- :class="status[21].isshow ? '' : 'invisible'"
216
- class="st0" d="M0,10.9c0,0,3.9,3.9,3.9,3.9c1.6,1.6,4,2.3,6.2,1.8c0.3-0.1,0.5-0.1,0.7-0.2
217
- c1.2-0.5,2.2-1.3,3.3-2c0,0,0.1,0.1,0.1,0.1l1.8,2.1l1.5-6.2l-6.3,0.4c0,0,1.7,2,1.7,2c0,0-1.1,0.8-1.2,0.8
218
- c-1.4,1-2.9,1.3-4.6,0.8c-1.3-0.4-2.1-1.3-3-2.2c-0.7-0.7-1.4-1.4-2.1-2.1C1.8,10,1.6,9.8,1.4,9.6L0,10.9z"/>
219
- <path id="西北右转"
220
- :stroke-width="PathWidth"
221
- :fill="isLock !== 0 ? status[30].lockColor:status[30].color"
222
- :class="status[30].isshow ? '' : 'invisible'"
223
- class="st0" d="M2.3,25.4L8.4,24l-2.1-1.8L6.2,22L6.1,22c0.3-0.5,0.6-1,0.8-1.5c0.1-0.2,0.2-0.5,0.2-0.7
224
- c0.5-2.2-0.2-4.6-1.8-6.2c0,0-3.9-3.9-3.9-3.9L0,10.9c0.2,0.2,0.4,0.4,0.7,0.7c0.7,0.7,1.4,1.4,2.1,2.1c0.9,0.9,1.8,1.7,2.2,3
225
- c0.5,1.4,0.3,2.8-0.5,4c-0.4-0.3-1.9-1.6-1.9-1.6L2.3,25.4z"/>
226
- </g>
227
- <g id="东南">
228
- <path id="东南掉头"
229
- :stroke-width="PathWidth"
230
- :fill="isLock !== 0 ? status[19].lockColor:status[19].color"
231
- :class="status[19].isshow ? '' : 'invisible'"
232
- class="st0" d="M24.4,19.3c-1.6,1.6-1.5,4.1,0,5.6l0.3,0.3l-1.9,1.9l6.3,1l-1-6.3l-2,2l-0.3-0.3
233
- c-0.8-0.8-0.8-2.2,0-3c0.8-0.8,2.2-0.8,3,0l3.9,3.9l1.4-1.4l-3.9-3.9C28.4,17.8,25.9,17.8,24.4,19.3z"/>
234
- <polygon
235
- id="东南直行"
236
- :stroke-width="PathWidth"
237
- :fill="status[16].color"
238
- :class="status[16].isshow ? '' : 'invisible'"
239
- class="st0"
240
- points="24.9,10.2 18.8,9.2 19.7,15.5 21.7,13.5 32.6,24.4 33.9,23.1 22.9,12.1"/>
241
- <path id="东南左转"
242
- :stroke-width="PathWidth"
243
- :fill="isLock !== 0 ? status[17].lockColor:status[17].color"
244
- :class="status[17].isshow ? '' : 'invisible'"
245
- class="st0" d="M34,23.1c0,0-3.9-3.9-3.9-3.9c-1.6-1.6-4-2.3-6.2-1.8c-0.3,0.1-0.5,0.1-0.7,0.2
246
- c-1.2,0.5-2.2,1.3-3.3,2c0,0-0.1-0.1-0.1-0.1l-1.8-2.1l-1.5,6.2l6.3-0.4c0,0-1.7-2-1.7-2c0,0,1.1-0.8,1.2-0.8
247
- c1.4-1,2.9-1.3,4.6-0.8c1.3,0.4,2.1,1.3,3,2.2c0.7,0.7,1.4,1.4,2.1,2.1c0.2,0.2,0.4,0.4,0.7,0.7L34,23.1z"/>
248
- <path id="东南右转"
249
- :stroke-width="PathWidth"
250
- :fill="isLock !== 0 ? status[18].lockColor:status[18].color"
251
- :class="status[18].isshow ? '' : 'invisible'"
252
- class="st0" d="M31.7,8.6L25.6,10l2.1,1.8l0.1,0.1l0.1,0.1c-0.3,0.5-0.6,1-0.8,1.5
253
- c-0.1,0.2-0.2,0.5-0.2,0.7c-0.5,2.2,0.2,4.6,1.8,6.2c0,0,3.9,3.9,3.9,3.9l1.4-1.4c-0.2-0.2-0.4-0.4-0.7-0.7
254
- c-0.7-0.7-1.4-1.4-2.1-2.1c-0.9-0.9-1.8-1.7-2.2-3c-0.5-1.4-0.3-2.8,0.5-4c0.4,0.3,1.9,1.6,1.9,1.6L31.7,8.6z"/>
255
- </g>
256
- </g>
257
- </svg>
258
- </div>
259
- <div :style="{position: 'absolute', left: Datas?Datas.left:0, top: Datas?Datas.top:0}">
260
- <svg
261
- version="1.1"
262
- id="图层_1"
263
- xmlns="http://www.w3.org/2000/svg"
264
- xmlns:xlink="http://www.w3.org/1999/xlink"
265
- viewBox="0 0 50 50"
266
- style="enable-background:new 0 0 50 50;"
267
- :width="Widths"
268
- :height="Heights"
269
- xml:space="preserve">
270
- <!-- <style type="text/css">
271
- .st0{fill:#CBD3DB;}
272
- </style> -->
273
- <g>
274
- <g id="二次过街-西">
275
- <g id="西上" :fill="isLock !== 0 ? peoplestatus[9].lockColor:peoplestatus[9].color" :class="peoplestatus[9].isshow? '' : 'invisible'">
276
- <rect y="0" class="st0" width="4.4" height="2.6"/>
277
- <rect y="5.2" class="st0" width="4.4" height="2.6"/>
278
- <rect y="10.5" class="st0" width="4.4" height="2.6"/>
279
- </g>
280
- <g id="西下" :fill="isLock !== 0 ? peoplestatus[8].lockColor:peoplestatus[8].color" :class="peoplestatus[8].isshow? '' : 'invisible'">
281
- <rect y="20.9" class="st0" width="4.4" height="2.6"/>
282
- <rect y="26.2" class="st0" width="4.4" height="2.6"/>
283
- <rect y="31.4" class="st0" width="4.4" height="2.6"/>
284
- </g>
285
- </g>
286
- <g id="二次过街-东">
287
- <g id="东上" :fill="isLock !== 0 ? peoplestatus[10].lockColor:peoplestatus[10].color" :class="peoplestatus[10].isshow? '' : 'invisible'">
288
- <rect x="29.6" y="0" class="st0" width="4.4" height="2.6"/>
289
- <rect x="29.6" y="5.2" class="st0" width="4.4" height="2.6"/>
290
- <rect x="29.6" y="10.5" class="st0" width="4.4" height="2.6"/>
291
- </g>
292
- <g id="东下" :fill="isLock !== 0 ? peoplestatus[11].lockColor:peoplestatus[11].color" :class="peoplestatus[11].isshow? '' : 'invisible'">
293
- <rect x="29.6" y="20.9" class="st0" width="4.4" height="2.6"/>
294
- <rect x="29.6" y="26.2" class="st0" width="4.4" height="2.6"/>
295
- <rect x="29.6" y="31.4" class="st0" width="4.4" height="2.6"/>
296
- </g>
297
- </g>
298
- <g id="二次过街-北">
299
- <g id="北右" :fill="isLock !== 0 ? peoplestatus[14].lockColor:peoplestatus[14].color" :class="peoplestatus[14].isshow? '' : 'invisible'">
300
- <rect x="31.4" class="st0" width="2.6" height="4.4"/>
301
- <rect x="26.2" class="st0" width="2.6" height="4.4"/>
302
- <rect x="20.9" class="st0" width="2.6" height="4.4"/>
303
- </g>
304
- <g id="北左" :fill="isLock !== 0 ? peoplestatus[15].lockColor:peoplestatus[15].color" :class="peoplestatus[15].isshow? '' : 'invisible'">
305
- <rect x="10.5" class="st0" width="2.6" height="4.4"/>
306
- <rect x="5.2" class="st0" width="2.6" height="4.4"/>
307
- <rect x="0" class="st0" width="2.6" height="4.4"/>
308
- </g>
309
- </g>
310
- <g id="二次过街-南">
311
- <g id="南右" :fill="isLock !== 0 ? peoplestatus[12].lockColor:peoplestatus[12].color" :class="peoplestatus[12].isshow? '' : 'invisible'">
312
- <rect x="31.4" y="29.6" class="st0" width="2.6" height="4.4"/>
313
- <rect x="26.2" y="29.6" class="st0" width="2.6" height="4.4"/>
314
- <rect x="20.9" y="29.6" class="st0" width="2.6" height="4.4"/>
315
- </g>
316
- <g id="南左" :fill="isLock !== 0 ? peoplestatus[13].lockColor:peoplestatus[13].color" :class="peoplestatus[13].isshow? '' : 'invisible'">
317
- <rect x="10.5" y="29.6" class="st0" width="2.6" height="4.4"/>
318
- <rect x="5.2" y="29.6" class="st0" width="2.6" height="4.4"/>
319
- <rect x="0" y="29.6" class="st0" width="2.6" height="4.4"/>
320
- </g>
321
- </g>
322
- <g id="西行人_1_" :fill="isLock !== 0 ? peoplestatus[7].lockColor:peoplestatus[7].color" :class="peoplestatus[7].isshow? '' : 'invisible'">
323
- <rect y="0" class="st0" width="4.4" height="2.6"/>
324
- <rect y="5.2" class="st0" width="4.4" height="2.6"/>
325
- <rect y="10.5" class="st0" width="4.4" height="2.6"/>
326
- <rect y="15.7" class="st0" width="4.4" height="2.6"/>
327
- <rect y="20.9" class="st0" width="4.4" height="2.6"/>
328
- <rect y="26.2" class="st0" width="4.4" height="2.6"/>
329
- <rect y="31.4" class="st0" width="4.4" height="2.6"/>
330
- </g>
331
- <g id="东行人_1_" :fill="isLock !== 0 ? peoplestatus[6].lockColor:peoplestatus[6].color" :class="peoplestatus[6].isshow? '' : 'invisible'">
332
- <rect x="29.6" y="0" class="st0" width="4.4" height="2.6"/>
333
- <rect x="29.6" y="5.2" class="st0" width="4.4" height="2.6"/>
334
- <rect x="29.6" y="10.5" class="st0" width="4.4" height="2.6"/>
335
- <rect x="29.6" y="15.7" class="st0" width="4.4" height="2.6"/>
336
- <rect x="29.6" y="20.9" class="st0" width="4.4" height="2.6"/>
337
- <rect x="29.6" y="26.2" class="st0" width="4.4" height="2.6"/>
338
- <rect x="29.6" y="31.4" class="st0" width="4.4" height="2.6"/>
339
- </g>
340
- <g id="北行人_1_" :fill="isLock !== 0 ? peoplestatus[4].lockColor:peoplestatus[4].color" :class="peoplestatus[4].isshow? '' : 'invisible'">
341
- <rect x="31.4" class="st0" width="2.6" height="4.4"/>
342
- <rect x="26.2" class="st0" width="2.6" height="4.4"/>
343
- <rect x="20.9" class="st0" width="2.6" height="4.4"/>
344
- <rect x="15.7" class="st0" width="2.6" height="4.4"/>
345
- <rect x="10.5" class="st0" width="2.6" height="4.4"/>
346
- <rect x="5.2" class="st0" width="2.6" height="4.4"/>
347
- <rect x="0" class="st0" width="2.6" height="4.4"/>
348
- </g>
349
- <g id="斜向行人1" :fill="isLock !== 0 ? peoplestatus[2].lockColor:peoplestatus[2].color" :class="peoplestatus[2].isshow? '' : 'invisible'">
350
- <rect x="25.9" y="26.8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -11.6378 28.0961)" class="st0" width="4.4" height="2.6"/>
351
- <rect x="22.2" y="23.1" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -10.1057 24.3974)" class="st0" width="4.4" height="2.6"/>
352
- <rect x="18.5" y="19.4" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -8.5737 20.6987)" class="st0" width="4.4" height="2.6"/>
353
- <rect x="14.8" y="15.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -7.0416 17)" class="st0" width="4.4" height="2.6"/>
354
- <rect x="11.1" y="12" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -5.5096 13.3013)" class="st0" width="4.4" height="2.6"/>
355
- <rect x="7.4" y="8.3" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -3.9775 9.6026)" class="st0" width="4.4" height="2.6"/>
356
- <rect x="3.7" y="4.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -2.4455 5.9039)" class="st0" width="4.4" height="2.6"/>
357
- </g>
358
- <g id="斜向行人2" :fill="isLock !== 0 ? peoplestatus[3].lockColor:peoplestatus[3].color" :class="peoplestatus[3].isshow? '' : 'invisible'">
359
- <rect x="4.6" y="25.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -18.1378 12.4038)" class="st0" width="2.6" height="4.4"/>
360
- <rect x="8.3" y="22.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -14.4391 13.9359)" class="st0" width="2.6" height="4.4"/>
361
- <rect x="12" y="18.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -10.7403 15.4679)" class="st0" width="2.6" height="4.4"/>
362
- <rect x="15.7" y="14.8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -7.0416 17)" class="st0" width="2.6" height="4.4"/>
363
- <rect x="19.4" y="11.1" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -3.3429 18.532)" class="st0" width="2.6" height="4.4"/>
364
- <rect x="23.1" y="7.4" transform="matrix(0.7071 -0.7071 0.7071 0.7071 0.3558 20.0641)" class="st0" width="2.6" height="4.4"/>
365
- <rect x="26.8" y="3.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 4.0545 21.5962)" class="st0" width="2.6" height="4.4"/>
366
- </g>
367
- <g id="路段行人过街-南北" :fill="isLock !== 0 ? peoplestatus[0].lockColor:peoplestatus[0].color" :class="peoplestatus[0].isshow? '' : 'invisible'">
368
- <rect x="14.8" y="31.4" class="st0" width="4.4" height="2.6"/>
369
- <rect x="14.8" y="26.2" class="st0" width="4.4" height="2.6"/>
370
- <rect x="14.8" y="20.9" class="st0" width="4.4" height="2.6"/>
371
- <rect x="14.8" y="15.7" class="st0" width="4.4" height="2.6"/>
372
- <rect x="14.8" y="10.5" class="st0" width="4.4" height="2.6"/>
373
- <rect x="14.8" y="5.2" class="st0" width="4.4" height="2.6"/>
374
- <rect x="14.8" y="0" class="st0" width="4.4" height="2.6"/>
375
- </g>
376
- <g id="路段行人过街-东西" :fill="isLock !== 0 ? peoplestatus[1].lockColor:peoplestatus[1].color" :class="peoplestatus[1].isshow? '' : 'invisible'">
377
- <rect x="0" y="14.8" class="st0" width="2.6" height="4.4"/>
378
- <rect x="5.2" y="14.8" class="st0" width="2.6" height="4.4"/>
379
- <rect x="10.5" y="14.8" class="st0" width="2.6" height="4.4"/>
380
- <rect x="15.7" y="14.8" class="st0" width="2.6" height="4.4"/>
381
- <rect x="20.9" y="14.8" class="st0" width="2.6" height="4.4"/>
382
- <rect x="26.2" y="14.8" class="st0" width="2.6" height="4.4"/>
383
- <rect x="31.4" y="14.8" class="st0" width="2.6" height="4.4"/>
384
- </g>
385
- <g id="南行人_1_" :fill="isLock !== 0 ? peoplestatus[5].lockColor:peoplestatus[5].color" :class="peoplestatus[5].isshow? '' : 'invisible'">
386
- <rect x="31.4" y="29.6" class="st0" width="2.6" height="4.4"/>
387
- <rect x="26.2" y="29.6" class="st0" width="2.6" height="4.4"/>
388
- <rect x="20.9" y="29.6" class="st0" width="2.6" height="4.4"/>
389
- <rect x="15.7" y="29.6" class="st0" width="2.6" height="4.4"/>
390
- <rect x="10.5" y="29.6" class="st0" width="2.6" height="4.4"/>
391
- <rect x="5.2" y="29.6" class="st0" width="2.6" height="4.4"/>
392
- <rect x="0" y="29.6" class="st0" width="2.6" height="4.4"/>
393
- </g>
394
- </g>
395
- <g>
396
- <g id="二次过街-西北">
397
- <g id="西北上" :fill="isLock !== 0 ? peoplestatus[26].lockColor:peoplestatus[26].color" :class="peoplestatus[26].isshow? '' : 'invisible'">
398
- <rect x="16.3" y="-6.8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 8.3878 11.1346)" class="st0" width="2.6" height="4.4"/>
399
- <rect x="12.6" y="-3.1" transform="matrix(0.7071 -0.7071 0.7071 0.7071 4.6891 9.6026)" class="st0" width="2.6" height="4.4"/>
400
- <rect x="8.9" y="0.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 0.9904 8.0705)" class="st0" width="2.6" height="4.4"/>
401
- </g>
402
- <g id="西北下" :fill="isLock !== 0 ? peoplestatus[27].lockColor:peoplestatus[27].color" :class="peoplestatus[27].isshow? '' : 'invisible'">
403
- <rect x="1.5" y="8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -6.407 5.0064)" class="st0" width="2.6" height="4.4"/>
404
- <rect x="-2.2" y="11.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -10.1057 3.4743)" class="st0" width="2.6" height="4.4"/>
405
- <rect x="-5.9" y="15.4" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -13.8044 1.9423)" class="st0" width="2.6" height="4.4"/>
406
- </g>
407
- </g>
408
- <g id="二次过街-东南">
409
- <g id="东南上" :fill="isLock !== 0 ? peoplestatus[20].lockColor:peoplestatus[20].color" :class="peoplestatus[20].isshow? '' : 'invisible'">
410
- <rect x="37.3" y="14.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -0.2788 32.0577)" class="st0" width="2.6" height="4.4"/>
411
- <rect x="33.6" y="17.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -3.9775 30.5257)" class="st0" width="2.6" height="4.4"/>
412
- <rect x="29.9" y="21.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -7.6762 28.9936)" class="st0" width="2.6" height="4.4"/>
413
- </g>
414
- <g id="东南下" :fill="isLock !== 0 ? peoplestatus[21].lockColor:peoplestatus[21].color" :class="peoplestatus[21].isshow? '' : 'invisible'">
415
- <rect x="22.5" y="29" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -15.0736 25.9295)" class="st0" width="2.6" height="4.4"/>
416
- <rect x="18.8" y="32.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -18.7724 24.3974)" class="st0" width="2.6" height="4.4"/>
417
- <rect x="15.1" y="36.4" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -22.4711 22.8654)" class="st0" width="2.6" height="4.4"/>
418
- </g>
419
- </g>
420
- <g id="二次过街-东北">
421
- <g id="东北下" :fill="isLock !== 0 ? peoplestatus[25].lockColor:peoplestatus[25].color" :class="peoplestatus[25].isshow? '' : 'invisible'">
422
- <rect x="36.4" y="16.3" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -1.1763 32.4295)" class="st0" width="4.4" height="2.6"/>
423
- <rect x="32.7" y="12.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 0.3558 28.7307)" class="st0" width="4.4" height="2.6"/>
424
- <rect x="29" y="8.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 1.8879 25.032)" class="st0" width="4.4" height="2.6"/>
425
- </g>
426
- <g id="东北上" :fill="isLock !== 0 ? peoplestatus[24].lockColor:peoplestatus[24].color" :class="peoplestatus[24].isshow? '' : 'invisible'">
427
- <rect x="21.6" y="1.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 4.952 17.6346)" class="st0" width="4.4" height="2.6"/>
428
- <rect x="17.9" y="-2.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 6.484 13.9359)" class="st0" width="4.4" height="2.6"/>
429
- <rect x="14.2" y="-5.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 8.0161 10.2372)" class="st0" width="4.4" height="2.6"/>
430
- </g>
431
- </g>
432
- <g id="二次过街-西南">
433
- <g id="西南下" :fill="isLock !== 0 ? peoplestatus[23].lockColor:peoplestatus[23].color" :class="peoplestatus[23].isshow? '' : 'invisible'">
434
- <rect x="15.4" y="37.3" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -22.0994 23.7628)" class="st0" width="4.4" height="2.6"/>
435
- <rect x="11.7" y="33.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -20.5673 20.0641)" class="st0" width="4.4" height="2.6"/>
436
- <rect x="8" y="29.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -19.0352 16.3654)" class="st0" width="4.4" height="2.6"/>
437
- </g>
438
- <g id="西南上" :fill="isLock !== 0 ? peoplestatus[22].lockColor:peoplestatus[22].color" :class="peoplestatus[22].isshow? '' : 'invisible'">
439
- <rect x="0.6" y="22.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -15.9711 8.968)" class="st0" width="4.4" height="2.6"/>
440
- <rect x="-3.1" y="18.8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -14.4391 5.2693)" class="st0" width="4.4" height="2.6"/>
441
- <rect x="-6.8" y="15.1" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -12.907 1.5706)" class="st0" width="4.4" height="2.6"/>
442
- </g>
443
- </g>
444
- <g id="西北行人" :fill="isLock !== 0 ? peoplestatus[19].lockColor:peoplestatus[19].color" :class="peoplestatus[19].isshow? '' : 'invisible'">
445
- <rect x="16.3" y="-6.8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 8.3878 11.1346)" class="st0" width="2.6" height="4.4"/>
446
- <rect x="12.6" y="-3.1" transform="matrix(0.7071 -0.7071 0.7071 0.7071 4.6891 9.6026)" class="st0" width="2.6" height="4.4"/>
447
- <rect x="8.9" y="0.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 0.9904 8.0705)" class="st0" width="2.6" height="4.4"/>
448
- <rect x="5.2" y="4.3" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -2.7083 6.5385)" class="st0" width="2.6" height="4.4"/>
449
- <rect x="1.5" y="8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -6.407 5.0064)" class="st0" width="2.6" height="4.4"/>
450
- <rect x="-2.2" y="11.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -10.1057 3.4743)" class="st0" width="2.6" height="4.4"/>
451
- <rect x="-5.9" y="15.4" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -13.8044 1.9423)" class="st0" width="2.6" height="4.4"/>
452
- </g>
453
- <g id="东南行人" :fill="isLock !== 0 ? peoplestatus[16].lockColor:peoplestatus[16].color" :class="peoplestatus[16].isshow? '' : 'invisible'">
454
- <rect x="37.3" y="14.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -0.2788 32.0577)" class="st0" width="2.6" height="4.4"/>
455
- <rect x="33.6" y="17.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -3.9775 30.5257)" class="st0" width="2.6" height="4.4"/>
456
- <rect x="29.9" y="21.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -7.6762 28.9936)" class="st0" width="2.6" height="4.4"/>
457
- <rect x="26.2" y="25.3" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -11.3749 27.4615)" class="st0" width="2.6" height="4.4"/>
458
- <rect x="22.5" y="29" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -15.0736 25.9295)" class="st0" width="2.6" height="4.4"/>
459
- <rect x="18.8" y="32.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -18.7724 24.3974)" class="st0" width="2.6" height="4.4"/>
460
- <rect x="15.1" y="36.4" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -22.4711 22.8654)" class="st0" width="2.6" height="4.4"/>
461
- </g>
462
- <g id="东北行人" :fill="isLock !== 0 ? peoplestatus[18].lockColor:peoplestatus[18].color" :class="peoplestatus[18].isshow? '' : 'invisible'">
463
- <rect x="36.4" y="16.3" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -1.1763 32.4295)" class="st0" width="4.4" height="2.6"/>
464
- <rect x="32.7" y="12.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 0.3558 28.7307)" class="st0" width="4.4" height="2.6"/>
465
- <rect x="29" y="8.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 1.8879 25.032)" class="st0" width="4.4" height="2.6"/>
466
- <rect x="25.3" y="5.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 3.4199 21.3333)" class="st0" width="4.4" height="2.6"/>
467
- <rect x="21.6" y="1.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 4.952 17.6346)" class="st0" width="4.4" height="2.6"/>
468
- <rect x="17.9" y="-2.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 6.484 13.9359)" class="st0" width="4.4" height="2.6"/>
469
- <rect x="14.2" y="-5.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 8.0161 10.2372)" class="st0" width="4.4" height="2.6"/>
470
- </g>
471
- <g id="西南行人" :fill="isLock !== 0 ? peoplestatus[17].lockColor:peoplestatus[17].color" :class="peoplestatus[17].isshow? '' : 'invisible'">
472
- <rect x="15.4" y="37.3" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -22.0994 23.7628)" class="st0" width="4.4" height="2.6"/>
473
- <rect x="11.7" y="33.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -20.5673 20.0641)" class="st0" width="4.4" height="2.6"/>
474
- <rect x="8" y="29.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -19.0352 16.3654)" class="st0" width="4.4" height="2.6"/>
475
- <rect x="4.3" y="26.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -17.5032 12.6667)" class="st0" width="4.4" height="2.6"/>
476
- <rect x="0.6" y="22.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -15.9711 8.968)" class="st0" width="4.4" height="2.6"/>
477
- <rect x="-3.1" y="18.8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -14.4391 5.2693)" class="st0" width="4.4" height="2.6"/>
478
- <rect x="-6.8" y="15.1" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -12.907 1.5706)" class="st0" width="4.4" height="2.6"/>
479
- </g>
480
- </g>
481
- </svg>
482
- </div>
483
- </div>
484
- </template>
485
- <script>
486
- import { mapState } from 'vuex'
487
-
488
- export default {
489
- name: 'xdr-dir-selector',
490
- props: {
491
- showlist: {
492
- type: Array,
493
- default: function () {
494
- return [
495
- {
496
- id: 1,
497
- color: 'red'
498
- },
499
- {
500
- id: 2,
501
- color: 'yellow'
502
- }
503
- ]
504
- }
505
- },
506
- Width: {// 车道宽
507
- type: String,
508
- default: '60px'
509
- },
510
- Height: {
511
- type: String,
512
- default: '60px'
513
- },
514
- Widths: {// 人行横道宽
515
- type: String,
516
- default: '50px'
517
- },
518
- Heights: {
519
- type: String,
520
- default: '50px'
521
- },
522
- PathWidth: {
523
- type: Number,
524
- default: 18
525
- },
526
- ISActiveMask: {
527
- type: Boolean,
528
- default: false
529
- },
530
- MaskColor: {
531
- type: String,
532
- default: '#0096ba'
533
- },
534
- isLock: {
535
- type: Number,
536
- default: 0
537
- },
538
- Datas: {// 人行横道样式
539
- type: Object
540
- },
541
- Data: {// 车道样式
542
- type: Object
543
- }
544
- },
545
- computed: {
546
- ...mapState({
547
- roadDirection: state => state.globalParam.roadDirection
548
- })
549
- },
550
- data () {
551
- return {
552
- maskmark: false,
553
- peoplestatus: [
554
- {
555
- id: 1,
556
- name: '东西路段人行横道',
557
- isshow: false,
558
- lockColor: '#7ccc66'
559
- },
560
- {
561
- id: 2,
562
- name: '南北路段人行横道',
563
- isshow: false,
564
- lockColor: '#7ccc66'
565
- },
566
- {
567
- id: 3,
568
- name: 'X人行横道-\\',
569
- isshow: false,
570
- lockColor: '#7ccc66'
571
- },
572
- {
573
- id: 4,
574
- name: 'X人行横道-/',
575
- isshow: false,
576
- lockColor: '#7ccc66'
577
- },
578
- {
579
- id: 5,
580
- name: '北人行横道',
581
- isshow: false,
582
- lockColor: '#7ccc66'
583
- },
584
- {
585
- id: 6,
586
- name: '南人行横道',
587
- isshow: false,
588
- lockColor: '#7ccc66'
589
- },
590
- {
591
- id: 7,
592
- name: '东人行横道',
593
- isshow: false,
594
- lockColor: '#7ccc66'
595
- },
596
- {
597
- id: 8,
598
- name: '西人行横道',
599
- isshow: false,
600
- lockColor: '#7ccc66'
601
- },
602
- {
603
- id: 9,
604
- name: '西人行横道-下',
605
- isshow: false,
606
- lockColor: '#7ccc66'
607
- },
608
- {
609
- id: 10,
610
- name: '西人行横道-上',
611
- isshow: false,
612
- lockColor: '#7ccc66'
613
- },
614
- {
615
- id: 11,
616
- name: '东人行横道-上',
617
- isshow: false,
618
- lockColor: '#7ccc66'
619
- },
620
- {
621
- id: 12,
622
- name: '东人行横道-下',
623
- isshow: false,
624
- lockColor: '#7ccc66'
625
- },
626
- {
627
- id: 13,
628
- name: '南人行横道-右',
629
- isshow: false,
630
- lockColor: '#7ccc66'
631
- },
632
- {
633
- id: 14,
634
- name: '南人行横道-左',
635
- isshow: false,
636
- lockColor: '#7ccc66'
637
- },
638
- {
639
- id: 15,
640
- name: '北人行横道-右',
641
- isshow: false,
642
- lockColor: '#7ccc66'
643
- },
644
- {
645
- id: 16,
646
- name: '北人行横道-左',
647
- isshow: false,
648
- lockColor: '#7ccc66'
649
- },
650
- {
651
- id: 17,
652
- name: '东南人行横道',
653
- isshow: false,
654
- lockColor: '#7ccc66'
655
- },
656
- {
657
- id: 18,
658
- name: '西南人行横道',
659
- isshow: false,
660
- lockColor: '#7ccc66'
661
- },
662
- {
663
- id: 19,
664
- name: '东北人行横道',
665
- isshow: false,
666
- lockColor: '#7ccc66'
667
- },
668
- {
669
- id: 20,
670
- name: '西北人行横道',
671
- isshow: false,
672
- lockColor: '#7ccc66'
673
- },
674
- {
675
- id: 21,
676
- name: '东南人行横道-上',
677
- isshow: false,
678
- lockColor: '#7ccc66'
679
- },
680
- {
681
- id: 22,
682
- name: '东南人行横道-下',
683
- isshow: false,
684
- lockColor: '#7ccc66'
685
- },
686
- {
687
- id: 23,
688
- name: '西南人行横道-上',
689
- isshow: false,
690
- lockColor: '#7ccc66'
691
- },
692
- {
693
- id: 24,
694
- name: '西南人行横道-下',
695
- isshow: false,
696
- lockColor: '#7ccc66'
697
- },
698
- {
699
- id: 25,
700
- name: '东北人行横道-上',
701
- isshow: false,
702
- lockColor: '#7ccc66'
703
- },
704
- {
705
- id: 26,
706
- name: '东北人行横道-下',
707
- isshow: false,
708
- lockColor: '#7ccc66'
709
- },
710
- {
711
- id: 27,
712
- name: '西北人行横道-上',
713
- isshow: false,
714
- lockColor: '#7ccc66'
715
- },
716
- {
717
- id: 28,
718
- name: '西北人行横道-下',
719
- isshow: false,
720
- lockColor: '#7ccc66'
721
- }
722
- ],
723
- status: [
724
- {
725
- id: 1,
726
- name: 'East-Straight',
727
- isshow: false,
728
- color: '#0096ba',
729
- lockColor: '#7ccc66'
730
- },
731
- {
732
- id: 2,
733
- name: 'East-Left',
734
- isshow: false,
735
- color: '#0096ba',
736
- lockColor: '#7ccc66'
737
- },
738
- {
739
- id: 3,
740
- name: 'East-Right',
741
- isshow: false,
742
- color: '#0096ba',
743
- lockColor: '#7ccc66'
744
- },
745
- {
746
- id: 4,
747
- name: 'East-Back ',
748
- isshow: false,
749
- color: '#0096ba',
750
- lockColor: '#7ccc66'
751
- },
752
- {
753
- id: 5,
754
- name: 'West-Straight',
755
- isshow: false,
756
- color: '#0096ba',
757
- lockColor: '#7ccc66'
758
- },
759
- {
760
- id: 6,
761
- name: 'West-Left',
762
- isshow: false,
763
- color: '#0096ba',
764
- lockColor: '#7ccc66'
765
- },
766
- {
767
- id: 7,
768
- name: 'West-Right',
769
- isshow: false,
770
- color: '#0096ba',
771
- lockColor: '#7ccc66'
772
- },
773
- {
774
- id: 8,
775
- name: 'West-Back',
776
- isshow: false,
777
- color: '#0096ba',
778
- lockColor: '#7ccc66'
779
- },
780
- {
781
- id: 9,
782
- name: 'North-Straight',
783
- isshow: false,
784
- color: '#0096ba',
785
- lockColor: '#7ccc66'
786
- },
787
- {
788
- id: 10,
789
- name: 'North-Left',
790
- isshow: false,
791
- color: '#0096ba',
792
- lockColor: '#7ccc66'
793
- },
794
- {
795
- id: 11,
796
- name: 'North-Right',
797
- isshow: false,
798
- color: '#0096ba',
799
- lockColor: '#7ccc66'
800
- },
801
- {
802
- id: 12,
803
- name: 'North-Back',
804
- isshow: false,
805
- color: '#0096ba',
806
- lockColor: '#7ccc66'
807
- },
808
- {
809
- id: 13,
810
- name: 'South-Straight',
811
- isshow: false,
812
- color: '#0096ba',
813
- lockColor: '#7ccc66'
814
- },
815
- {
816
- id: 14,
817
- name: 'South-Left',
818
- isshow: false,
819
- color: '#0096ba',
820
- lockColor: '#7ccc66'
821
- },
822
- {
823
- id: 15,
824
- name: 'South-Right',
825
- isshow: false,
826
- color: '#0096ba',
827
- lockColor: '#7ccc66'
828
- },
829
- {
830
- id: 16,
831
- name: 'South-Back',
832
- isshow: false,
833
- color: '#0096ba',
834
- lockColor: '#7ccc66'
835
- },
836
- {
837
- id: 17,
838
- name: 'Straight-Southeast',
839
- isshow: false,
840
- color: '#0096ba',
841
- lockColor: '#7ccc66'
842
- },
843
- {
844
- id: 18,
845
- name: 'Southeast-Left',
846
- isshow: false,
847
- color: '#0096ba',
848
- lockColor: '#7ccc66'
849
- },
850
- {
851
- id: 19,
852
- name: 'Southeast-Right',
853
- isshow: false,
854
- color: '#0096ba',
855
- lockColor: '#7ccc66'
856
- },
857
- {
858
- id: 20,
859
- name: 'Turn-Southeast',
860
- isshow: false,
861
- color: '#0096ba',
862
- lockColor: '#7ccc66'
863
- },
864
- {
865
- id: 21,
866
- name: 'Straight-Southwest',
867
- isshow: false,
868
- color: '#0096ba',
869
- lockColor: '#7ccc66'
870
- },
871
- {
872
- id: 22,
873
- name: 'Southwest-Left',
874
- isshow: false,
875
- color: '#0096ba',
876
- lockColor: '#7ccc66'
877
- },
878
- {
879
- id: 23,
880
- name: 'Southwest-Right',
881
- isshow: false,
882
- color: '#0096ba',
883
- lockColor: '#7ccc66'
884
- },
885
- {
886
- id: 24,
887
- name: 'Turn-Southwest',
888
- isshow: false,
889
- color: '#0096ba',
890
- lockColor: '#7ccc66'
891
- },
892
- {
893
- id: 25,
894
- name: 'Straight-Northeast',
895
- isshow: false,
896
- color: '#0096ba',
897
- lockColor: '#7ccc66'
898
- },
899
- {
900
- id: 26,
901
- name: 'Northeast-Left',
902
- isshow: false,
903
- color: '#0096ba',
904
- lockColor: '#7ccc66'
905
- },
906
- {
907
- id: 27,
908
- name: 'Northeast-Right-Turn',
909
- isshow: false,
910
- color: '#0096ba',
911
- lockColor: '#7ccc66'
912
- },
913
- {
914
- id: 28,
915
- name: 'Turn-Northeast',
916
- isshow: false,
917
- color: '#0096ba',
918
- lockColor: '#7ccc66'
919
- },
920
- {
921
- id: 29,
922
- name: 'Straight-Northwest',
923
- isshow: false,
924
- color: '#0096ba',
925
- lockColor: '#7ccc66'
926
- },
927
- {
928
- id: 30,
929
- name: 'Northwest-Left-Turn',
930
- isshow: false,
931
- color: '#0096ba',
932
- lockColor: '#7ccc66'
933
- },
934
- {
935
- id: 31,
936
- name: 'Northwest-Right-Turn',
937
- isshow: false,
938
- color: '#0096ba',
939
- lockColor: '#7ccc66'
940
- },
941
- {
942
- id: 32,
943
- name: 'Turn-Northwest',
944
- isshow: false,
945
- color: '#0096ba',
946
- lockColor: '#7ccc66'
947
- }
948
- ]
949
- }
950
- },
951
- methods: {
952
- randShow () {
953
- let num1 = parseInt(Math.random() * (15 - 0 + 1) + 0)
954
- let num2 = parseInt(Math.random() * (15 - 0 + 1) + 0)
955
- for (let i = 0; i < 16; i++) {
956
- if (this.status[i].isshow) {
957
- this.status[i].isshow = false
958
- }
959
- if (i === num1 || i === num2) {
960
- this.status[i].isshow = true
961
- }
962
- }
963
- },
964
- // 车道
965
- refreshShow (showList) {
966
- if (showList.length > 16) {
967
- console.log('list can not be bigger than 16!')
968
- }
969
- this.maskmark = false
970
- if (showList.length <= 0) {
971
- if (this.ISActiveMask) {
972
- this.maskmark = true
973
- }
974
- }
975
-
976
- for (let i = 0; i < 32; i++) {
977
- if (this.status[i].isshow) {
978
- this.status[i].isshow = false
979
- }
980
- }
981
- for (let i = 0; i < 32; i++) {
982
- if (i < showList.length) {
983
- let id = showList[i].id
984
- if (!id) return
985
- if (id > 32 || id <= 0) {
986
- console.log('Id is invalied!')
987
- continue
988
- }
989
- this.status[id - 1].isshow = true
990
- this.status[id - 1].color = showList[i].color
991
- }
992
- }
993
- },
994
- // 人行横道
995
- refreshShows (showlist) {
996
- if (showlist.length === 0) return
997
- for (let i = 0; i < 28; i++) {
998
- if (this.peoplestatus[i].isshow) {
999
- this.peoplestatus[i].isshow = false
1000
- }
1001
- }
1002
- if (!showlist[0].peddirection) return
1003
- if (showlist[0].peddirection.length === 0) return
1004
- for (let i = 0; i < showlist[0].peddirection.length; i++) {
1005
- for (let j = 0; j < this.peoplestatus.length; j++) {
1006
- if (showlist[0].peddirection[i].name === this.peoplestatus[j].name) {
1007
- this.peoplestatus[j].isshow = true
1008
- if (showlist[0].peddirection[i].color) {
1009
- this.peoplestatus[j].color = showlist[0].peddirection[i].color
1010
- }
1011
- }
1012
- }
1013
- }
1014
- }
1015
- },
1016
- created () {
1017
- this.refreshShow(this.showlist)
1018
- this.refreshShows(this.showlist)
1019
- },
1020
- watch: {
1021
- showlist: {
1022
- handler: function (newList) {
1023
- this.refreshShow(newList)
1024
- this.refreshShows(newList)
1025
- },
1026
- deep: true // 深度监听
1027
- }
1028
- }
1029
- }
1030
- </script>
1031
-
1032
- <style scoped>
1033
- svg:not(:root){
1034
- overflow: unset;
1035
- }
1036
- .invisible {
1037
- visibility: hidden;
1038
- }
1039
- .st0{color: #040000;}
1040
- .st1{fill-rule:evenodd;clip-rule:evenodd;fill:#303133;}
1041
- </style>
1
+ /**
2
+ * Copyright (c) 2020 kedacom
3
+ * OpenATC is licensed under Mulan PSL v2.
4
+ * You can use this software according to the terms and conditions of the Mulan PSL v2.
5
+ * You may obtain a copy of Mulan PSL v2 at:
6
+ * http://license.coscl.org.cn/MulanPSL2
7
+ * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
8
+ * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
9
+ * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
10
+ * See the Mulan PSL v2 for more details.
11
+ **/
12
+ <template>
13
+ <div :style="{position: 'relative',height: '40px'}">
14
+ <div :style="{position: 'absolute', left: Data?Data.left:0, top: Data?Data.top:0}">
15
+ <svg
16
+ version="1.1"
17
+ id="图层_1"
18
+ xmlns="http://www.w3.org/2000/svg"
19
+ xmlns:xlink="http://www.w3.org/1999/xlink"
20
+ viewBox="0 0 60 60"
21
+ :width="Width"
22
+ :height="Height"
23
+ style="enable-background:new 0 0 60 60;"
24
+ xml:space="preserve">
25
+ <g>
26
+ <g id="南">
27
+ <path id="南掉头"
28
+ :stroke-width="PathWidth"
29
+ :fill="isLock !== 0 ? status[15].lockColor:status[15].color"
30
+ :class="status[15].isshow ? '' : 'invisible'"
31
+ class="st0" d="M20.6,23.8c-2.2,0-4,1.8-4,4v0.4h-2.7l3.8,5.1l3.8-5.1h-2.9v-0.4c0-1.2,1-2.1,2.1-2.1
32
+ c1.2,0,2.1,1,2.1,2.1v5.5h1.9v-5.5C24.5,25.6,22.8,23.8,20.6,23.8z"/>
33
+ <polygon id="南直行"
34
+ :stroke-width="PathWidth"
35
+ :fill="isLock !== 0 ? status[12].lockColor:status[12].color"
36
+ :class="status[12].isshow ? '' : 'invisible'"
37
+ class="st0" points="27.5,17.8 23.7,12.6 20,17.8 22.8,17.8 22.8,33.3 24.7,33.3 24.7,17.8"/>
38
+ <path id="南左转"
39
+ :stroke-width="PathWidth"
40
+ :fill="isLock !== 0 ? status[13].lockColor:status[13].color"
41
+ :class="status[13].isshow ? '' : 'invisible'"
42
+ class="st0" d="M24.7,33.3c0,0,0-5.5,0-5.5c0-2.2-1.2-4.5-3.1-5.7c-0.2-0.1-0.5-0.3-0.7-0.4
43
+ c-1.2-0.5-2.5-0.7-3.7-0.9c0,0,0-0.2,0-0.2l0.2-2.8L12,21.2l4.8,4.2c0,0,0.2-2.6,0.2-2.6c0,0,1.3,0.2,1.4,0.2
44
+ c1.7,0.3,3,1.1,3.8,2.7c0.6,1.2,0.5,2.4,0.5,3.7c0,1,0,2,0,3c0,0.3,0,0.6,0,1H24.7z"/>
45
+ <path id="南右转"
46
+ :stroke-width="PathWidth"
47
+ :fill="isLock !== 0 ? status[14].lockColor:status[14].color"
48
+ :class="status[14].isshow ? '' : 'invisible'"
49
+ class="st0" d="M33.4,21.4L28,18.1l0.2,2.8l0,0.2l0,0.1c-0.6,0.1-1.1,0.3-1.7,0.5c-0.2,0.1-0.5,0.2-0.7,0.4
50
+ c-1.9,1.2-3.1,3.4-3.1,5.7c0,0,0,5.5,0,5.5h1.9c0-0.3,0-0.6,0-1c0-1,0-2,0-3c0-1.3-0.1-2.5,0.5-3.7c0.7-1.4,1.8-2.2,3.2-2.5
51
+ c0,0.5,0.2,2.5,0.2,2.5L33.4,21.4z"/>
52
+ </g>
53
+ <g id="北">
54
+ <path id="北掉头"
55
+ :stroke-width="PathWidth"
56
+ :fill="isLock !== 0 ? status[11].lockColor:status[11].color"
57
+ :class="status[11].isshow ? '' : 'invisible'"
58
+ class="st0" d="M13.4,10.2c2.2,0,4-1.8,4-4V5.8h2.7l-3.8-5.1l-3.8,5.1h2.9v0.4c0,1.2-1,2.1-2.1,2.1
59
+ s-2.1-1-2.1-2.1V0.7H9.3v5.5C9.5,8.4,11.2,10.2,13.4,10.2z"/>
60
+ <polygon
61
+ id="北直行_1_"
62
+ :stroke-width="PathWidth"
63
+ :fill="isLock !== 0 ? status[9].lockColor:status[8].color"
64
+ :class="status[8].isshow ? '' : 'invisible'"
65
+ class="st0" points="6.5,16.1 10.3,21.3 14,16.1 11.2,16.1 11.2,0.6 9.3,0.6 9.3,16.1"/>
66
+ <path id="北左转"
67
+ :stroke-width="PathWidth"
68
+ :fill="isLock !== 0 ? status[9].lockColor:status[9].color"
69
+ :class="status[9].isshow ? '' : 'invisible'"
70
+ class="st0" d="M9.3,0.7c0,0,0,5.5,0,5.5c0,2.2,1.2,4.5,3.1,5.7c0.2,0.1,0.5,0.3,0.7,0.4
71
+ c1.2,0.5,2.5,0.7,3.7,0.9c0,0,0,0.2,0,0.2l-0.2,2.8l5.4-3.3l-4.8-4.2c0,0-0.2,2.6-0.2,2.6c0,0-1.3-0.2-1.4-0.2
72
+ c-1.7-0.3-3-1.1-3.8-2.7c-0.6-1.2-0.5-2.4-0.5-3.7c0-1,0-2,0-3c0-0.3,0-0.6,0-1H9.3z"/>
73
+ <path id="北右转"
74
+ :stroke-width="PathWidth"
75
+ :fill="isLock !== 0 ? status[10].lockColor:status[10].color"
76
+ :class="status[10].isshow ? '' : 'invisible'"
77
+ class="st0" d="M0.6,12.6L6,15.9l-0.2-2.8l0-0.2l0-0.1c0.6-0.1,1.1-0.3,1.7-0.5c0.2-0.1,0.5-0.2,0.7-0.4
78
+ c1.9-1.2,3.1-3.4,3.1-5.7c0,0,0-5.5,0-5.5H9.3c0,0.3,0,0.6,0,1c0,1,0,2,0,3c0,1.3,0.1,2.5-0.5,3.7C8.1,9.7,7,10.5,5.6,10.9
79
+ c0-0.5-0.2-2.5-0.2-2.5L0.6,12.6z"/>
80
+ </g>
81
+ <g id="西">
82
+ <path id="西掉头"
83
+ :stroke-width="PathWidth"
84
+ :fill="isLock !== 0 ? status[7].lockColor:status[7].color"
85
+ :class="status[7].isshow ? '' : 'invisible'"
86
+ class="st0" d="M10.2,20.6c0-2.2-1.8-4-4-4H5.8v-2.7l-5.1,3.8l5.1,3.8v-2.9h0.4c1.2,0,2.1,1,2.1,2.1
87
+ c0,1.2-1,2.1-2.1,2.1H0.7v1.9h5.5C8.4,24.5,10.2,22.8,10.2,20.6z"/>
88
+ <polygon id="西直行"
89
+ :stroke-width="PathWidth"
90
+ :fill="isLock !== 0 ? status[4].lockColor:status[4].color"
91
+ :class="status[4].isshow ? '' : 'invisible'"
92
+ class="st0"
93
+ points="16.3,27.5 21.4,23.7 16.3,20 16.3,22.8 0.8,22.8 0.8,24.7 16.3,24.7"/>
94
+ <path id="西左转"
95
+ :stroke-width="PathWidth"
96
+ :fill="isLock !== 0 ? status[5].lockColor:status[5].color"
97
+ :class="status[5].isshow ? '' : 'invisible'"
98
+ class="st0" d="M0.7,24.7c0,0,5.5,0,5.5,0c2.2,0,4.5-1.2,5.7-3.1c0.1-0.2,0.3-0.5,0.4-0.7
99
+ c0.5-1.2,0.7-2.5,0.9-3.7c0,0,0.2,0,0.2,0l2.8,0.2L12.8,12l-4.2,4.8c0,0,2.6,0.2,2.6,0.2c0,0-0.2,1.3-0.2,1.4
100
+ c-0.3,1.7-1.1,3-2.7,3.8c-1.2,0.6-2.4,0.5-3.7,0.5c-1,0-2,0-3,0c-0.3,0-0.6,0-1,0V24.7z"/>
101
+ <path id="西右转"
102
+ :stroke-width="PathWidth"
103
+ :fill="isLock !== 0 ? status[6].lockColor:status[6].color"
104
+ :class="status[6].isshow ? '' : 'invisible'"
105
+ class="st0" d="M12.6,33.4l3.3-5.4l-2.8,0.2l-0.2,0l-0.1,0c-0.1-0.6-0.3-1.1-0.5-1.7
106
+ c-0.1-0.2-0.2-0.5-0.4-0.7c-1.2-1.9-3.4-3.1-5.7-3.1c0,0-5.5,0-5.5,0v1.9c0.3,0,0.6,0,1,0c1,0,2,0,3,0c1.3,0,2.5-0.1,3.7,0.5
107
+ c1.4,0.7,2.2,1.8,2.5,3.2c-0.5,0-2.5,0.2-2.5,0.2L12.6,33.4z"/>
108
+ </g>
109
+ <g id="东">
110
+ <path id="东掉头"
111
+ :stroke-width="PathWidth"
112
+ :fill="isLock !== 0 ? status[3].lockColor:status[3].color"
113
+ :class="status[3].isshow ? '' : 'invisible'"
114
+ class="st0" d="M23.8,13.4c0,2.2,1.8,4,4,4h0.4v2.7l5.1-3.8l-5.1-3.8v2.9h-0.4c-1.2,0-2.1-1-2.1-2.1
115
+ s1-2.1,2.1-2.1h5.5V9.3h-5.5C25.6,9.5,23.8,11.2,23.8,13.4z"/>
116
+ <polygon
117
+ :stroke-width="PathWidth"
118
+ :fill="isLock !== 0 ? status[0].lockColor:status[0].color"
119
+ :class="status[0].isshow ? '' : 'invisible'"
120
+ id="东直行"
121
+ class="st0"
122
+ points="17.9,6.5 12.8,10.3 17.9,14 17.9,11.2 33.4,11.2 33.4,9.3 17.9,9.3"/>
123
+ <path id="东左转"
124
+ :stroke-width="PathWidth"
125
+ :fill="isLock !== 0 ? status[1].lockColor:status[1].color"
126
+ :class="status[1].isshow ? '' : 'invisible'"
127
+ class="st0" d="M33.3,9.3c0,0-5.5,0-5.5,0c-2.2,0-4.5,1.2-5.7,3.1c-0.1,0.2-0.3,0.5-0.4,0.7
128
+ c-0.5,1.2-0.7,2.5-0.9,3.7c0,0-0.2,0-0.2,0l-2.8-0.2l3.3,5.4l4.2-4.8c0,0-2.6-0.2-2.6-0.2c0,0,0.2-1.3,0.2-1.4
129
+ c0.3-1.7,1.1-3,2.7-3.8c1.2-0.6,2.4-0.5,3.7-0.5c1,0,2,0,3,0c0.3,0,0.6,0,1,0V9.3z"/>
130
+ <path id="东右转"
131
+ :stroke-width="PathWidth"
132
+ :fill="isLock !== 0 ? status[2].lockColor:status[2].color"
133
+ :class="status[2].isshow ? '' : 'invisible'"
134
+ class="st0" d="M21.4,0.6L18.1,6l2.8-0.2l0.2,0l0.1,0c0.1,0.6,0.3,1.1,0.5,1.7c0.1,0.2,0.2,0.5,0.4,0.7
135
+ c1.2,1.9,3.4,3.1,5.7,3.1c0,0,5.5,0,5.5,0V9.3c-0.3,0-0.6,0-1,0c-1,0-2,0-3,0c-1.3,0-2.5,0.1-3.7-0.5c-1.4-0.7-2.2-1.8-2.5-3.2
136
+ c0.5,0,2.5-0.2,2.5-0.2L21.4,0.6z"/>
137
+ </g>
138
+ </g>
139
+ <g>
140
+ <g id="西南">
141
+ <path id="西南掉头"
142
+ :stroke-width="PathWidth"
143
+ :fill="isLock !== 0 ? status[23].lockColor:status[23].color"
144
+ :class="status[23].isshow ? '' : 'invisible'"
145
+ class="st0" d="M14.7,24.4c-1.6-1.6-4.1-1.5-5.6,0l-0.3,0.3l-1.9-1.9L6,29l6.3-1l-2-2l0.3-0.3
146
+ c0.8-0.8,2.2-0.8,3,0c0.8,0.8,0.8,2.2,0,3l-3.9,3.9l1.4,1.4l3.9-3.9C16.2,28.4,16.2,25.9,14.7,24.4z"/>
147
+ <polygon
148
+ id="西南直行"
149
+ class="st0"
150
+ :stroke-width="PathWidth"
151
+ :fill="isLock !== 0 ? status[20].lockColor:status[20].color"
152
+ :class="status[20].isshow ? '' : 'invisible'"
153
+ points="23.8,25 24.8,18.8 18.4,19.7 20.4,21.7 9.6,32.5 11,33.9 21.9,23"/>
154
+ <path id="西南左转"
155
+ :stroke-width="PathWidth"
156
+ :fill="isLock !== 0 ? status[21].lockColor:status[21].color"
157
+ :class="status[21].isshow ? '' : 'invisible'"
158
+ class="st0" d="M10.9,34c0,0,3.9-3.9,3.9-3.9c1.6-1.6,2.3-4,1.8-6.2c-0.1-0.3-0.1-0.5-0.2-0.7
159
+ c-0.5-1.2-1.3-2.2-2-3.3c0,0,0.1-0.1,0.1-0.1l2.1-1.8l-6.2-1.5l0.4,6.3c0,0,2-1.7,2-1.7c0,0,0.8,1.1,0.8,1.2
160
+ c1,1.4,1.3,2.9,0.8,4.6c-0.4,1.3-1.3,2.1-2.2,3c-0.7,0.7-1.4,1.4-2.1,2.1c-0.2,0.2-0.4,0.4-0.7,0.7L10.9,34z"/>
161
+ <path id="西南右转"
162
+ :stroke-width="PathWidth"
163
+ :fill="isLock !== 0 ? status[22].lockColor:status[22].color"
164
+ :class="status[22].isshow ? '' : 'invisible'"
165
+ class="st0" d="M25.4,31.7L24,25.6l-1.8,2.1L22,27.8L22,27.9c-0.5-0.3-1-0.6-1.5-0.8
166
+ c-0.2-0.1-0.5-0.2-0.7-0.2c-2.2-0.5-4.6,0.2-6.2,1.8c0,0-3.9,3.9-3.9,3.9l1.4,1.4c0.2-0.2,0.4-0.4,0.7-0.7
167
+ c0.7-0.7,1.4-1.4,2.1-2.1c0.9-0.9,1.7-1.8,3-2.2c1.4-0.5,2.8-0.3,4,0.5c-0.3,0.4-1.6,1.9-1.6,1.9L25.4,31.7z"/>
168
+ </g>
169
+ <g id="东北">
170
+ <path id="东北掉头"
171
+ :stroke-width="PathWidth"
172
+ :fill="isLock !== 0 ? status[27].lockColor:status[27].color"
173
+ :class="status[27].isshow ? '' : 'invisible'"
174
+ class="st0" d="M19.3,9.6c1.6,1.6,4.1,1.5,5.6,0l0.3-0.3l1.9,1.9L28,5l-6.3,1l2,2l-0.3,0.3
175
+ c-0.8,0.8-2.2,0.8-3,0c-0.8-0.8-0.8-2.2,0-3l3.9-3.9L23.1,0l-3.9,3.9C17.8,5.6,17.8,8.1,19.3,9.6z"/>
176
+ <polygon
177
+ :stroke-width="PathWidth"
178
+ :fill="isLock !== 0 ? status[24].lockColor:status[24].color"
179
+ :class="status[24].isshow ? '' : 'invisible'"
180
+ id="东北直行"
181
+ class="st0"
182
+ points="10.2,9 9.2,15.2 15.4,14.3 13.4,12.3 24.4,1.4 23.1,0 12,11"/>
183
+ <path id="东北左转"
184
+ :stroke-width="PathWidth"
185
+ :fill="isLock !== 0 ? status[25].lockColor:status[25].color"
186
+ :class="status[25].isshow ? '' : 'invisible'"
187
+ class="st0" d="M23.1,0c0,0-3.9,3.9-3.9,3.9c-1.6,1.6-2.3,4-1.8,6.2c0.1,0.3,0.1,0.5,0.2,0.7
188
+ c0.5,1.2,1.3,2.2,2,3.3c0,0-0.1,0.1-0.1,0.1l-2.1,1.8l6.2,1.5l-0.4-6.3c0,0-2,1.7-2,1.7c0,0-0.8-1.1-0.8-1.2
189
+ c-1-1.4-1.3-2.9-0.8-4.6c0.4-1.3,1.3-2.1,2.2-3c0.7-0.7,1.4-1.4,2.1-2.1c0.2-0.2,0.4-0.4,0.7-0.7L23.1,0z"/>
190
+ <path id="东北右转"
191
+ :stroke-width="PathWidth"
192
+ :fill="isLock !== 0 ? status[26].lockColor:status[26].color"
193
+ :class="status[26].isshow ? '' : 'invisible'"
194
+ class="st0" d="M8.6,2.3L10,8.4l1.8-2.1L12,6.2L12,6.1c0.5,0.3,1,0.6,1.5,0.8c0.2,0.1,0.5,0.2,0.7,0.2
195
+ c2.2,0.5,4.6-0.2,6.2-1.8c0,0,3.9-3.9,3.9-3.9L23.1,0c-0.2,0.2-0.4,0.4-0.7,0.7c-0.7,0.7-1.4,1.4-2.1,2.1c-0.9,0.9-1.7,1.8-3,2.2
196
+ c-1.4,0.5-2.8,0.3-4-0.5c0.3-0.4,1.6-1.9,1.6-1.9L8.6,2.3z"/>
197
+ </g>
198
+ <g id="西北">
199
+ <path id="西北掉头"
200
+ :stroke-width="PathWidth"
201
+ :fill="isLock !== 0 ? status[31].lockColor:status[31].color"
202
+ :class="status[31].isshow ? '' : 'invisible'"
203
+ class="st0" d="M9.6,14.7c1.6-1.6,1.5-4.1,0-5.6L9.4,8.8l1.9-1.9L5,6l1,6.3l2-2l0.3,0.3
204
+ c0.8,0.8,0.8,2.2,0,3c-0.8,0.8-2.2,0.8-3,0L1.4,9.6L0,10.9l3.9,3.9C5.6,16.2,8.1,16.2,9.6,14.7z"/>
205
+ <polygon
206
+ :stroke-width="PathWidth"
207
+ :fill="isLock !== 0 ? status[28].lockColor:status[28].color"
208
+ :class="status[28].isshow ? '' : 'invisible'"
209
+ id="西北直行"
210
+ class="st0"
211
+ points="8.9,23.8 15.1,24.8 14.3,18.5 12.3,20.5 1.4,9.5 0,10.9 10.9,21.9"/>
212
+ <path id="西北左转"
213
+ :stroke-width="PathWidth"
214
+ :fill="isLock !== 0 ? status[21].lockColor:status[21].color"
215
+ :class="status[21].isshow ? '' : 'invisible'"
216
+ class="st0" d="M0,10.9c0,0,3.9,3.9,3.9,3.9c1.6,1.6,4,2.3,6.2,1.8c0.3-0.1,0.5-0.1,0.7-0.2
217
+ c1.2-0.5,2.2-1.3,3.3-2c0,0,0.1,0.1,0.1,0.1l1.8,2.1l1.5-6.2l-6.3,0.4c0,0,1.7,2,1.7,2c0,0-1.1,0.8-1.2,0.8
218
+ c-1.4,1-2.9,1.3-4.6,0.8c-1.3-0.4-2.1-1.3-3-2.2c-0.7-0.7-1.4-1.4-2.1-2.1C1.8,10,1.6,9.8,1.4,9.6L0,10.9z"/>
219
+ <path id="西北右转"
220
+ :stroke-width="PathWidth"
221
+ :fill="isLock !== 0 ? status[30].lockColor:status[30].color"
222
+ :class="status[30].isshow ? '' : 'invisible'"
223
+ class="st0" d="M2.3,25.4L8.4,24l-2.1-1.8L6.2,22L6.1,22c0.3-0.5,0.6-1,0.8-1.5c0.1-0.2,0.2-0.5,0.2-0.7
224
+ c0.5-2.2-0.2-4.6-1.8-6.2c0,0-3.9-3.9-3.9-3.9L0,10.9c0.2,0.2,0.4,0.4,0.7,0.7c0.7,0.7,1.4,1.4,2.1,2.1c0.9,0.9,1.8,1.7,2.2,3
225
+ c0.5,1.4,0.3,2.8-0.5,4c-0.4-0.3-1.9-1.6-1.9-1.6L2.3,25.4z"/>
226
+ </g>
227
+ <g id="东南">
228
+ <path id="东南掉头"
229
+ :stroke-width="PathWidth"
230
+ :fill="isLock !== 0 ? status[19].lockColor:status[19].color"
231
+ :class="status[19].isshow ? '' : 'invisible'"
232
+ class="st0" d="M24.4,19.3c-1.6,1.6-1.5,4.1,0,5.6l0.3,0.3l-1.9,1.9l6.3,1l-1-6.3l-2,2l-0.3-0.3
233
+ c-0.8-0.8-0.8-2.2,0-3c0.8-0.8,2.2-0.8,3,0l3.9,3.9l1.4-1.4l-3.9-3.9C28.4,17.8,25.9,17.8,24.4,19.3z"/>
234
+ <polygon
235
+ id="东南直行"
236
+ :stroke-width="PathWidth"
237
+ :fill="status[16].color"
238
+ :class="status[16].isshow ? '' : 'invisible'"
239
+ class="st0"
240
+ points="24.9,10.2 18.8,9.2 19.7,15.5 21.7,13.5 32.6,24.4 33.9,23.1 22.9,12.1"/>
241
+ <path id="东南左转"
242
+ :stroke-width="PathWidth"
243
+ :fill="isLock !== 0 ? status[17].lockColor:status[17].color"
244
+ :class="status[17].isshow ? '' : 'invisible'"
245
+ class="st0" d="M34,23.1c0,0-3.9-3.9-3.9-3.9c-1.6-1.6-4-2.3-6.2-1.8c-0.3,0.1-0.5,0.1-0.7,0.2
246
+ c-1.2,0.5-2.2,1.3-3.3,2c0,0-0.1-0.1-0.1-0.1l-1.8-2.1l-1.5,6.2l6.3-0.4c0,0-1.7-2-1.7-2c0,0,1.1-0.8,1.2-0.8
247
+ c1.4-1,2.9-1.3,4.6-0.8c1.3,0.4,2.1,1.3,3,2.2c0.7,0.7,1.4,1.4,2.1,2.1c0.2,0.2,0.4,0.4,0.7,0.7L34,23.1z"/>
248
+ <path id="东南右转"
249
+ :stroke-width="PathWidth"
250
+ :fill="isLock !== 0 ? status[18].lockColor:status[18].color"
251
+ :class="status[18].isshow ? '' : 'invisible'"
252
+ class="st0" d="M31.7,8.6L25.6,10l2.1,1.8l0.1,0.1l0.1,0.1c-0.3,0.5-0.6,1-0.8,1.5
253
+ c-0.1,0.2-0.2,0.5-0.2,0.7c-0.5,2.2,0.2,4.6,1.8,6.2c0,0,3.9,3.9,3.9,3.9l1.4-1.4c-0.2-0.2-0.4-0.4-0.7-0.7
254
+ c-0.7-0.7-1.4-1.4-2.1-2.1c-0.9-0.9-1.8-1.7-2.2-3c-0.5-1.4-0.3-2.8,0.5-4c0.4,0.3,1.9,1.6,1.9,1.6L31.7,8.6z"/>
255
+ </g>
256
+ </g>
257
+ </svg>
258
+ </div>
259
+ <div :style="{position: 'absolute', left: Datas?Datas.left:0, top: Datas?Datas.top:0}">
260
+ <svg
261
+ version="1.1"
262
+ id="图层_1"
263
+ xmlns="http://www.w3.org/2000/svg"
264
+ xmlns:xlink="http://www.w3.org/1999/xlink"
265
+ viewBox="0 0 50 50"
266
+ style="enable-background:new 0 0 50 50;"
267
+ :width="Widths"
268
+ :height="Heights"
269
+ xml:space="preserve">
270
+ <!-- <style type="text/css">
271
+ .st0{fill:#CBD3DB;}
272
+ </style> -->
273
+ <g>
274
+ <g id="二次过街-西">
275
+ <g id="西上" :fill="isLock !== 0 ? peoplestatus[9].lockColor:peoplestatus[9].color" :class="peoplestatus[9].isshow? '' : 'invisible'">
276
+ <rect y="0" class="st0" width="4.4" height="2.6"/>
277
+ <rect y="5.2" class="st0" width="4.4" height="2.6"/>
278
+ <rect y="10.5" class="st0" width="4.4" height="2.6"/>
279
+ </g>
280
+ <g id="西下" :fill="isLock !== 0 ? peoplestatus[8].lockColor:peoplestatus[8].color" :class="peoplestatus[8].isshow? '' : 'invisible'">
281
+ <rect y="20.9" class="st0" width="4.4" height="2.6"/>
282
+ <rect y="26.2" class="st0" width="4.4" height="2.6"/>
283
+ <rect y="31.4" class="st0" width="4.4" height="2.6"/>
284
+ </g>
285
+ </g>
286
+ <g id="二次过街-东">
287
+ <g id="东上" :fill="isLock !== 0 ? peoplestatus[10].lockColor:peoplestatus[10].color" :class="peoplestatus[10].isshow? '' : 'invisible'">
288
+ <rect x="29.6" y="0" class="st0" width="4.4" height="2.6"/>
289
+ <rect x="29.6" y="5.2" class="st0" width="4.4" height="2.6"/>
290
+ <rect x="29.6" y="10.5" class="st0" width="4.4" height="2.6"/>
291
+ </g>
292
+ <g id="东下" :fill="isLock !== 0 ? peoplestatus[11].lockColor:peoplestatus[11].color" :class="peoplestatus[11].isshow? '' : 'invisible'">
293
+ <rect x="29.6" y="20.9" class="st0" width="4.4" height="2.6"/>
294
+ <rect x="29.6" y="26.2" class="st0" width="4.4" height="2.6"/>
295
+ <rect x="29.6" y="31.4" class="st0" width="4.4" height="2.6"/>
296
+ </g>
297
+ </g>
298
+ <g id="二次过街-北">
299
+ <g id="北右" :fill="isLock !== 0 ? peoplestatus[14].lockColor:peoplestatus[14].color" :class="peoplestatus[14].isshow? '' : 'invisible'">
300
+ <rect x="31.4" class="st0" width="2.6" height="4.4"/>
301
+ <rect x="26.2" class="st0" width="2.6" height="4.4"/>
302
+ <rect x="20.9" class="st0" width="2.6" height="4.4"/>
303
+ </g>
304
+ <g id="北左" :fill="isLock !== 0 ? peoplestatus[15].lockColor:peoplestatus[15].color" :class="peoplestatus[15].isshow? '' : 'invisible'">
305
+ <rect x="10.5" class="st0" width="2.6" height="4.4"/>
306
+ <rect x="5.2" class="st0" width="2.6" height="4.4"/>
307
+ <rect x="0" class="st0" width="2.6" height="4.4"/>
308
+ </g>
309
+ </g>
310
+ <g id="二次过街-南">
311
+ <g id="南右" :fill="isLock !== 0 ? peoplestatus[12].lockColor:peoplestatus[12].color" :class="peoplestatus[12].isshow? '' : 'invisible'">
312
+ <rect x="31.4" y="29.6" class="st0" width="2.6" height="4.4"/>
313
+ <rect x="26.2" y="29.6" class="st0" width="2.6" height="4.4"/>
314
+ <rect x="20.9" y="29.6" class="st0" width="2.6" height="4.4"/>
315
+ </g>
316
+ <g id="南左" :fill="isLock !== 0 ? peoplestatus[13].lockColor:peoplestatus[13].color" :class="peoplestatus[13].isshow? '' : 'invisible'">
317
+ <rect x="10.5" y="29.6" class="st0" width="2.6" height="4.4"/>
318
+ <rect x="5.2" y="29.6" class="st0" width="2.6" height="4.4"/>
319
+ <rect x="0" y="29.6" class="st0" width="2.6" height="4.4"/>
320
+ </g>
321
+ </g>
322
+ <g id="西行人_1_" :fill="isLock !== 0 ? peoplestatus[7].lockColor:peoplestatus[7].color" :class="peoplestatus[7].isshow? '' : 'invisible'">
323
+ <rect y="0" class="st0" width="4.4" height="2.6"/>
324
+ <rect y="5.2" class="st0" width="4.4" height="2.6"/>
325
+ <rect y="10.5" class="st0" width="4.4" height="2.6"/>
326
+ <rect y="15.7" class="st0" width="4.4" height="2.6"/>
327
+ <rect y="20.9" class="st0" width="4.4" height="2.6"/>
328
+ <rect y="26.2" class="st0" width="4.4" height="2.6"/>
329
+ <rect y="31.4" class="st0" width="4.4" height="2.6"/>
330
+ </g>
331
+ <g id="东行人_1_" :fill="isLock !== 0 ? peoplestatus[6].lockColor:peoplestatus[6].color" :class="peoplestatus[6].isshow? '' : 'invisible'">
332
+ <rect x="29.6" y="0" class="st0" width="4.4" height="2.6"/>
333
+ <rect x="29.6" y="5.2" class="st0" width="4.4" height="2.6"/>
334
+ <rect x="29.6" y="10.5" class="st0" width="4.4" height="2.6"/>
335
+ <rect x="29.6" y="15.7" class="st0" width="4.4" height="2.6"/>
336
+ <rect x="29.6" y="20.9" class="st0" width="4.4" height="2.6"/>
337
+ <rect x="29.6" y="26.2" class="st0" width="4.4" height="2.6"/>
338
+ <rect x="29.6" y="31.4" class="st0" width="4.4" height="2.6"/>
339
+ </g>
340
+ <g id="北行人_1_" :fill="isLock !== 0 ? peoplestatus[4].lockColor:peoplestatus[4].color" :class="peoplestatus[4].isshow? '' : 'invisible'">
341
+ <rect x="31.4" class="st0" width="2.6" height="4.4"/>
342
+ <rect x="26.2" class="st0" width="2.6" height="4.4"/>
343
+ <rect x="20.9" class="st0" width="2.6" height="4.4"/>
344
+ <rect x="15.7" class="st0" width="2.6" height="4.4"/>
345
+ <rect x="10.5" class="st0" width="2.6" height="4.4"/>
346
+ <rect x="5.2" class="st0" width="2.6" height="4.4"/>
347
+ <rect x="0" class="st0" width="2.6" height="4.4"/>
348
+ </g>
349
+ <g id="斜向行人1" :fill="isLock !== 0 ? peoplestatus[2].lockColor:peoplestatus[2].color" :class="peoplestatus[2].isshow? '' : 'invisible'">
350
+ <rect x="25.9" y="26.8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -11.6378 28.0961)" class="st0" width="4.4" height="2.6"/>
351
+ <rect x="22.2" y="23.1" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -10.1057 24.3974)" class="st0" width="4.4" height="2.6"/>
352
+ <rect x="18.5" y="19.4" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -8.5737 20.6987)" class="st0" width="4.4" height="2.6"/>
353
+ <rect x="14.8" y="15.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -7.0416 17)" class="st0" width="4.4" height="2.6"/>
354
+ <rect x="11.1" y="12" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -5.5096 13.3013)" class="st0" width="4.4" height="2.6"/>
355
+ <rect x="7.4" y="8.3" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -3.9775 9.6026)" class="st0" width="4.4" height="2.6"/>
356
+ <rect x="3.7" y="4.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -2.4455 5.9039)" class="st0" width="4.4" height="2.6"/>
357
+ </g>
358
+ <g id="斜向行人2" :fill="isLock !== 0 ? peoplestatus[3].lockColor:peoplestatus[3].color" :class="peoplestatus[3].isshow? '' : 'invisible'">
359
+ <rect x="4.6" y="25.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -18.1378 12.4038)" class="st0" width="2.6" height="4.4"/>
360
+ <rect x="8.3" y="22.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -14.4391 13.9359)" class="st0" width="2.6" height="4.4"/>
361
+ <rect x="12" y="18.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -10.7403 15.4679)" class="st0" width="2.6" height="4.4"/>
362
+ <rect x="15.7" y="14.8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -7.0416 17)" class="st0" width="2.6" height="4.4"/>
363
+ <rect x="19.4" y="11.1" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -3.3429 18.532)" class="st0" width="2.6" height="4.4"/>
364
+ <rect x="23.1" y="7.4" transform="matrix(0.7071 -0.7071 0.7071 0.7071 0.3558 20.0641)" class="st0" width="2.6" height="4.4"/>
365
+ <rect x="26.8" y="3.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 4.0545 21.5962)" class="st0" width="2.6" height="4.4"/>
366
+ </g>
367
+ <g id="路段行人过街-南北" :fill="isLock !== 0 ? peoplestatus[0].lockColor:peoplestatus[0].color" :class="peoplestatus[0].isshow? '' : 'invisible'">
368
+ <rect x="14.8" y="31.4" class="st0" width="4.4" height="2.6"/>
369
+ <rect x="14.8" y="26.2" class="st0" width="4.4" height="2.6"/>
370
+ <rect x="14.8" y="20.9" class="st0" width="4.4" height="2.6"/>
371
+ <rect x="14.8" y="15.7" class="st0" width="4.4" height="2.6"/>
372
+ <rect x="14.8" y="10.5" class="st0" width="4.4" height="2.6"/>
373
+ <rect x="14.8" y="5.2" class="st0" width="4.4" height="2.6"/>
374
+ <rect x="14.8" y="0" class="st0" width="4.4" height="2.6"/>
375
+ </g>
376
+ <g id="路段行人过街-东西" :fill="isLock !== 0 ? peoplestatus[1].lockColor:peoplestatus[1].color" :class="peoplestatus[1].isshow? '' : 'invisible'">
377
+ <rect x="0" y="14.8" class="st0" width="2.6" height="4.4"/>
378
+ <rect x="5.2" y="14.8" class="st0" width="2.6" height="4.4"/>
379
+ <rect x="10.5" y="14.8" class="st0" width="2.6" height="4.4"/>
380
+ <rect x="15.7" y="14.8" class="st0" width="2.6" height="4.4"/>
381
+ <rect x="20.9" y="14.8" class="st0" width="2.6" height="4.4"/>
382
+ <rect x="26.2" y="14.8" class="st0" width="2.6" height="4.4"/>
383
+ <rect x="31.4" y="14.8" class="st0" width="2.6" height="4.4"/>
384
+ </g>
385
+ <g id="南行人_1_" :fill="isLock !== 0 ? peoplestatus[5].lockColor:peoplestatus[5].color" :class="peoplestatus[5].isshow? '' : 'invisible'">
386
+ <rect x="31.4" y="29.6" class="st0" width="2.6" height="4.4"/>
387
+ <rect x="26.2" y="29.6" class="st0" width="2.6" height="4.4"/>
388
+ <rect x="20.9" y="29.6" class="st0" width="2.6" height="4.4"/>
389
+ <rect x="15.7" y="29.6" class="st0" width="2.6" height="4.4"/>
390
+ <rect x="10.5" y="29.6" class="st0" width="2.6" height="4.4"/>
391
+ <rect x="5.2" y="29.6" class="st0" width="2.6" height="4.4"/>
392
+ <rect x="0" y="29.6" class="st0" width="2.6" height="4.4"/>
393
+ </g>
394
+ </g>
395
+ <g>
396
+ <g id="二次过街-西北">
397
+ <g id="西北上" :fill="isLock !== 0 ? peoplestatus[26].lockColor:peoplestatus[26].color" :class="peoplestatus[26].isshow? '' : 'invisible'">
398
+ <rect x="16.3" y="-6.8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 8.3878 11.1346)" class="st0" width="2.6" height="4.4"/>
399
+ <rect x="12.6" y="-3.1" transform="matrix(0.7071 -0.7071 0.7071 0.7071 4.6891 9.6026)" class="st0" width="2.6" height="4.4"/>
400
+ <rect x="8.9" y="0.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 0.9904 8.0705)" class="st0" width="2.6" height="4.4"/>
401
+ </g>
402
+ <g id="西北下" :fill="isLock !== 0 ? peoplestatus[27].lockColor:peoplestatus[27].color" :class="peoplestatus[27].isshow? '' : 'invisible'">
403
+ <rect x="1.5" y="8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -6.407 5.0064)" class="st0" width="2.6" height="4.4"/>
404
+ <rect x="-2.2" y="11.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -10.1057 3.4743)" class="st0" width="2.6" height="4.4"/>
405
+ <rect x="-5.9" y="15.4" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -13.8044 1.9423)" class="st0" width="2.6" height="4.4"/>
406
+ </g>
407
+ </g>
408
+ <g id="二次过街-东南">
409
+ <g id="东南上" :fill="isLock !== 0 ? peoplestatus[20].lockColor:peoplestatus[20].color" :class="peoplestatus[20].isshow? '' : 'invisible'">
410
+ <rect x="37.3" y="14.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -0.2788 32.0577)" class="st0" width="2.6" height="4.4"/>
411
+ <rect x="33.6" y="17.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -3.9775 30.5257)" class="st0" width="2.6" height="4.4"/>
412
+ <rect x="29.9" y="21.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -7.6762 28.9936)" class="st0" width="2.6" height="4.4"/>
413
+ </g>
414
+ <g id="东南下" :fill="isLock !== 0 ? peoplestatus[21].lockColor:peoplestatus[21].color" :class="peoplestatus[21].isshow? '' : 'invisible'">
415
+ <rect x="22.5" y="29" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -15.0736 25.9295)" class="st0" width="2.6" height="4.4"/>
416
+ <rect x="18.8" y="32.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -18.7724 24.3974)" class="st0" width="2.6" height="4.4"/>
417
+ <rect x="15.1" y="36.4" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -22.4711 22.8654)" class="st0" width="2.6" height="4.4"/>
418
+ </g>
419
+ </g>
420
+ <g id="二次过街-东北">
421
+ <g id="东北下" :fill="isLock !== 0 ? peoplestatus[25].lockColor:peoplestatus[25].color" :class="peoplestatus[25].isshow? '' : 'invisible'">
422
+ <rect x="36.4" y="16.3" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -1.1763 32.4295)" class="st0" width="4.4" height="2.6"/>
423
+ <rect x="32.7" y="12.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 0.3558 28.7307)" class="st0" width="4.4" height="2.6"/>
424
+ <rect x="29" y="8.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 1.8879 25.032)" class="st0" width="4.4" height="2.6"/>
425
+ </g>
426
+ <g id="东北上" :fill="isLock !== 0 ? peoplestatus[24].lockColor:peoplestatus[24].color" :class="peoplestatus[24].isshow? '' : 'invisible'">
427
+ <rect x="21.6" y="1.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 4.952 17.6346)" class="st0" width="4.4" height="2.6"/>
428
+ <rect x="17.9" y="-2.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 6.484 13.9359)" class="st0" width="4.4" height="2.6"/>
429
+ <rect x="14.2" y="-5.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 8.0161 10.2372)" class="st0" width="4.4" height="2.6"/>
430
+ </g>
431
+ </g>
432
+ <g id="二次过街-西南">
433
+ <g id="西南下" :fill="isLock !== 0 ? peoplestatus[23].lockColor:peoplestatus[23].color" :class="peoplestatus[23].isshow? '' : 'invisible'">
434
+ <rect x="15.4" y="37.3" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -22.0994 23.7628)" class="st0" width="4.4" height="2.6"/>
435
+ <rect x="11.7" y="33.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -20.5673 20.0641)" class="st0" width="4.4" height="2.6"/>
436
+ <rect x="8" y="29.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -19.0352 16.3654)" class="st0" width="4.4" height="2.6"/>
437
+ </g>
438
+ <g id="西南上" :fill="isLock !== 0 ? peoplestatus[22].lockColor:peoplestatus[22].color" :class="peoplestatus[22].isshow? '' : 'invisible'">
439
+ <rect x="0.6" y="22.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -15.9711 8.968)" class="st0" width="4.4" height="2.6"/>
440
+ <rect x="-3.1" y="18.8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -14.4391 5.2693)" class="st0" width="4.4" height="2.6"/>
441
+ <rect x="-6.8" y="15.1" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -12.907 1.5706)" class="st0" width="4.4" height="2.6"/>
442
+ </g>
443
+ </g>
444
+ <g id="西北行人" :fill="isLock !== 0 ? peoplestatus[19].lockColor:peoplestatus[19].color" :class="peoplestatus[19].isshow? '' : 'invisible'">
445
+ <rect x="16.3" y="-6.8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 8.3878 11.1346)" class="st0" width="2.6" height="4.4"/>
446
+ <rect x="12.6" y="-3.1" transform="matrix(0.7071 -0.7071 0.7071 0.7071 4.6891 9.6026)" class="st0" width="2.6" height="4.4"/>
447
+ <rect x="8.9" y="0.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 0.9904 8.0705)" class="st0" width="2.6" height="4.4"/>
448
+ <rect x="5.2" y="4.3" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -2.7083 6.5385)" class="st0" width="2.6" height="4.4"/>
449
+ <rect x="1.5" y="8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -6.407 5.0064)" class="st0" width="2.6" height="4.4"/>
450
+ <rect x="-2.2" y="11.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -10.1057 3.4743)" class="st0" width="2.6" height="4.4"/>
451
+ <rect x="-5.9" y="15.4" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -13.8044 1.9423)" class="st0" width="2.6" height="4.4"/>
452
+ </g>
453
+ <g id="东南行人" :fill="isLock !== 0 ? peoplestatus[16].lockColor:peoplestatus[16].color" :class="peoplestatus[16].isshow? '' : 'invisible'">
454
+ <rect x="37.3" y="14.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -0.2788 32.0577)" class="st0" width="2.6" height="4.4"/>
455
+ <rect x="33.6" y="17.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -3.9775 30.5257)" class="st0" width="2.6" height="4.4"/>
456
+ <rect x="29.9" y="21.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -7.6762 28.9936)" class="st0" width="2.6" height="4.4"/>
457
+ <rect x="26.2" y="25.3" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -11.3749 27.4615)" class="st0" width="2.6" height="4.4"/>
458
+ <rect x="22.5" y="29" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -15.0736 25.9295)" class="st0" width="2.6" height="4.4"/>
459
+ <rect x="18.8" y="32.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -18.7724 24.3974)" class="st0" width="2.6" height="4.4"/>
460
+ <rect x="15.1" y="36.4" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -22.4711 22.8654)" class="st0" width="2.6" height="4.4"/>
461
+ </g>
462
+ <g id="东北行人" :fill="isLock !== 0 ? peoplestatus[18].lockColor:peoplestatus[18].color" :class="peoplestatus[18].isshow? '' : 'invisible'">
463
+ <rect x="36.4" y="16.3" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -1.1763 32.4295)" class="st0" width="4.4" height="2.6"/>
464
+ <rect x="32.7" y="12.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 0.3558 28.7307)" class="st0" width="4.4" height="2.6"/>
465
+ <rect x="29" y="8.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 1.8879 25.032)" class="st0" width="4.4" height="2.6"/>
466
+ <rect x="25.3" y="5.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 3.4199 21.3333)" class="st0" width="4.4" height="2.6"/>
467
+ <rect x="21.6" y="1.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 4.952 17.6346)" class="st0" width="4.4" height="2.6"/>
468
+ <rect x="17.9" y="-2.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 6.484 13.9359)" class="st0" width="4.4" height="2.6"/>
469
+ <rect x="14.2" y="-5.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 8.0161 10.2372)" class="st0" width="4.4" height="2.6"/>
470
+ </g>
471
+ <g id="西南行人" :fill="isLock !== 0 ? peoplestatus[17].lockColor:peoplestatus[17].color" :class="peoplestatus[17].isshow? '' : 'invisible'">
472
+ <rect x="15.4" y="37.3" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -22.0994 23.7628)" class="st0" width="4.4" height="2.6"/>
473
+ <rect x="11.7" y="33.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -20.5673 20.0641)" class="st0" width="4.4" height="2.6"/>
474
+ <rect x="8" y="29.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -19.0352 16.3654)" class="st0" width="4.4" height="2.6"/>
475
+ <rect x="4.3" y="26.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -17.5032 12.6667)" class="st0" width="4.4" height="2.6"/>
476
+ <rect x="0.6" y="22.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -15.9711 8.968)" class="st0" width="4.4" height="2.6"/>
477
+ <rect x="-3.1" y="18.8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -14.4391 5.2693)" class="st0" width="4.4" height="2.6"/>
478
+ <rect x="-6.8" y="15.1" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -12.907 1.5706)" class="st0" width="4.4" height="2.6"/>
479
+ </g>
480
+ </g>
481
+ </svg>
482
+ </div>
483
+ </div>
484
+ </template>
485
+ <script>
486
+ import { mapState } from 'vuex'
487
+
488
+ export default {
489
+ name: 'xdr-dir-selector',
490
+ props: {
491
+ showlist: {
492
+ type: Array,
493
+ default: function () {
494
+ return [
495
+ {
496
+ id: 1,
497
+ color: 'red'
498
+ },
499
+ {
500
+ id: 2,
501
+ color: 'yellow'
502
+ }
503
+ ]
504
+ }
505
+ },
506
+ Width: {// 车道宽
507
+ type: String,
508
+ default: '60px'
509
+ },
510
+ Height: {
511
+ type: String,
512
+ default: '60px'
513
+ },
514
+ Widths: {// 人行横道宽
515
+ type: String,
516
+ default: '50px'
517
+ },
518
+ Heights: {
519
+ type: String,
520
+ default: '50px'
521
+ },
522
+ PathWidth: {
523
+ type: Number,
524
+ default: 18
525
+ },
526
+ ISActiveMask: {
527
+ type: Boolean,
528
+ default: false
529
+ },
530
+ MaskColor: {
531
+ type: String,
532
+ default: '#0096ba'
533
+ },
534
+ isLock: {
535
+ type: Number,
536
+ default: 0
537
+ },
538
+ Datas: {// 人行横道样式
539
+ type: Object
540
+ },
541
+ Data: {// 车道样式
542
+ type: Object
543
+ }
544
+ },
545
+ computed: {
546
+ ...mapState({
547
+ roadDirection: state => state.globalParam.roadDirection
548
+ })
549
+ },
550
+ data () {
551
+ return {
552
+ maskmark: false,
553
+ peoplestatus: [
554
+ {
555
+ id: 1,
556
+ name: '东西路段人行横道',
557
+ isshow: false,
558
+ lockColor: '#7ccc66'
559
+ },
560
+ {
561
+ id: 2,
562
+ name: '南北路段人行横道',
563
+ isshow: false,
564
+ lockColor: '#7ccc66'
565
+ },
566
+ {
567
+ id: 3,
568
+ name: 'X人行横道-\\',
569
+ isshow: false,
570
+ lockColor: '#7ccc66'
571
+ },
572
+ {
573
+ id: 4,
574
+ name: 'X人行横道-/',
575
+ isshow: false,
576
+ lockColor: '#7ccc66'
577
+ },
578
+ {
579
+ id: 5,
580
+ name: '北人行横道',
581
+ isshow: false,
582
+ lockColor: '#7ccc66'
583
+ },
584
+ {
585
+ id: 6,
586
+ name: '南人行横道',
587
+ isshow: false,
588
+ lockColor: '#7ccc66'
589
+ },
590
+ {
591
+ id: 7,
592
+ name: '东人行横道',
593
+ isshow: false,
594
+ lockColor: '#7ccc66'
595
+ },
596
+ {
597
+ id: 8,
598
+ name: '西人行横道',
599
+ isshow: false,
600
+ lockColor: '#7ccc66'
601
+ },
602
+ {
603
+ id: 9,
604
+ name: '西人行横道-下',
605
+ isshow: false,
606
+ lockColor: '#7ccc66'
607
+ },
608
+ {
609
+ id: 10,
610
+ name: '西人行横道-上',
611
+ isshow: false,
612
+ lockColor: '#7ccc66'
613
+ },
614
+ {
615
+ id: 11,
616
+ name: '东人行横道-上',
617
+ isshow: false,
618
+ lockColor: '#7ccc66'
619
+ },
620
+ {
621
+ id: 12,
622
+ name: '东人行横道-下',
623
+ isshow: false,
624
+ lockColor: '#7ccc66'
625
+ },
626
+ {
627
+ id: 13,
628
+ name: '南人行横道-右',
629
+ isshow: false,
630
+ lockColor: '#7ccc66'
631
+ },
632
+ {
633
+ id: 14,
634
+ name: '南人行横道-左',
635
+ isshow: false,
636
+ lockColor: '#7ccc66'
637
+ },
638
+ {
639
+ id: 15,
640
+ name: '北人行横道-右',
641
+ isshow: false,
642
+ lockColor: '#7ccc66'
643
+ },
644
+ {
645
+ id: 16,
646
+ name: '北人行横道-左',
647
+ isshow: false,
648
+ lockColor: '#7ccc66'
649
+ },
650
+ {
651
+ id: 17,
652
+ name: '东南人行横道',
653
+ isshow: false,
654
+ lockColor: '#7ccc66'
655
+ },
656
+ {
657
+ id: 18,
658
+ name: '西南人行横道',
659
+ isshow: false,
660
+ lockColor: '#7ccc66'
661
+ },
662
+ {
663
+ id: 19,
664
+ name: '东北人行横道',
665
+ isshow: false,
666
+ lockColor: '#7ccc66'
667
+ },
668
+ {
669
+ id: 20,
670
+ name: '西北人行横道',
671
+ isshow: false,
672
+ lockColor: '#7ccc66'
673
+ },
674
+ {
675
+ id: 21,
676
+ name: '东南人行横道-上',
677
+ isshow: false,
678
+ lockColor: '#7ccc66'
679
+ },
680
+ {
681
+ id: 22,
682
+ name: '东南人行横道-下',
683
+ isshow: false,
684
+ lockColor: '#7ccc66'
685
+ },
686
+ {
687
+ id: 23,
688
+ name: '西南人行横道-上',
689
+ isshow: false,
690
+ lockColor: '#7ccc66'
691
+ },
692
+ {
693
+ id: 24,
694
+ name: '西南人行横道-下',
695
+ isshow: false,
696
+ lockColor: '#7ccc66'
697
+ },
698
+ {
699
+ id: 25,
700
+ name: '东北人行横道-上',
701
+ isshow: false,
702
+ lockColor: '#7ccc66'
703
+ },
704
+ {
705
+ id: 26,
706
+ name: '东北人行横道-下',
707
+ isshow: false,
708
+ lockColor: '#7ccc66'
709
+ },
710
+ {
711
+ id: 27,
712
+ name: '西北人行横道-上',
713
+ isshow: false,
714
+ lockColor: '#7ccc66'
715
+ },
716
+ {
717
+ id: 28,
718
+ name: '西北人行横道-下',
719
+ isshow: false,
720
+ lockColor: '#7ccc66'
721
+ }
722
+ ],
723
+ status: [
724
+ {
725
+ id: 1,
726
+ name: 'East-Straight',
727
+ isshow: false,
728
+ color: '#0096ba',
729
+ lockColor: '#7ccc66'
730
+ },
731
+ {
732
+ id: 2,
733
+ name: 'East-Left',
734
+ isshow: false,
735
+ color: '#0096ba',
736
+ lockColor: '#7ccc66'
737
+ },
738
+ {
739
+ id: 3,
740
+ name: 'East-Right',
741
+ isshow: false,
742
+ color: '#0096ba',
743
+ lockColor: '#7ccc66'
744
+ },
745
+ {
746
+ id: 4,
747
+ name: 'East-Back ',
748
+ isshow: false,
749
+ color: '#0096ba',
750
+ lockColor: '#7ccc66'
751
+ },
752
+ {
753
+ id: 5,
754
+ name: 'West-Straight',
755
+ isshow: false,
756
+ color: '#0096ba',
757
+ lockColor: '#7ccc66'
758
+ },
759
+ {
760
+ id: 6,
761
+ name: 'West-Left',
762
+ isshow: false,
763
+ color: '#0096ba',
764
+ lockColor: '#7ccc66'
765
+ },
766
+ {
767
+ id: 7,
768
+ name: 'West-Right',
769
+ isshow: false,
770
+ color: '#0096ba',
771
+ lockColor: '#7ccc66'
772
+ },
773
+ {
774
+ id: 8,
775
+ name: 'West-Back',
776
+ isshow: false,
777
+ color: '#0096ba',
778
+ lockColor: '#7ccc66'
779
+ },
780
+ {
781
+ id: 9,
782
+ name: 'North-Straight',
783
+ isshow: false,
784
+ color: '#0096ba',
785
+ lockColor: '#7ccc66'
786
+ },
787
+ {
788
+ id: 10,
789
+ name: 'North-Left',
790
+ isshow: false,
791
+ color: '#0096ba',
792
+ lockColor: '#7ccc66'
793
+ },
794
+ {
795
+ id: 11,
796
+ name: 'North-Right',
797
+ isshow: false,
798
+ color: '#0096ba',
799
+ lockColor: '#7ccc66'
800
+ },
801
+ {
802
+ id: 12,
803
+ name: 'North-Back',
804
+ isshow: false,
805
+ color: '#0096ba',
806
+ lockColor: '#7ccc66'
807
+ },
808
+ {
809
+ id: 13,
810
+ name: 'South-Straight',
811
+ isshow: false,
812
+ color: '#0096ba',
813
+ lockColor: '#7ccc66'
814
+ },
815
+ {
816
+ id: 14,
817
+ name: 'South-Left',
818
+ isshow: false,
819
+ color: '#0096ba',
820
+ lockColor: '#7ccc66'
821
+ },
822
+ {
823
+ id: 15,
824
+ name: 'South-Right',
825
+ isshow: false,
826
+ color: '#0096ba',
827
+ lockColor: '#7ccc66'
828
+ },
829
+ {
830
+ id: 16,
831
+ name: 'South-Back',
832
+ isshow: false,
833
+ color: '#0096ba',
834
+ lockColor: '#7ccc66'
835
+ },
836
+ {
837
+ id: 17,
838
+ name: 'Straight-Southeast',
839
+ isshow: false,
840
+ color: '#0096ba',
841
+ lockColor: '#7ccc66'
842
+ },
843
+ {
844
+ id: 18,
845
+ name: 'Southeast-Left',
846
+ isshow: false,
847
+ color: '#0096ba',
848
+ lockColor: '#7ccc66'
849
+ },
850
+ {
851
+ id: 19,
852
+ name: 'Southeast-Right',
853
+ isshow: false,
854
+ color: '#0096ba',
855
+ lockColor: '#7ccc66'
856
+ },
857
+ {
858
+ id: 20,
859
+ name: 'Turn-Southeast',
860
+ isshow: false,
861
+ color: '#0096ba',
862
+ lockColor: '#7ccc66'
863
+ },
864
+ {
865
+ id: 21,
866
+ name: 'Straight-Southwest',
867
+ isshow: false,
868
+ color: '#0096ba',
869
+ lockColor: '#7ccc66'
870
+ },
871
+ {
872
+ id: 22,
873
+ name: 'Southwest-Left',
874
+ isshow: false,
875
+ color: '#0096ba',
876
+ lockColor: '#7ccc66'
877
+ },
878
+ {
879
+ id: 23,
880
+ name: 'Southwest-Right',
881
+ isshow: false,
882
+ color: '#0096ba',
883
+ lockColor: '#7ccc66'
884
+ },
885
+ {
886
+ id: 24,
887
+ name: 'Turn-Southwest',
888
+ isshow: false,
889
+ color: '#0096ba',
890
+ lockColor: '#7ccc66'
891
+ },
892
+ {
893
+ id: 25,
894
+ name: 'Straight-Northeast',
895
+ isshow: false,
896
+ color: '#0096ba',
897
+ lockColor: '#7ccc66'
898
+ },
899
+ {
900
+ id: 26,
901
+ name: 'Northeast-Left',
902
+ isshow: false,
903
+ color: '#0096ba',
904
+ lockColor: '#7ccc66'
905
+ },
906
+ {
907
+ id: 27,
908
+ name: 'Northeast-Right-Turn',
909
+ isshow: false,
910
+ color: '#0096ba',
911
+ lockColor: '#7ccc66'
912
+ },
913
+ {
914
+ id: 28,
915
+ name: 'Turn-Northeast',
916
+ isshow: false,
917
+ color: '#0096ba',
918
+ lockColor: '#7ccc66'
919
+ },
920
+ {
921
+ id: 29,
922
+ name: 'Straight-Northwest',
923
+ isshow: false,
924
+ color: '#0096ba',
925
+ lockColor: '#7ccc66'
926
+ },
927
+ {
928
+ id: 30,
929
+ name: 'Northwest-Left-Turn',
930
+ isshow: false,
931
+ color: '#0096ba',
932
+ lockColor: '#7ccc66'
933
+ },
934
+ {
935
+ id: 31,
936
+ name: 'Northwest-Right-Turn',
937
+ isshow: false,
938
+ color: '#0096ba',
939
+ lockColor: '#7ccc66'
940
+ },
941
+ {
942
+ id: 32,
943
+ name: 'Turn-Northwest',
944
+ isshow: false,
945
+ color: '#0096ba',
946
+ lockColor: '#7ccc66'
947
+ }
948
+ ]
949
+ }
950
+ },
951
+ methods: {
952
+ randShow () {
953
+ let num1 = parseInt(Math.random() * (15 - 0 + 1) + 0)
954
+ let num2 = parseInt(Math.random() * (15 - 0 + 1) + 0)
955
+ for (let i = 0; i < 16; i++) {
956
+ if (this.status[i].isshow) {
957
+ this.status[i].isshow = false
958
+ }
959
+ if (i === num1 || i === num2) {
960
+ this.status[i].isshow = true
961
+ }
962
+ }
963
+ },
964
+ // 车道
965
+ refreshShow (showList) {
966
+ if (showList.length > 16) {
967
+ console.log('list can not be bigger than 16!')
968
+ }
969
+ this.maskmark = false
970
+ if (showList.length <= 0) {
971
+ if (this.ISActiveMask) {
972
+ this.maskmark = true
973
+ }
974
+ }
975
+
976
+ for (let i = 0; i < 32; i++) {
977
+ if (this.status[i].isshow) {
978
+ this.status[i].isshow = false
979
+ }
980
+ }
981
+ for (let i = 0; i < 32; i++) {
982
+ if (i < showList.length) {
983
+ let id = showList[i].id
984
+ if (!id) return
985
+ if (id > 32 || id <= 0) {
986
+ console.log('Id is invalied!')
987
+ continue
988
+ }
989
+ this.status[id - 1].isshow = true
990
+ this.status[id - 1].color = showList[i].color
991
+ }
992
+ }
993
+ },
994
+ // 人行横道
995
+ refreshShows (showlist) {
996
+ if (showlist.length === 0) return
997
+ for (let i = 0; i < 28; i++) {
998
+ if (this.peoplestatus[i].isshow) {
999
+ this.peoplestatus[i].isshow = false
1000
+ }
1001
+ }
1002
+ if (!showlist[0].peddirection) return
1003
+ if (showlist[0].peddirection.length === 0) return
1004
+ for (let i = 0; i < showlist[0].peddirection.length; i++) {
1005
+ for (let j = 0; j < this.peoplestatus.length; j++) {
1006
+ if (showlist[0].peddirection[i].name === this.peoplestatus[j].name) {
1007
+ this.peoplestatus[j].isshow = true
1008
+ if (showlist[0].peddirection[i].color) {
1009
+ this.peoplestatus[j].color = showlist[0].peddirection[i].color
1010
+ }
1011
+ }
1012
+ }
1013
+ }
1014
+ }
1015
+ },
1016
+ created () {
1017
+ this.refreshShow(this.showlist)
1018
+ this.refreshShows(this.showlist)
1019
+ },
1020
+ watch: {
1021
+ showlist: {
1022
+ handler: function (newList) {
1023
+ this.refreshShow(newList)
1024
+ this.refreshShows(newList)
1025
+ },
1026
+ deep: true // 深度监听
1027
+ }
1028
+ }
1029
+ }
1030
+ </script>
1031
+
1032
+ <style scoped>
1033
+ svg:not(:root){
1034
+ overflow: unset;
1035
+ }
1036
+ .invisible {
1037
+ visibility: hidden;
1038
+ }
1039
+ .st0{color: #040000;}
1040
+ .st1{fill-rule:evenodd;clip-rule:evenodd;fill:#303133;}
1041
+ </style>