openatc-components 0.1.198 → 0.2.1

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 (469) hide show
  1. package/.babelrc +18 -18
  2. package/.editorconfig +9 -9
  3. package/.eslintignore +5 -5
  4. package/.eslintrc.js +29 -29
  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 +114 -114
  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 +93 -93
  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 +108 -108
  23. package/package/kisscomps/components/BoardCard/index.js +2 -2
  24. package/package/kisscomps/components/Channelization/Channelization.vue +584 -584
  25. package/package/kisscomps/components/Channelization/index.js +2 -2
  26. package/package/kisscomps/components/ChannelizationFlowStatistic/ChannelizationFlowStatistic.vue +360 -360
  27. package/package/kisscomps/components/ChannelizationFlowStatistic/index.js +2 -2
  28. package/package/kisscomps/components/ChannelizationWithInterface/ChannelizationWithInterface.vue +518 -518
  29. package/package/kisscomps/components/ChannelizationWithInterface/index.js +2 -2
  30. package/package/kisscomps/components/CommonKanban/CommonKanban.vue +132 -132
  31. package/package/kisscomps/components/CommonKanban/index.js +2 -2
  32. package/package/kisscomps/components/DirectionListConfiguration/DirectionListConfiguration.vue +454 -454
  33. package/package/kisscomps/components/DirectionListConfiguration/index.js +2 -2
  34. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-east-bottom.vue +41 -41
  35. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-east-top.vue +60 -60
  36. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-ewped.vue +105 -105
  37. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-north-left.vue +60 -60
  38. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-north-right.vue +60 -60
  39. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-snped.vue +105 -105
  40. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-south-left.vue +60 -60
  41. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-south-right.vue +60 -60
  42. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-west-bottom.vue +60 -60
  43. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-west-top.vue +60 -60
  44. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-xlped.vue +30 -30
  45. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-xrped.vue +30 -30
  46. package/package/kisscomps/components/DirectionListConfiguration/svg/pedSvg.vue +78 -78
  47. package/package/kisscomps/components/DrawChannelization/drawsvg/basicCoordInfo.vue +181 -181
  48. package/package/kisscomps/components/DrawChannelization/drawsvg/channelizationElements.vue +255 -255
  49. package/package/kisscomps/components/DrawChannelization/drawsvg/detectorAssociatedComponent.vue +152 -152
  50. package/package/kisscomps/components/DrawChannelization/drawsvg/drawElement/TextBox.vue +91 -91
  51. package/package/kisscomps/components/DrawChannelization/drawsvg/drawElement/crossMap.vue +194 -194
  52. package/package/kisscomps/components/DrawChannelization/drawsvg/drawElement/editText.vue +108 -108
  53. package/package/kisscomps/components/DrawChannelization/drawsvg/firstImportCrossmap.vue +51 -51
  54. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/countdownSvg.vue +236 -236
  55. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorChart.vue +247 -247
  56. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorIconSvg.vue +210 -210
  57. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/laneIcon.vue +72 -72
  58. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +467 -467
  59. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/pedroadIconSvg.vue +230 -230
  60. package/package/kisscomps/components/DrawChannelization/drawsvg/importDialog.vue +74 -74
  61. package/package/kisscomps/components/DrawChannelization/drawsvg/index.draw.vue +1005 -1005
  62. package/package/kisscomps/components/DrawChannelization/drawsvg/index.vue +110 -110
  63. package/package/kisscomps/components/DrawChannelization/drawsvg/laneEditPanel.vue +707 -707
  64. package/package/kisscomps/components/DrawChannelization/drawsvg/overlapAssociatedComponent.vue +172 -172
  65. package/package/kisscomps/components/DrawChannelization/drawsvg/phaseAssociatedComponent.vue +172 -172
  66. package/package/kisscomps/components/DrawChannelization/drawsvg/table.vue +99 -99
  67. package/package/kisscomps/components/DrawChannelization/drawsvg/utils/loadutils.js +87 -87
  68. package/package/kisscomps/components/DrawChannelization/drawsvg/utils/phaseDataModel.js +32 -32
  69. package/package/kisscomps/components/DrawChannelization/drawsvg/utils/phasePos.json +20 -20
  70. package/package/kisscomps/components/DrawChannelization/index.js +2 -2
  71. package/package/kisscomps/components/DrawChannelization/phaseDataMgr.js +278 -278
  72. package/package/kisscomps/components/ExpendConfig/ExpendConfig.vue +118 -118
  73. package/package/kisscomps/components/ExpendConfig/index.js +2 -2
  74. package/package/kisscomps/components/FaultDetailModal/FaultDetailModal.vue +178 -178
  75. package/package/kisscomps/components/FaultDetailModal/index.js +2 -2
  76. package/package/kisscomps/components/IntersectionDirectionSelection/IntersectionDirectionSelection.vue +127 -127
  77. package/package/kisscomps/components/IntersectionDirectionSelection/index.js +2 -2
  78. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/CrossRoadsSvg.vue +496 -496
  79. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/CustomRoadsSvg.vue +46 -46
  80. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/PedSectionEWSvg.vue +300 -300
  81. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/PedSectionSNSvg.vue +288 -288
  82. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampEastSvg.vue +391 -391
  83. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampNorthSvg.vue +336 -336
  84. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampSouthSvg.vue +345 -345
  85. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampWestSvg.vue +389 -389
  86. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/SidewalkClickSvg.vue +1272 -1272
  87. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/SidewalkSvg.vue +1190 -1190
  88. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeEastRoadsSvg.vue +402 -402
  89. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeNorthRoadsSvg.vue +361 -361
  90. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeSouthRoadsSvg.vue +368 -368
  91. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeWestRoadsSvg.vue +475 -475
  92. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LCrossRoadsSvg.vue +494 -494
  93. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeEastRoadsSvg.vue +401 -401
  94. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeNorthRoadsSvg.vue +360 -360
  95. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeSouthRoadsSvg.vue +367 -367
  96. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeWestRoadsSvg.vue +476 -476
  97. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/refreshSvg.vue +63 -63
  98. package/package/kisscomps/components/IntersectionMap/crossDirection/busIcon/busMapSvg.vue +50 -50
  99. package/package/kisscomps/components/IntersectionMap/crossDirection/busIcon/eastBusSvg.vue +167 -167
  100. package/package/kisscomps/components/IntersectionMap/crossDirection/busIcon/northBusSvg.vue +168 -168
  101. package/package/kisscomps/components/IntersectionMap/crossDirection/busIcon/southBusSvg.vue +168 -168
  102. package/package/kisscomps/components/IntersectionMap/crossDirection/busIcon/westBusSvg.vue +169 -169
  103. package/package/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +1200 -1200
  104. package/package/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/LphaseIconSvg.vue +197 -197
  105. package/package/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/phaseIconSvg.vue +196 -196
  106. package/package/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/rampPhaseIconSvg.vue +122 -122
  107. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/busPos.json +196 -196
  108. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/busPos.left.json +196 -196
  109. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/phasePos.json +115 -115
  110. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/phasePos.left.json +115 -115
  111. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/rampPos.json +52 -52
  112. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/sidePos.json +219 -219
  113. package/package/kisscomps/components/IntersectionMap/crossDirection/utils.js +84 -84
  114. package/package/kisscomps/components/IntersectionMap/index.js +2 -2
  115. package/package/kisscomps/components/IntersectionMap/intersectionmap.vue +199 -199
  116. package/package/kisscomps/components/IntersectionWithInterface/IntersectionWithInterface.vue +530 -530
  117. package/package/kisscomps/components/IntersectionWithInterface/index.js +2 -2
  118. package/package/kisscomps/components/KanBan/index.js +2 -2
  119. package/package/kisscomps/components/KanBan/kanban.vue +225 -225
  120. package/package/kisscomps/components/MessageBox/index.vue +96 -96
  121. package/package/kisscomps/components/OverLap/OverLap.vue +214 -214
  122. package/package/kisscomps/components/OverLap/index.js +2 -2
  123. package/package/kisscomps/components/PatternOptimize/PatternOptimize.vue +272 -272
  124. package/package/kisscomps/components/PatternOptimize/index.js +2 -2
  125. package/package/kisscomps/components/PatternStatus/PatternStatus.vue +1462 -1456
  126. package/package/kisscomps/components/PatternStatus/index.js +2 -2
  127. package/package/kisscomps/components/PatternWalkSvg/PatternWalkSvg.vue +423 -423
  128. package/package/kisscomps/components/PatternWalkSvg/index.js +2 -2
  129. package/package/kisscomps/components/PhaseDirectionSelect/PhaseDirectionSelect.vue +126 -126
  130. package/package/kisscomps/components/PhaseDirectionSelect/index.js +2 -2
  131. package/package/kisscomps/components/PhaseDirectionText/PhaseDirectionText.vue +106 -106
  132. package/package/kisscomps/components/PhaseDirectionText/index.js +2 -2
  133. package/package/kisscomps/components/PhaseMarker/index.js +6 -6
  134. package/package/kisscomps/components/PhaseMarker/phasemarker.vue +215 -215
  135. package/package/kisscomps/components/PhaseMarker/svg/patternSvg.vue +121 -121
  136. package/package/kisscomps/components/PhaseMarker/svg/phase.vue +60 -60
  137. package/package/kisscomps/components/PhaseMarker/svg/phaseCount.vue +62 -62
  138. package/package/kisscomps/components/PhaseMarker/svg/phaseCountCycle.vue +62 -62
  139. package/package/kisscomps/components/PhaseMarker/svg/phaseSvg.vue +117 -117
  140. package/package/kisscomps/components/SchemeConfig/SchemeConfig.vue +828 -828
  141. package/package/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +313 -313
  142. package/package/kisscomps/components/SchemeConfig/azimuthlocking/utils.js +92 -92
  143. package/package/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +195 -195
  144. package/package/kisscomps/components/SchemeConfig/index.js +2 -2
  145. package/package/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +198 -198
  146. package/package/kisscomps/components/SchemeConfig/manualControlModal/index.vue +228 -228
  147. package/package/kisscomps/components/SchemeConfig/priorityControl/index.vue +197 -197
  148. package/package/kisscomps/components/SchemeConfig/priorityControl/utils.js +163 -163
  149. package/package/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +275 -275
  150. package/package/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +840 -840
  151. package/package/kisscomps/components/StageBord/StageBord.vue +242 -242
  152. package/package/kisscomps/components/StageBord/index.js +2 -2
  153. package/package/kisscomps/components/StageStatus/StageStatus.vue +341 -341
  154. package/package/kisscomps/components/StageStatus/index.js +2 -2
  155. package/package/kisscomps/components/Stages/index.vue +211 -211
  156. package/package/kisscomps/components/SvgIcon/SvgIcon.vue +53 -53
  157. package/package/kisscomps/components/SvgIcon/index.js +2 -2
  158. package/package/kisscomps/components/XRDDirSelector/XRDDirSelector.vue +1065 -1065
  159. package/package/kisscomps/components/XRDDirSelector/index.js +2 -2
  160. package/package/kisscomps/components/XiaoKanban/DirSelector.vue +356 -356
  161. package/package/kisscomps/components/XiaoKanban/index.vue +102 -102
  162. package/package/kisscomps/components/overView/index.vue +699 -699
  163. package/package/kisscomps/components/patternConfig/index.js +2 -2
  164. package/package/kisscomps/components/patternConfig/index.vue +1126 -1126
  165. package/package/kisscomps/components/patternConfig/pattern/patternTable.vue +348 -348
  166. package/package/kisscomps/components/patternConfig/pattern/planChart/model/coordinationModel.js +665 -665
  167. package/package/kisscomps/components/patternConfig/planContent.vue +573 -573
  168. package/package/kisscomps/components/patternConfig/planMenu.vue +329 -329
  169. package/package/kisscomps/components/patternConfig/utils.js +152 -152
  170. package/package/kisscomps/components/patternList/index.js +2 -2
  171. package/package/kisscomps/components/patternList/patternList.vue +581 -581
  172. package/package/kisscomps/index.js +123 -123
  173. package/package/kissui.min.js +1 -1
  174. package/package.json +127 -127
  175. package/src/App.vue +24 -24
  176. package/src/EdgeMgr/EdgeModelBase.js +16 -16
  177. package/src/EdgeMgr/controller/crossDiagramMgr.js +124 -124
  178. package/src/api/authapi.js +31 -31
  179. package/src/api/config.js +21 -21
  180. package/src/api/control.js +106 -106
  181. package/src/api/cross.js +49 -49
  182. package/src/api/device.js +135 -135
  183. package/src/api/fault.js +66 -66
  184. package/src/api/index.js +24 -24
  185. package/src/api/login.js +46 -46
  186. package/src/api/optimize.js +72 -72
  187. package/src/api/param.js +165 -165
  188. package/src/api/passwdAssest.js +101 -101
  189. package/src/api/route.js +171 -171
  190. package/src/api/template.js +27 -27
  191. package/src/i18n/index.js +26 -26
  192. package/src/i18n/language/en.js +1426 -1426
  193. package/src/i18n/language/index.js +25 -25
  194. package/src/i18n/language/zh.js +1425 -1425
  195. package/src/icons/demo.css +539 -539
  196. package/src/icons/demo_index.html +8146 -8146
  197. package/src/icons/iconfont.css +1399 -1399
  198. package/src/icons/iconfont.json +2431 -2431
  199. package/src/icons/index.js +20 -20
  200. package/src/icons/svg/azimuthlocking.svg +26 -26
  201. package/src/icons/svg/bendi.svg +110 -110
  202. package/src/icons/svg/bujin.svg +36 -36
  203. package/src/icons/svg/connectBlue.svg +7 -7
  204. package/src/icons/svg/currentvolume.svg +0 -0
  205. package/src/icons/svg/custom-BRTlane.svg +40 -40
  206. package/src/icons/svg/custom-buslane.svg +40 -40
  207. package/src/icons/svg/custom-detector.svg +12 -12
  208. package/src/icons/svg/custom-east-bottom.svg +32 -32
  209. package/src/icons/svg/custom-east-top.svg +32 -32
  210. package/src/icons/svg/custom-ewped.svg +35 -35
  211. package/src/icons/svg/custom-nonmotorizedlane.svg +40 -40
  212. package/src/icons/svg/custom-north-left.svg +32 -32
  213. package/src/icons/svg/custom-north-right.svg +32 -32
  214. package/src/icons/svg/custom-peddetector.svg +17 -17
  215. package/src/icons/svg/custom-snped.svg +35 -35
  216. package/src/icons/svg/custom-south-left.svg +32 -32
  217. package/src/icons/svg/custom-south-right.svg +32 -32
  218. package/src/icons/svg/custom-tramlane.svg +40 -40
  219. package/src/icons/svg/custom-vehiclebranch.svg +40 -40
  220. package/src/icons/svg/custom-vehiclemainroad.svg +41 -41
  221. package/src/icons/svg/custom-west-bottom.svg +32 -32
  222. package/src/icons/svg/custom-west-top.svg +32 -32
  223. package/src/icons/svg/custom-xlped.svg +14 -14
  224. package/src/icons/svg/custom-xrped.svg +14 -14
  225. package/src/icons/svg/cutRed.svg +7 -7
  226. package/src/icons/svg/cycle.svg +0 -0
  227. package/src/icons/svg/dingzhouqi.svg +34 -34
  228. package/src/icons/svg/ganyingkongzhi.svg +30 -30
  229. package/src/icons/svg/guandeng.svg +81 -81
  230. package/src/icons/svg/huangshan.svg +71 -71
  231. package/src/icons/svg/maincontrol.svg +0 -0
  232. package/src/icons/svg/manualcontrolbackground.svg +51 -51
  233. package/src/icons/svg/manualcontrolbackground1.svg +62 -62
  234. package/src/icons/svg/manualcontrolbackgrounden.svg +62 -62
  235. package/src/icons/svg/model.svg +0 -0
  236. package/src/icons/svg/phasediff.svg +0 -0
  237. package/src/icons/svg/prioritycontrol.svg +21 -21
  238. package/src/icons/svg/quanhong.svg +86 -86
  239. package/src/icons/svg/shanghe.svg +11 -11
  240. package/src/icons/svg/shoudong.svg +103 -103
  241. package/src/icons/svg/tentativeplan.svg +28 -28
  242. package/src/icons/svg/time.svg +0 -0
  243. package/src/icons/svg/wuxianlan.svg +46 -46
  244. package/src/icons/svg/xiala.svg +11 -11
  245. package/src/icons/svg/xingrenguojie.svg +33 -33
  246. package/src/icons/svg/xitong.svg +89 -89
  247. package/src/icons/svg/youxian.svg +41 -41
  248. package/src/icons/svg/zizhukongzhi.svg +43 -43
  249. package/src/kisscomps/components/BoardCard/BoardCard.vue +108 -108
  250. package/src/kisscomps/components/BoardCard/index.js +2 -2
  251. package/src/kisscomps/components/Channelization/Channelization.vue +584 -584
  252. package/src/kisscomps/components/Channelization/index.js +2 -2
  253. package/src/kisscomps/components/ChannelizationFlowStatistic/ChannelizationFlowStatistic.vue +360 -360
  254. package/src/kisscomps/components/ChannelizationFlowStatistic/index.js +2 -2
  255. package/src/kisscomps/components/ChannelizationWithInterface/ChannelizationWithInterface.vue +518 -518
  256. package/src/kisscomps/components/ChannelizationWithInterface/index.js +2 -2
  257. package/src/kisscomps/components/CommonKanban/CommonKanban.vue +132 -132
  258. package/src/kisscomps/components/CommonKanban/index.js +2 -2
  259. package/src/kisscomps/components/DirectionListConfiguration/DirectionListConfiguration.vue +454 -454
  260. package/src/kisscomps/components/DirectionListConfiguration/index.js +2 -2
  261. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-east-bottom.vue +41 -41
  262. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-east-top.vue +60 -60
  263. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-ewped.vue +105 -105
  264. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-north-left.vue +60 -60
  265. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-north-right.vue +60 -60
  266. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-snped.vue +105 -105
  267. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-south-left.vue +60 -60
  268. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-south-right.vue +60 -60
  269. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-west-bottom.vue +60 -60
  270. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-west-top.vue +60 -60
  271. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-xlped.vue +30 -30
  272. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-xrped.vue +30 -30
  273. package/src/kisscomps/components/DirectionListConfiguration/svg/pedSvg.vue +78 -78
  274. package/src/kisscomps/components/DrawChannelization/drawsvg/basicCoordInfo.vue +181 -181
  275. package/src/kisscomps/components/DrawChannelization/drawsvg/channelizationElements.vue +255 -255
  276. package/src/kisscomps/components/DrawChannelization/drawsvg/detectorAssociatedComponent.vue +152 -152
  277. package/src/kisscomps/components/DrawChannelization/drawsvg/drawElement/TextBox.vue +91 -91
  278. package/src/kisscomps/components/DrawChannelization/drawsvg/drawElement/crossMap.vue +194 -194
  279. package/src/kisscomps/components/DrawChannelization/drawsvg/drawElement/editText.vue +108 -108
  280. package/src/kisscomps/components/DrawChannelization/drawsvg/firstImportCrossmap.vue +51 -51
  281. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/countdownSvg.vue +236 -236
  282. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorChart.vue +247 -247
  283. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorIconSvg.vue +210 -210
  284. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/laneIcon.vue +72 -72
  285. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +467 -467
  286. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/pedroadIconSvg.vue +230 -230
  287. package/src/kisscomps/components/DrawChannelization/drawsvg/importDialog.vue +74 -74
  288. package/src/kisscomps/components/DrawChannelization/drawsvg/index.draw.vue +1005 -1005
  289. package/src/kisscomps/components/DrawChannelization/drawsvg/index.vue +110 -110
  290. package/src/kisscomps/components/DrawChannelization/drawsvg/laneEditPanel.vue +707 -707
  291. package/src/kisscomps/components/DrawChannelization/drawsvg/overlapAssociatedComponent.vue +172 -172
  292. package/src/kisscomps/components/DrawChannelization/drawsvg/phaseAssociatedComponent.vue +172 -172
  293. package/src/kisscomps/components/DrawChannelization/drawsvg/table.vue +99 -99
  294. package/src/kisscomps/components/DrawChannelization/drawsvg/utils/loadutils.js +87 -87
  295. package/src/kisscomps/components/DrawChannelization/drawsvg/utils/phaseDataModel.js +32 -32
  296. package/src/kisscomps/components/DrawChannelization/drawsvg/utils/phasePos.json +20 -20
  297. package/src/kisscomps/components/DrawChannelization/index.js +2 -2
  298. package/src/kisscomps/components/DrawChannelization/phaseDataMgr.js +278 -278
  299. package/src/kisscomps/components/ExpendConfig/ExpendConfig.vue +118 -118
  300. package/src/kisscomps/components/ExpendConfig/index.js +2 -2
  301. package/src/kisscomps/components/FaultDetailModal/FaultDetailModal.vue +178 -178
  302. package/src/kisscomps/components/FaultDetailModal/index.js +2 -2
  303. package/src/kisscomps/components/IntersectionDirectionSelection/IntersectionDirectionSelection.vue +127 -127
  304. package/src/kisscomps/components/IntersectionDirectionSelection/index.js +2 -2
  305. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/CrossRoadsSvg.vue +496 -496
  306. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/CustomRoadsSvg.vue +46 -46
  307. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/PedSectionEWSvg.vue +300 -300
  308. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/PedSectionSNSvg.vue +288 -288
  309. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampEastSvg.vue +391 -391
  310. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampNorthSvg.vue +336 -336
  311. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampSouthSvg.vue +345 -345
  312. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampWestSvg.vue +389 -389
  313. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/SidewalkClickSvg.vue +1272 -1272
  314. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/SidewalkSvg.vue +1190 -1190
  315. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeEastRoadsSvg.vue +402 -402
  316. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeNorthRoadsSvg.vue +361 -361
  317. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeSouthRoadsSvg.vue +368 -368
  318. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeWestRoadsSvg.vue +475 -475
  319. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LCrossRoadsSvg.vue +494 -494
  320. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeEastRoadsSvg.vue +401 -401
  321. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeNorthRoadsSvg.vue +360 -360
  322. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeSouthRoadsSvg.vue +367 -367
  323. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeWestRoadsSvg.vue +476 -476
  324. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/refreshSvg.vue +63 -63
  325. package/src/kisscomps/components/IntersectionMap/crossDirection/busIcon/busMapSvg.vue +50 -50
  326. package/src/kisscomps/components/IntersectionMap/crossDirection/busIcon/eastBusSvg.vue +167 -167
  327. package/src/kisscomps/components/IntersectionMap/crossDirection/busIcon/northBusSvg.vue +168 -168
  328. package/src/kisscomps/components/IntersectionMap/crossDirection/busIcon/southBusSvg.vue +168 -168
  329. package/src/kisscomps/components/IntersectionMap/crossDirection/busIcon/westBusSvg.vue +169 -169
  330. package/src/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +1200 -1200
  331. package/src/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/LphaseIconSvg.vue +197 -197
  332. package/src/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/phaseIconSvg.vue +196 -196
  333. package/src/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/rampPhaseIconSvg.vue +122 -122
  334. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/busPos.json +196 -196
  335. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/busPos.left.json +196 -196
  336. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/phasePos.json +115 -115
  337. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/phasePos.left.json +115 -115
  338. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/rampPos.json +52 -52
  339. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/sidePos.json +219 -219
  340. package/src/kisscomps/components/IntersectionMap/crossDirection/utils.js +84 -84
  341. package/src/kisscomps/components/IntersectionMap/index.js +2 -2
  342. package/src/kisscomps/components/IntersectionMap/intersectionmap.vue +199 -199
  343. package/src/kisscomps/components/IntersectionWithInterface/IntersectionWithInterface.vue +530 -530
  344. package/src/kisscomps/components/IntersectionWithInterface/index.js +2 -2
  345. package/src/kisscomps/components/KanBan/index.js +2 -2
  346. package/src/kisscomps/components/KanBan/kanban.vue +225 -225
  347. package/src/kisscomps/components/MessageBox/index.vue +96 -96
  348. package/src/kisscomps/components/OverLap/OverLap.vue +214 -214
  349. package/src/kisscomps/components/OverLap/index.js +2 -2
  350. package/src/kisscomps/components/PatternOptimize/PatternOptimize.vue +272 -272
  351. package/src/kisscomps/components/PatternOptimize/index.js +2 -2
  352. package/src/kisscomps/components/PatternStatus/PatternStatus.vue +1462 -1456
  353. package/src/kisscomps/components/PatternStatus/index.js +2 -2
  354. package/src/kisscomps/components/PatternWalkSvg/PatternWalkSvg.vue +423 -423
  355. package/src/kisscomps/components/PatternWalkSvg/index.js +2 -2
  356. package/src/kisscomps/components/PhaseDirectionSelect/PhaseDirectionSelect.vue +126 -126
  357. package/src/kisscomps/components/PhaseDirectionSelect/index.js +2 -2
  358. package/src/kisscomps/components/PhaseDirectionText/PhaseDirectionText.vue +106 -106
  359. package/src/kisscomps/components/PhaseDirectionText/index.js +2 -2
  360. package/src/kisscomps/components/PhaseMarker/index.js +6 -6
  361. package/src/kisscomps/components/PhaseMarker/phasemarker.vue +215 -215
  362. package/src/kisscomps/components/PhaseMarker/svg/patternSvg.vue +121 -121
  363. package/src/kisscomps/components/PhaseMarker/svg/phase.vue +60 -60
  364. package/src/kisscomps/components/PhaseMarker/svg/phaseCount.vue +62 -62
  365. package/src/kisscomps/components/PhaseMarker/svg/phaseCountCycle.vue +62 -62
  366. package/src/kisscomps/components/PhaseMarker/svg/phaseSvg.vue +117 -117
  367. package/src/kisscomps/components/SchemeConfig/SchemeConfig.vue +828 -828
  368. package/src/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +313 -313
  369. package/src/kisscomps/components/SchemeConfig/azimuthlocking/utils.js +92 -92
  370. package/src/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +195 -195
  371. package/src/kisscomps/components/SchemeConfig/index.js +2 -2
  372. package/src/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +198 -198
  373. package/src/kisscomps/components/SchemeConfig/manualControlModal/index.vue +228 -228
  374. package/src/kisscomps/components/SchemeConfig/priorityControl/index.vue +197 -197
  375. package/src/kisscomps/components/SchemeConfig/priorityControl/utils.js +163 -163
  376. package/src/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +275 -275
  377. package/src/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +840 -840
  378. package/src/kisscomps/components/StageBord/StageBord.vue +242 -242
  379. package/src/kisscomps/components/StageBord/index.js +2 -2
  380. package/src/kisscomps/components/StageStatus/StageStatus.vue +341 -341
  381. package/src/kisscomps/components/StageStatus/index.js +2 -2
  382. package/src/kisscomps/components/Stages/index.vue +211 -211
  383. package/src/kisscomps/components/SvgIcon/SvgIcon.vue +53 -53
  384. package/src/kisscomps/components/SvgIcon/index.js +2 -2
  385. package/src/kisscomps/components/XRDDirSelector/XRDDirSelector.vue +1065 -1065
  386. package/src/kisscomps/components/XRDDirSelector/index.js +2 -2
  387. package/src/kisscomps/components/XiaoKanban/DirSelector.vue +356 -356
  388. package/src/kisscomps/components/XiaoKanban/index.vue +102 -102
  389. package/src/kisscomps/components/overView/index.vue +699 -699
  390. package/src/kisscomps/components/patternConfig/index.js +2 -2
  391. package/src/kisscomps/components/patternConfig/index.vue +1126 -1126
  392. package/src/kisscomps/components/patternConfig/pattern/patternTable.vue +348 -348
  393. package/src/kisscomps/components/patternConfig/pattern/planChart/model/coordinationModel.js +665 -665
  394. package/src/kisscomps/components/patternConfig/planContent.vue +573 -573
  395. package/src/kisscomps/components/patternConfig/planMenu.vue +329 -329
  396. package/src/kisscomps/components/patternConfig/utils.js +152 -152
  397. package/src/kisscomps/components/patternList/index.js +2 -2
  398. package/src/kisscomps/components/patternList/patternList.vue +581 -581
  399. package/src/kisscomps/index.js +123 -123
  400. package/src/lib/publicjs/ArryListUtil.js +38 -38
  401. package/src/lib/publicjs/HttpurlMgr.js +45 -45
  402. package/src/lib/publicjs/KissApi.js +158 -158
  403. package/src/lib/publicjs/KissWSSub/Heartcheck.js +128 -128
  404. package/src/lib/publicjs/KissWSSub/KissWsSub.js +91 -91
  405. package/src/lib/publicjs/KissWSSub/KissWsSubByType.js +152 -152
  406. package/src/lib/publicjs/KissWSSub/SimuWsSubByType.js +44 -44
  407. package/src/lib/publicjs/KissWSSub/Sub.js +51 -51
  408. package/src/lib/publicjs/KissWSSub/SubChannel.js +119 -119
  409. package/src/lib/publicjs/basecomponents.js +65 -65
  410. package/src/lib/publicjs/localStorage.js +112 -112
  411. package/src/lib/publicjs/objdeepcopy.js +32 -32
  412. package/src/lib/publicjs/pageScroll.js +30 -30
  413. package/src/lib/publicjs/passwdAssest.js +101 -101
  414. package/src/lib/publicjs/styleclassfactory.js +32 -32
  415. package/src/main.js +50 -50
  416. package/src/node_modules/.package_versions.json +1 -0
  417. package/src/router/index.js +63 -63
  418. package/src/store/getters.js +16 -16
  419. package/src/store/index.js +26 -26
  420. package/src/store/modules/globalParam.js +67 -67
  421. package/src/utils/ControlFormat.js +68 -68
  422. package/src/utils/RingDataModel.js +251 -251
  423. package/src/utils/auth.js +199 -199
  424. package/src/utils/conflct.js +250 -250
  425. package/src/utils/conflictList.js +87 -87
  426. package/src/utils/dateFormat.js +41 -41
  427. package/src/utils/errorcode.js +228 -228
  428. package/src/utils/fault.js +196 -196
  429. package/src/utils/faultcode.js +209 -209
  430. package/src/utils/index.js +69 -69
  431. package/src/utils/pedphasedesc.js +119 -119
  432. package/src/utils/phaseList.js +203 -203
  433. package/src/utils/phasedesc.js +144 -144
  434. package/src/utils/responseMessage.js +21 -21
  435. package/src/utils/validate.js +43 -43
  436. package/src/views/customchannelization.vue +49 -49
  437. package/src/views/home.1.vue +479 -479
  438. package/src/views/home.vue +93 -93
  439. package/src/views/intersection.vue +359 -359
  440. package/src/views/intersection2.vue +328 -328
  441. package/src/views/overView.vue +41 -41
  442. package/src/views/patternConfig.vue +1572 -1572
  443. package/src/views/schemeconfig.vue +173 -173
  444. package/static/apiconfig.json +451 -451
  445. package/static/styles/channelizatioon.scss +433 -433
  446. package/static/styles/common.scss +23 -23
  447. package/static/styles/commonkanban.scss +100 -100
  448. package/static/styles/dark/index.scss +2 -2
  449. package/static/styles/dark/theme/element-dark.scss +42 -42
  450. package/static/styles/index.scss +84 -84
  451. package/static/styles/intersection.scss +190 -190
  452. package/static/styles/light/index.scss +2 -2
  453. package/static/styles/light/theme/element-light.scss +42 -42
  454. package/static/styles/overview.scss +146 -135
  455. package/static/styles/patternConfig.scss +56 -56
  456. package/static/styles/schemeconfig.scss +493 -493
  457. package/static/styles/stages.scss +64 -64
  458. package/static/styles/uiComponents.scss +57 -57
  459. package/static/styles/xiaokanban.scss +50 -50
  460. package/static/token.json +2 -2
  461. package/test/e2e/custom-assertions/elementCount.js +27 -27
  462. package/test/e2e/nightwatch.conf.js +46 -46
  463. package/test/e2e/runner.js +48 -48
  464. package/test/e2e/specs/test.js +19 -19
  465. package/test/unit/.eslintrc +7 -7
  466. package/test/unit/jest.conf.js +30 -30
  467. package/test/unit/setup.js +3 -3
  468. package/test/unit/specs/HelloWorld.spec.js +11 -11
  469. package/package/kissui.js +0 -216608
