openatc-components 0.1.137 → 0.1.139

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 (430) 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 +91 -91
  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 +99 -99
  23. package/package/kisscomps/components/BoardCard/index.js +2 -2
  24. package/package/kisscomps/components/Channelization/Channelization.vue +556 -556
  25. package/package/kisscomps/components/Channelization/index.js +2 -2
  26. package/package/kisscomps/components/ChannelizationFlowStatistic/ChannelizationFlowStatistic.vue +361 -361
  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 +119 -123
  31. package/package/kisscomps/components/CommonKanban/index.js +2 -2
  32. package/package/kisscomps/components/DrawChannelization/drawsvg/basicCoordInfo.vue +181 -181
  33. package/package/kisscomps/components/DrawChannelization/drawsvg/channelizationElements.vue +255 -255
  34. package/package/kisscomps/components/DrawChannelization/drawsvg/detectorAssociatedComponent.vue +152 -152
  35. package/package/kisscomps/components/DrawChannelization/drawsvg/drawElement/TextBox.vue +91 -91
  36. package/package/kisscomps/components/DrawChannelization/drawsvg/drawElement/crossMap.vue +194 -194
  37. package/package/kisscomps/components/DrawChannelization/drawsvg/drawElement/editText.vue +108 -108
  38. package/package/kisscomps/components/DrawChannelization/drawsvg/firstImportCrossmap.vue +51 -51
  39. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/countdownSvg.vue +236 -236
  40. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorChart.vue +247 -247
  41. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorIconSvg.vue +210 -210
  42. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/laneIcon.vue +72 -72
  43. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +455 -455
  44. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/pedroadIconSvg.vue +219 -219
  45. package/package/kisscomps/components/DrawChannelization/drawsvg/importDialog.vue +74 -74
  46. package/package/kisscomps/components/DrawChannelization/drawsvg/index.draw.vue +1005 -1005
  47. package/package/kisscomps/components/DrawChannelization/drawsvg/index.vue +110 -110
  48. package/package/kisscomps/components/DrawChannelization/drawsvg/laneEditPanel.vue +707 -707
  49. package/package/kisscomps/components/DrawChannelization/drawsvg/overlapAssociatedComponent.vue +168 -168
  50. package/package/kisscomps/components/DrawChannelization/drawsvg/phaseAssociatedComponent.vue +168 -168
  51. package/package/kisscomps/components/DrawChannelization/drawsvg/table.vue +99 -99
  52. package/package/kisscomps/components/DrawChannelization/drawsvg/utils/loadutils.js +87 -87
  53. package/package/kisscomps/components/DrawChannelization/drawsvg/utils/phaseDataModel.js +32 -32
  54. package/package/kisscomps/components/DrawChannelization/drawsvg/utils/phasePos.json +20 -20
  55. package/package/kisscomps/components/DrawChannelization/index.js +2 -2
  56. package/package/kisscomps/components/DrawChannelization/phaseDataMgr.js +278 -278
  57. package/package/kisscomps/components/ExpendConfig/ExpendConfig.vue +114 -114
  58. package/package/kisscomps/components/ExpendConfig/index.js +2 -2
  59. package/package/kisscomps/components/FaultDetailModal/FaultDetailModal.vue +178 -170
  60. package/package/kisscomps/components/FaultDetailModal/index.js +2 -2
  61. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/CrossRoadsSvg.vue +497 -497
  62. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/CustomRoadsSvg.vue +46 -46
  63. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/PedSectionEWSvg.vue +300 -300
  64. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/PedSectionSNSvg.vue +288 -288
  65. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampEastSvg.vue +391 -391
  66. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampNorthSvg.vue +336 -336
  67. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampSouthSvg.vue +345 -345
  68. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampWestSvg.vue +389 -389
  69. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/SidewalkSvg.vue +1179 -1179
  70. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeEastRoadsSvg.vue +402 -402
  71. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeNorthRoadsSvg.vue +361 -361
  72. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeSouthRoadsSvg.vue +368 -368
  73. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeWestRoadsSvg.vue +475 -475
  74. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LCrossRoadsSvg.vue +494 -494
  75. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeEastRoadsSvg.vue +401 -401
  76. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeNorthRoadsSvg.vue +360 -360
  77. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeSouthRoadsSvg.vue +367 -367
  78. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeWestRoadsSvg.vue +476 -476
  79. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/refreshSvg.vue +63 -63
  80. package/package/kisscomps/components/IntersectionMap/crossDirection/busIcon/busMapSvg.vue +50 -50
  81. package/package/kisscomps/components/IntersectionMap/crossDirection/busIcon/eastBusSvg.vue +167 -167
  82. package/package/kisscomps/components/IntersectionMap/crossDirection/busIcon/northBusSvg.vue +168 -168
  83. package/package/kisscomps/components/IntersectionMap/crossDirection/busIcon/southBusSvg.vue +168 -168
  84. package/package/kisscomps/components/IntersectionMap/crossDirection/busIcon/westBusSvg.vue +169 -169
  85. package/package/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +920 -920
  86. package/package/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/LphaseIconSvg.vue +112 -112
  87. package/package/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/phaseIconSvg.vue +112 -112
  88. package/package/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/rampPhaseIconSvg.vue +111 -111
  89. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/busPos.json +196 -196
  90. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/busPos.left.json +196 -196
  91. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/phasePos.json +99 -99
  92. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/phasePos.left.json +99 -99
  93. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/rampPos.json +52 -52
  94. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/sidePos.json +171 -171
  95. package/package/kisscomps/components/IntersectionMap/crossDirection/utils.js +78 -78
  96. package/package/kisscomps/components/IntersectionMap/index.js +2 -2
  97. package/package/kisscomps/components/IntersectionMap/intersectionmap.vue +163 -163
  98. package/package/kisscomps/components/IntersectionWithInterface/IntersectionWithInterface.vue +528 -528
  99. package/package/kisscomps/components/IntersectionWithInterface/index.js +2 -2
  100. package/package/kisscomps/components/KanBan/index.js +2 -2
  101. package/package/kisscomps/components/KanBan/kanban.vue +221 -221
  102. package/package/kisscomps/components/MessageBox/index.vue +96 -96
  103. package/package/kisscomps/components/OverLap/OverLap.vue +214 -214
  104. package/package/kisscomps/components/OverLap/index.js +2 -2
  105. package/package/kisscomps/components/PatternOptimize/PatternOptimize.vue +272 -272
  106. package/package/kisscomps/components/PatternOptimize/index.js +2 -2
  107. package/package/kisscomps/components/PatternStatus/PatternStatus.vue +1365 -1366
  108. package/package/kisscomps/components/PatternStatus/index.js +2 -2
  109. package/package/kisscomps/components/PatternWalkSvg/PatternWalkSvg.vue +423 -423
  110. package/package/kisscomps/components/PatternWalkSvg/index.js +2 -2
  111. package/package/kisscomps/components/PhaseDirectionSelect/PhaseDirectionSelect.vue +126 -126
  112. package/package/kisscomps/components/PhaseDirectionSelect/index.js +2 -2
  113. package/package/kisscomps/components/PhaseDirectionText/PhaseDirectionText.vue +106 -106
  114. package/package/kisscomps/components/PhaseDirectionText/index.js +2 -2
  115. package/package/kisscomps/components/PhaseMarker/index.js +6 -6
  116. package/package/kisscomps/components/PhaseMarker/phasemarker.vue +215 -215
  117. package/package/kisscomps/components/PhaseMarker/svg/patternSvg.vue +121 -121
  118. package/package/kisscomps/components/PhaseMarker/svg/phase.vue +60 -60
  119. package/package/kisscomps/components/PhaseMarker/svg/phaseCount.vue +62 -62
  120. package/package/kisscomps/components/PhaseMarker/svg/phaseCountCycle.vue +62 -62
  121. package/package/kisscomps/components/PhaseMarker/svg/phaseSvg.vue +117 -117
  122. package/package/kisscomps/components/SchemeConfig/SchemeConfig.vue +821 -817
  123. package/package/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +272 -272
  124. package/package/kisscomps/components/SchemeConfig/azimuthlocking/utils.js +92 -92
  125. package/package/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +195 -195
  126. package/package/kisscomps/components/SchemeConfig/index.js +2 -2
  127. package/package/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +198 -198
  128. package/package/kisscomps/components/SchemeConfig/manualControlModal/index.vue +226 -226
  129. package/package/kisscomps/components/SchemeConfig/priorityControl/index.vue +197 -197
  130. package/package/kisscomps/components/SchemeConfig/priorityControl/utils.js +163 -163
  131. package/package/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +275 -275
  132. package/package/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +840 -840
  133. package/package/kisscomps/components/StageBord/StageBord.vue +242 -242
  134. package/package/kisscomps/components/StageBord/index.js +2 -2
  135. package/package/kisscomps/components/StageStatus/StageStatus.vue +341 -341
  136. package/package/kisscomps/components/StageStatus/index.js +2 -2
  137. package/package/kisscomps/components/Stages/index.vue +181 -181
  138. package/package/kisscomps/components/SvgIcon/SvgIcon.vue +53 -53
  139. package/package/kisscomps/components/SvgIcon/index.js +2 -2
  140. package/package/kisscomps/components/XRDDirSelector/XRDDirSelector.vue +1166 -995
  141. package/package/kisscomps/components/XRDDirSelector/index.js +2 -2
  142. package/package/kisscomps/components/overView/index.vue +699 -699
  143. package/package/kisscomps/components/patternList/index.js +2 -2
  144. package/package/kisscomps/components/patternList/patternList.vue +572 -572
  145. package/package/kisscomps/index.js +115 -119
  146. package/package/kissui.min.js +1 -1
  147. package/package.json +13 -14
  148. package/src/App.vue +24 -24
  149. package/src/EdgeMgr/EdgeModelBase.js +16 -16
  150. package/src/EdgeMgr/controller/crossDiagramMgr.js +120 -120
  151. package/src/api/authapi.js +31 -31
  152. package/src/api/config.js +21 -21
  153. package/src/api/control.js +87 -102
  154. package/src/api/cross.js +49 -49
  155. package/src/api/fault.js +66 -66
  156. package/src/api/index.js +24 -24
  157. package/src/api/login.js +46 -46
  158. package/src/api/optimize.js +72 -72
  159. package/src/api/param.js +154 -154
  160. package/src/api/passwdAssest.js +101 -101
  161. package/src/api/template.js +27 -27
  162. package/src/i18n/index.js +26 -26
  163. package/src/i18n/language/en.js +1276 -1401
  164. package/src/i18n/language/index.js +25 -25
  165. package/src/i18n/language/zh.js +1291 -1416
  166. package/src/icons/demo.css +539 -539
  167. package/src/icons/iconfont.css +1183 -1183
  168. package/src/icons/iconfont.json +2053 -2053
  169. package/src/icons/index.js +20 -20
  170. package/src/icons/svg/azimuthlocking.svg +26 -26
  171. package/src/icons/svg/bendi.svg +110 -110
  172. package/src/icons/svg/bujin.svg +36 -36
  173. package/src/icons/svg/connectBlue.svg +7 -7
  174. package/src/icons/svg/currentvolume.svg +0 -0
  175. package/src/icons/svg/custom-BRTlane.svg +40 -40
  176. package/src/icons/svg/custom-buslane.svg +40 -40
  177. package/src/icons/svg/custom-detector.svg +12 -12
  178. package/src/icons/svg/custom-east-bottom.svg +32 -32
  179. package/src/icons/svg/custom-east-top.svg +32 -32
  180. package/src/icons/svg/custom-ewped.svg +35 -35
  181. package/src/icons/svg/custom-nonmotorizedlane.svg +40 -40
  182. package/src/icons/svg/custom-north-left.svg +32 -32
  183. package/src/icons/svg/custom-north-right.svg +32 -32
  184. package/src/icons/svg/custom-peddetector.svg +17 -17
  185. package/src/icons/svg/custom-snped.svg +35 -35
  186. package/src/icons/svg/custom-south-left.svg +32 -32
  187. package/src/icons/svg/custom-south-right.svg +32 -32
  188. package/src/icons/svg/custom-tramlane.svg +40 -40
  189. package/src/icons/svg/custom-vehiclebranch.svg +40 -40
  190. package/src/icons/svg/custom-vehiclemainroad.svg +41 -41
  191. package/src/icons/svg/custom-west-bottom.svg +32 -32
  192. package/src/icons/svg/custom-west-top.svg +32 -32
  193. package/src/icons/svg/custom-xlped.svg +14 -14
  194. package/src/icons/svg/custom-xrped.svg +14 -14
  195. package/src/icons/svg/cutRed.svg +7 -7
  196. package/src/icons/svg/cycle.svg +0 -0
  197. package/src/icons/svg/dingzhouqi.svg +34 -34
  198. package/src/icons/svg/ganyingkongzhi.svg +30 -30
  199. package/src/icons/svg/guandeng.svg +81 -81
  200. package/src/icons/svg/huangshan.svg +71 -71
  201. package/src/icons/svg/maincontrol.svg +0 -0
  202. package/src/icons/svg/manualcontrolbackground.svg +51 -51
  203. package/src/icons/svg/manualcontrolbackground1.svg +62 -62
  204. package/src/icons/svg/manualcontrolbackgrounden.svg +62 -62
  205. package/src/icons/svg/model.svg +0 -0
  206. package/src/icons/svg/phasediff.svg +0 -0
  207. package/src/icons/svg/prioritycontrol.svg +21 -21
  208. package/src/icons/svg/quanhong.svg +86 -86
  209. package/src/icons/svg/shanghe.svg +11 -11
  210. package/src/icons/svg/shoudong.svg +103 -103
  211. package/src/icons/svg/tentativeplan.svg +28 -28
  212. package/src/icons/svg/time.svg +0 -0
  213. package/src/icons/svg/wuxianlan.svg +46 -46
  214. package/src/icons/svg/xiala.svg +11 -11
  215. package/src/icons/svg/xingrenguojie.svg +33 -33
  216. package/src/icons/svg/xitong.svg +89 -89
  217. package/src/icons/svg/youxian.svg +41 -41
  218. package/src/icons/svg/zizhukongzhi.svg +43 -43
  219. package/src/kisscomps/components/BoardCard/BoardCard.vue +99 -99
  220. package/src/kisscomps/components/BoardCard/index.js +2 -2
  221. package/src/kisscomps/components/Channelization/Channelization.vue +556 -556
  222. package/src/kisscomps/components/Channelization/index.js +2 -2
  223. package/src/kisscomps/components/ChannelizationFlowStatistic/ChannelizationFlowStatistic.vue +361 -361
  224. package/src/kisscomps/components/ChannelizationFlowStatistic/index.js +2 -2
  225. package/src/kisscomps/components/ChannelizationWithInterface/ChannelizationWithInterface.vue +518 -518
  226. package/src/kisscomps/components/ChannelizationWithInterface/index.js +2 -2
  227. package/src/kisscomps/components/CommonKanban/CommonKanban.vue +119 -123
  228. package/src/kisscomps/components/CommonKanban/index.js +2 -2
  229. package/src/kisscomps/components/DrawChannelization/drawsvg/basicCoordInfo.vue +181 -181
  230. package/src/kisscomps/components/DrawChannelization/drawsvg/channelizationElements.vue +255 -255
  231. package/src/kisscomps/components/DrawChannelization/drawsvg/detectorAssociatedComponent.vue +152 -152
  232. package/src/kisscomps/components/DrawChannelization/drawsvg/drawElement/TextBox.vue +91 -91
  233. package/src/kisscomps/components/DrawChannelization/drawsvg/drawElement/crossMap.vue +194 -194
  234. package/src/kisscomps/components/DrawChannelization/drawsvg/drawElement/editText.vue +108 -108
  235. package/src/kisscomps/components/DrawChannelization/drawsvg/firstImportCrossmap.vue +51 -51
  236. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/countdownSvg.vue +236 -236
  237. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorChart.vue +247 -247
  238. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorIconSvg.vue +210 -210
  239. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/laneIcon.vue +72 -72
  240. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +455 -455
  241. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/pedroadIconSvg.vue +219 -219
  242. package/src/kisscomps/components/DrawChannelization/drawsvg/importDialog.vue +74 -74
  243. package/src/kisscomps/components/DrawChannelization/drawsvg/index.draw.vue +1005 -1005
  244. package/src/kisscomps/components/DrawChannelization/drawsvg/index.vue +110 -110
  245. package/src/kisscomps/components/DrawChannelization/drawsvg/laneEditPanel.vue +707 -707
  246. package/src/kisscomps/components/DrawChannelization/drawsvg/overlapAssociatedComponent.vue +168 -168
  247. package/src/kisscomps/components/DrawChannelization/drawsvg/phaseAssociatedComponent.vue +168 -168
  248. package/src/kisscomps/components/DrawChannelization/drawsvg/table.vue +99 -99
  249. package/src/kisscomps/components/DrawChannelization/drawsvg/utils/loadutils.js +87 -87
  250. package/src/kisscomps/components/DrawChannelization/drawsvg/utils/phaseDataModel.js +32 -32
  251. package/src/kisscomps/components/DrawChannelization/drawsvg/utils/phasePos.json +20 -20
  252. package/src/kisscomps/components/DrawChannelization/index.js +2 -2
  253. package/src/kisscomps/components/DrawChannelization/phaseDataMgr.js +278 -278
  254. package/src/kisscomps/components/ExpendConfig/ExpendConfig.vue +114 -114
  255. package/src/kisscomps/components/ExpendConfig/index.js +2 -2
  256. package/src/kisscomps/components/FaultDetailModal/FaultDetailModal.vue +178 -170
  257. package/src/kisscomps/components/FaultDetailModal/index.js +2 -2
  258. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/CrossRoadsSvg.vue +497 -497
  259. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/CustomRoadsSvg.vue +46 -46
  260. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/PedSectionEWSvg.vue +300 -300
  261. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/PedSectionSNSvg.vue +288 -288
  262. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampEastSvg.vue +391 -391
  263. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampNorthSvg.vue +336 -336
  264. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampSouthSvg.vue +345 -345
  265. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampWestSvg.vue +389 -389
  266. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/SidewalkSvg.vue +1179 -1179
  267. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeEastRoadsSvg.vue +402 -402
  268. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeNorthRoadsSvg.vue +361 -361
  269. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeSouthRoadsSvg.vue +368 -368
  270. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeWestRoadsSvg.vue +475 -475
  271. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LCrossRoadsSvg.vue +494 -494
  272. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeEastRoadsSvg.vue +401 -401
  273. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeNorthRoadsSvg.vue +360 -360
  274. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeSouthRoadsSvg.vue +367 -367
  275. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeWestRoadsSvg.vue +476 -476
  276. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/refreshSvg.vue +63 -63
  277. package/src/kisscomps/components/IntersectionMap/crossDirection/busIcon/busMapSvg.vue +50 -50
  278. package/src/kisscomps/components/IntersectionMap/crossDirection/busIcon/eastBusSvg.vue +167 -167
  279. package/src/kisscomps/components/IntersectionMap/crossDirection/busIcon/northBusSvg.vue +168 -168
  280. package/src/kisscomps/components/IntersectionMap/crossDirection/busIcon/southBusSvg.vue +168 -168
  281. package/src/kisscomps/components/IntersectionMap/crossDirection/busIcon/westBusSvg.vue +169 -169
  282. package/src/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +920 -920
  283. package/src/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/LphaseIconSvg.vue +112 -112
  284. package/src/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/phaseIconSvg.vue +112 -112
  285. package/src/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/rampPhaseIconSvg.vue +111 -111
  286. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/busPos.json +196 -196
  287. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/busPos.left.json +196 -196
  288. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/phasePos.json +99 -99
  289. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/phasePos.left.json +99 -99
  290. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/rampPos.json +52 -52
  291. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/sidePos.json +171 -171
  292. package/src/kisscomps/components/IntersectionMap/crossDirection/utils.js +78 -78
  293. package/src/kisscomps/components/IntersectionMap/index.js +2 -2
  294. package/src/kisscomps/components/IntersectionMap/intersectionmap.vue +163 -163
  295. package/src/kisscomps/components/IntersectionWithInterface/IntersectionWithInterface.vue +528 -528
  296. package/src/kisscomps/components/IntersectionWithInterface/index.js +2 -2
  297. package/src/kisscomps/components/KanBan/index.js +2 -2
  298. package/src/kisscomps/components/KanBan/kanban.vue +221 -221
  299. package/src/kisscomps/components/MessageBox/index.vue +96 -96
  300. package/src/kisscomps/components/OverLap/OverLap.vue +214 -214
  301. package/src/kisscomps/components/OverLap/index.js +2 -2
  302. package/src/kisscomps/components/PatternOptimize/PatternOptimize.vue +272 -272
  303. package/src/kisscomps/components/PatternOptimize/index.js +2 -2
  304. package/src/kisscomps/components/PatternStatus/PatternStatus.vue +1365 -1366
  305. package/src/kisscomps/components/PatternStatus/index.js +2 -2
  306. package/src/kisscomps/components/PatternWalkSvg/PatternWalkSvg.vue +423 -423
  307. package/src/kisscomps/components/PatternWalkSvg/index.js +2 -2
  308. package/src/kisscomps/components/PhaseDirectionSelect/PhaseDirectionSelect.vue +126 -126
  309. package/src/kisscomps/components/PhaseDirectionSelect/index.js +2 -2
  310. package/src/kisscomps/components/PhaseDirectionText/PhaseDirectionText.vue +106 -106
  311. package/src/kisscomps/components/PhaseDirectionText/index.js +2 -2
  312. package/src/kisscomps/components/PhaseMarker/index.js +6 -6
  313. package/src/kisscomps/components/PhaseMarker/phasemarker.vue +215 -215
  314. package/src/kisscomps/components/PhaseMarker/svg/patternSvg.vue +121 -121
  315. package/src/kisscomps/components/PhaseMarker/svg/phase.vue +60 -60
  316. package/src/kisscomps/components/PhaseMarker/svg/phaseCount.vue +62 -62
  317. package/src/kisscomps/components/PhaseMarker/svg/phaseCountCycle.vue +62 -62
  318. package/src/kisscomps/components/PhaseMarker/svg/phaseSvg.vue +117 -117
  319. package/src/kisscomps/components/SchemeConfig/SchemeConfig.vue +821 -817
  320. package/src/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +272 -272
  321. package/src/kisscomps/components/SchemeConfig/azimuthlocking/utils.js +92 -92
  322. package/src/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +195 -195
  323. package/src/kisscomps/components/SchemeConfig/index.js +2 -2
  324. package/src/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +198 -198
  325. package/src/kisscomps/components/SchemeConfig/manualControlModal/index.vue +226 -226
  326. package/src/kisscomps/components/SchemeConfig/priorityControl/index.vue +197 -197
  327. package/src/kisscomps/components/SchemeConfig/priorityControl/utils.js +163 -163
  328. package/src/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +275 -275
  329. package/src/kisscomps/components/SchemeConfig/tentativeplancontrolmodal/index.vue +840 -840
  330. package/src/kisscomps/components/StageBord/StageBord.vue +242 -242
  331. package/src/kisscomps/components/StageBord/index.js +2 -2
  332. package/src/kisscomps/components/StageStatus/StageStatus.vue +341 -341
  333. package/src/kisscomps/components/StageStatus/index.js +2 -2
  334. package/src/kisscomps/components/Stages/index.vue +181 -181
  335. package/src/kisscomps/components/SvgIcon/SvgIcon.vue +53 -53
  336. package/src/kisscomps/components/SvgIcon/index.js +2 -2
  337. package/src/kisscomps/components/XRDDirSelector/XRDDirSelector.vue +1166 -995
  338. package/src/kisscomps/components/XRDDirSelector/index.js +2 -2
  339. package/src/kisscomps/components/overView/index.vue +699 -699
  340. package/src/kisscomps/components/patternList/index.js +2 -2
  341. package/src/kisscomps/components/patternList/patternList.vue +572 -572
  342. package/src/kisscomps/index.js +115 -119
  343. package/src/lib/publicjs/ArryListUtil.js +38 -38
  344. package/src/lib/publicjs/HttpurlMgr.js +45 -45
  345. package/src/lib/publicjs/KissApi.js +158 -159
  346. package/src/lib/publicjs/KissWSSub/Heartcheck.js +128 -128
  347. package/src/lib/publicjs/KissWSSub/KissWsSub.js +91 -91
  348. package/src/lib/publicjs/KissWSSub/KissWsSubByType.js +152 -152
  349. package/src/lib/publicjs/KissWSSub/SimuWsSubByType.js +44 -44
  350. package/src/lib/publicjs/KissWSSub/Sub.js +51 -51
  351. package/src/lib/publicjs/KissWSSub/SubChannel.js +119 -119
  352. package/src/lib/publicjs/basecomponents.js +65 -65
  353. package/src/lib/publicjs/localStorage.js +112 -112
  354. package/src/lib/publicjs/objdeepcopy.js +32 -32
  355. package/src/lib/publicjs/pageScroll.js +30 -30
  356. package/src/lib/publicjs/passwdAssest.js +101 -101
  357. package/src/lib/publicjs/styleclassfactory.js +32 -32
  358. package/src/main.js +50 -50
  359. package/src/router/index.js +49 -56
  360. package/src/store/getters.js +16 -16
  361. package/src/store/index.js +26 -26
  362. package/src/store/modules/globalParam.js +67 -67
  363. package/src/utils/ControlFormat.js +68 -68
  364. package/src/utils/RingDataModel.js +251 -251
  365. package/src/utils/auth.js +178 -191
  366. package/src/utils/dateFormat.js +41 -41
  367. package/src/utils/errorcode.js +228 -228
  368. package/src/utils/fault.js +196 -196
  369. package/src/utils/faultcode.js +209 -209
  370. package/src/utils/index.js +69 -69
  371. package/src/utils/pedphasedesc.js +119 -119
  372. package/src/utils/phaseList.js +203 -203
  373. package/src/utils/phasedesc.js +124 -124
  374. package/src/utils/responseMessage.js +21 -21
  375. package/src/utils/validate.js +43 -43
  376. package/src/views/customchannelization.vue +49 -49
  377. package/src/views/home.1.vue +479 -479
  378. package/src/views/home.vue +93 -93
  379. package/src/views/intersection.vue +309 -309
  380. package/src/views/overView.vue +41 -41
  381. package/src/views/schemeconfig.vue +173 -173
  382. package/static/apiconfig.json +366 -446
  383. package/static/styles/channelizatioon.scss +433 -433
  384. package/static/styles/common.scss +21 -23
  385. package/static/styles/commonkanban.scss +87 -87
  386. package/static/styles/dark/index.scss +2 -2
  387. package/static/styles/dark/theme/element-dark.scss +42 -42
  388. package/static/styles/index.scss +84 -84
  389. package/static/styles/intersection.scss +183 -183
  390. package/static/styles/light/index.scss +2 -2
  391. package/static/styles/light/theme/element-light.scss +42 -42
  392. package/static/styles/overview.scss +116 -116
  393. package/static/styles/schemeconfig.scss +493 -493
  394. package/static/styles/stages.scss +64 -64
  395. package/static/styles/uiComponents.scss +5 -5
  396. package/static/token.json +2 -2
  397. package/test/e2e/custom-assertions/elementCount.js +27 -27
  398. package/test/e2e/nightwatch.conf.js +46 -46
  399. package/test/e2e/runner.js +48 -48
  400. package/test/e2e/specs/test.js +19 -19
  401. package/test/unit/.eslintrc +7 -7
  402. package/test/unit/jest.conf.js +30 -30
  403. package/test/unit/setup.js +3 -3
  404. package/test/unit/specs/HelloWorld.spec.js +11 -11
  405. package/package/kisscomps/components/XiaoKanban/DirSelector.vue +0 -356
  406. package/package/kisscomps/components/XiaoKanban/index.vue +0 -101
  407. package/package/kisscomps/components/patternConfig/components/planExecute.vue +0 -972
  408. package/package/kisscomps/components/patternConfig/index.js +0 -2
  409. package/package/kisscomps/components/patternConfig/index.vue +0 -1020
  410. package/package/kisscomps/components/patternConfig/pattern/patternTable.vue +0 -391
  411. package/package/kisscomps/components/patternConfig/pattern/planChart/model/coordinationModel.js +0 -665
  412. package/package/kisscomps/components/patternConfig/planContent.vue +0 -572
  413. package/package/kisscomps/components/patternConfig/planMenu.vue +0 -329
  414. package/package/kisscomps/components/patternConfig/utils.js +0 -152
  415. package/pnpm-lock.yaml +0 -11682
  416. package/src/api/device.js +0 -135
  417. package/src/api/route.js +0 -171
  418. package/src/kisscomps/components/XiaoKanban/DirSelector.vue +0 -356
  419. package/src/kisscomps/components/XiaoKanban/index.vue +0 -101
  420. package/src/kisscomps/components/patternConfig/components/planExecute.vue +0 -972
  421. package/src/kisscomps/components/patternConfig/index.js +0 -2
  422. package/src/kisscomps/components/patternConfig/index.vue +0 -1020
  423. package/src/kisscomps/components/patternConfig/pattern/patternTable.vue +0 -391
  424. package/src/kisscomps/components/patternConfig/pattern/planChart/model/coordinationModel.js +0 -665
  425. package/src/kisscomps/components/patternConfig/planContent.vue +0 -572
  426. package/src/kisscomps/components/patternConfig/planMenu.vue +0 -329
  427. package/src/kisscomps/components/patternConfig/utils.js +0 -152
  428. package/src/views/patternConfig.vue +0 -1461
  429. package/static/styles/patternConfig.scss +0 -57
  430. package/static/styles/xiaokanban.scss +0 -51
@@ -1,995 +1,1166 @@
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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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: Data?Data.left:0, top: Data?Data.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="西上" :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="西下" :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="东上" :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="东下" :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="北右" :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="北左" :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="南右" :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="南左" :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_" :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_" :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_" :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" :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" :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="路段行人过街-南北" :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="路段行人过街-东西" :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_" :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="西北上" :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="西北下" :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="东南上" :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="东南下" :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="东北下" :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="东北上" :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="西南下" :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="西南上" :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="西北行人" :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="东南行人" :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="东北行人" :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="西南行人" :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
- Data: {
534
- type: Object
535
- }
536
- },
537
- computed: {
538
- ...mapState({
539
- roadDirection: state => state.globalParam.roadDirection
540
- })
541
- },
542
- data () {
543
- return {
544
- maskmark: false,
545
- peoplestatus: [
546
- {
547
- id: 1,
548
- name: '东西路段人行横道',
549
- isshow: false,
550
- color: '#0096ba'
551
- },
552
- {
553
- id: 2,
554
- name: '南北路段人行横道',
555
- isshow: false,
556
- color: '#0096ba'
557
- },
558
- {
559
- id: 3,
560
- name: 'X人行横道-\\',
561
- isshow: false,
562
- color: '#0096ba'
563
- },
564
- {
565
- id: 4,
566
- name: 'X人行横道-/',
567
- isshow: false,
568
- color: '#0096ba'
569
- },
570
- {
571
- id: 5,
572
- name: '北人行横道',
573
- isshow: false,
574
- color: '#0096ba'
575
- },
576
- {
577
- id: 6,
578
- name: '南人行横道',
579
- isshow: false,
580
- color: '#0096ba'
581
- },
582
- {
583
- id: 7,
584
- name: '东人行横道',
585
- isshow: false,
586
- color: '#0096ba'
587
- },
588
- {
589
- id: 8,
590
- name: '西人行横道',
591
- isshow: false,
592
- color: '#0096ba'
593
- },
594
- {
595
- id: 9,
596
- name: '西人行横道-下',
597
- isshow: false,
598
- color: '#0096ba'
599
- },
600
- {
601
- id: 10,
602
- name: '西人行横道-上',
603
- isshow: false,
604
- color: '#0096ba'
605
- },
606
- {
607
- id: 11,
608
- name: '东人行横道-上',
609
- isshow: false,
610
- color: '#0096ba'
611
- },
612
- {
613
- id: 12,
614
- name: '东人行横道-下',
615
- isshow: false,
616
- color: '#0096ba'
617
- },
618
- {
619
- id: 13,
620
- name: '南人行横道-右',
621
- isshow: false,
622
- color: '#0096ba'
623
- },
624
- {
625
- id: 14,
626
- name: '南人行横道-左',
627
- isshow: false,
628
- color: '#0096ba'
629
- },
630
- {
631
- id: 15,
632
- name: '北人行横道-右',
633
- isshow: false,
634
- color: '#0096ba'
635
- },
636
- {
637
- id: 16,
638
- name: '北人行横道-左',
639
- isshow: false,
640
- color: '#0096ba'
641
- },
642
- {
643
- id: 17,
644
- name: '东南人行横道',
645
- isshow: false,
646
- color: '#0096ba'
647
- },
648
- {
649
- id: 18,
650
- name: '西南人行横道',
651
- isshow: false,
652
- color: '#0096ba'
653
- },
654
- {
655
- id: 19,
656
- name: '东北人行横道',
657
- isshow: false,
658
- color: '#0096ba'
659
- },
660
- {
661
- id: 20,
662
- name: '西北人行横道',
663
- isshow: false,
664
- color: '#0096ba'
665
- },
666
- {
667
- id: 21,
668
- name: '东南人行横道-上',
669
- isshow: false,
670
- color: '#0096ba'
671
- },
672
- {
673
- id: 22,
674
- name: '东南人行横道-下',
675
- isshow: false,
676
- color: '#0096ba'
677
- },
678
- {
679
- id: 23,
680
- name: '西南人行横道-上',
681
- isshow: false,
682
- color: '#0096ba'
683
- },
684
- {
685
- id: 24,
686
- name: '西南人行横道-下',
687
- isshow: false,
688
- color: '#0096ba'
689
- },
690
- {
691
- id: 25,
692
- name: '东北人行横道-上',
693
- isshow: false,
694
- color: '#0096ba'
695
- },
696
- {
697
- id: 26,
698
- name: '东北人行横道-下',
699
- isshow: false,
700
- color: '#0096ba'
701
- },
702
- {
703
- id: 27,
704
- name: '西北人行横道-上',
705
- isshow: false,
706
- color: '#0096ba'
707
- },
708
- {
709
- id: 28,
710
- name: '西北人行横道-下',
711
- isshow: false,
712
- color: '#0096ba'
713
- }
714
- ],
715
- status: [
716
- {
717
- id: 1,
718
- name: 'East-Straight',
719
- isshow: false,
720
- color: '#0096ba'
721
- },
722
- {
723
- id: 2,
724
- name: 'East-Left',
725
- isshow: false,
726
- color: '#0096ba'
727
- },
728
- {
729
- id: 3,
730
- name: 'East-Right',
731
- isshow: false,
732
- color: '#0096ba'
733
- },
734
- {
735
- id: 4,
736
- name: 'East-Back ',
737
- isshow: false,
738
- color: '#0096ba'
739
- },
740
- {
741
- id: 5,
742
- name: 'West-Straight',
743
- isshow: false,
744
- color: '#0096ba'
745
- },
746
- {
747
- id: 6,
748
- name: 'West-Left',
749
- isshow: false,
750
- color: '#0096ba'
751
- },
752
- {
753
- id: 7,
754
- name: 'West-Right',
755
- isshow: false,
756
- color: '#0096ba'
757
- },
758
- {
759
- id: 8,
760
- name: 'West-Back',
761
- isshow: false,
762
- color: '#0096ba'
763
- },
764
- {
765
- id: 9,
766
- name: 'North-Straight',
767
- isshow: false,
768
- color: '#0096ba'
769
- },
770
- {
771
- id: 10,
772
- name: 'North-Left',
773
- isshow: false,
774
- color: '#0096ba'
775
- },
776
- {
777
- id: 11,
778
- name: 'North-Right',
779
- isshow: false,
780
- color: '#0096ba'
781
- },
782
- {
783
- id: 12,
784
- name: 'North-Back',
785
- isshow: false,
786
- color: '#0096ba'
787
- },
788
- {
789
- id: 13,
790
- name: 'South-Straight',
791
- isshow: false,
792
- color: '#0096ba'
793
- },
794
- {
795
- id: 14,
796
- name: 'South-Left',
797
- isshow: false,
798
- color: '#0096ba'
799
- },
800
- {
801
- id: 15,
802
- name: 'South-Right',
803
- isshow: false,
804
- color: '#0096ba'
805
- },
806
- {
807
- id: 16,
808
- name: 'South-Back',
809
- isshow: false,
810
- color: '#0096ba'
811
- },
812
- {
813
- id: 17,
814
- name: 'Straight-Southeast',
815
- isshow: false,
816
- color: '#0096ba'
817
- },
818
- {
819
- id: 18,
820
- name: 'Southeast-Left',
821
- isshow: false,
822
- color: '#0096ba'
823
- },
824
- {
825
- id: 19,
826
- name: 'Southeast-Right',
827
- isshow: false,
828
- color: '#0096ba'
829
- },
830
- {
831
- id: 20,
832
- name: 'Turn-Southeast',
833
- isshow: false,
834
- color: '#0096ba'
835
- },
836
- {
837
- id: 21,
838
- name: 'Straight-Southwest',
839
- isshow: false,
840
- color: '#0096ba'
841
- },
842
- {
843
- id: 22,
844
- name: 'Southwest-Left',
845
- isshow: false,
846
- color: '#0096ba'
847
- },
848
- {
849
- id: 23,
850
- name: 'Southwest-Right',
851
- isshow: false,
852
- color: '#0096ba'
853
- },
854
- {
855
- id: 24,
856
- name: 'Turn-Southwest',
857
- isshow: false,
858
- color: '#0096ba'
859
- },
860
- {
861
- id: 25,
862
- name: 'Straight-Northeast',
863
- isshow: false,
864
- color: '#0096ba'
865
- },
866
- {
867
- id: 26,
868
- name: 'Northeast-Left',
869
- isshow: false,
870
- color: '#0096ba'
871
- },
872
- {
873
- id: 27,
874
- name: 'Northeast-Right-Turn',
875
- isshow: false,
876
- color: '#0096ba'
877
- },
878
- {
879
- id: 28,
880
- name: 'Turn-Northeast',
881
- isshow: false,
882
- color: '#0096ba'
883
- },
884
- {
885
- id: 29,
886
- name: 'Straight-Northwest',
887
- isshow: false,
888
- color: '#0096ba'
889
- },
890
- {
891
- id: 30,
892
- name: 'Northwest-Left-Turn',
893
- isshow: false,
894
- color: '#0096ba'
895
- },
896
- {
897
- id: 31,
898
- name: 'Northwest-Right-Turn',
899
- isshow: false,
900
- color: '#0096ba'
901
- },
902
- {
903
- id: 32,
904
- name: 'Turn-Northwest',
905
- isshow: false,
906
- color: '#0096ba'
907
- }
908
- ]
909
- }
910
- },
911
- methods: {
912
- randShow () {
913
- let num1 = parseInt(Math.random() * (15 - 0 + 1) + 0)
914
- let num2 = parseInt(Math.random() * (15 - 0 + 1) + 0)
915
- for (let i = 0; i < 16; i++) {
916
- if (this.status[i].isshow) {
917
- this.status[i].isshow = false
918
- }
919
- if (i === num1 || i === num2) {
920
- this.status[i].isshow = true
921
- }
922
- }
923
- },
924
- // 车道
925
- refreshShow (showList) {
926
- if (showList.length > 16) {
927
- console.log('list can not be bigger than 16!')
928
- }
929
- this.maskmark = false
930
- if (showList.length <= 0) {
931
- if (this.ISActiveMask) {
932
- this.maskmark = true
933
- }
934
- }
935
-
936
- for (let i = 0; i < 32; i++) {
937
- if (this.status[i].isshow) {
938
- this.status[i].isshow = false
939
- }
940
- }
941
- for (let i = 0; i < 32; i++) {
942
- if (i < showList.length) {
943
- let id = showList[i].id
944
- if (!id) return
945
- if (id > 32 || id <= 0) {
946
- console.log('Id is invalied!')
947
- continue
948
- }
949
- this.status[id - 1].isshow = true
950
- this.status[id - 1].color = showList[i].color
951
- }
952
- }
953
- },
954
- // 人行横道
955
- refreshShows (showlist) {
956
- if (showlist.length === 0) return
957
- for (let i = 0; i < 28; i++) {
958
- if (this.peoplestatus[i].isshow) {
959
- this.peoplestatus[i].isshow = false
960
- }
961
- }
962
- if (!showlist[0].peddirection) return
963
- if (showlist[0].peddirection.length === 0) return
964
- for (let i = 0; i < showlist[0].peddirection.length; i++) {
965
- for (let j = 0; j < this.peoplestatus.length; j++) {
966
- if (showlist[0].peddirection[i].name === this.peoplestatus[j].name) {
967
- this.peoplestatus[j].isshow = true
968
- }
969
- }
970
- }
971
- }
972
- },
973
- created () {
974
- this.refreshShow(this.showlist)
975
- this.refreshShows(this.showlist)
976
- },
977
- watch: {
978
- showlist: {
979
- handler: function (newList) {
980
- this.refreshShow(newList)
981
- this.refreshShows(newList)
982
- },
983
- deep: true // 深度监听
984
- }
985
- }
986
- }
987
- </script>
988
-
989
- <style scoped>
990
- .invisible {
991
- visibility: hidden;
992
- }
993
- .st0{color: #040000;}
994
- .st1{fill-rule:evenodd;clip-rule:evenodd;fill:#303133;}
995
- </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
+ :width="Width"
21
+ :height="Height"
22
+ viewBox="0 0 60 60"
23
+ style="enable-background:new 0 0 60 60;"
24
+ xml:space="preserve">
25
+ <g>
26
+ <path
27
+ id="西北左转"
28
+ :stroke-width="PathWidth"
29
+ :fill="status[29].color"
30
+ :class="status[29].isshow ? '' : 'invisible'"
31
+ d="M14.6,30.5L3.3,19.3l-1.4,1.4L13.2,32c1.5,1.5,3.9,1.5,5.4,0.1l1.6-1.1l1.6,2l2.7-6.4l-6.9,0.8l1.6,2l-1.8,1.3C16.5,31.3,15.3,31.3,14.6,30.5L14.6,30.5z">
32
+ </path>
33
+ <path
34
+ id="西北右转"
35
+ :stroke-width="PathWidth"
36
+ :fill="status[30].color"
37
+ :class="status[30].isshow ? '' : 'invisible'"
38
+ d="M13.2,32c0.8,0.8,0.8,1.9,0.1,2.8l-1.3,1.8L10,35l-0.8,6.9l6.4-2.7l-2-1.6l1.1-1.6
39
+ c1.4-1.6,1.4-4-0.1-5.4L3.3,19.3l-1.4,1.4L13.2,32L13.2,32z">
40
+ </path>
41
+ <polygon
42
+ id="西北直行"
43
+ :stroke-width="PathWidth"
44
+ :fill="status[28].color"
45
+ :class="status[28].isshow ? '' : 'invisible'"
46
+ points="1.9,20.7 18.3,37.1 16.5,38.9 23.3,40.7 21.4,34 19.7,35.7 3.3,19.3"/>
47
+ <path
48
+ id="西北调头"
49
+ :stroke-width="PathWidth"
50
+ :fill="status[31].color"
51
+ :class="status[31].isshow ? '' : 'invisible'"
52
+ d="M15.7,21.6l-2.1-2.1l1.7-1.7l-6.7-1.8l1.8,6.7l1.8-1.8l2.1,2.1c0.7,0.7,0.6,2.1-0.4,3.1
53
+ c-0.9,0.9-2.4,1.1-3.1,0.4l-7.4-7.4l-1.4,1.4l7.4,7.4c1.5,1.5,4.2,1.3,5.9-0.4C17,25.7,17.2,23.1,15.7,21.6z"></path>
54
+ <path
55
+ id="西南左转"
56
+ :stroke-width="PathWidth"
57
+ :fill="status[21].color"
58
+ :class="status[21].isshow ? '' : 'invisible'"
59
+ d="M29.9,42.8L18.7,54l1.4,1.4l11.3-11.3c1.5-1.5,1.5-3.9,0.1-5.4l-1.1-1.6l2-1.6l-6.4-2.6
60
+ l0.8,6.9l2-1.6L30,40C30.6,40.8,30.7,42,29.9,42.8L29.9,42.8z"></path>
61
+ <path
62
+ id="西南右转"
63
+ :stroke-width="PathWidth"
64
+ :fill="status[22].color"
65
+ :class="status[22].isshow ? '' : 'invisible'"
66
+ d="M34.3,44.2l1.6,1.2l-1.6,2l6.9,0.8l-2.7-6.4l-1.6,2l-1.6-1.1c-1.5-1.5-3.9-1.5-5.4,0.1
67
+ L18.7,54l1.4,1.4l11.4-11.4c0.7-0.7,2-0.7,2.7,0L34.3,44.2z"></path>
68
+ <polygon
69
+ id="西南直行"
70
+ :stroke-width="PathWidth"
71
+ :fill="status[20].color"
72
+ :class="status[20].isshow ? '' : 'invisible'"
73
+ points="20.1,55.4 36.5,39 38.2,40.7 40.1,34 33.3,35.8 35.1,37.6 18.7,54"/>
74
+ <path
75
+ id="西南调头"
76
+ :stroke-width="PathWidth"
77
+ :fill="status[23].color"
78
+ :class="status[23].isshow ? '' : 'invisible'"
79
+ d="M21.1,41.7L19,43.8L17.3,42l-1.8,6.7l6.7-1.8l-1.8-1.8l2.1-2.1c0.7-0.7,2.1-0.6,3.1,0.4
80
+ c0.9,0.9,1.1,2.4,0.4,3.1L18.7,54l1.4,1.4l7.4-7.4c1.5-1.5,1.3-4.2-0.4-5.9C25.2,40.4,22.6,40.2,21.1,41.7z"></path>
81
+ <path
82
+ id="东南左转"
83
+ :stroke-width="PathWidth"
84
+ :fill="status[17].color"
85
+ :class="status[17].isshow ? '' : 'invisible'"
86
+ d="M41.4,25.5l11.2,11.2l1.4-1.4L42.8,24c-1.5-1.5-3.9-1.5-5.4-0.1L35.8,25l-1.5-1.9l-2.7,6.4
87
+ l6.9-0.8l-1.6-2l1.8-1.3C39.5,24.7,40.7,24.7,41.4,25.5L41.4,25.5z"></path>
88
+ <path
89
+ id="东南右转"
90
+ :stroke-width="PathWidth"
91
+ :fill="status[18].color"
92
+ :class="status[18].isshow ? '' : 'invisible'"
93
+ d="M42.8,24c-0.8-0.8-0.8-1.9-0.1-2.8l1.3-1.8l2,1.6l0.8-6.9l-6.4,2.7l1.9,1.5l-1.1,1.6
94
+ c-1.4,1.6-1.4,4,0.1,5.4l11.3,11.3l1.4-1.4L42.8,24L42.8,24z"></path>
95
+ <polygon
96
+ id="东南直行"
97
+ :stroke-width="PathWidth"
98
+ :fill="status[16].color"
99
+ :class="status[16].isshow ? '' : 'invisible'"
100
+ points="54.1,35.3 37.7,18.9 39.5,17.1 32.7,15.3 34.6,22 36.3,20.3 52.7,36.7"/>
101
+ <path
102
+ id="东南调头"
103
+ :stroke-width="PathWidth"
104
+ :fill="status[19].color"
105
+ :class="status[19].isshow ? '' : 'invisible'"
106
+ d="M40.3,34.4l2.1,2.1l-1.7,1.7l6.7,1.8l-1.8-6.7l-1.8,1.8l-2.1-2.1c-0.7-0.7-0.6-2.1,0.4-3.1
107
+ c0.9-0.9,2.4-1.1,3.1-0.4l7.4,7.4l1.4-1.4l-7.4-7.4c-1.5-1.5-4.2-1.3-5.9,0.4C39,30.1,38.8,32.9,40.3,34.4z"></path>
108
+ <path
109
+ id="东北左转"
110
+ :stroke-width="PathWidth"
111
+ :fill="status[25].color"
112
+ :class="status[25].isshow ? '' : 'invisible'"
113
+ d="M26.1,13.2L37.3,2l-1.4-1.4L24.6,11.9c-1.5,1.5-1.5,3.9-0.1,5.4l1.1,1.6l-2,1.6l6.4,2.6
114
+ l-0.8-6.9l-2,1.6L26,16C25.4,15.2,25.3,14,26.1,13.2L26.1,13.2z"></path>
115
+ <path
116
+ id="东北右转"
117
+ :stroke-width="PathWidth"
118
+ :fill="status[26].color"
119
+ :class="status[26].isshow ? '' : 'invisible'"
120
+ d="M21.8,11.8l-1.6-1.2l1.6-2l-6.9-0.8l2.7,6.4l1.6-2l1.6,1.1c1.5,1.5,3.9,1.5,5.4-0.1L37.3,2
121
+ l-1.4-1.4L24.6,11.9C23.9,12.6,22.6,12.6,21.8,11.8L21.8,11.8z"></path>
122
+ <polygon
123
+ id="东北直行"
124
+ :stroke-width="PathWidth"
125
+ :fill="status[24].color"
126
+ :class="status[24].isshow ? '' : 'invisible'"
127
+ points="35.9,0.6 19.5,17 17.8,15.3 15.9,22 22.7,20.2 20.9,18.4 37.3,2"/>
128
+ <path
129
+ id="东北调头"
130
+ :stroke-width="PathWidth"
131
+ :fill="status[27].color"
132
+ :class="status[27].isshow ? '' : 'invisible'"
133
+ d="M34.9,14.3l2.1-2.1l1.8,1.8l1.8-6.7L33.8,9l1.8,1.8l-2.1,2.1c-0.7,0.7-2.1,0.6-3.1-0.4
134
+ c-1-1-1.1-2.4-0.4-3.1L37.3,2l-1.4-1.4l-7.4,7.4c-1.5,1.5-1.3,4.2,0.4,5.9C30.8,15.6,33.4,15.8,34.9,14.3z"></path>
135
+ </g>
136
+ <g id="组">
137
+ <path
138
+ id="西左转_3_"
139
+ :stroke-width="PathWidth"
140
+ :fill="status[5].color"
141
+ :class="status[5].isshow ? '' : 'invisible'"
142
+ d="M20.3,39.3H4.4v2h16c2.1,0,3.8-1.7,3.9-3.8l0.3-1.9l2.5,0.3l-2.6-6.4l-4.3,5.4l2.5,0.3
143
+ l-0.3,2.2C22.2,38.5,21.4,39.3,20.3,39.3L20.3,39.3z"></path>
144
+ <path
145
+ id="西右转"
146
+ :stroke-width="PathWidth"
147
+ :fill="status[6].color"
148
+ :class="status[6].isshow ? '' : 'invisible'"
149
+ d="M20.3,41.3c1.1,0,1.9,0.8,2.1,1.9l0.3,2.2l-2.5,0.3l4.3,5.4l2.6-6.4L24.6,45l-0.3-1.9
150
+ c-0.1-2.1-1.8-3.8-3.9-3.8h-16v2H20.3L20.3,41.3z"></path>
151
+ <polygon
152
+ id="西直行_1_"
153
+ :stroke-width="PathWidth"
154
+ :fill="status[4].color"
155
+ :class="status[4].isshow ? '' : 'invisible'"
156
+ points="4.4,41.3 27.6,41.3 27.6,43.8 33.7,40.3 27.6,36.9 27.6,39.3 4.4,39.3"/>
157
+ <path
158
+ id="西调头_1_"
159
+ :stroke-width="PathWidth"
160
+ :fill="status[7].color"
161
+ :class="status[7].isshow ? '' : 'invisible'"
162
+ d="M14.8,32.2h-2.9v-2.4l-6,3.5l6,3.5v-2.5h2.9c1,0,1.9,1.1,1.9,2.5c0,1.3-0.9,2.5-1.9,2.5H4.4
163
+ v2h10.4c2.1,0,3.9-2,3.9-4.5C18.6,34.2,16.9,32.2,14.8,32.2z"></path>
164
+ <path
165
+ id="南左转_1_"
166
+ :stroke-width="PathWidth"
167
+ :fill="status[13].color"
168
+ :class="status[13].isshow ? '' : 'invisible'"
169
+ d="M39.8,37.1V53h2V37c0-2.1-1.7-3.8-3.8-3.9l-1.9-0.3l0.3-2.5L30,33l5.4,4.3l0.3-2.5l2.2,0.3
170
+ C38.9,35.2,39.8,36,39.8,37.1L39.8,37.1z"/>
171
+ <path
172
+ id="南右转_1_"
173
+ :stroke-width="PathWidth"
174
+ :fill="status[14].color"
175
+ :class="status[14].isshow ? '' : 'invisible'"
176
+ d="M43.9,35l2-0.3l0.3,2.5l5.4-4.3l-6.4-2.6l0.3,2.5l-1.9,0.3c-2.1,0-3.8,1.7-3.8,3.9v16h2
177
+ V36.9c0-1,0.9-1.9,1.9-1.9H43.9z"/>
178
+ <polygon
179
+ id="南直行_1_"
180
+ :stroke-width="PathWidth"
181
+ :fill="status[12].color"
182
+ :class="status[12].isshow ? '' : 'invisible'"
183
+ points="41.8,53 41.8,29.8 44.2,29.8 40.8,23.7 37.3,29.8 39.8,29.8 39.8,53"/>
184
+ <path
185
+ id="南调头_1_"
186
+ :stroke-width="PathWidth"
187
+ :fill="status[15].color"
188
+ :class="status[15].isshow ? '' : 'invisible'"
189
+ d="M32.8,42.6v2.9h-2.5l3.5,6l3.5-6h-2.5v-2.9c0-1,1.1-1.9,2.5-1.9c1.3,0,2.5,0.9,2.5,1.9V53h2
190
+ V42.6c0-2.1-2-3.9-4.5-3.9C34.8,38.8,32.8,40.5,32.8,42.6z"/>
191
+ <path
192
+ id="东左转_3_"
193
+ :stroke-width="PathWidth"
194
+ :fill="status[1].color"
195
+ :class="status[1].isshow ? '' : 'invisible'"
196
+ d="M35.7,16.7h15.9v-2h-16c-2.1,0-3.8,1.7-3.9,3.8l-0.3,1.9L29,20.1l2.6,6.4l4.3-5.4l-2.5-0.3
197
+ l0.3-2.2C33.8,17.5,34.6,16.7,35.7,16.7L35.7,16.7z"/>
198
+ <path
199
+ id="东右转"
200
+ :stroke-width="PathWidth"
201
+ :fill="status[2].color"
202
+ :class="status[2].isshow ? '' : 'invisible'"
203
+ d="M35.7,14.7c-1.1,0-1.9-0.8-2-1.9l-0.3-2.2l2.5-0.3l-4.3-5.4L29,11.3l2.4-0.3l0.3,1.9
204
+ c0.1,2.1,1.8,3.8,3.9,3.8h16v-2H35.7L35.7,14.7z"/>
205
+ <polygon
206
+ id="东直行_1_"
207
+ :stroke-width="PathWidth"
208
+ :fill="status[0].color"
209
+ :class="status[0].isshow ? '' : 'invisible'"
210
+ points="51.6,14.7 28.4,14.7 28.4,12.2 22.3,15.7 28.4,19.1 28.4,16.7 51.6,16.7"/>
211
+ <path
212
+ id="东调头_1_"
213
+ :stroke-width="PathWidth"
214
+ :fill="status[3].color"
215
+ :class="status[3].isshow ? '' : 'invisible'"
216
+ d="M41.2,23.8h2.9v2.4l6-3.5l-6-3.5v2.5h-2.9c-1,0-1.9-1.1-1.9-2.5c0-1.3,0.9-2.5,1.9-2.5h10.4
217
+ v-2H41.2c-2.1,0-3.9,2-3.9,4.5S39.1,23.8,41.2,23.8z"/>
218
+ <path
219
+ id="北左转_1_"
220
+ :stroke-width="PathWidth"
221
+ :fill="status[9].color"
222
+ :class="status[9].isshow ? '' : 'invisible'"
223
+ d="M16.2,18.9V3h-2v16c0,2.1,1.7,3.8,3.8,3.9l1.9,0.3l-0.3,2.5L26,23l-5.4-4.3l-0.3,2.5
224
+ l-2.2-0.3C17.1,20.8,16.2,20,16.2,18.9L16.2,18.9z"/>
225
+ <path
226
+ id="北右转_1_"
227
+ :stroke-width="PathWidth"
228
+ :fill="status[10].color"
229
+ :class="status[10].isshow ? '' : 'invisible'"
230
+ d="M12.2,20.9l-2,0.3l-0.3-2.5L4.4,23l6.4,2.6l-0.3-2.5l1.9-0.3c2.1,0,3.8-1.7,3.8-3.9V3h-2v16
231
+ c0,1-0.9,1.9-1.9,1.9H12.2z"/>
232
+ <polygon
233
+ id="北直行_1_"
234
+ :stroke-width="PathWidth"
235
+ :fill="status[8].color"
236
+ :class="status[8].isshow ? '' : 'invisible'"
237
+ points="14.2,3 14.2,26.2 11.8,26.2 15.2,32.3 18.7,26.2 16.2,26.2 16.2,3"/>
238
+ <path
239
+ id="北调头_1_"
240
+ :stroke-width="PathWidth"
241
+ :fill="status[11].color"
242
+ :class="status[11].isshow ? '' : 'invisible'"
243
+ d="M23.2,13.4v-2.9h2.5l-3.5-6l-3.5,6h2.5v2.9c0,1-1.1,1.9-2.5,1.9s-2.5-0.9-2.5-1.9V3h-2v10.4
244
+ c0,2.1,2,3.9,4.5,3.9C21.2,17.2,23.2,15.5,23.2,13.4z"/>
245
+ </g>
246
+ </svg>
247
+ </div>
248
+ <div :style="{position: 'absolute', left: Data?Data.left:0, top: Data?Data.top:0}">
249
+ <svg version="1.1"
250
+ id="图层_1"
251
+ xmlns="http://www.w3.org/2000/svg"
252
+ xmlns:xlink="http://www.w3.org/1999/xlink"
253
+ viewBox="0 0 50 50"
254
+ style="enable-background:new 0 0 50 50;"
255
+ :width="Width"
256
+ :height="Height"
257
+ xml:space="preserve">
258
+ <g>
259
+ <g id="东北行人" class="st0"
260
+ :class="peoplestatus[18].isshow? '' : 'invisible'"
261
+ >
262
+ <rect x="33.9" y="15.8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -0.9839 30.7754)" class="st1" width="5.6" height="1.6"/>
263
+ <rect x="32.1" y="14" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -0.2517 29.0076)" class="st1" width="5.6" height="1.6"/>
264
+ <rect x="35.6" y="17.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -1.7161 32.5431)" class="st1" width="5.6" height="1.6"/>
265
+ <rect x="37.4" y="19.3" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -2.4484 34.3109)" class="st1" width="5.6" height="1.6"/>
266
+ <rect x="39.2" y="21.1" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -3.1806 36.0787)" class="st1" width="5.6" height="1.6"/>
267
+ <rect x="40.9" y="22.8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -3.9128 37.8464)" class="st1" width="5.6" height="1.6"/>
268
+ <rect x="42.7" y="24.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -4.6451 39.6142)" class="st1" width="5.6" height="1.6"/>
269
+ <rect x="25.1" y="7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 2.648 22.0073)" class="st1" width="5.6" height="1.6"/>
270
+ <rect x="23.3" y="5.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 3.3802 20.2395)" class="st1" width="5.6" height="1.6"/>
271
+ <rect x="21.6" y="3.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 4.1124 18.4717)" class="st1" width="5.6" height="1.6"/>
272
+ <rect x="19.8" y="1.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 4.8447 16.704)" class="st1" width="5.6" height="1.6"/>
273
+ <rect x="26.9" y="8.8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 1.9157 23.775)" class="st1" width="5.6" height="1.6"/>
274
+ <rect x="28.6" y="10.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 1.1835 25.5428)" class="st1" width="5.6" height="1.6"/>
275
+ <rect x="30.3" y="12.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 0.4806 27.2398)" class="st1" width="5.6" height="1.6"/>
276
+ </g>
277
+ <g id="西南行人" class="st0"
278
+ :class="peoplestatus[17].isshow? '' : 'invisible'"
279
+ >
280
+ <rect x="13.8" y="35.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -21.0657 22.4572)" class="st1" width="5.6" height="1.6"/>
281
+ <rect x="12" y="34.1" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -20.3335 20.6894)" class="st1" width="5.6" height="1.6"/>
282
+ <rect x="15.5" y="37.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -21.798 24.225)" class="st1" width="5.6" height="1.6"/>
283
+ <rect x="17.3" y="39.4" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -22.5302 25.9927)" class="st1" width="5.6" height="1.6"/>
284
+ <rect x="19.1" y="41.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -23.2624 27.7605)" class="st1" width="5.6" height="1.6"/>
285
+ <rect x="20.8" y="42.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -23.9947 29.5283)" class="st1" width="5.6" height="1.6"/>
286
+ <rect x="22.6" y="44.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -24.7269 31.296)" class="st1" width="5.6" height="1.6"/>
287
+ <rect x="5" y="27.1" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -17.4339 13.6891)" class="st1" width="5.6" height="1.6"/>
288
+ <rect x="3.2" y="25.3" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -16.7016 11.9213)" class="st1" width="5.6" height="1.6"/>
289
+ <rect x="1.5" y="23.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -15.9694 10.1536)" class="st1" width="5.6" height="1.6"/>
290
+ <rect x="-0.3" y="21.8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -15.2372 8.3858)" class="st1" width="5.6" height="1.6"/>
291
+ <rect x="6.8" y="28.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -18.1661 15.4569)" class="st1" width="5.6" height="1.6"/>
292
+ <rect x="8.5" y="30.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -18.8983 17.2246)" class="st1" width="5.6" height="1.6"/>
293
+ <rect x="10.2" y="32.3" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -19.6013 18.9217)" class="st1" width="5.6" height="1.6"/>
294
+ </g>
295
+ <g id="东南行人" class="st0"
296
+ :class="peoplestatus[16].isshow? '' : 'invisible'"
297
+ >
298
+ <rect x="30.6" y="33.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -16.7165 32.9572)" class="st1" width="1.6" height="5.6"/>
299
+ <rect x="32.4" y="32.1" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -14.9487 33.6894)" class="st1" width="1.6" height="5.6"/>
300
+ <rect x="28.9" y="35.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -18.4843 32.225)" class="st1" width="1.6" height="5.6"/>
301
+ <rect x="27.1" y="37.4" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -20.252 31.4927)" class="st1" width="1.6" height="5.6"/>
302
+ <rect x="25.3" y="39.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -22.0198 30.7605)" class="st1" width="1.6" height="5.6"/>
303
+ <rect x="23.6" y="40.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -23.7876 30.0283)" class="st1" width="1.6" height="5.6"/>
304
+ <rect x="21.8" y="42.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -25.5553 29.296)" class="st1" width="1.6" height="5.6"/>
305
+ <rect x="39.4" y="25.1" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -7.9484 36.5891)" class="st1" width="1.6" height="5.6"/>
306
+ <rect x="41.2" y="23.3" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -6.1806 37.3213)" class="st1" width="1.6" height="5.6"/>
307
+ <rect x="42.9" y="21.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -4.4128 38.0536)" class="st1" width="1.6" height="5.6"/>
308
+ <rect x="44.7" y="19.8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -2.6451 38.7858)" class="st1" width="1.6" height="5.6"/>
309
+ <rect x="37.6" y="26.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -9.7161 35.8569)" class="st1" width="1.6" height="5.6"/>
310
+ <rect x="35.9" y="28.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -11.4839 35.1246)" class="st1" width="1.6" height="5.6"/>
311
+ <rect x="34.2" y="30.3" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -13.181 34.4217)" class="st1" width="1.6" height="5.6"/>
312
+ </g>
313
+ <g id="西北行人" class="st0"
314
+ :class="peoplestatus[19].isshow? '' : 'invisible'"
315
+ >
316
+ <rect x="10.5" y="13.8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -8.3983 12.8754)" class="st1" width="1.6" height="5.6"/>
317
+ <rect x="12.3" y="12" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -6.6306 13.6076)" class="st1" width="1.6" height="5.6"/>
318
+ <rect x="8.8" y="15.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -10.1661 12.1431)" class="st1" width="1.6" height="5.6"/>
319
+ <rect x="7" y="17.3" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -11.9339 11.4109)" class="st1" width="1.6" height="5.6"/>
320
+ <rect x="5.2" y="19.1" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -13.7016 10.6787)" class="st1" width="1.6" height="5.6"/>
321
+ <rect x="3.5" y="20.8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -15.4694 9.9464)" class="st1" width="1.6" height="5.6"/>
322
+ <rect x="1.7" y="22.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -17.2372 9.2142)" class="st1" width="1.6" height="5.6"/>
323
+ <rect x="19.3" y="5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 0.3698 16.5073)" class="st1" width="1.6" height="5.6"/>
324
+ <rect x="21.1" y="3.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 2.1376 17.2395)" class="st1" width="1.6" height="5.6"/>
325
+ <rect x="22.8" y="1.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 3.9053 17.9717)" class="st1" width="1.6" height="5.6"/>
326
+ <rect x="24.6" y="-0.3" transform="matrix(0.7071 -0.7071 0.7071 0.7071 5.6731 18.704)" class="st1" width="1.6" height="5.6"/>
327
+ <rect x="17.5" y="6.8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -1.398 15.775)" class="st1" width="1.6" height="5.6"/>
328
+ <rect x="15.8" y="8.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -3.1657 15.0428)" class="st1" width="1.6" height="5.6"/>
329
+ <rect x="14.1" y="10.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -4.8628 14.3398)" class="st1" width="1.6" height="5.6"/>
330
+ </g>
331
+ <g id="二次过街-西北" class="st0">
332
+ <g id="西北下"
333
+ :class="peoplestatus[27].isshow? '' : 'invisible'"
334
+ >
335
+ <rect x="10.5" y="13.8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -8.3983 12.8754)" class="st1" width="1.6" height="5.6"/>
336
+ <rect x="8.8" y="15.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -10.1661 12.1431)" class="st1" width="1.6" height="5.6"/>
337
+ <rect x="7" y="17.3" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -11.9339 11.4109)" class="st1" width="1.6" height="5.6"/>
338
+ <rect x="5.2" y="19.1" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -13.7016 10.6787)" class="st1" width="1.6" height="5.6"/>
339
+ <rect x="3.5" y="20.8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -15.4694 9.9464)" class="st1" width="1.6" height="5.6"/>
340
+ <rect x="1.7" y="22.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -17.2372 9.2142)" class="st1" width="1.6" height="5.6"/>
341
+ </g>
342
+ <g id="西北上"
343
+ :class="peoplestatus[26].isshow? '' : 'invisible'"
344
+ >
345
+ <rect x="19.3" y="5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 0.3698 16.5073)" class="st1" width="1.6" height="5.6"/>
346
+ <rect x="21.1" y="3.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 2.1376 17.2395)" class="st1" width="1.6" height="5.6"/>
347
+ <rect x="22.8" y="1.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 3.9053 17.9717)" class="st1" width="1.6" height="5.6"/>
348
+ <rect x="24.6" y="-0.3" transform="matrix(0.7071 -0.7071 0.7071 0.7071 5.6731 18.704)" class="st1" width="1.6" height="5.6"/>
349
+ <rect x="17.5" y="6.8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -1.398 15.775)" class="st1" width="1.6" height="5.6"/>
350
+ <rect x="15.8" y="8.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -3.1657 15.0428)" class="st1" width="1.6" height="5.6"/>
351
+ </g>
352
+ </g>
353
+ <g id="二次过街-东南" class="st0">
354
+ <g id="东南下"
355
+ :class="peoplestatus[21].isshow? '' : 'invisible'"
356
+ >
357
+ <rect x="35.9" y="28.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -11.4839 35.1246)" class="st1" width="1.6" height="5.6"/>
358
+ <rect x="37.6" y="26.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -9.7161 35.8569)" class="st1" width="1.6" height="5.6"/>
359
+ <rect x="39.4" y="25.1" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -7.9484 36.5891)" class="st1" width="1.6" height="5.6"/>
360
+ <rect x="41.2" y="23.3" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -6.1806 37.3213)" class="st1" width="1.6" height="5.6"/>
361
+ <rect x="42.9" y="21.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -4.4128 38.0536)" class="st1" width="1.6" height="5.6"/>
362
+ <rect x="44.7" y="19.8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -2.6451 38.7858)" class="st1" width="1.6" height="5.6"/>
363
+ </g>
364
+ <g id="东南上"
365
+ :class="peoplestatus[20].isshow? '' : 'invisible'"
366
+ >
367
+ <rect x="27.1" y="37.4" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -20.252 31.4927)" class="st1" width="1.6" height="5.6"/>
368
+ <rect x="25.3" y="39.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -22.0198 30.7605)" class="st1" width="1.6" height="5.6"/>
369
+ <rect x="23.6" y="40.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -23.7876 30.0283)" class="st1" width="1.6" height="5.6"/>
370
+ <rect x="21.8" y="42.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -25.5553 29.296)" class="st1" width="1.6" height="5.6"/>
371
+ <rect x="28.9" y="35.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -18.4843 32.225)" class="st1" width="1.6" height="5.6"/>
372
+ <rect x="30.6" y="33.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -16.7165 32.9572)" class="st1" width="1.6" height="5.6"/>
373
+ </g>
374
+ </g>
375
+ <g id="二次过街-西南" class="st0">
376
+ <g id="西南下"
377
+ :class="peoplestatus[23].isshow? '' : 'invisible'"
378
+ >
379
+ <rect x="13.8" y="35.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -21.0657 22.4572)" class="st1" width="5.6" height="1.6"/>
380
+ <rect x="15.5" y="37.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -21.798 24.225)" class="st1" width="5.6" height="1.6"/>
381
+ <rect x="17.3" y="39.4" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -22.5302 25.9927)" class="st1" width="5.6" height="1.6"/>
382
+ <rect x="19.1" y="41.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -23.2624 27.7605)" class="st1" width="5.6" height="1.6"/>
383
+ <rect x="20.8" y="42.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -23.9947 29.5283)" class="st1" width="5.6" height="1.6"/>
384
+ <rect x="22.6" y="44.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -24.7269 31.296)" class="st1" width="5.6" height="1.6"/>
385
+ </g>
386
+ <g id="西南上"
387
+ :class="peoplestatus[22].isshow? '' : 'invisible'"
388
+ >
389
+ <rect x="5" y="27.1" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -17.4339 13.6891)" class="st1" width="5.6" height="1.6"/>
390
+ <rect x="3.2" y="25.3" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -16.7016 11.9213)" class="st1" width="5.6" height="1.6"/>
391
+ <rect x="1.5" y="23.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -15.9694 10.1536)" class="st1" width="5.6" height="1.6"/>
392
+ <rect x="-0.3" y="21.8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -15.2372 8.3858)" class="st1" width="5.6" height="1.6"/>
393
+ <rect x="6.8" y="28.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -18.1661 15.4569)" class="st1" width="5.6" height="1.6"/>
394
+ <rect x="8.5" y="30.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -18.8983 17.2246)" class="st1" width="5.6" height="1.6"/>
395
+ </g>
396
+ </g>
397
+ <g id="二次过街-东北" class="st0">
398
+ <g id="东北下"
399
+ :class="peoplestatus[25].isshow? '' : 'invisible'"
400
+ >
401
+ <rect x="33.9" y="15.8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -0.9839 30.7754)" class="st1" width="5.6" height="1.6"/>
402
+ <rect x="35.6" y="17.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -1.7161 32.5431)" class="st1" width="5.6" height="1.6"/>
403
+ <rect x="37.4" y="19.3" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -2.4484 34.3109)" class="st1" width="5.6" height="1.6"/>
404
+ <rect x="39.2" y="21.1" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -3.1806 36.0787)" class="st1" width="5.6" height="1.6"/>
405
+ <rect x="40.9" y="22.8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -3.9128 37.8464)" class="st1" width="5.6" height="1.6"/>
406
+ <rect x="42.7" y="24.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -4.6451 39.6142)" class="st1" width="5.6" height="1.6"/>
407
+ </g>
408
+ <g id="东北上"
409
+ :class="peoplestatus[24].isshow? '' : 'invisible'"
410
+ >
411
+ <rect x="25.1" y="7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 2.648 22.0073)" class="st1" width="5.6" height="1.6"/>
412
+ <rect x="23.3" y="5.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 3.3802 20.2395)" class="st1" width="5.6" height="1.6"/>
413
+ <rect x="21.6" y="3.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 4.1124 18.4717)" class="st1" width="5.6" height="1.6"/>
414
+ <rect x="19.8" y="1.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 4.8447 16.704)" class="st1" width="5.6" height="1.6"/>
415
+ <rect x="26.9" y="8.8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 1.9157 23.775)" class="st1" width="5.6" height="1.6"/>
416
+ <rect x="28.6" y="10.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 1.1835 25.5428)" class="st1" width="5.6" height="1.6"/>
417
+ </g>
418
+ </g>
419
+ </g>
420
+ <g>
421
+ <g id="路段行人过街-东西"
422
+ :class="peoplestatus[0].isshow? '' : 'invisible'"
423
+ class="st0">
424
+ <rect x="26.9" y="21.2" class="st1" width="1.6" height="5.6"/>
425
+ <rect x="24.4" y="21.2" class="st1" width="1.6" height="5.6"/>
426
+ <rect x="29.4" y="21.2" class="st1" width="1.6" height="5.6"/>
427
+ <rect x="31.9" y="21.2" class="st1" width="1.6" height="5.6"/>
428
+ <rect x="34.4" y="21.2" class="st1" width="1.6" height="5.6"/>
429
+ <rect x="36.9" y="21.2" class="st1" width="1.6" height="5.6"/>
430
+ <rect x="39.4" y="21.2" class="st1" width="1.6" height="5.6"/>
431
+ <rect x="14.5" y="21.2" class="st1" width="1.6" height="5.6"/>
432
+ <rect x="12" y="21.2" class="st1" width="1.6" height="5.6"/>
433
+ <rect x="9.5" y="21.2" class="st1" width="1.6" height="5.6"/>
434
+ <rect x="7" y="21.2" class="st1" width="1.6" height="5.6"/>
435
+ <rect x="17" y="21.2" class="st1" width="1.6" height="5.6"/>
436
+ <rect x="19.5" y="21.2" class="st1" width="1.6" height="5.6"/>
437
+ <rect x="21.9" y="21.2" class="st1" width="1.6" height="5.6"/>
438
+ </g>
439
+ <g id="路段行人过街-南北" class="st0"
440
+ :class="peoplestatus[1].isshow? '' : 'invisible'"
441
+ >
442
+ <rect x="21.2" y="26.9" class="st1" width="5.6" height="1.6"/>
443
+ <rect x="21.2" y="24.4" class="st1" width="5.6" height="1.6"/>
444
+ <rect x="21.2" y="29.4" class="st1" width="5.6" height="1.6"/>
445
+ <rect x="21.2" y="31.9" class="st1" width="5.6" height="1.6"/>
446
+ <rect x="21.2" y="34.4" class="st1" width="5.6" height="1.6"/>
447
+ <rect x="21.2" y="36.9" class="st1" width="5.6" height="1.6"/>
448
+ <rect x="21.2" y="39.4" class="st1" width="5.6" height="1.6"/>
449
+ <rect x="21.2" y="14.5" class="st1" width="5.6" height="1.6"/>
450
+ <rect x="21.2" y="12" class="st1" width="5.6" height="1.6"/>
451
+ <rect x="21.2" y="9.5" class="st1" width="5.6" height="1.6"/>
452
+ <rect x="21.2" y="7" class="st1" width="5.6" height="1.6"/>
453
+ <rect x="21.2" y="17" class="st1" width="5.6" height="1.6"/>
454
+ <rect x="21.2" y="19.5" class="st1" width="5.6" height="1.6"/>
455
+ <rect x="21.2" y="21.9" class="st1" width="5.6" height="1.6"/>
456
+ </g>
457
+ <g id="斜向行人1" class="st0"
458
+ :class="peoplestatus[2].isshow? '' : 'invisible'"
459
+ >
460
+ <rect x="21.2" y="23.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -9.9456 23.9999)" class="st1" width="5.6" height="1.6"/>
461
+ <rect x="19.4" y="21.4" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -9.2334 22.1999)" class="st1" width="5.6" height="1.6"/>
462
+ <rect x="22.9" y="25" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -10.6993 25.6999)" class="st1" width="5.6" height="1.6"/>
463
+ <rect x="24.7" y="26.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -11.4115 27.4998)" class="st1" width="5.6" height="1.6"/>
464
+ <rect x="26.5" y="28.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -12.1237 29.2997)" class="st1" width="5.6" height="1.6"/>
465
+ <rect x="28.2" y="30.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -12.8774 30.9998)" class="st1" width="5.6" height="1.6"/>
466
+ <rect x="30" y="32" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -13.5896 32.7997)" class="st1" width="5.6" height="1.6"/>
467
+ <rect x="31.7" y="33.8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -14.3344 34.4998)" class="st1" width="5.6" height="1.6"/>
468
+ <rect x="33.5" y="35.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -15.0467 36.2997)" class="st1" width="5.6" height="1.6"/>
469
+ <rect x="35.3" y="37.3" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -15.7589 38.0997)" class="st1" width="5.6" height="1.6"/>
470
+ <rect x="12.4" y="14.4" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -6.3016 15.1999)" class="st1" width="5.6" height="1.6"/>
471
+ <rect x="10.6" y="12.6" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -5.5893 13.3999)" class="st1" width="5.6" height="1.6"/>
472
+ <rect x="8.9" y="10.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -4.8357 11.7)" class="st1" width="5.6" height="1.6"/>
473
+ <rect x="7.1" y="9.1" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -4.1235 9.9)" class="st1" width="5.6" height="1.6"/>
474
+ <rect x="14.1" y="16.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -7.0845 16.9706)" class="st1" width="5.6" height="1.6"/>
475
+ <rect x="15.9" y="17.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -7.7675 18.6999)" class="st1" width="5.6" height="1.6"/>
476
+ <rect x="17.7" y="19.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -8.4797 20.4999)" class="st1" width="5.6" height="1.6"/>
477
+ </g>
478
+ <g id="斜向行人2" class="st0"
479
+ :class="peoplestatus[3].isshow? '' : 'invisible'"
480
+ >
481
+ <rect x="23.2" y="21.2" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -9.9412 23.9954)" class="st1" width="1.6" height="5.6"/>
482
+ <rect x="24.9" y="19.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -8.2119 24.6784)" class="st1" width="1.6" height="5.6"/>
483
+ <rect x="21.4" y="22.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -11.7119 23.2125)" class="st1" width="1.6" height="5.6"/>
484
+ <rect x="19.7" y="24.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -13.4412 22.5296)" class="st1" width="1.6" height="5.6"/>
485
+ <rect x="17.9" y="26.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -15.2412 21.8173)" class="st1" width="1.6" height="5.6"/>
486
+ <rect x="16.1" y="28.3" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -17.0119 21.0344)" class="st1" width="1.6" height="5.6"/>
487
+ <rect x="14.4" y="30" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -18.7411 20.3514)" class="st1" width="1.6" height="5.6"/>
488
+ <rect x="12.6" y="31.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -20.5118 19.5773)" class="st1" width="1.6" height="5.6"/>
489
+ <rect x="10.9" y="33.5" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -22.2411 18.8944)" class="st1" width="1.6" height="5.6"/>
490
+ <rect x="9.1" y="35.3" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -24.0411 18.1821)" class="st1" width="1.6" height="5.6"/>
491
+ <rect x="32" y="12.4" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -1.1413 27.6394)" class="st1" width="1.6" height="5.6"/>
492
+ <rect x="33.7" y="10.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 0.588 28.3223)" class="st1" width="1.6" height="5.6"/>
493
+ <rect x="35.5" y="8.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 2.3587 29.1053)" class="st1" width="1.6" height="5.6"/>
494
+ <rect x="37.3" y="7.1" transform="matrix(0.7071 -0.7071 0.7071 0.7071 4.1587 29.8175)" class="st1" width="1.6" height="5.6"/>
495
+ <rect x="30.2" y="14.1" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -2.912 26.8565)" class="st1" width="1.6" height="5.6"/>
496
+ <rect x="28.5" y="15.9" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -4.6412 26.1735)" class="st1" width="1.6" height="5.6"/>
497
+ <rect x="26.7" y="17.7" transform="matrix(0.7071 -0.7071 0.7071 0.7071 -6.4412 25.4613)" class="st1" width="1.6" height="5.6"/>
498
+ </g>
499
+ <g id="北行人" class="st0"
500
+ :class="peoplestatus[4].isshow? '' : 'invisible'"
501
+ >
502
+ <rect x="26.9" y="7" class="st1" width="1.6" height="5.6"/>
503
+ <rect x="24.4" y="7" class="st1" width="1.6" height="5.6"/>
504
+ <rect x="29.4" y="7" class="st1" width="1.6" height="5.6"/>
505
+ <rect x="31.9" y="7" class="st1" width="1.6" height="5.6"/>
506
+ <rect x="34.4" y="7" class="st1" width="1.6" height="5.6"/>
507
+ <rect x="36.9" y="7" class="st1" width="1.6" height="5.6"/>
508
+ <rect x="39.4" y="7" class="st1" width="1.6" height="5.6"/>
509
+ <rect x="14.5" y="7" class="st1" width="1.6" height="5.6"/>
510
+ <rect x="12" y="7" class="st1" width="1.6" height="5.6"/>
511
+ <rect x="9.5" y="7" class="st1" width="1.6" height="5.6"/>
512
+ <rect x="7" y="7" class="st1" width="1.6" height="5.6"/>
513
+ <rect x="17" y="7" class="st1" width="1.6" height="5.6"/>
514
+ <rect x="19.5" y="7" class="st1" width="1.6" height="5.6"/>
515
+ <rect x="21.9" y="7" class="st1" width="1.6" height="5.6"/>
516
+ </g>
517
+ <g id="南行人" class="st0"
518
+ :class="peoplestatus[5].isshow? '' : 'invisible'"
519
+ >
520
+ <rect x="26.9" y="35.4" class="st1" width="1.6" height="5.6"/>
521
+ <rect x="24.4" y="35.4" class="st1" width="1.6" height="5.6"/>
522
+ <rect x="29.4" y="35.4" class="st1" width="1.6" height="5.6"/>
523
+ <rect x="31.9" y="35.4" class="st1" width="1.6" height="5.6"/>
524
+ <rect x="34.4" y="35.4" class="st1" width="1.6" height="5.6"/>
525
+ <rect x="36.9" y="35.4" class="st1" width="1.6" height="5.6"/>
526
+ <rect x="39.4" y="35.4" class="st1" width="1.6" height="5.6"/>
527
+ <rect x="14.5" y="35.4" class="st1" width="1.6" height="5.6"/>
528
+ <rect x="12" y="35.4" class="st1" width="1.6" height="5.6"/>
529
+ <rect x="9.5" y="35.4" class="st1" width="1.6" height="5.6"/>
530
+ <rect x="7" y="35.4" class="st1" width="1.6" height="5.6"/>
531
+ <rect x="17" y="35.4" class="st1" width="1.6" height="5.6"/>
532
+ <rect x="19.5" y="35.4" class="st1" width="1.6" height="5.6"/>
533
+ <rect x="21.9" y="35.4" class="st1" width="1.6" height="5.6"/>
534
+ </g>
535
+ <g id="东行人" class="st0"
536
+ :class="peoplestatus[6].isshow? '' : 'invisible'"
537
+ >
538
+ <rect x="35.4" y="26.9" class="st1" width="5.6" height="1.6"/>
539
+ <rect x="35.4" y="24.4" class="st1" width="5.6" height="1.6"/>
540
+ <rect x="35.4" y="29.4" class="st1" width="5.6" height="1.6"/>
541
+ <rect x="35.4" y="31.9" class="st1" width="5.6" height="1.6"/>
542
+ <rect x="35.4" y="34.4" class="st1" width="5.6" height="1.6"/>
543
+ <rect x="35.4" y="36.9" class="st1" width="5.6" height="1.6"/>
544
+ <rect x="35.4" y="39.4" class="st1" width="5.6" height="1.6"/>
545
+ <rect x="35.4" y="14.5" class="st1" width="5.6" height="1.6"/>
546
+ <rect x="35.4" y="12" class="st1" width="5.6" height="1.6"/>
547
+ <rect x="35.4" y="9.5" class="st1" width="5.6" height="1.6"/>
548
+ <rect x="35.4" y="7" class="st1" width="5.6" height="1.6"/>
549
+ <rect x="35.4" y="17" class="st1" width="5.6" height="1.6"/>
550
+ <rect x="35.4" y="19.5" class="st1" width="5.6" height="1.6"/>
551
+ <rect x="35.4" y="21.9" class="st1" width="5.6" height="1.6"/>
552
+ </g>
553
+ <g id="西行人" class="st0"
554
+ :class="peoplestatus[7].isshow? '' : 'invisible'"
555
+ >
556
+ <rect x="7" y="26.9" class="st1" width="5.6" height="1.6"/>
557
+ <rect x="7" y="24.4" class="st1" width="5.6" height="1.6"/>
558
+ <rect x="7" y="29.4" class="st1" width="5.6" height="1.6"/>
559
+ <rect x="7" y="31.9" class="st1" width="5.6" height="1.6"/>
560
+ <rect x="7" y="34.4" class="st1" width="5.6" height="1.6"/>
561
+ <rect x="7" y="36.9" class="st1" width="5.6" height="1.6"/>
562
+ <rect x="7" y="39.4" class="st1" width="5.6" height="1.6"/>
563
+ <rect x="7" y="14.5" class="st1" width="5.6" height="1.6"/>
564
+ <rect x="7" y="12" class="st1" width="5.6" height="1.6"/>
565
+ <rect x="7" y="9.5" class="st1" width="5.6" height="1.6"/>
566
+ <rect x="7" y="7" class="st1" width="5.6" height="1.6"/>
567
+ <rect x="7" y="17" class="st1" width="5.6" height="1.6"/>
568
+ <rect x="7" y="19.5" class="st1" width="5.6" height="1.6"/>
569
+ <rect x="7" y="21.9" class="st1" width="5.6" height="1.6"/>
570
+ </g>
571
+ <g id="二次过街-西" class="st0">
572
+ <g id="西下"
573
+ :class="peoplestatus[8].isshow? '' : 'invisible'"
574
+ >
575
+ <rect x="7" y="26.9" class="st1" width="5.6" height="1.6"/>
576
+ <rect x="7" y="29.4" class="st1" width="5.6" height="1.6"/>
577
+ <rect x="7" y="31.9" class="st1" width="5.6" height="1.6"/>
578
+ <rect x="7" y="34.4" class="st1" width="5.6" height="1.6"/>
579
+ <rect x="7" y="36.9" class="st1" width="5.6" height="1.6"/>
580
+ <rect x="7" y="39.4" class="st1" width="5.6" height="1.6"/>
581
+ </g>
582
+ <g id="西上"
583
+ :class="peoplestatus[9].isshow? '' : 'invisible'"
584
+ >
585
+ <rect x="7" y="14.5" class="st1" width="5.6" height="1.6"/>
586
+ <rect x="7" y="12" class="st1" width="5.6" height="1.6"/>
587
+ <rect x="7" y="9.5" class="st1" width="5.6" height="1.6"/>
588
+ <rect x="7" y="7" class="st1" width="5.6" height="1.6"/>
589
+ <rect x="7" y="17" class="st1" width="5.6" height="1.6"/>
590
+ <rect x="7" y="19.5" class="st1" width="5.6" height="1.6"/>
591
+ </g>
592
+ </g>
593
+ <g id="二次过街-东" class="st0">
594
+ <g id="东上"
595
+ :class="peoplestatus[10].isshow? '' : 'invisible'"
596
+ >
597
+ <rect x="35.4" y="19.5" class="st1" width="5.6" height="1.6"/>
598
+ <rect x="35.4" y="17" class="st1" width="5.6" height="1.6"/>
599
+ <rect x="35.4" y="14.5" class="st1" width="5.6" height="1.6"/>
600
+ <rect x="35.4" y="12" class="st1" width="5.6" height="1.6"/>
601
+ <rect x="35.4" y="9.5" class="st1" width="5.6" height="1.6"/>
602
+ <rect x="35.4" y="7" class="st1" width="5.6" height="1.6"/>
603
+ </g>
604
+ <g id="东下"
605
+ :class="peoplestatus[11].isshow? '' : 'invisible'"
606
+ >
607
+ <rect x="35.4" y="31.9" class="st1" width="5.6" height="1.6"/>
608
+ <rect x="35.4" y="34.4" class="st1" width="5.6" height="1.6"/>
609
+ <rect x="35.4" y="36.9" class="st1" width="5.6" height="1.6"/>
610
+ <rect x="35.4" y="39.4" class="st1" width="5.6" height="1.6"/>
611
+ <rect x="35.4" y="29.4" class="st1" width="5.6" height="1.6"/>
612
+ <rect x="35.4" y="26.9" class="st1" width="5.6" height="1.6"/>
613
+ </g>
614
+ </g>
615
+ <g id="二次过街-南" class="st0">
616
+ <g id="南右"
617
+ :class="peoplestatus[12].isshow? '' : 'invisible'"
618
+ >
619
+ <rect x="26.9" y="35.4" class="st1" width="1.6" height="5.6"/>
620
+ <rect x="29.4" y="35.4" class="st1" width="1.6" height="5.6"/>
621
+ <rect x="31.9" y="35.4" class="st1" width="1.6" height="5.6"/>
622
+ <rect x="34.4" y="35.4" class="st1" width="1.6" height="5.6"/>
623
+ <rect x="36.9" y="35.4" class="st1" width="1.6" height="5.6"/>
624
+ <rect x="39.4" y="35.4" class="st1" width="1.6" height="5.6"/>
625
+ </g>
626
+ <g id="南左"
627
+ :class="peoplestatus[13].isshow? '' : 'invisible'"
628
+ >
629
+ <rect x="14.5" y="35.4" class="st1" width="1.6" height="5.6"/>
630
+ <rect x="12" y="35.4" class="st1" width="1.6" height="5.6"/>
631
+ <rect x="9.5" y="35.4" class="st1" width="1.6" height="5.6"/>
632
+ <rect x="7" y="35.4" class="st1" width="1.6" height="5.6"/>
633
+ <rect x="17" y="35.4" class="st1" width="1.6" height="5.6"/>
634
+ <rect x="19.5" y="35.4" class="st1" width="1.6" height="5.6"/>
635
+ </g>
636
+ </g>
637
+ <g id="二次过街-北_1_" class="st0">
638
+ <g id="北右_1_"
639
+ :class="peoplestatus[14].isshow? '' : 'invisible'"
640
+ >
641
+ <rect x="26.9" y="7" class="st1" width="1.6" height="5.6"/>
642
+ <rect x="29.4" y="7" class="st1" width="1.6" height="5.6"/>
643
+ <rect x="31.9" y="7" class="st1" width="1.6" height="5.6"/>
644
+ <rect x="34.4" y="7" class="st1" width="1.6" height="5.6"/>
645
+ <rect x="36.9" y="7" class="st1" width="1.6" height="5.6"/>
646
+ <rect x="39.4" y="7" class="st1" width="1.6" height="5.6"/>
647
+ </g>
648
+ <g id="北左_1_"
649
+ :class="peoplestatus[15].isshow? '' : 'invisible'"
650
+ >
651
+ <rect x="14.5" y="7" class="st1" width="1.6" height="5.6"/>
652
+ <rect x="12" y="7" class="st1" width="1.6" height="5.6"/>
653
+ <rect x="9.5" y="7" class="st1" width="1.6" height="5.6"/>
654
+ <rect x="7" y="7" class="st1" width="1.6" height="5.6"/>
655
+ <rect x="17" y="7" class="st1" width="1.6" height="5.6"/>
656
+ <rect x="19.5" y="7" class="st1" width="1.6" height="5.6"/>
657
+ </g>
658
+ </g>
659
+ </g>
660
+ </svg>
661
+ </div>
662
+ </div>
663
+ </template>
664
+ <script>
665
+ import { mapState } from 'vuex'
666
+ export default {
667
+ name: 'xdr-dir-selector',
668
+ props: {
669
+ showlist: {
670
+ type: Array,
671
+ default: function () {
672
+ return [
673
+ {
674
+ id: 1,
675
+ color: 'red'
676
+ },
677
+ {
678
+ id: 2,
679
+ color: 'yellow'
680
+ }
681
+ ]
682
+ }
683
+ },
684
+ Width: {
685
+ type: String,
686
+ default: '200px'
687
+ },
688
+ Height: {
689
+ type: String,
690
+ default: '200px'
691
+ },
692
+ PathWidth: {
693
+ type: Number,
694
+ default: 18
695
+ },
696
+ ISActiveMask: {
697
+ type: Boolean,
698
+ default: false
699
+ },
700
+ MaskColor: {
701
+ type: String,
702
+ default: '#0096ba'
703
+ },
704
+ Data: {
705
+ type: Object
706
+ }
707
+ },
708
+ computed: {
709
+ ...mapState({
710
+ roadDirection: state => state.globalParam.roadDirection
711
+ })
712
+ },
713
+ data () {
714
+ return {
715
+ maskmark: false,
716
+ peoplestatus: [
717
+ {
718
+ id: 1,
719
+ name: '东西路段人行横道',
720
+ isshow: false,
721
+ color: '#0096ba'
722
+ },
723
+ {
724
+ id: 2,
725
+ name: '南北路段人行横道',
726
+ isshow: false,
727
+ color: '#0096ba'
728
+ },
729
+ {
730
+ id: 3,
731
+ name: 'X人行横道-\\',
732
+ isshow: false,
733
+ color: '#0096ba'
734
+ },
735
+ {
736
+ id: 4,
737
+ name: 'X人行横道-/',
738
+ isshow: false,
739
+ color: '#0096ba'
740
+ },
741
+ {
742
+ id: 5,
743
+ name: '北人行横道',
744
+ isshow: false,
745
+ color: '#0096ba'
746
+ },
747
+ {
748
+ id: 6,
749
+ name: '南人行横道',
750
+ isshow: false,
751
+ color: '#0096ba'
752
+ },
753
+ {
754
+ id: 7,
755
+ name: '东人行横道',
756
+ isshow: false,
757
+ color: '#0096ba'
758
+ },
759
+ {
760
+ id: 8,
761
+ name: '西人行横道',
762
+ isshow: false,
763
+ color: '#0096ba'
764
+ },
765
+ {
766
+ id: 9,
767
+ name: '西人行横道-下',
768
+ isshow: false,
769
+ color: '#0096ba'
770
+ },
771
+ {
772
+ id: 10,
773
+ name: '西人行横道-上',
774
+ isshow: false,
775
+ color: '#0096ba'
776
+ },
777
+ {
778
+ id: 11,
779
+ name: '东人行横道-上',
780
+ isshow: false,
781
+ color: '#0096ba'
782
+ },
783
+ {
784
+ id: 12,
785
+ name: '东人行横道-下',
786
+ isshow: false,
787
+ color: '#0096ba'
788
+ },
789
+ {
790
+ id: 13,
791
+ name: '南人行横道-右',
792
+ isshow: false,
793
+ color: '#0096ba'
794
+ },
795
+ {
796
+ id: 14,
797
+ name: '南人行横道-左',
798
+ isshow: false,
799
+ color: '#0096ba'
800
+ },
801
+ {
802
+ id: 15,
803
+ name: '北人行横道-右',
804
+ isshow: false,
805
+ color: '#0096ba'
806
+ },
807
+ {
808
+ id: 16,
809
+ name: '北人行横道-左',
810
+ isshow: false,
811
+ color: '#0096ba'
812
+ },
813
+ {
814
+ id: 17,
815
+ name: '东南人行横道',
816
+ isshow: false,
817
+ color: '#0096ba'
818
+ },
819
+ {
820
+ id: 18,
821
+ name: '西南人行横道',
822
+ isshow: false,
823
+ color: '#0096ba'
824
+ },
825
+ {
826
+ id: 19,
827
+ name: '东北人行横道',
828
+ isshow: false,
829
+ color: '#0096ba'
830
+ },
831
+ {
832
+ id: 20,
833
+ name: '西北人行横道',
834
+ isshow: false,
835
+ color: '#0096ba'
836
+ },
837
+ {
838
+ id: 21,
839
+ name: '东南人行横道-上',
840
+ isshow: false,
841
+ color: '#0096ba'
842
+ },
843
+ {
844
+ id: 22,
845
+ name: '东南人行横道-下',
846
+ isshow: false,
847
+ color: '#0096ba'
848
+ },
849
+ {
850
+ id: 23,
851
+ name: '西南人行横道-上',
852
+ isshow: false,
853
+ color: '#0096ba'
854
+ },
855
+ {
856
+ id: 24,
857
+ name: '西南人行横道-下',
858
+ isshow: false,
859
+ color: '#0096ba'
860
+ },
861
+ {
862
+ id: 25,
863
+ name: '东北人行横道-上',
864
+ isshow: false,
865
+ color: '#0096ba'
866
+ },
867
+ {
868
+ id: 26,
869
+ name: '东北人行横道-下',
870
+ isshow: false,
871
+ color: '#0096ba'
872
+ },
873
+ {
874
+ id: 27,
875
+ name: '西北人行横道-上',
876
+ isshow: false,
877
+ color: '#0096ba'
878
+ },
879
+ {
880
+ id: 28,
881
+ name: '西北人行横道-下',
882
+ isshow: false,
883
+ color: '#0096ba'
884
+ }
885
+ ],
886
+ status: [
887
+ {
888
+ id: 1,
889
+ name: 'East-Straight',
890
+ isshow: false,
891
+ color: '#0096ba'
892
+ },
893
+ {
894
+ id: 2,
895
+ name: 'East-Left',
896
+ isshow: false,
897
+ color: '#0096ba'
898
+ },
899
+ {
900
+ id: 3,
901
+ name: 'East-Right',
902
+ isshow: false,
903
+ color: '#0096ba'
904
+ },
905
+ {
906
+ id: 4,
907
+ name: 'East-Back ',
908
+ isshow: false,
909
+ color: '#0096ba'
910
+ },
911
+ {
912
+ id: 5,
913
+ name: 'West-Straight',
914
+ isshow: false,
915
+ color: '#0096ba'
916
+ },
917
+ {
918
+ id: 6,
919
+ name: 'West-Left',
920
+ isshow: false,
921
+ color: '#0096ba'
922
+ },
923
+ {
924
+ id: 7,
925
+ name: 'West-Right',
926
+ isshow: false,
927
+ color: '#0096ba'
928
+ },
929
+ {
930
+ id: 8,
931
+ name: 'West-Back',
932
+ isshow: false,
933
+ color: '#0096ba'
934
+ },
935
+ {
936
+ id: 9,
937
+ name: 'North-Straight',
938
+ isshow: false,
939
+ color: '#0096ba'
940
+ },
941
+ {
942
+ id: 10,
943
+ name: 'North-Left',
944
+ isshow: false,
945
+ color: '#0096ba'
946
+ },
947
+ {
948
+ id: 11,
949
+ name: 'North-Right',
950
+ isshow: false,
951
+ color: '#0096ba'
952
+ },
953
+ {
954
+ id: 12,
955
+ name: 'North-Back',
956
+ isshow: false,
957
+ color: '#0096ba'
958
+ },
959
+ {
960
+ id: 13,
961
+ name: 'South-Straight',
962
+ isshow: false,
963
+ color: '#0096ba'
964
+ },
965
+ {
966
+ id: 14,
967
+ name: 'South-Left',
968
+ isshow: false,
969
+ color: '#0096ba'
970
+ },
971
+ {
972
+ id: 15,
973
+ name: 'South-Right',
974
+ isshow: false,
975
+ color: '#0096ba'
976
+ },
977
+ {
978
+ id: 16,
979
+ name: 'South-Back',
980
+ isshow: false,
981
+ color: '#0096ba'
982
+ },
983
+ {
984
+ id: 17,
985
+ name: 'Straight-Southeast',
986
+ isshow: false,
987
+ color: '#0096ba'
988
+ },
989
+ {
990
+ id: 18,
991
+ name: 'Southeast-Left',
992
+ isshow: false,
993
+ color: '#0096ba'
994
+ },
995
+ {
996
+ id: 19,
997
+ name: 'Southeast-Right',
998
+ isshow: false,
999
+ color: '#0096ba'
1000
+ },
1001
+ {
1002
+ id: 20,
1003
+ name: 'Turn-Southeast',
1004
+ isshow: false,
1005
+ color: '#0096ba'
1006
+ },
1007
+ {
1008
+ id: 21,
1009
+ name: 'Straight-Southwest',
1010
+ isshow: false,
1011
+ color: '#0096ba'
1012
+ },
1013
+ {
1014
+ id: 22,
1015
+ name: 'Southwest-Left',
1016
+ isshow: false,
1017
+ color: '#0096ba'
1018
+ },
1019
+ {
1020
+ id: 23,
1021
+ name: 'Southwest-Right',
1022
+ isshow: false,
1023
+ color: '#0096ba'
1024
+ },
1025
+ {
1026
+ id: 24,
1027
+ name: 'Turn-Southwest',
1028
+ isshow: false,
1029
+ color: '#0096ba'
1030
+ },
1031
+ {
1032
+ id: 25,
1033
+ name: 'Straight-Northeast',
1034
+ isshow: false,
1035
+ color: '#0096ba'
1036
+ },
1037
+ {
1038
+ id: 26,
1039
+ name: 'Northeast-Left',
1040
+ isshow: false,
1041
+ color: '#0096ba'
1042
+ },
1043
+ {
1044
+ id: 27,
1045
+ name: 'Northeast-Right-Turn',
1046
+ isshow: false,
1047
+ color: '#0096ba'
1048
+ },
1049
+ {
1050
+ id: 28,
1051
+ name: 'Turn-Northeast',
1052
+ isshow: false,
1053
+ color: '#0096ba'
1054
+ },
1055
+ {
1056
+ id: 29,
1057
+ name: 'Straight-Northwest',
1058
+ isshow: false,
1059
+ color: '#0096ba'
1060
+ },
1061
+ {
1062
+ id: 30,
1063
+ name: 'Northwest-Left-Turn',
1064
+ isshow: false,
1065
+ color: '#0096ba'
1066
+ },
1067
+ {
1068
+ id: 31,
1069
+ name: 'Northwest-Right-Turn',
1070
+ isshow: false,
1071
+ color: '#0096ba'
1072
+ },
1073
+ {
1074
+ id: 32,
1075
+ name: 'Turn-Northwest',
1076
+ isshow: false,
1077
+ color: '#0096ba'
1078
+ }
1079
+ ]
1080
+ }
1081
+ },
1082
+ methods: {
1083
+ randShow () {
1084
+ let num1 = parseInt(Math.random() * (15 - 0 + 1) + 0)
1085
+ let num2 = parseInt(Math.random() * (15 - 0 + 1) + 0)
1086
+ for (let i = 0; i < 16; i++) {
1087
+ if (this.status[i].isshow) {
1088
+ this.status[i].isshow = false
1089
+ }
1090
+ if (i === num1 || i === num2) {
1091
+ this.status[i].isshow = true
1092
+ }
1093
+ }
1094
+ },
1095
+ // 车道
1096
+ refreshShow (showList) {
1097
+ if (showList.length > 16) {
1098
+ console.log('list can not be bigger than 16!')
1099
+ }
1100
+ this.maskmark = false
1101
+ if (showList.length <= 0) {
1102
+ if (this.ISActiveMask) {
1103
+ this.maskmark = true
1104
+ }
1105
+ }
1106
+
1107
+ for (let i = 0; i < 32; i++) {
1108
+ if (this.status[i].isshow) {
1109
+ this.status[i].isshow = false
1110
+ }
1111
+ }
1112
+ for (let i = 0; i < 32; i++) {
1113
+ if (i < showList.length) {
1114
+ let id = showList[i].id
1115
+ if (!id) return
1116
+ if (id > 32 || id <= 0) {
1117
+ console.log('Id is invalied!')
1118
+ continue
1119
+ }
1120
+ this.status[id - 1].isshow = true
1121
+ this.status[id - 1].color = showList[i].color
1122
+ }
1123
+ }
1124
+ },
1125
+ // 人行横道
1126
+ refreshShows (showlist) {
1127
+ if (showlist.length === 0) return
1128
+ for (let i = 0; i < 28; i++) {
1129
+ if (this.peoplestatus[i].isshow) {
1130
+ this.peoplestatus[i].isshow = false
1131
+ }
1132
+ }
1133
+ if (!showlist[0].peddirection) return
1134
+ if (showlist[0].peddirection.length === 0) return
1135
+ for (let i = 0; i < showlist[0].peddirection.length; i++) {
1136
+ for (let j = 0; j < this.peoplestatus.length; j++) {
1137
+ if (showlist[0].peddirection[i].name === this.peoplestatus[j].name) {
1138
+ this.peoplestatus[j].isshow = true
1139
+ }
1140
+ }
1141
+ }
1142
+ }
1143
+ },
1144
+ created () {
1145
+ this.refreshShow(this.showlist)
1146
+ this.refreshShows(this.showlist)
1147
+ },
1148
+ watch: {
1149
+ showlist: {
1150
+ handler: function (newList) {
1151
+ this.refreshShow(newList)
1152
+ this.refreshShows(newList)
1153
+ },
1154
+ deep: true // 深度监听
1155
+ }
1156
+ }
1157
+ }
1158
+ </script>
1159
+
1160
+ <style scoped>
1161
+ .invisible {
1162
+ visibility: hidden;
1163
+ }
1164
+ .st0{opacity:0.5;}
1165
+ .st1{fill-rule:evenodd;clip-rule:evenodd;fill:#303133;}
1166
+ </style>