@@ -1,1065 +1,1065 @@
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: 'reletive'}">
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[1].lockColor:peoplestatus[1].color" :class="peoplestatus[1].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[0].lockColor:peoplestatus[0].color" :class="peoplestatus[0].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
- export default {
488
- name: 'xdr-dir-selector',
489
- props: {
490
- showlist: {
491
- type: Array,
492
- default: function () {
493
- return [
494
- {
495
- id: 1,
496
- color: 'red'
497
- },
498
- {
499
- id: 2,
500
- color: 'yellow'
501
- }
502
- ]
503
- }
504
- },
505
- Width: {// 车道宽
506
- type: String,
507
- default: '60px'
508
- },
509
- Height: {
510
- type: String,
511
- default: '60px'
512
- },
513
- Widths: {// 人行横道宽
514
- type: String,
515
- default: '50px'
516
- },
517
- Heights: {
518
- type: String,
519
- default: '50px'
520
- },
521
- PathWidth: {
522
- type: Number,
523
- default: 18
524
- },
525
- ISActiveMask: {
526
- type: Boolean,
527
- default: false
528
- },
529
- MaskColor: {
530
- type: String,
531
- default: '#0096ba'
532
- },
533
- isLock: {
534
- type: Number,
535
- default: 0
536
- },
537
- Datas: {// 人行横道样式
538
- type: Object
539
- },
540
- Data: {// 车道样式
541
- type: Object
542
- }
543
- },
544
- computed: {
545
- ...mapState({
546
- roadDirection: state => state.globalParam.roadDirection
547
- })
548
- },
549
- data () {
550
- return {
551
- maskmark: false,
552
- peoplestatus: [
553
- {
554
- id: 1,
555
- name: '东西路段人行横道',
556
- isshow: false,
557
- color: '#040000',
558
- lockColor: '#7ccc66'
559
- },
560
- {
561
- id: 2,
562
- name: '南北路段人行横道',
563
- isshow: false,
564
- color: '#040000',
565
- lockColor: '#7ccc66'
566
- },
567
- {
568
- id: 3,
569
- name: 'X人行横道-\\',
570
- isshow: false,
571
- color: '#040000',
572
- lockColor: '#7ccc66'
573
- },
574
- {
575
- id: 4,
576
- name: 'X人行横道-/',
577
- isshow: false,
578
- color: '#040000',
579
- lockColor: '#7ccc66'
580
- },
581
- {
582
- id: 5,
583
- name: '北人行横道',
584
- isshow: false,
585
- color: '#040000',
586
- lockColor: '#7ccc66'
587
- },
588
- {
589
- id: 6,
590
- name: '南人行横道',
591
- isshow: false,
592
- color: '#040000',
593
- lockColor: '#7ccc66'
594
- },
595
- {
596
- id: 7,
597
- name: '东人行横道',
598
- isshow: false,
599
- color: '#040000',
600
- lockColor: '#7ccc66'
601
- },
602
- {
603
- id: 8,
604
- name: '西人行横道',
605
- isshow: false,
606
- color: '#040000',
607
- lockColor: '#7ccc66'
608
- },
609
- {
610
- id: 9,
611
- name: '西人行横道-下',
612
- isshow: false,
613
- color: '#040000',
614
- lockColor: '#7ccc66'
615
- },
616
- {
617
- id: 10,
618
- name: '西人行横道-上',
619
- isshow: false,
620
- color: '#040000',
621
- lockColor: '#7ccc66'
622
- },
623
- {
624
- id: 11,
625
- name: '东人行横道-上',
626
- isshow: false,
627
- color: '#040000',
628
- lockColor: '#7ccc66'
629
- },
630
- {
631
- id: 12,
632
- name: '东人行横道-下',
633
- isshow: false,
634
- color: '#040000',
635
- lockColor: '#7ccc66'
636
- },
637
- {
638
- id: 13,
639
- name: '南人行横道-右',
640
- isshow: false,
641
- color: '#040000',
642
- lockColor: '#7ccc66'
643
- },
644
- {
645
- id: 14,
646
- name: '南人行横道-左',
647
- isshow: false,
648
- color: '#040000',
649
- lockColor: '#7ccc66'
650
- },
651
- {
652
- id: 15,
653
- name: '北人行横道-右',
654
- isshow: false,
655
- color: '#040000',
656
- lockColor: '#7ccc66'
657
- },
658
- {
659
- id: 16,
660
- name: '北人行横道-左',
661
- isshow: false,
662
- color: '#040000',
663
- lockColor: '#7ccc66'
664
- },
665
- {
666
- id: 17,
667
- name: '东南人行横道',
668
- isshow: false,
669
- color: '#040000',
670
- lockColor: '#7ccc66'
671
- },
672
- {
673
- id: 18,
674
- name: '西南人行横道',
675
- isshow: false,
676
- color: '#040000',
677
- lockColor: '#7ccc66'
678
- },
679
- {
680
- id: 19,
681
- name: '东北人行横道',
682
- isshow: false,
683
- color: '#040000',
684
- lockColor: '#7ccc66'
685
- },
686
- {
687
- id: 20,
688
- name: '西北人行横道',
689
- isshow: false,
690
- color: '#040000',
691
- lockColor: '#7ccc66'
692
- },
693
- {
694
- id: 21,
695
- name: '东南人行横道-上',
696
- isshow: false,
697
- color: '#040000',
698
- lockColor: '#7ccc66'
699
- },
700
- {
701
- id: 22,
702
- name: '东南人行横道-下',
703
- isshow: false,
704
- color: '#040000',
705
- lockColor: '#7ccc66'
706
- },
707
- {
708
- id: 23,
709
- name: '西南人行横道-上',
710
- isshow: false,
711
- color: '#040000',
712
- lockColor: '#7ccc66'
713
- },
714
- {
715
- id: 24,
716
- name: '西南人行横道-下',
717
- isshow: false,
718
- color: '#040000',
719
- lockColor: '#7ccc66'
720
- },
721
- {
722
- id: 25,
723
- name: '东北人行横道-上',
724
- isshow: false,
725
- color: '#040000',
726
- lockColor: '#7ccc66'
727
- },
728
- {
729
- id: 26,
730
- name: '东北人行横道-下',
731
- isshow: false,
732
- color: '#040000',
733
- lockColor: '#7ccc66'
734
- },
735
- {
736
- id: 27,
737
- name: '西北人行横道-上',
738
- isshow: false,
739
- color: '#040000',
740
- lockColor: '#7ccc66'
741
- },
742
- {
743
- id: 28,
744
- name: '西北人行横道-下',
745
- isshow: false,
746
- color: '#040000',
747
- lockColor: '#7ccc66'
748
- }
749
- ],
750
- status: [
751
- {
752
- id: 1,
753
- name: 'East-Straight',
754
- isshow: false,
755
- color: '#0096ba',
756
- lockColor: '#7ccc66'
757
- },
758
- {
759
- id: 2,
760
- name: 'East-Left',
761
- isshow: false,
762
- color: '#0096ba',
763
- lockColor: '#7ccc66'
764
- },
765
- {
766
- id: 3,
767
- name: 'East-Right',
768
- isshow: false,
769
- color: '#0096ba',
770
- lockColor: '#7ccc66'
771
- },
772
- {
773
- id: 4,
774
- name: 'East-Back ',
775
- isshow: false,
776
- color: '#0096ba',
777
- lockColor: '#7ccc66'
778
- },
779
- {
780
- id: 5,
781
- name: 'West-Straight',
782
- isshow: false,
783
- color: '#0096ba',
784
- lockColor: '#7ccc66'
785
- },
786
- {
787
- id: 6,
788
- name: 'West-Left',
789
- isshow: false,
790
- color: '#0096ba',
791
- lockColor: '#7ccc66'
792
- },
793
- {
794
- id: 7,
795
- name: 'West-Right',
796
- isshow: false,
797
- color: '#0096ba',
798
- lockColor: '#7ccc66'
799
- },
800
- {
801
- id: 8,
802
- name: 'West-Back',
803
- isshow: false,
804
- color: '#0096ba',
805
- lockColor: '#7ccc66'
806
- },
807
- {
808
- id: 9,
809
- name: 'North-Straight',
810
- isshow: false,
811
- color: '#0096ba',
812
- lockColor: '#7ccc66'
813
- },
814
- {
815
- id: 10,
816
- name: 'North-Left',
817
- isshow: false,
818
- color: '#0096ba',
819
- lockColor: '#7ccc66'
820
- },
821
- {
822
- id: 11,
823
- name: 'North-Right',
824
- isshow: false,
825
- color: '#0096ba',
826
- lockColor: '#7ccc66'
827
- },
828
- {
829
- id: 12,
830
- name: 'North-Back',
831
- isshow: false,
832
- color: '#0096ba',
833
- lockColor: '#7ccc66'
834
- },
835
- {
836
- id: 13,
837
- name: 'South-Straight',
838
- isshow: false,
839
- color: '#0096ba',
840
- lockColor: '#7ccc66'
841
- },
842
- {
843
- id: 14,
844
- name: 'South-Left',
845
- isshow: false,
846
- color: '#0096ba',
847
- lockColor: '#7ccc66'
848
- },
849
- {
850
- id: 15,
851
- name: 'South-Right',
852
- isshow: false,
853
- color: '#0096ba',
854
- lockColor: '#7ccc66'
855
- },
856
- {
857
- id: 16,
858
- name: 'South-Back',
859
- isshow: false,
860
- color: '#0096ba',
861
- lockColor: '#7ccc66'
862
- },
863
- {
864
- id: 17,
865
- name: 'Straight-Southeast',
866
- isshow: false,
867
- color: '#0096ba',
868
- lockColor: '#7ccc66'
869
- },
870
- {
871
- id: 18,
872
- name: 'Southeast-Left',
873
- isshow: false,
874
- color: '#0096ba',
875
- lockColor: '#7ccc66'
876
- },
877
- {
878
- id: 19,
879
- name: 'Southeast-Right',
880
- isshow: false,
881
- color: '#0096ba',
882
- lockColor: '#7ccc66'
883
- },
884
- {
885
- id: 20,
886
- name: 'Turn-Southeast',
887
- isshow: false,
888
- color: '#0096ba',
889
- lockColor: '#7ccc66'
890
- },
891
- {
892
- id: 21,
893
- name: 'Straight-Southwest',
894
- isshow: false,
895
- color: '#0096ba',
896
- lockColor: '#7ccc66'
897
- },
898
- {
899
- id: 22,
900
- name: 'Southwest-Left',
901
- isshow: false,
902
- color: '#0096ba',
903
- lockColor: '#7ccc66'
904
- },
905
- {
906
- id: 23,
907
- name: 'Southwest-Right',
908
- isshow: false,
909
- color: '#0096ba',
910
- lockColor: '#7ccc66'
911
- },
912
- {
913
- id: 24,
914
- name: 'Turn-Southwest',
915
- isshow: false,
916
- color: '#0096ba',
917
- lockColor: '#7ccc66'
918
- },
919
- {
920
- id: 25,
921
- name: 'Straight-Northeast',
922
- isshow: false,
923
- color: '#0096ba',
924
- lockColor: '#7ccc66'
925
- },
926
- {
927
- id: 26,
928
- name: 'Northeast-Left',
929
- isshow: false,
930
- color: '#0096ba',
931
- lockColor: '#7ccc66'
932
- },
933
- {
934
- id: 27,
935
- name: 'Northeast-Right-Turn',
936
- isshow: false,
937
- color: '#0096ba',
938
- lockColor: '#7ccc66'
939
- },
940
- {
941
- id: 28,
942
- name: 'Turn-Northeast',
943
- isshow: false,
944
- color: '#0096ba',
945
- lockColor: '#7ccc66'
946
- },
947
- {
948
- id: 29,
949
- name: 'Straight-Northwest',
950
- isshow: false,
951
- color: '#0096ba',
952
- lockColor: '#7ccc66'
953
- },
954
- {
955
- id: 30,
956
- name: 'Northwest-Left-Turn',
957
- isshow: false,
958
- color: '#0096ba',
959
- lockColor: '#7ccc66'
960
- },
961
- {
962
- id: 31,
963
- name: 'Northwest-Right-Turn',
964
- isshow: false,
965
- color: '#0096ba',
966
- lockColor: '#7ccc66'
967
- },
968
- {
969
- id: 32,
970
- name: 'Turn-Northwest',
971
- isshow: false,
972
- color: '#0096ba',
973
- lockColor: '#7ccc66'
974
- }
975
- ]
976
- }
977
- },
978
- methods: {
979
- randShow () {
980
- let num1 = parseInt(Math.random() * (15 - 0 + 1) + 0)
981
- let num2 = parseInt(Math.random() * (15 - 0 + 1) + 0)
982
- for (let i = 0; i < 16; i++) {
983
- if (this.status[i].isshow) {
984
- this.status[i].isshow = false
985
- }
986
- if (i === num1 || i === num2) {
987
- this.status[i].isshow = true
988
- }
989
- }
990
- },
991
- // 车道
992
- refreshShow (showList) {
993
- if (showList.length > 16) {
994
- console.log('list can not be bigger than 16!')
995
- }
996
- this.maskmark = false
997
- if (showList.length <= 0) {
998
- if (this.ISActiveMask) {
999
- this.maskmark = true
1000
- }
1001
- }
1002
-
1003
- for (let i = 0; i < 32; i++) {
1004
- if (this.status[i].isshow) {
1005
- this.status[i].isshow = false
1006
- }
1007
- }
1008
- for (let i = 0; i < 32; i++) {
1009
- if (i < showList.length) {
1010
- let id = showList[i].id
1011
- if (!id) return
1012
- if (id > 32 || id <= 0) {
1013
- console.log('Id is invalied!')
1014
- continue
1015
- }
1016
- this.status[id - 1].isshow = true
1017
- this.status[id - 1].color = showList[i].color
1018
- }
1019
- }
1020
- },
1021
- // 人行横道
1022
- refreshShows (showlist) {
1023
- if (showlist.length === 0) return
1024
- for (let i = 0; i < 28; i++) {
1025
- if (this.peoplestatus[i].isshow) {
1026
- this.peoplestatus[i].isshow = false
1027
- }
1028
- }
1029
- if (!showlist[0].peddirection) return
1030
- if (showlist[0].peddirection.length === 0) return
1031
- for (let i = 0; i < showlist[0].peddirection.length; i++) {
1032
- for (let j = 0; j < this.peoplestatus.length; j++) {
1033
- if (showlist[0].peddirection[i].name === this.peoplestatus[j].name) {
1034
- this.peoplestatus[j].isshow = true
1035
- }
1036
- }
1037
- }
1038
- }
1039
- },
1040
- created () {
1041
- this.refreshShow(this.showlist)
1042
- this.refreshShows(this.showlist)
1043
- },
1044
- watch: {
1045
- showlist: {
1046
- handler: function (newList) {
1047
- this.refreshShow(newList)
1048
- this.refreshShows(newList)
1049
- },
1050
- deep: true // 深度监听
1051
- }
1052
- }
1053
- }
1054
- </script>
1055
-
1056
- <style scoped>
1057
- svg:not(:root){
1058
- overflow: unset;
1059
- }
1060
- .invisible {
1061
- visibility: hidden;
1062
- }
1063
- .st0{color: #040000;}
1064
- .st1{fill-rule:evenodd;clip-rule:evenodd;fill:#303133;}
1065
- </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: 'reletive'}">
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[1].lockColor:peoplestatus[1].color" :class="peoplestatus[1].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[0].lockColor:peoplestatus[0].color" :class="peoplestatus[0].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
+ export default {
488
+ name: 'xdr-dir-selector',
489
+ props: {
490
+ showlist: {
491
+ type: Array,
492
+ default: function () {
493
+ return [
494
+ {
495
+ id: 1,
496
+ color: 'red'
497
+ },
498
+ {
499
+ id: 2,
500
+ color: 'yellow'
501
+ }
502
+ ]
503
+ }
504
+ },
505
+ Width: {// 车道宽
506
+ type: String,
507
+ default: '60px'
508
+ },
509
+ Height: {
510
+ type: String,
511
+ default: '60px'
512
+ },
513
+ Widths: {// 人行横道宽
514
+ type: String,
515
+ default: '50px'
516
+ },
517
+ Heights: {
518
+ type: String,
519
+ default: '50px'
520
+ },
521
+ PathWidth: {
522
+ type: Number,
523
+ default: 18
524
+ },
525
+ ISActiveMask: {
526
+ type: Boolean,
527
+ default: false
528
+ },
529
+ MaskColor: {
530
+ type: String,
531
+ default: '#0096ba'
532
+ },
533
+ isLock: {
534
+ type: Number,
535
+ default: 0
536
+ },
537
+ Datas: {// 人行横道样式
538
+ type: Object
539
+ },
540
+ Data: {// 车道样式
541
+ type: Object
542
+ }
543
+ },
544
+ computed: {
545
+ ...mapState({
546
+ roadDirection: state => state.globalParam.roadDirection
547
+ })
548
+ },
549
+ data () {
550
+ return {
551
+ maskmark: false,
552
+ peoplestatus: [
553
+ {
554
+ id: 1,
555
+ name: '东西路段人行横道',
556
+ isshow: false,
557
+ color: '#040000',
558
+ lockColor: '#7ccc66'
559
+ },
560
+ {
561
+ id: 2,
562
+ name: '南北路段人行横道',
563
+ isshow: false,
564
+ color: '#040000',
565
+ lockColor: '#7ccc66'
566
+ },
567
+ {
568
+ id: 3,
569
+ name: 'X人行横道-\\',
570
+ isshow: false,
571
+ color: '#040000',
572
+ lockColor: '#7ccc66'
573
+ },
574
+ {
575
+ id: 4,
576
+ name: 'X人行横道-/',
577
+ isshow: false,
578
+ color: '#040000',
579
+ lockColor: '#7ccc66'
580
+ },
581
+ {
582
+ id: 5,
583
+ name: '北人行横道',
584
+ isshow: false,
585
+ color: '#040000',
586
+ lockColor: '#7ccc66'
587
+ },
588
+ {
589
+ id: 6,
590
+ name: '南人行横道',
591
+ isshow: false,
592
+ color: '#040000',
593
+ lockColor: '#7ccc66'
594
+ },
595
+ {
596
+ id: 7,
597
+ name: '东人行横道',
598
+ isshow: false,
599
+ color: '#040000',
600
+ lockColor: '#7ccc66'
601
+ },
602
+ {
603
+ id: 8,
604
+ name: '西人行横道',
605
+ isshow: false,
606
+ color: '#040000',
607
+ lockColor: '#7ccc66'
608
+ },
609
+ {
610
+ id: 9,
611
+ name: '西人行横道-下',
612
+ isshow: false,
613
+ color: '#040000',
614
+ lockColor: '#7ccc66'
615
+ },
616
+ {
617
+ id: 10,
618
+ name: '西人行横道-上',
619
+ isshow: false,
620
+ color: '#040000',
621
+ lockColor: '#7ccc66'
622
+ },
623
+ {
624
+ id: 11,
625
+ name: '东人行横道-上',
626
+ isshow: false,
627
+ color: '#040000',
628
+ lockColor: '#7ccc66'
629
+ },
630
+ {
631
+ id: 12,
632
+ name: '东人行横道-下',
633
+ isshow: false,
634
+ color: '#040000',
635
+ lockColor: '#7ccc66'
636
+ },
637
+ {
638
+ id: 13,
639
+ name: '南人行横道-右',
640
+ isshow: false,
641
+ color: '#040000',
642
+ lockColor: '#7ccc66'
643
+ },
644
+ {
645
+ id: 14,
646
+ name: '南人行横道-左',
647
+ isshow: false,
648
+ color: '#040000',
649
+ lockColor: '#7ccc66'
650
+ },
651
+ {
652
+ id: 15,
653
+ name: '北人行横道-右',
654
+ isshow: false,
655
+ color: '#040000',
656
+ lockColor: '#7ccc66'
657
+ },
658
+ {
659
+ id: 16,
660
+ name: '北人行横道-左',
661
+ isshow: false,
662
+ color: '#040000',
663
+ lockColor: '#7ccc66'
664
+ },
665
+ {
666
+ id: 17,
667
+ name: '东南人行横道',
668
+ isshow: false,
669
+ color: '#040000',
670
+ lockColor: '#7ccc66'
671
+ },
672
+ {
673
+ id: 18,
674
+ name: '西南人行横道',
675
+ isshow: false,
676
+ color: '#040000',
677
+ lockColor: '#7ccc66'
678
+ },
679
+ {
680
+ id: 19,
681
+ name: '东北人行横道',
682
+ isshow: false,
683
+ color: '#040000',
684
+ lockColor: '#7ccc66'
685
+ },
686
+ {
687
+ id: 20,
688
+ name: '西北人行横道',
689
+ isshow: false,
690
+ color: '#040000',
691
+ lockColor: '#7ccc66'
692
+ },
693
+ {
694
+ id: 21,
695
+ name: '东南人行横道-上',
696
+ isshow: false,
697
+ color: '#040000',
698
+ lockColor: '#7ccc66'
699
+ },
700
+ {
701
+ id: 22,
702
+ name: '东南人行横道-下',
703
+ isshow: false,
704
+ color: '#040000',
705
+ lockColor: '#7ccc66'
706
+ },
707
+ {
708
+ id: 23,
709
+ name: '西南人行横道-上',
710
+ isshow: false,
711
+ color: '#040000',
712
+ lockColor: '#7ccc66'
713
+ },
714
+ {
715
+ id: 24,
716
+ name: '西南人行横道-下',
717
+ isshow: false,
718
+ color: '#040000',
719
+ lockColor: '#7ccc66'
720
+ },
721
+ {
722
+ id: 25,
723
+ name: '东北人行横道-上',
724
+ isshow: false,
725
+ color: '#040000',
726
+ lockColor: '#7ccc66'
727
+ },
728
+ {
729
+ id: 26,
730
+ name: '东北人行横道-下',
731
+ isshow: false,
732
+ color: '#040000',
733
+ lockColor: '#7ccc66'
734
+ },
735
+ {
736
+ id: 27,
737
+ name: '西北人行横道-上',
738
+ isshow: false,
739
+ color: '#040000',
740
+ lockColor: '#7ccc66'
741
+ },
742
+ {
743
+ id: 28,
744
+ name: '西北人行横道-下',
745
+ isshow: false,
746
+ color: '#040000',
747
+ lockColor: '#7ccc66'
748
+ }
749
+ ],
750
+ status: [
751
+ {
752
+ id: 1,
753
+ name: 'East-Straight',
754
+ isshow: false,
755
+ color: '#0096ba',
756
+ lockColor: '#7ccc66'
757
+ },
758
+ {
759
+ id: 2,
760
+ name: 'East-Left',
761
+ isshow: false,
762
+ color: '#0096ba',
763
+ lockColor: '#7ccc66'
764
+ },
765
+ {
766
+ id: 3,
767
+ name: 'East-Right',
768
+ isshow: false,
769
+ color: '#0096ba',
770
+ lockColor: '#7ccc66'
771
+ },
772
+ {
773
+ id: 4,
774
+ name: 'East-Back ',
775
+ isshow: false,
776
+ color: '#0096ba',
777
+ lockColor: '#7ccc66'
778
+ },
779
+ {
780
+ id: 5,
781
+ name: 'West-Straight',
782
+ isshow: false,
783
+ color: '#0096ba',
784
+ lockColor: '#7ccc66'
785
+ },
786
+ {
787
+ id: 6,
788
+ name: 'West-Left',
789
+ isshow: false,
790
+ color: '#0096ba',
791
+ lockColor: '#7ccc66'
792
+ },
793
+ {
794
+ id: 7,
795
+ name: 'West-Right',
796
+ isshow: false,
797
+ color: '#0096ba',
798
+ lockColor: '#7ccc66'
799
+ },
800
+ {
801
+ id: 8,
802
+ name: 'West-Back',
803
+ isshow: false,
804
+ color: '#0096ba',
805
+ lockColor: '#7ccc66'
806
+ },
807
+ {
808
+ id: 9,
809
+ name: 'North-Straight',
810
+ isshow: false,
811
+ color: '#0096ba',
812
+ lockColor: '#7ccc66'
813
+ },
814
+ {
815
+ id: 10,
816
+ name: 'North-Left',
817
+ isshow: false,
818
+ color: '#0096ba',
819
+ lockColor: '#7ccc66'
820
+ },
821
+ {
822
+ id: 11,
823
+ name: 'North-Right',
824
+ isshow: false,
825
+ color: '#0096ba',
826
+ lockColor: '#7ccc66'
827
+ },
828
+ {
829
+ id: 12,
830
+ name: 'North-Back',
831
+ isshow: false,
832
+ color: '#0096ba',
833
+ lockColor: '#7ccc66'
834
+ },
835
+ {
836
+ id: 13,
837
+ name: 'South-Straight',
838
+ isshow: false,
839
+ color: '#0096ba',
840
+ lockColor: '#7ccc66'
841
+ },
842
+ {
843
+ id: 14,
844
+ name: 'South-Left',
845
+ isshow: false,
846
+ color: '#0096ba',
847
+ lockColor: '#7ccc66'
848
+ },
849
+ {
850
+ id: 15,
851
+ name: 'South-Right',
852
+ isshow: false,
853
+ color: '#0096ba',
854
+ lockColor: '#7ccc66'
855
+ },
856
+ {
857
+ id: 16,
858
+ name: 'South-Back',
859
+ isshow: false,
860
+ color: '#0096ba',
861
+ lockColor: '#7ccc66'
862
+ },
863
+ {
864
+ id: 17,
865
+ name: 'Straight-Southeast',
866
+ isshow: false,
867
+ color: '#0096ba',
868
+ lockColor: '#7ccc66'
869
+ },
870
+ {
871
+ id: 18,
872
+ name: 'Southeast-Left',
873
+ isshow: false,
874
+ color: '#0096ba',
875
+ lockColor: '#7ccc66'
876
+ },
877
+ {
878
+ id: 19,
879
+ name: 'Southeast-Right',
880
+ isshow: false,
881
+ color: '#0096ba',
882
+ lockColor: '#7ccc66'
883
+ },
884
+ {
885
+ id: 20,
886
+ name: 'Turn-Southeast',
887
+ isshow: false,
888
+ color: '#0096ba',
889
+ lockColor: '#7ccc66'
890
+ },
891
+ {
892
+ id: 21,
893
+ name: 'Straight-Southwest',
894
+ isshow: false,
895
+ color: '#0096ba',
896
+ lockColor: '#7ccc66'
897
+ },
898
+ {
899
+ id: 22,
900
+ name: 'Southwest-Left',
901
+ isshow: false,
902
+ color: '#0096ba',
903
+ lockColor: '#7ccc66'
904
+ },
905
+ {
906
+ id: 23,
907
+ name: 'Southwest-Right',
908
+ isshow: false,
909
+ color: '#0096ba',
910
+ lockColor: '#7ccc66'
911
+ },
912
+ {
913
+ id: 24,
914
+ name: 'Turn-Southwest',
915
+ isshow: false,
916
+ color: '#0096ba',
917
+ lockColor: '#7ccc66'
918
+ },
919
+ {
920
+ id: 25,
921
+ name: 'Straight-Northeast',
922
+ isshow: false,
923
+ color: '#0096ba',
924
+ lockColor: '#7ccc66'
925
+ },
926
+ {
927
+ id: 26,
928
+ name: 'Northeast-Left',
929
+ isshow: false,
930
+ color: '#0096ba',
931
+ lockColor: '#7ccc66'
932
+ },
933
+ {
934
+ id: 27,
935
+ name: 'Northeast-Right-Turn',
936
+ isshow: false,
937
+ color: '#0096ba',
938
+ lockColor: '#7ccc66'
939
+ },
940
+ {
941
+ id: 28,
942
+ name: 'Turn-Northeast',
943
+ isshow: false,
944
+ color: '#0096ba',
945
+ lockColor: '#7ccc66'
946
+ },
947
+ {
948
+ id: 29,
949
+ name: 'Straight-Northwest',
950
+ isshow: false,
951
+ color: '#0096ba',
952
+ lockColor: '#7ccc66'
953
+ },
954
+ {
955
+ id: 30,
956
+ name: 'Northwest-Left-Turn',
957
+ isshow: false,
958
+ color: '#0096ba',
959
+ lockColor: '#7ccc66'
960
+ },
961
+ {
962
+ id: 31,
963
+ name: 'Northwest-Right-Turn',
964
+ isshow: false,
965
+ color: '#0096ba',
966
+ lockColor: '#7ccc66'
967
+ },
968
+ {
969
+ id: 32,
970
+ name: 'Turn-Northwest',
971
+ isshow: false,
972
+ color: '#0096ba',
973
+ lockColor: '#7ccc66'
974
+ }
975
+ ]
976
+ }
977
+ },
978
+ methods: {
979
+ randShow () {
980
+ let num1 = parseInt(Math.random() * (15 - 0 + 1) + 0)
981
+ let num2 = parseInt(Math.random() * (15 - 0 + 1) + 0)
982
+ for (let i = 0; i < 16; i++) {
983
+ if (this.status[i].isshow) {
984
+ this.status[i].isshow = false
985
+ }
986
+ if (i === num1 || i === num2) {
987
+ this.status[i].isshow = true
988
+ }
989
+ }
990
+ },
991
+ // 车道
992
+ refreshShow (showList) {
993
+ if (showList.length > 16) {
994
+ console.log('list can not be bigger than 16!')
995
+ }
996
+ this.maskmark = false
997
+ if (showList.length <= 0) {
998
+ if (this.ISActiveMask) {
999
+ this.maskmark = true
1000
+ }
1001
+ }
1002
+
1003
+ for (let i = 0; i < 32; i++) {
1004
+ if (this.status[i].isshow) {
1005
+ this.status[i].isshow = false
1006
+ }
1007
+ }
1008
+ for (let i = 0; i < 32; i++) {
1009
+ if (i < showList.length) {
1010
+ let id = showList[i].id
1011
+ if (!id) return
1012
+ if (id > 32 || id <= 0) {
1013
+ console.log('Id is invalied!')
1014
+ continue
1015
+ }
1016
+ this.status[id - 1].isshow = true
1017
+ this.status[id - 1].color = showList[i].color
1018
+ }
1019
+ }
1020
+ },
1021
+ // 人行横道
1022
+ refreshShows (showlist) {
1023
+ if (showlist.length === 0) return
1024
+ for (let i = 0; i < 28; i++) {
1025
+ if (this.peoplestatus[i].isshow) {
1026
+ this.peoplestatus[i].isshow = false
1027
+ }
1028
+ }
1029
+ if (!showlist[0].peddirection) return
1030
+ if (showlist[0].peddirection.length === 0) return
1031
+ for (let i = 0; i < showlist[0].peddirection.length; i++) {
1032
+ for (let j = 0; j < this.peoplestatus.length; j++) {
1033
+ if (showlist[0].peddirection[i].name === this.peoplestatus[j].name) {
1034
+ this.peoplestatus[j].isshow = true
1035
+ }
1036
+ }
1037
+ }
1038
+ }
1039
+ },
1040
+ created () {
1041
+ this.refreshShow(this.showlist)
1042
+ this.refreshShows(this.showlist)
1043
+ },
1044
+ watch: {
1045
+ showlist: {
1046
+ handler: function (newList) {
1047
+ this.refreshShow(newList)
1048
+ this.refreshShows(newList)
1049
+ },
1050
+ deep: true // 深度监听
1051
+ }
1052
+ }
1053
+ }
1054
+ </script>
1055
+
1056
+ <style scoped>
1057
+ svg:not(:root){
1058
+ overflow: unset;
1059
+ }
1060
+ .invisible {
1061
+ visibility: hidden;
1062
+ }
1063
+ .st0{color: #040000;}
1064
+ .st1{fill-rule:evenodd;clip-rule:evenodd;fill:#303133;}
1065
+ </style>