openatc-components 0.4.81 → 0.4.83

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 (416) hide show
  1. package/.babelrc +18 -18
  2. package/.editorconfig +9 -9
  3. package/.eslintignore +5 -5
  4. package/.eslintrc.js +31 -31
  5. package/.postcssrc.js +10 -10
  6. package/README.md +30 -30
  7. package/build/build.js +41 -41
  8. package/build/check-versions.js +54 -54
  9. package/build/package.config.js +58 -58
  10. package/build/package.dev.config.js +107 -107
  11. package/build/package.prod.config.js +160 -160
  12. package/build/utils.js +101 -101
  13. package/build/vue-loader.conf.js +22 -22
  14. package/build/webpack.base.conf.js +120 -120
  15. package/build/webpack.dev.conf.js +95 -95
  16. package/build/webpack.prod.conf.js +149 -149
  17. package/config/prod.env.js +5 -5
  18. package/config/test.env.js +7 -7
  19. package/index.html +12 -12
  20. package/package/kisscomps/components/BoardCard/BoardCard.vue +0 -4
  21. package/package/kisscomps/components/ChannelRealtimeIntersection/ChannelRealtimeIntersection.vue +123 -123
  22. package/package/kisscomps/components/Channelization/Channelization.vue +585 -585
  23. package/package/kisscomps/components/ChannelizationFlowStatistic/ChannelizationFlowStatistic.vue +360 -360
  24. package/package/kisscomps/components/ChannelizationWithInterface/ChannelizationWithInterface.vue +518 -518
  25. package/package/kisscomps/components/CommonKanban/CommonKanban.vue +132 -132
  26. package/package/kisscomps/components/DirectionListConfiguration/DirectionListConfiguration.vue +456 -456
  27. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-east-bottom.vue +41 -41
  28. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-east-top.vue +60 -60
  29. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-ewped.vue +105 -105
  30. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-north-left.vue +60 -60
  31. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-north-right.vue +60 -60
  32. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-snped.vue +105 -105
  33. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-south-left.vue +60 -60
  34. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-south-right.vue +60 -60
  35. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-west-bottom.vue +60 -60
  36. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-west-top.vue +60 -60
  37. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-xlped.vue +30 -30
  38. package/package/kisscomps/components/DirectionListConfiguration/svg/ped-xrped.vue +30 -30
  39. package/package/kisscomps/components/DirectionListConfiguration/svg/pedSvg.vue +78 -78
  40. package/package/kisscomps/components/DrawChannelization/drawsvg/basicCoordInfo.vue +181 -181
  41. package/package/kisscomps/components/DrawChannelization/drawsvg/channelizationElements.vue +255 -255
  42. package/package/kisscomps/components/DrawChannelization/drawsvg/detectorAssociatedComponent.vue +152 -152
  43. package/package/kisscomps/components/DrawChannelization/drawsvg/drawElement/TextBox.vue +91 -91
  44. package/package/kisscomps/components/DrawChannelization/drawsvg/drawElement/crossMap.vue +194 -194
  45. package/package/kisscomps/components/DrawChannelization/drawsvg/drawElement/editText.vue +108 -108
  46. package/package/kisscomps/components/DrawChannelization/drawsvg/firstImportCrossmap.vue +51 -51
  47. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/countdownSvg.vue +236 -236
  48. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorChart.vue +247 -247
  49. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorIconSvg.vue +210 -210
  50. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/laneIcon.vue +72 -72
  51. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +368 -368
  52. package/package/kisscomps/components/DrawChannelization/drawsvg/iconSvg/pedroadIconSvg.vue +230 -230
  53. package/package/kisscomps/components/DrawChannelization/drawsvg/importDialog.vue +74 -74
  54. package/package/kisscomps/components/DrawChannelization/drawsvg/index.draw.vue +1022 -1022
  55. package/package/kisscomps/components/DrawChannelization/drawsvg/index.vue +144 -144
  56. package/package/kisscomps/components/DrawChannelization/drawsvg/laneEditPanel.vue +707 -707
  57. package/package/kisscomps/components/DrawChannelization/drawsvg/overlapAssociatedComponent.vue +172 -172
  58. package/package/kisscomps/components/DrawChannelization/drawsvg/phaseAssociatedComponent.vue +172 -172
  59. package/package/kisscomps/components/DrawChannelization/drawsvg/table.vue +99 -99
  60. package/package/kisscomps/components/DrawChannelization/drawsvg/utils/loadutils.js +87 -87
  61. package/package/kisscomps/components/DrawChannelization/drawsvg/utils/phaseDataModel.js +32 -32
  62. package/package/kisscomps/components/DrawChannelization/drawsvg/utils/phasePos.json +20 -20
  63. package/package/kisscomps/components/DrawChannelization/phaseDataMgr.js +278 -278
  64. package/package/kisscomps/components/ExpendConfig/ExpendConfig.vue +118 -118
  65. package/package/kisscomps/components/FaultDetailModal/FaultDetailModal.vue +178 -178
  66. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/CrossRoadsSvg.vue +629 -629
  67. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/CustomRoadsSvg.vue +46 -46
  68. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/PedSectionEWSvg.vue +447 -447
  69. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/PedSectionSNSvg.vue +341 -341
  70. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampEastSvg.vue +497 -497
  71. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampNorthSvg.vue +353 -353
  72. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampSouthSvg.vue +359 -359
  73. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampWestSvg.vue +443 -443
  74. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/SidewalkClickSvg.vue +1302 -1302
  75. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/SidewalkSvg.vue +1190 -1190
  76. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeEastRoadsSvg.vue +498 -498
  77. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeNorthRoadsSvg.vue +484 -484
  78. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeSouthRoadsSvg.vue +488 -488
  79. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeWestRoadsSvg.vue +566 -566
  80. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LCrossRoadsSvg.vue +640 -640
  81. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeEastRoadsSvg.vue +497 -497
  82. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeNorthRoadsSvg.vue +486 -486
  83. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeSouthRoadsSvg.vue +490 -490
  84. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeWestRoadsSvg.vue +575 -575
  85. package/package/kisscomps/components/IntersectionMap/crossDirection/baseImg/refreshSvg.vue +63 -63
  86. package/package/kisscomps/components/IntersectionMap/crossDirection/busIcon/busMapSvg.vue +50 -50
  87. package/package/kisscomps/components/IntersectionMap/crossDirection/busIcon/eastBusSvg.vue +167 -167
  88. package/package/kisscomps/components/IntersectionMap/crossDirection/busIcon/northBusSvg.vue +168 -168
  89. package/package/kisscomps/components/IntersectionMap/crossDirection/busIcon/southBusSvg.vue +168 -168
  90. package/package/kisscomps/components/IntersectionMap/crossDirection/busIcon/westBusSvg.vue +169 -169
  91. package/package/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +1 -1
  92. package/package/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/LphaseIconSvg.vue +197 -197
  93. package/package/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/rampPhaseIconSvg.vue +122 -122
  94. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/busPos.json +196 -196
  95. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/busPos.left.json +196 -196
  96. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/phasePos.json +115 -115
  97. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/phasePos.left.json +115 -115
  98. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/rampPos.json +52 -52
  99. package/package/kisscomps/components/IntersectionMap/crossDirection/posJson/sidePos.json +219 -219
  100. package/package/kisscomps/components/IntersectionMap/intersectionmap.vue +220 -220
  101. package/package/kisscomps/components/IntersectionMapDirSelect/customCrossDiagram.vue +0 -5
  102. package/package/kisscomps/components/IntersectionWithInterface/IntersectionWithInterface.vue +534 -534
  103. package/package/kisscomps/components/KanBan/kanban.vue +231 -231
  104. package/package/kisscomps/components/MessageBox/index.vue +96 -96
  105. package/package/kisscomps/components/OverLap/OverLap.vue +22 -1
  106. package/package/kisscomps/components/OverviewComponent/index.vue +853 -853
  107. package/package/kisscomps/components/PatternOptimize/PatternOptimize.vue +329 -329
  108. package/package/kisscomps/components/PatternStatus/PatternStatus.vue +46 -84
  109. package/package/kisscomps/components/PatternWalkSvg/PatternWalkSvg.vue +423 -423
  110. package/package/kisscomps/components/PhaseDirectionSelect/PhaseDirectionSelect.vue +126 -126
  111. package/package/kisscomps/components/PhaseDirectionText/PhaseDirectionText.vue +106 -106
  112. package/package/kisscomps/components/PhaseLegend/PhaseLegend.vue +286 -286
  113. package/package/kisscomps/components/PhaseMarker/index.js +6 -6
  114. package/package/kisscomps/components/PhaseMarker/phasemarker.vue +215 -215
  115. package/package/kisscomps/components/PhaseMarker/svg/patternSvg.vue +121 -121
  116. package/package/kisscomps/components/PhaseMarker/svg/phase.vue +60 -60
  117. package/package/kisscomps/components/PhaseMarker/svg/phaseCount.vue +62 -62
  118. package/package/kisscomps/components/PhaseMarker/svg/phaseCountCycle.vue +62 -62
  119. package/package/kisscomps/components/PhaseMarker/svg/phaseSvg.vue +117 -117
  120. package/package/kisscomps/components/PhasePedSelect/index.vue +206 -206
  121. package/package/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +365 -365
  122. package/package/kisscomps/components/SchemeConfig/azimuthlocking/utils.js +92 -92
  123. package/package/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +214 -214
  124. package/package/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +235 -235
  125. package/package/kisscomps/components/SchemeConfig/manualControlModal/index.vue +235 -235
  126. package/package/kisscomps/components/SchemeConfig/manualControlModalNew/controlModelGroup.vue +131 -131
  127. package/package/kisscomps/components/SchemeConfig/manualControlModalNew/icon.vue +5 -1
  128. package/package/kisscomps/components/SchemeConfig/manualControlModalNew/index.vue +871 -871
  129. package/package/kisscomps/components/SchemeConfig/manualControlModalNew/othersIcon.vue +151 -151
  130. package/package/kisscomps/components/SchemeConfig/priorityControl/index.vue +215 -215
  131. package/package/kisscomps/components/SchemeConfig/priorityControl/utils.js +163 -163
  132. package/package/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +308 -308
  133. package/package/kisscomps/components/SchemeConfig/utils/thirdPartypermission.js +95 -95
  134. package/package/kisscomps/components/SelectCrossPhase/index.vue +418 -418
  135. package/package/kisscomps/components/SelectCrossPhase/utils.js +142 -142
  136. package/package/kisscomps/components/StageOptimize/StageOptimize.vue +367 -367
  137. package/package/kisscomps/components/StageOptimize/index.js +2 -2
  138. package/package/kisscomps/components/StageStatus/StageStatus.vue +341 -341
  139. package/package/kisscomps/components/SvgIcon/SvgIcon.vue +53 -53
  140. package/package/kisscomps/components/XRDDirSelector/XRDDirSelector.vue +1041 -1041
  141. package/package/kisscomps/components/XiaoKanban/DirSelector.vue +356 -356
  142. package/package/kisscomps/components/XiaoKanban/index.vue +122 -122
  143. package/package/kisscomps/components/overView/index.vue +676 -676
  144. package/package/kisscomps/components/patternConfig/pattern/planChart/model/coordinationModel.js +665 -665
  145. package/package/kisscomps/components/patternConfig/planContent.vue +604 -604
  146. package/package/kisscomps/components/patternConfig/planMenu.vue +329 -329
  147. package/package/kisscomps/components/patternConfig/utils.js +152 -152
  148. package/package/kisscomps/components/patternList/patternList.vue +0 -4
  149. package/package/kissui.js +216608 -0
  150. package/package/kissui.min.js +1 -1
  151. package/package.json +1 -1
  152. package/pnpm-lock.yaml +16362 -0
  153. package/src/App.vue +24 -24
  154. package/src/EdgeMgr/EdgeModelBase.js +16 -16
  155. package/src/EdgeMgr/controller/crossDiagramMgr.js +125 -125
  156. package/src/api/authapi.js +31 -31
  157. package/src/api/config.js +21 -21
  158. package/src/api/control.js +110 -110
  159. package/src/api/device.js +135 -135
  160. package/src/api/fault.js +66 -66
  161. package/src/api/index.js +24 -24
  162. package/src/api/login.js +46 -46
  163. package/src/api/optimize.js +72 -72
  164. package/src/api/param.js +165 -165
  165. package/src/api/passwdAssest.js +101 -101
  166. package/src/api/permission.js +33 -33
  167. package/src/api/route.js +171 -171
  168. package/src/api/template.js +27 -27
  169. package/src/assets/font/LICENSE.txt +202 -202
  170. package/src/assets/font/font.css +6 -6
  171. package/src/i18n/index.js +26 -26
  172. package/src/i18n/language/index.js +25 -25
  173. package/src/icons/index.js +20 -20
  174. package/src/icons/svg/azimuthlocking.svg +26 -26
  175. package/src/icons/svg/bendi.svg +110 -110
  176. package/src/icons/svg/bujin.svg +36 -36
  177. package/src/icons/svg/connectBlue.svg +7 -7
  178. package/src/icons/svg/currentvolume.svg +0 -0
  179. package/src/icons/svg/custom-BRTlane.svg +40 -40
  180. package/src/icons/svg/custom-buslane.svg +40 -40
  181. package/src/icons/svg/custom-detector.svg +12 -12
  182. package/src/icons/svg/custom-east-bottom.svg +32 -32
  183. package/src/icons/svg/custom-east-top.svg +32 -32
  184. package/src/icons/svg/custom-ewped.svg +35 -35
  185. package/src/icons/svg/custom-nonmotorizedlane.svg +40 -40
  186. package/src/icons/svg/custom-north-left.svg +32 -32
  187. package/src/icons/svg/custom-north-right.svg +32 -32
  188. package/src/icons/svg/custom-peddetector.svg +17 -17
  189. package/src/icons/svg/custom-snped.svg +35 -35
  190. package/src/icons/svg/custom-south-left.svg +32 -32
  191. package/src/icons/svg/custom-south-right.svg +32 -32
  192. package/src/icons/svg/custom-tramlane.svg +40 -40
  193. package/src/icons/svg/custom-vehiclebranch.svg +40 -40
  194. package/src/icons/svg/custom-vehiclemainroad.svg +41 -41
  195. package/src/icons/svg/custom-west-bottom.svg +32 -32
  196. package/src/icons/svg/custom-west-top.svg +32 -32
  197. package/src/icons/svg/custom-xlped.svg +14 -14
  198. package/src/icons/svg/custom-xrped.svg +14 -14
  199. package/src/icons/svg/cutRed.svg +7 -7
  200. package/src/icons/svg/cycle.svg +0 -0
  201. package/src/icons/svg/dingzhouqi.svg +34 -34
  202. package/src/icons/svg/ganyingkongzhi.svg +30 -30
  203. package/src/icons/svg/guandeng.svg +81 -81
  204. package/src/icons/svg/huangshan.svg +71 -71
  205. package/src/icons/svg/maincontrol.svg +0 -0
  206. package/src/icons/svg/manualcontrolbackground.svg +51 -51
  207. package/src/icons/svg/manualcontrolbackground1.svg +62 -62
  208. package/src/icons/svg/manualcontrolbackgrounden.svg +62 -62
  209. package/src/icons/svg/model.svg +0 -0
  210. package/src/icons/svg/phasediff.svg +0 -0
  211. package/src/icons/svg/prioritycontrol.svg +21 -21
  212. package/src/icons/svg/quanhong.svg +86 -86
  213. package/src/icons/svg/shanghe.svg +11 -11
  214. package/src/icons/svg/shoudong.svg +103 -103
  215. package/src/icons/svg/tentativeplan.svg +28 -28
  216. package/src/icons/svg/time.svg +0 -0
  217. package/src/icons/svg/wuxianlan.svg +46 -46
  218. package/src/icons/svg/xiala.svg +11 -11
  219. package/src/icons/svg/xingrenguojie.svg +33 -33
  220. package/src/icons/svg/xitong.svg +89 -89
  221. package/src/icons/svg/youxian.svg +41 -41
  222. package/src/icons/svg/zizhukongzhi.svg +43 -43
  223. package/src/kisscomps/components/BoardCard/BoardCard.vue +0 -4
  224. package/src/kisscomps/components/ChannelRealtimeIntersection/ChannelRealtimeIntersection.vue +123 -123
  225. package/src/kisscomps/components/Channelization/Channelization.vue +585 -585
  226. package/src/kisscomps/components/ChannelizationFlowStatistic/ChannelizationFlowStatistic.vue +360 -360
  227. package/src/kisscomps/components/ChannelizationWithInterface/ChannelizationWithInterface.vue +518 -518
  228. package/src/kisscomps/components/CommonKanban/CommonKanban.vue +132 -132
  229. package/src/kisscomps/components/DirectionListConfiguration/DirectionListConfiguration.vue +456 -456
  230. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-east-bottom.vue +41 -41
  231. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-east-top.vue +60 -60
  232. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-ewped.vue +105 -105
  233. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-north-left.vue +60 -60
  234. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-north-right.vue +60 -60
  235. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-snped.vue +105 -105
  236. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-south-left.vue +60 -60
  237. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-south-right.vue +60 -60
  238. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-west-bottom.vue +60 -60
  239. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-west-top.vue +60 -60
  240. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-xlped.vue +30 -30
  241. package/src/kisscomps/components/DirectionListConfiguration/svg/ped-xrped.vue +30 -30
  242. package/src/kisscomps/components/DirectionListConfiguration/svg/pedSvg.vue +78 -78
  243. package/src/kisscomps/components/DrawChannelization/drawsvg/basicCoordInfo.vue +181 -181
  244. package/src/kisscomps/components/DrawChannelization/drawsvg/channelizationElements.vue +255 -255
  245. package/src/kisscomps/components/DrawChannelization/drawsvg/detectorAssociatedComponent.vue +152 -152
  246. package/src/kisscomps/components/DrawChannelization/drawsvg/drawElement/TextBox.vue +91 -91
  247. package/src/kisscomps/components/DrawChannelization/drawsvg/drawElement/crossMap.vue +194 -194
  248. package/src/kisscomps/components/DrawChannelization/drawsvg/drawElement/editText.vue +108 -108
  249. package/src/kisscomps/components/DrawChannelization/drawsvg/firstImportCrossmap.vue +51 -51
  250. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/countdownSvg.vue +236 -236
  251. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorChart.vue +247 -247
  252. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/detectorIconSvg.vue +210 -210
  253. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/laneIcon.vue +72 -72
  254. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/motorwayIconSvg.vue +368 -368
  255. package/src/kisscomps/components/DrawChannelization/drawsvg/iconSvg/pedroadIconSvg.vue +230 -230
  256. package/src/kisscomps/components/DrawChannelization/drawsvg/importDialog.vue +74 -74
  257. package/src/kisscomps/components/DrawChannelization/drawsvg/index.draw.vue +1022 -1022
  258. package/src/kisscomps/components/DrawChannelization/drawsvg/index.vue +144 -144
  259. package/src/kisscomps/components/DrawChannelization/drawsvg/laneEditPanel.vue +707 -707
  260. package/src/kisscomps/components/DrawChannelization/drawsvg/overlapAssociatedComponent.vue +172 -172
  261. package/src/kisscomps/components/DrawChannelization/drawsvg/phaseAssociatedComponent.vue +172 -172
  262. package/src/kisscomps/components/DrawChannelization/drawsvg/table.vue +99 -99
  263. package/src/kisscomps/components/DrawChannelization/drawsvg/utils/loadutils.js +87 -87
  264. package/src/kisscomps/components/DrawChannelization/drawsvg/utils/phaseDataModel.js +32 -32
  265. package/src/kisscomps/components/DrawChannelization/drawsvg/utils/phasePos.json +20 -20
  266. package/src/kisscomps/components/DrawChannelization/phaseDataMgr.js +278 -278
  267. package/src/kisscomps/components/ExpendConfig/ExpendConfig.vue +118 -118
  268. package/src/kisscomps/components/FaultDetailModal/FaultDetailModal.vue +178 -178
  269. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/CrossRoadsSvg.vue +629 -629
  270. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/CustomRoadsSvg.vue +46 -46
  271. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/PedSectionEWSvg.vue +447 -447
  272. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/PedSectionSNSvg.vue +341 -341
  273. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampEastSvg.vue +497 -497
  274. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampNorthSvg.vue +353 -353
  275. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampSouthSvg.vue +359 -359
  276. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/RampWestSvg.vue +443 -443
  277. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/SidewalkClickSvg.vue +1302 -1302
  278. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/SidewalkSvg.vue +1190 -1190
  279. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeEastRoadsSvg.vue +498 -498
  280. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeNorthRoadsSvg.vue +484 -484
  281. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeSouthRoadsSvg.vue +488 -488
  282. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/TShapeWestRoadsSvg.vue +566 -566
  283. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LCrossRoadsSvg.vue +640 -640
  284. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeEastRoadsSvg.vue +497 -497
  285. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeNorthRoadsSvg.vue +486 -486
  286. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeSouthRoadsSvg.vue +490 -490
  287. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/leftroad/LTShapeWestRoadsSvg.vue +575 -575
  288. package/src/kisscomps/components/IntersectionMap/crossDirection/baseImg/refreshSvg.vue +63 -63
  289. package/src/kisscomps/components/IntersectionMap/crossDirection/busIcon/busMapSvg.vue +50 -50
  290. package/src/kisscomps/components/IntersectionMap/crossDirection/busIcon/eastBusSvg.vue +167 -167
  291. package/src/kisscomps/components/IntersectionMap/crossDirection/busIcon/northBusSvg.vue +168 -168
  292. package/src/kisscomps/components/IntersectionMap/crossDirection/busIcon/southBusSvg.vue +168 -168
  293. package/src/kisscomps/components/IntersectionMap/crossDirection/busIcon/westBusSvg.vue +169 -169
  294. package/src/kisscomps/components/IntersectionMap/crossDirection/crossDiagram.vue +1 -1
  295. package/src/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/LphaseIconSvg.vue +197 -197
  296. package/src/kisscomps/components/IntersectionMap/crossDirection/phaseIcon/rampPhaseIconSvg.vue +122 -122
  297. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/busPos.json +196 -196
  298. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/busPos.left.json +196 -196
  299. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/phasePos.json +115 -115
  300. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/phasePos.left.json +115 -115
  301. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/rampPos.json +52 -52
  302. package/src/kisscomps/components/IntersectionMap/crossDirection/posJson/sidePos.json +219 -219
  303. package/src/kisscomps/components/IntersectionMap/intersectionmap.vue +220 -220
  304. package/src/kisscomps/components/IntersectionMapDirSelect/customCrossDiagram.vue +0 -5
  305. package/src/kisscomps/components/IntersectionWithInterface/IntersectionWithInterface.vue +534 -534
  306. package/src/kisscomps/components/KanBan/kanban.vue +231 -231
  307. package/src/kisscomps/components/MessageBox/index.vue +96 -96
  308. package/src/kisscomps/components/OverLap/OverLap.vue +22 -1
  309. package/src/kisscomps/components/OverviewComponent/index.vue +853 -853
  310. package/src/kisscomps/components/PatternOptimize/PatternOptimize.vue +329 -329
  311. package/src/kisscomps/components/PatternStatus/PatternStatus.vue +46 -84
  312. package/src/kisscomps/components/PatternWalkSvg/PatternWalkSvg.vue +423 -423
  313. package/src/kisscomps/components/PhaseDirectionSelect/PhaseDirectionSelect.vue +126 -126
  314. package/src/kisscomps/components/PhaseDirectionText/PhaseDirectionText.vue +106 -106
  315. package/src/kisscomps/components/PhaseLegend/PhaseLegend.vue +286 -286
  316. package/src/kisscomps/components/PhaseMarker/index.js +6 -6
  317. package/src/kisscomps/components/PhaseMarker/phasemarker.vue +215 -215
  318. package/src/kisscomps/components/PhaseMarker/svg/patternSvg.vue +121 -121
  319. package/src/kisscomps/components/PhaseMarker/svg/phase.vue +60 -60
  320. package/src/kisscomps/components/PhaseMarker/svg/phaseCount.vue +62 -62
  321. package/src/kisscomps/components/PhaseMarker/svg/phaseCountCycle.vue +62 -62
  322. package/src/kisscomps/components/PhaseMarker/svg/phaseSvg.vue +117 -117
  323. package/src/kisscomps/components/PhasePedSelect/index.vue +206 -206
  324. package/src/kisscomps/components/SchemeConfig/azimuthlocking/index.vue +365 -365
  325. package/src/kisscomps/components/SchemeConfig/azimuthlocking/utils.js +92 -92
  326. package/src/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +214 -214
  327. package/src/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +235 -235
  328. package/src/kisscomps/components/SchemeConfig/manualControlModal/index.vue +235 -235
  329. package/src/kisscomps/components/SchemeConfig/manualControlModalNew/controlModelGroup.vue +131 -131
  330. package/src/kisscomps/components/SchemeConfig/manualControlModalNew/icon.vue +5 -1
  331. package/src/kisscomps/components/SchemeConfig/manualControlModalNew/index.vue +871 -871
  332. package/src/kisscomps/components/SchemeConfig/manualControlModalNew/othersIcon.vue +151 -151
  333. package/src/kisscomps/components/SchemeConfig/priorityControl/index.vue +215 -215
  334. package/src/kisscomps/components/SchemeConfig/priorityControl/utils.js +163 -163
  335. package/src/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +308 -308
  336. package/src/kisscomps/components/SchemeConfig/utils/thirdPartypermission.js +95 -95
  337. package/src/kisscomps/components/SelectCrossPhase/index.vue +418 -418
  338. package/src/kisscomps/components/SelectCrossPhase/utils.js +142 -142
  339. package/src/kisscomps/components/StageOptimize/StageOptimize.vue +367 -367
  340. package/src/kisscomps/components/StageOptimize/index.js +2 -2
  341. package/src/kisscomps/components/StageStatus/StageStatus.vue +341 -341
  342. package/src/kisscomps/components/SvgIcon/SvgIcon.vue +53 -53
  343. package/src/kisscomps/components/XRDDirSelector/XRDDirSelector.vue +1041 -1041
  344. package/src/kisscomps/components/XiaoKanban/DirSelector.vue +356 -356
  345. package/src/kisscomps/components/XiaoKanban/index.vue +122 -122
  346. package/src/kisscomps/components/overView/index.vue +676 -676
  347. package/src/kisscomps/components/patternConfig/pattern/planChart/model/coordinationModel.js +665 -665
  348. package/src/kisscomps/components/patternConfig/planContent.vue +604 -604
  349. package/src/kisscomps/components/patternConfig/planMenu.vue +329 -329
  350. package/src/kisscomps/components/patternConfig/utils.js +152 -152
  351. package/src/kisscomps/components/patternList/patternList.vue +0 -4
  352. package/src/lib/publicjs/ArryListUtil.js +38 -38
  353. package/src/lib/publicjs/HttpurlMgr.js +45 -45
  354. package/src/lib/publicjs/KissApi.js +158 -158
  355. package/src/lib/publicjs/KissWSSub/Heartcheck.js +128 -128
  356. package/src/lib/publicjs/KissWSSub/KissWsSub.js +91 -91
  357. package/src/lib/publicjs/KissWSSub/KissWsSubByType.js +152 -152
  358. package/src/lib/publicjs/KissWSSub/SimuWsSubByType.js +44 -44
  359. package/src/lib/publicjs/KissWSSub/Sub.js +51 -51
  360. package/src/lib/publicjs/KissWSSub/SubChannel.js +119 -119
  361. package/src/lib/publicjs/basecomponents.js +65 -65
  362. package/src/lib/publicjs/localStorage.js +112 -112
  363. package/src/lib/publicjs/objdeepcopy.js +32 -32
  364. package/src/lib/publicjs/pageScroll.js +30 -30
  365. package/src/lib/publicjs/passwdAssest.js +101 -101
  366. package/src/lib/publicjs/styleclassfactory.js +32 -32
  367. package/src/router/index.js +63 -63
  368. package/src/store/index.js +26 -26
  369. package/src/store/modules/globalParam.js +67 -67
  370. package/src/utils/ControlFormat.js +68 -68
  371. package/src/utils/RingDataModel.js +335 -335
  372. package/src/utils/auth.js +199 -199
  373. package/src/utils/conflct.js +265 -268
  374. package/src/utils/conflictList.js +87 -87
  375. package/src/utils/dateFormat.js +41 -41
  376. package/src/utils/fault.js +196 -196
  377. package/src/utils/faultcode.js +225 -225
  378. package/src/utils/index.js +69 -69
  379. package/src/utils/pedphasedesc.js +119 -119
  380. package/src/utils/phaseList.js +203 -203
  381. package/src/utils/phasedesc.js +144 -144
  382. package/src/utils/responseMessage.js +21 -21
  383. package/src/utils/validate.js +43 -43
  384. package/src/views/customchannelization.vue +49 -49
  385. package/src/views/home.1.vue +479 -479
  386. package/src/views/home.vue +93 -93
  387. package/src/views/intersection2.vue +328 -328
  388. package/src/views/overView.vue +63 -63
  389. package/static/styles/channelizatioon.scss +433 -433
  390. package/static/styles/common.scss +30 -30
  391. package/static/styles/commonkanban.scss +168 -168
  392. package/static/styles/dark/index.scss +2 -2
  393. package/static/styles/dark/theme/element-dark.scss +44 -44
  394. package/static/styles/index.scss +84 -84
  395. package/static/styles/intersection.scss +180 -180
  396. package/static/styles/light/index.scss +2 -2
  397. package/static/styles/light/theme/element-light.scss +44 -44
  398. package/static/styles/overview.scss +146 -146
  399. package/static/styles/patternConfig.scss +56 -56
  400. package/static/styles/phasePedSelect.scss +71 -71
  401. package/static/styles/stages.scss +57 -57
  402. package/static/styles/uiComponents.scss +57 -57
  403. package/static/styles/xiaokanban.scss +61 -61
  404. package/static/token.json +2 -2
  405. package/test/e2e/custom-assertions/elementCount.js +27 -27
  406. package/test/e2e/nightwatch.conf.js +46 -46
  407. package/test/e2e/runner.js +48 -48
  408. package/test/e2e/specs/test.js +19 -19
  409. package/test/unit/.eslintrc +7 -7
  410. package/test/unit/jest.conf.js +30 -30
  411. package/test/unit/setup.js +3 -3
  412. package/test/unit/specs/HelloWorld.spec.js +11 -11
  413. package/package/kisscomps/components/OptimizeKanban/index.js +0 -2
  414. package/package/kisscomps/components/OptimizeKanban/index.vue +0 -369
  415. package/package/kisscomps/components/StageOptimize/index.vue +0 -310
  416. package/src/node_modules/.package_versions.json +0 -1
@@ -1,1302 +1,1302 @@
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
- <svg
14
- :id="Data[0].key"
15
- xmlns="http://www.w3.org/2000/svg"
16
- viewBox="0 0 252.1 250.2"
17
- :width="Width"
18
- :height="Height"
19
- :style="{position: 'absolute', left: '310px', top: '198px', zIndex: '10'}"
20
- >
21
- <g
22
- id="西行人"
23
- direction="2"
24
- style="pointer-events: visible"
25
- :class="this.sidewalkDir.indexOf(2) !== -1 ? '' : 'invisible'"
26
- :fill="defaultColor"
27
- >
28
- <g>
29
- <rect y="225" class="st0" width="16" height="4"></rect>
30
- <rect y="217" class="st0" width="16" height="4"></rect>
31
- <rect y="209" class="st0" width="16" height="4"></rect>
32
- <rect y="201" class="st0" width="16" height="4"></rect>
33
- <rect y="193" class="st0" width="16" height="4"></rect>
34
- <rect y="185" class="st0" width="16" height="4"></rect>
35
- <rect y="177" class="st0" width="16" height="4"></rect>
36
- <rect y="168" class="st0" width="16" height="4"></rect>
37
- <rect y="160" class="st0" width="16" height="4"></rect>
38
- <rect y="152" class="st0" width="16" height="4"></rect>
39
- <rect y="144" class="st0" width="16" height="4"></rect>
40
- <rect y="136" class="st0" width="16" height="4"></rect>
41
- </g>
42
- <g>
43
- <rect y="128" class="st0" width="16" height="4"></rect>
44
- <rect y="120" class="st0" width="16" height="4"></rect>
45
- </g>
46
- <g>
47
- <rect y="112" class="st0" width="16" height="4"></rect>
48
- <rect y="104" class="st0" width="16" height="4"></rect>
49
- <rect y="96" class="st0" width="16" height="4"></rect>
50
- <rect y="88" class="st0" width="16" height="4"></rect>
51
- <rect y="80" class="st0" width="16" height="4"></rect>
52
- <rect y="71" class="st0" width="16" height="4"></rect>
53
- <rect y="63" class="st0" width="16" height="4"></rect>
54
- <rect y="55" class="st0" width="16" height="4"></rect>
55
- <rect y="47" class="st0" width="16" height="4"></rect>
56
- <rect y="39" class="st0" width="16" height="4"></rect>
57
- <rect y="31" class="st0" width="16" height="4"></rect>
58
- <rect y="23" class="st0" width="16" height="4"></rect>
59
- </g>
60
- <rect id="rect1" x="0.3" y="22.8" class="st1" width="15.8" height="206.2"/>
61
- </g>
62
- <g id="西-上下">
63
- <g
64
- id="西行人下"
65
- direction="8"
66
- style="pointer-events: visible"
67
- :class="this.sidewalkDir.indexOf(8) !== -1 ? '' : 'invisible'"
68
- :fill="defaultColor"
69
- >
70
- <rect y="225" class="st0" width="16" height="4"></rect>
71
- <rect y="217" class="st0" width="16" height="4"></rect>
72
- <rect y="209" class="st0" width="16" height="4"></rect>
73
- <rect y="201" class="st0" width="16" height="4"></rect>
74
- <rect y="193" class="st0" width="16" height="4"></rect>
75
- <rect y="185" class="st0" width="16" height="4"></rect>
76
- <rect y="177" class="st0" width="16" height="4"></rect>
77
- <rect y="168" class="st0" width="16" height="4"></rect>
78
- <rect y="160" class="st0" width="16" height="4"></rect>
79
- <rect y="152" class="st0" width="16" height="4"></rect>
80
- <rect y="144" class="st0" width="16" height="4"></rect>
81
- <rect y="136" class="st0" width="16" height="4"></rect>
82
- <rect x="0" y="135.9" class="st1" width="16.2" height="93.1"/>
83
- </g>
84
- <g
85
- id="西行人上"
86
- direction="7"
87
- style="pointer-events: visible"
88
- :class="this.sidewalkDir.indexOf(7) !== -1 ? '' : 'invisible'"
89
- :fill="defaultColor"
90
- >
91
- <rect y="112" class="st0" width="16" height="4"></rect>
92
- <rect y="104" class="st0" width="16" height="4"></rect>
93
- <rect y="96" class="st0" width="16" height="4"></rect>
94
- <rect y="88" class="st0" width="16" height="4"></rect>
95
- <rect y="80" class="st0" width="16" height="4"></rect>
96
- <rect y="71" class="st0" width="16" height="4"></rect>
97
- <rect y="63" class="st0" width="16" height="4"></rect>
98
- <rect y="55" class="st0" width="16" height="4"></rect>
99
- <rect y="47" class="st0" width="16" height="4"></rect>
100
- <rect y="39" class="st0" width="16" height="4"></rect>
101
- <rect y="31" class="st0" width="16" height="4"></rect>
102
- <rect y="23" class="st0" width="16" height="4"></rect>
103
- <rect x="0" y="23" class="st1" width="16" height="92.9"/>
104
- </g>
105
- </g>
106
-
107
- <g
108
- id="东行人"
109
- direction="1"
110
- style="pointer-events: visible"
111
- :class="this.sidewalkDir.indexOf(1) !== -1 ? '' : 'invisible'"
112
- :fill="defaultColor"
113
- >
114
- <g>
115
- <rect x="236" y="225" class="st0" width="16" height="4"></rect>
116
- <rect x="236" y="217" class="st0" width="16" height="4"></rect>
117
- <rect x="236" y="209" class="st0" width="16" height="4"></rect>
118
- <rect x="236" y="201" class="st0" width="16" height="4"></rect>
119
- <rect x="236" y="193" class="st0" width="16" height="4"></rect>
120
- <rect x="236" y="185" class="st0" width="16" height="4"></rect>
121
- <rect x="236" y="177" class="st0" width="16" height="4"></rect>
122
- <rect x="236" y="168" class="st0" width="16" height="4"></rect>
123
- <rect x="236" y="160" class="st0" width="16" height="4"></rect>
124
- <rect x="236" y="152" class="st0" width="16" height="4"></rect>
125
- <rect x="236" y="144" class="st0" width="16" height="4"></rect>
126
- <rect x="236" y="136" class="st0" width="16" height="4"></rect>
127
- </g>
128
- <g>
129
- <rect x="236" y="128" class="st0" width="16" height="4"></rect>
130
- <rect x="236" y="120" class="st0" width="16" height="4"></rect>
131
- </g>
132
- <g>
133
- <rect x="236" y="112" class="st0" width="16" height="4"></rect>
134
- <rect x="236" y="104" class="st0" width="16" height="4"></rect>
135
- <rect x="236" y="96" class="st0" width="16" height="4"></rect>
136
- <rect x="236" y="88" class="st0" width="16" height="4"></rect>
137
- <rect x="236" y="80" class="st0" width="16" height="4"></rect>
138
- <rect x="236" y="71" class="st0" width="16" height="4"></rect>
139
- <rect x="236" y="63" class="st0" width="16" height="4"></rect>
140
- <rect x="236" y="55" class="st0" width="16" height="4"></rect>
141
- <rect x="236" y="47" class="st0" width="16" height="4"></rect>
142
- <rect x="236" y="39" class="st0" width="16" height="4"></rect>
143
- <rect x="236" y="31" class="st0" width="16" height="4"></rect>
144
- <rect x="236" y="23" class="st0" width="16" height="4"></rect>
145
- </g>
146
- <rect x="235.9" y="23.1" class="st1" width="16" height="205.9"/>
147
- </g>
148
-
149
- <g id="东-上下">
150
- <g
151
- id="东行人下"
152
- direction="6"
153
- style="pointer-events: visible"
154
- :class="this.sidewalkDir.indexOf(6) !== -1 ? '' : 'invisible'"
155
- :fill="defaultColor"
156
- >
157
- <rect x="236" y="225" class="st0" width="16" height="4"></rect>
158
- <rect x="236" y="217" class="st0" width="16" height="4"></rect>
159
- <rect x="236" y="209" class="st0" width="16" height="4"></rect>
160
- <rect x="236" y="201" class="st0" width="16" height="4"></rect>
161
- <rect x="236" y="193" class="st0" width="16" height="4"></rect>
162
- <rect x="236" y="185" class="st0" width="16" height="4"></rect>
163
- <rect x="236" y="177" class="st0" width="16" height="4"></rect>
164
- <rect x="236" y="168" class="st0" width="16" height="4"></rect>
165
- <rect x="236" y="160" class="st0" width="16" height="4"></rect>
166
- <rect x="236" y="152" class="st0" width="16" height="4"></rect>
167
- <rect x="236" y="144" class="st0" width="16" height="4"></rect>
168
- <rect x="236" y="136" class="st0" width="16" height="4"></rect>
169
- <rect x="235.9" y="135.9" class="st1" width="16.2" height="93.3"/>
170
- </g>
171
- <g
172
- id="东行人上"
173
- direction="5"
174
- style="pointer-events: visible"
175
- :class="this.sidewalkDir.indexOf(5) !== -1 ? '' : 'invisible'"
176
- :fill="defaultColor"
177
- >
178
- <rect x="236" y="112" class="st0" width="16" height="4"></rect>
179
- <rect x="236" y="104" class="st0" width="16" height="4"></rect>
180
- <rect x="236" y="96" class="st0" width="16" height="4"></rect>
181
- <rect x="236" y="88" class="st0" width="16" height="4"></rect>
182
- <rect x="236" y="80" class="st0" width="16" height="4"></rect>
183
- <rect x="236" y="71" class="st0" width="16" height="4"></rect>
184
- <rect x="236" y="63" class="st0" width="16" height="4"></rect>
185
- <rect x="236" y="55" class="st0" width="16" height="4"></rect>
186
- <rect x="236" y="47" class="st0" width="16" height="4"></rect>
187
- <rect x="236" y="39" class="st0" width="16" height="4"></rect>
188
- <rect x="236" y="31" class="st0" width="16" height="4"></rect>
189
- <rect x="236" y="23" class="st0" width="16" height="4"></rect>
190
- <rect x="235.9" y="22.8" class="st1" width="16.2" height="93.1"/>
191
- </g>
192
- </g>
193
-
194
- <g
195
- id="北行人"
196
- direction="4"
197
- style="pointer-events: visible"
198
- :class="this.sidewalkDir.indexOf(4) !== -1 ? '' : 'invisible'"
199
- :fill="defaultColor"
200
- >
201
- <g>
202
- <rect x="225" class="st0" width="4" height="16"></rect>
203
- <rect x="217" class="st0" width="4" height="16"></rect>
204
- <rect x="209" class="st0" width="4" height="16"></rect>
205
- <rect x="201" class="st0" width="4" height="16"></rect>
206
- <rect x="193" class="st0" width="4" height="16"></rect>
207
- <rect x="185" class="st0" width="4" height="16"></rect>
208
- <rect x="177" class="st0" width="4" height="16"></rect>
209
- <rect x="168" class="st0" width="4" height="16"></rect>
210
- <rect x="160" class="st0" width="4" height="16"></rect>
211
- <rect x="152" class="st0" width="4" height="16"></rect>
212
- <rect x="144" class="st0" width="4" height="16"></rect>
213
- <rect x="136" class="st0" width="4" height="16"></rect>
214
- </g>
215
- <g>
216
- <rect x="128" class="st0" width="4" height="16"></rect>
217
- <rect x="120" class="st0" width="4" height="16"></rect>
218
- </g>
219
- <g>
220
- <rect x="112" class="st0" width="4" height="16"></rect>
221
- <rect x="104" class="st0" width="4" height="16"></rect>
222
- <rect x="96" class="st0" width="4" height="16"></rect>
223
- <rect x="88" class="st0" width="4" height="16"></rect>
224
- <rect x="80" class="st0" width="4" height="16"></rect>
225
- <rect x="71" class="st0" width="4" height="16"></rect>
226
- <rect x="63" class="st0" width="4" height="16"></rect>
227
- <rect x="55" class="st0" width="4" height="16"></rect>
228
- <rect x="47" class="st0" width="4" height="16"></rect>
229
- <rect x="39" class="st0" width="4" height="16"></rect>
230
- <rect x="31" class="st0" width="4" height="16"></rect>
231
- <rect x="23" class="st0" width="4" height="16"></rect>
232
- </g>
233
- <rect x="23" y="0" class="st1" width="206" height="16"/>
234
- </g>
235
-
236
- <g id="北-左右">
237
- <g
238
- id="北行人右"
239
- direction="12"
240
- style="pointer-events: visible"
241
- :class="this.sidewalkDir.indexOf(12) !== -1 ? '' : 'invisible'"
242
- :fill="defaultColor"
243
- >
244
- <rect x="225" class="st0" width="4" height="16"></rect>
245
- <rect x="217" class="st0" width="4" height="16"></rect>
246
- <rect x="209" class="st0" width="4" height="16"></rect>
247
- <rect x="201" class="st0" width="4" height="16"></rect>
248
- <rect x="193" class="st0" width="4" height="16"></rect>
249
- <rect x="185" class="st0" width="4" height="16"></rect>
250
- <rect x="177" class="st0" width="4" height="16"></rect>
251
- <rect x="168" class="st0" width="4" height="16"></rect>
252
- <rect x="160" class="st0" width="4" height="16"></rect>
253
- <rect x="152" class="st0" width="4" height="16"></rect>
254
- <rect x="144" class="st0" width="4" height="16"></rect>
255
- <rect x="136" class="st0" width="4" height="16"></rect>
256
- <rect x="136" class="st1" width="92.9" height="15.9"/>
257
- </g>
258
- <g
259
- id="北行人左"
260
- direction="11"
261
- style="pointer-events: visible"
262
- :class="this.sidewalkDir.indexOf(11) !== -1 ? '' : 'invisible'"
263
- :fill="defaultColor"
264
- >
265
- <rect x="112" class="st0" width="4" height="16"></rect>
266
- <rect x="104" class="st0" width="4" height="16"></rect>
267
- <rect x="96" class="st0" width="4" height="16"></rect>
268
- <rect x="88" class="st0" width="4" height="16"></rect>
269
- <rect x="80" class="st0" width="4" height="16"></rect>
270
- <rect x="71" class="st0" width="4" height="16"></rect>
271
- <rect x="63" class="st0" width="4" height="16"></rect>
272
- <rect x="55" class="st0" width="4" height="16"></rect>
273
- <rect x="47" class="st0" width="4" height="16"></rect>
274
- <rect x="39" class="st0" width="4" height="16"></rect>
275
- <rect x="31" class="st0" width="4" height="16"></rect>
276
- <rect x="23" class="st0" width="4" height="16"></rect>
277
- <rect x="22.9" y="0" class="st1" width="93.1" height="16"/>
278
- </g>
279
- </g>
280
-
281
- <g
282
- id="南行人"
283
- direction="3"
284
- style="pointer-events: visible"
285
- :class="this.sidewalkDir.indexOf(3) !== -1 ? '' : 'invisible'"
286
- :fill="defaultColor"
287
- >
288
- <g>
289
- <rect x="225" y="236" class="st0" width="4" height="16"></rect>
290
- <rect x="217" y="236" class="st0" width="4" height="16"></rect>
291
- <rect x="209" y="236" class="st0" width="4" height="16"></rect>
292
- <rect x="201" y="236" class="st0" width="4" height="16"></rect>
293
- <rect x="193" y="236" class="st0" width="4" height="16"></rect>
294
- <rect x="185" y="236" class="st0" width="4" height="16"></rect>
295
- <rect x="177" y="236" class="st0" width="4" height="16"></rect>
296
- <rect x="168" y="236" class="st0" width="4" height="16"></rect>
297
- <rect x="160" y="236" class="st0" width="4" height="16"></rect>
298
- <rect x="152" y="236" class="st0" width="4" height="16"></rect>
299
- <rect x="144" y="236" class="st0" width="4" height="16"></rect>
300
- <rect x="136" y="236" class="st0" width="4" height="16"></rect>
301
- </g>
302
- <g>
303
- <rect x="128" y="236" class="st0" width="4" height="16"></rect>
304
- <rect x="120" y="236" class="st0" width="4" height="16"></rect>
305
- </g>
306
- <g>
307
- <rect x="112" y="236" class="st0" width="4" height="16"></rect>
308
- <rect x="104" y="236" class="st0" width="4" height="16"></rect>
309
- <rect x="96" y="236" class="st0" width="4" height="16"></rect>
310
- <rect x="88" y="236" class="st0" width="4" height="16"></rect>
311
- <rect x="80" y="236" class="st0" width="4" height="16"></rect>
312
- <rect x="71" y="236" class="st0" width="4" height="16"></rect>
313
- <rect x="63" y="236" class="st0" width="4" height="16"></rect>
314
- <rect x="55" y="236" class="st0" width="4" height="16"></rect>
315
- <rect x="47" y="236" class="st0" width="4" height="16"></rect>
316
- <rect x="39" y="236" class="st0" width="4" height="16"></rect>
317
- <rect x="31" y="236" class="st0" width="4" height="16"></rect>
318
- <rect x="23" y="236" class="st0" width="4" height="16"></rect>
319
- </g>
320
- <rect x="22.6" y="234.1" class="st1" width="206.4" height="16"/>
321
- </g>
322
-
323
- <g id="南-左右">
324
- <g
325
- id="南行人右"
326
- direction="10"
327
- style="pointer-events: visible"
328
- :class="this.sidewalkDir.indexOf(10) !== -1 ? '' : 'invisible'"
329
- :fill="defaultColor"
330
- >
331
- <rect x="225" y="236" class="st0" width="4" height="16"></rect>
332
- <rect x="217" y="236" class="st0" width="4" height="16"></rect>
333
- <rect x="209" y="236" class="st0" width="4" height="16"></rect>
334
- <rect x="201" y="236" class="st0" width="4" height="16"></rect>
335
- <rect x="193" y="236" class="st0" width="4" height="16"></rect>
336
- <rect x="185" y="236" class="st0" width="4" height="16"></rect>
337
- <rect x="177" y="236" class="st0" width="4" height="16"></rect>
338
- <rect x="168" y="236" class="st0" width="4" height="16"></rect>
339
- <rect x="160" y="236" class="st0" width="4" height="16"></rect>
340
- <rect x="152" y="236" class="st0" width="4" height="16"></rect>
341
- <rect x="144" y="236" class="st0" width="4" height="16"></rect>
342
- <rect x="136" y="236" class="st0" width="4" height="16"></rect>
343
- <rect x="135.8" y="234.1" class="st1" width="93.2" height="16.1"/>
344
- </g>
345
- <g
346
- id="南行人左"
347
- direction="9"
348
- style="pointer-events: visible"
349
- :class="this.sidewalkDir.indexOf(9) !== -1 ? '' : 'invisible'"
350
- :fill="defaultColor"
351
- >
352
- <rect x="112" y="236" class="st0" width="4" height="16"></rect>
353
- <rect x="104" y="236" class="st0" width="4" height="16"></rect>
354
- <rect x="96" y="236" class="st0" width="4" height="16"></rect>
355
- <rect x="88" y="236" class="st0" width="4" height="16"></rect>
356
- <rect x="80" y="236" class="st0" width="4" height="16"></rect>
357
- <rect x="71" y="236" class="st0" width="4" height="16"></rect>
358
- <rect x="63" y="236" class="st0" width="4" height="16"></rect>
359
- <rect x="55" y="236" class="st0" width="4" height="16"></rect>
360
- <rect x="47" y="236" class="st0" width="4" height="16"></rect>
361
- <rect x="39" y="236" class="st0" width="4" height="16"></rect>
362
- <rect x="31" y="236" class="st0" width="4" height="16"></rect>
363
- <rect x="23" y="236" class="st0" width="4" height="16"></rect>
364
- <rect x="23" y="234.1" class="st1" width="92.8" height="16.1"/>
365
- </g>
366
- </g>
367
-
368
- <g
369
- id="斜杠行人"
370
- direction="13"
371
- style="pointer-events: visible"
372
- :class="this.sidewalkDir.indexOf(13) !== -1 ? '' : 'invisible'"
373
- :fill="defaultColor"
374
- >
375
- <rect
376
- x="78"
377
- y="164"
378
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -98.1528 106.9619)"
379
- class="st0"
380
- width="4"
381
- height="16"
382
- ></rect>
383
- <rect
384
- x="83.7"
385
- y="158.3"
386
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -92.496 109.3051)"
387
- class="st0"
388
- width="4"
389
- height="16"
390
- ></rect>
391
- <rect
392
- x="89.4"
393
- y="152.6"
394
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -86.8391 111.6482)"
395
- class="st0"
396
- width="4"
397
- height="16"
398
- ></rect>
399
- <rect
400
- x="95"
401
- y="147"
402
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -81.1823 113.9914)"
403
- class="st0"
404
- width="4"
405
- height="16"
406
- ></rect>
407
- <rect
408
- x="55.4"
409
- y="186.6"
410
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -120.7803 97.5894)"
411
- class="st0"
412
- width="4"
413
- height="16"
414
- ></rect>
415
- <rect
416
- x="61.1"
417
- y="180.9"
418
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -115.1234 99.9325)"
419
- class="st0"
420
- width="4"
421
- height="16"
422
- ></rect>
423
-
424
- <rect
425
- x="66.7"
426
- y="175.3"
427
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -109.4666 102.2757)"
428
- class="st0"
429
- width="4"
430
- height="16"
431
- ></rect>
432
-
433
- <rect
434
- x="72.4"
435
- y="169.6"
436
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -103.8097 104.6188)"
437
- class="st0"
438
- width="4"
439
- height="16"
440
- ></rect>
441
- <rect
442
- x="49.8"
443
- y="192.2"
444
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -126.4371 95.2462)"
445
- class="st0"
446
- width="4"
447
- height="16"
448
- ></rect>
449
- <rect
450
- x="27.1"
451
- y="214.9"
452
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -149.0645 85.8736)"
453
- class="st0"
454
- width="4"
455
- height="16"
456
- ></rect>
457
- <rect
458
- x="32.8"
459
- y="209.2"
460
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -143.4077 88.2168)"
461
- class="st0"
462
- width="4"
463
- height="16"
464
- ></rect>
465
- <rect
466
- x="38.4"
467
- y="203.6"
468
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -137.7508 90.5599)"
469
- class="st0"
470
- width="4"
471
- height="16"
472
- ></rect>
473
- <rect
474
- x="44.1"
475
- y="197.9"
476
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -132.094 92.9031)"
477
- class="st0"
478
- width="4"
479
- height="16"
480
- ></rect>
481
-
482
- <rect
483
- x="100.7"
484
- y="141.3"
485
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -75.5254 116.3345)"
486
- class="st0"
487
- width="4"
488
- height="16"
489
- ></rect>
490
-
491
- <rect
492
- x="106.3"
493
- y="135.7"
494
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -69.8686 118.6777)"
495
- class="st0"
496
- width="4"
497
- height="16"
498
- ></rect>
499
- <rect
500
- x="112"
501
- y="130"
502
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -64.2117 121.0208)"
503
- class="st0"
504
- width="4"
505
- height="16"
506
- ></rect>
507
-
508
- <rect
509
- x="118.3"
510
- y="123.7"
511
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -57.8478 123.6569)"
512
- class="st0"
513
- width="4"
514
- height="16"
515
- ></rect>
516
- <rect
517
- x="124"
518
- y="118"
519
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -52.1909 126)"
520
- class="st0"
521
- width="4"
522
- height="16"
523
- ></rect>
524
-
525
- <rect
526
- x="129.7"
527
- y="112.3"
528
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -46.5341 128.3431)"
529
- class="st0"
530
- width="4"
531
- height="16"
532
- ></rect>
533
-
534
- <rect
535
- x="135.3"
536
- y="106.7"
537
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -40.8772 130.6863)"
538
- class="st0"
539
- width="4"
540
- height="16"
541
- ></rect>
542
- <rect
543
- x="141"
544
- y="101"
545
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -35.2203 133.0294)"
546
- class="st0"
547
- width="4"
548
- height="16"
549
- ></rect>
550
- <rect
551
- x="146.6"
552
- y="95.4"
553
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -29.5635 135.3726)"
554
- class="st0"
555
- width="4"
556
- height="16"
557
- ></rect>
558
- <rect
559
- x="152.3"
560
- y="89.7"
561
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -23.9066 137.7157)"
562
- class="st0"
563
- width="4"
564
- height="16"
565
- ></rect>
566
- <rect
567
- x="157.9"
568
- y="84.1"
569
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -18.2498 140.0589)"
570
- class="st0"
571
- width="4"
572
- height="16"
573
- ></rect>
574
- <rect
575
- x="163.6"
576
- y="78.4"
577
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -12.5929 142.402)"
578
- class="st0"
579
- width="4"
580
- height="16"
581
- ></rect>
582
- <rect
583
- x="169.3"
584
- y="72.7"
585
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -6.9361 144.7452)"
586
- class="st0"
587
- width="4"
588
- height="16"
589
- ></rect>
590
- <rect
591
- x="174.9"
592
- y="67.1"
593
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -1.2792 147.0883)"
594
- class="st0"
595
- width="4"
596
- height="16"
597
- ></rect>
598
- <rect
599
- x="180.6"
600
- y="61.4"
601
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 4.3776 149.4315)"
602
- class="st0"
603
- width="4"
604
- height="16"
605
- ></rect>
606
- <rect
607
- x="186.9"
608
- y="55.1"
609
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 10.7416 152.0675)"
610
- class="st0"
611
- width="4"
612
- height="16"
613
- ></rect>
614
- <rect
615
- x="192.6"
616
- y="49.4"
617
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 16.3984 154.4106)"
618
- class="st0"
619
- width="4"
620
- height="16"
621
- ></rect>
622
- <rect
623
- x="198.2"
624
- y="43.8"
625
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 22.0553 156.7538)"
626
- class="st0"
627
- width="4"
628
- height="16"
629
- ></rect>
630
- <rect
631
- x="203.9"
632
- y="38.1"
633
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 27.7122 159.0969)"
634
- class="st0"
635
- width="4"
636
- height="16"
637
- ></rect>
638
- <rect
639
- x="209.6"
640
- y="32.4"
641
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 33.369 161.4401)"
642
- class="st0"
643
- width="4"
644
- height="16"
645
- ></rect>
646
- <rect
647
- x="215.2"
648
- y="26.8"
649
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 39.0259 163.7832)"
650
- class="st0"
651
- width="4"
652
- height="16"
653
- ></rect>
654
- <rect
655
- x="220.9"
656
- y="21.1"
657
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 44.6827 166.1264)"
658
- class="st0"
659
- width="4"
660
- height="16"
661
- ></rect>
662
- <rect x="-18" y="119.1" transform="matrix(-0.7071 0.7071 -0.7071 -0.7071 301.8937 129.1823)" class="st1" width="284.3" height="16.1"/>
663
- </g>
664
- <g
665
- id="反斜杠行人"
666
- direction="14"
667
- style="pointer-events: visible"
668
- :class="this.sidewalkDir.indexOf(14) !== -1 ? '' : 'invisible'"
669
- :fill="defaultColor"
670
- >
671
- <rect
672
- x="72"
673
- y="78"
674
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -33.1529 80.0381)"
675
- class="st0"
676
- width="16"
677
- height="4"
678
- ></rect>
679
- <rect
680
- x="77.7"
681
- y="83.7"
682
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -35.496 85.6949)"
683
- class="st0"
684
- width="16"
685
- height="4"
686
- ></rect>
687
- <rect
688
- x="83.4"
689
- y="89.4"
690
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -37.8391 91.3518)"
691
- class="st0"
692
- width="16"
693
- height="4"
694
- ></rect>
695
- <rect
696
- x="89"
697
- y="95"
698
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -40.1823 97.0086)"
699
- class="st0"
700
- width="16"
701
- height="4"
702
- ></rect>
703
- <rect
704
- x="49.4"
705
- y="55.4"
706
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -23.7803 57.4106)"
707
- class="st0"
708
- width="16"
709
- height="4"
710
- ></rect>
711
- <rect
712
- x="55.1"
713
- y="61.1"
714
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -26.1234 63.0675)"
715
- class="st0"
716
- width="16"
717
- height="4"
718
- ></rect>
719
- <rect
720
- x="60.7"
721
- y="66.7"
722
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -28.4666 68.7243)"
723
- class="st0"
724
- width="16"
725
- height="4"
726
- ></rect>
727
- <rect
728
- x="66.4"
729
- y="72.4"
730
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -30.8097 74.3812)"
731
- class="st0"
732
- width="16"
733
- height="4"
734
- ></rect>
735
- <rect
736
- x="43.8"
737
- y="49.8"
738
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -21.4371 51.7538)"
739
- class="st0"
740
- width="16"
741
- height="4"
742
- ></rect>
743
- <rect
744
- x="21.1"
745
- y="27.1"
746
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -12.0645 29.1264)"
747
- class="st0"
748
- width="16"
749
- height="4"
750
- ></rect>
751
- <rect
752
- x="26.8"
753
- y="32.8"
754
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -14.4077 34.7832)"
755
- class="st0"
756
- width="16"
757
- height="4"
758
- ></rect>
759
- <rect
760
- x="32.4"
761
- y="38.4"
762
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -16.7508 40.4401)"
763
- class="st0"
764
- width="16"
765
- height="4"
766
- ></rect>
767
- <rect
768
- x="38.1"
769
- y="44.1"
770
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -19.094 46.0969)"
771
- class="st0"
772
- width="16"
773
- height="4"
774
- ></rect>
775
- <rect
776
- x="94.7"
777
- y="100.7"
778
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -42.5254 102.6655)"
779
- class="st0"
780
- width="16"
781
- height="4"
782
- ></rect>
783
-
784
- <rect
785
- x="100.3"
786
- y="106.3"
787
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -44.8686 108.3223)"
788
- class="st0"
789
- width="16"
790
- height="4"
791
- ></rect>
792
- <rect
793
- x="106"
794
- y="112"
795
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -47.2117 113.9792)"
796
- class="st0"
797
- width="16"
798
- height="4"
799
- ></rect>
800
-
801
- <rect
802
- x="112.3"
803
- y="118.3"
804
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -49.8478 120.3431)"
805
- class="st0"
806
- width="16"
807
- height="4"
808
- ></rect>
809
- <rect
810
- x="118"
811
- y="124"
812
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -52.1909 126)"
813
- class="st0"
814
- width="16"
815
- height="4"
816
- ></rect>
817
-
818
- <rect
819
- x="123.7"
820
- y="129.7"
821
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -54.5341 131.6569)"
822
- class="st0"
823
- width="16"
824
- height="4"
825
- ></rect>
826
-
827
- <rect
828
- x="129.3"
829
- y="135.3"
830
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -56.8772 137.3137)"
831
- class="st0"
832
- width="16"
833
- height="4"
834
- ></rect>
835
- <rect
836
- x="135"
837
- y="141"
838
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -59.2203 142.9706)"
839
- class="st0"
840
- width="16"
841
- height="4"
842
- ></rect>
843
-
844
- <rect
845
- x="140.6"
846
- y="146.6"
847
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -61.5635 148.6274)"
848
- class="st0"
849
- width="16"
850
- height="4"
851
- ></rect>
852
-
853
- <rect
854
- x="146.3"
855
- y="152.3"
856
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -63.9066 154.2843)"
857
- class="st0"
858
- width="16"
859
- height="4"
860
- ></rect>
861
-
862
- <rect
863
- x="151.9"
864
- y="157.9"
865
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -66.2498 159.9411)"
866
- class="st0"
867
- width="16"
868
- height="4"
869
- ></rect>
870
- <rect
871
- x="157.6"
872
- y="163.6"
873
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -68.5929 165.598)"
874
- class="st0"
875
- width="16"
876
- height="4"
877
- ></rect>
878
-
879
- <rect
880
- x="163.3"
881
- y="169.3"
882
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -70.9361 171.2548)"
883
- class="st0"
884
- width="16"
885
- height="4"
886
- ></rect>
887
-
888
- <rect
889
- x="168.9"
890
- y="174.9"
891
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -73.2792 176.9117)"
892
- class="st0"
893
- width="16"
894
- height="4"
895
- ></rect>
896
-
897
- <rect
898
- x="174.6"
899
- y="180.6"
900
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -75.6224 182.5685)"
901
- class="st0"
902
- width="16"
903
- height="4"
904
- ></rect>
905
-
906
- <rect
907
- x="180.9"
908
- y="186.9"
909
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -78.2584 188.9325)"
910
- class="st0"
911
- width="16"
912
- height="4"
913
- ></rect>
914
-
915
- <rect
916
- x="186.6"
917
- y="192.6"
918
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -80.6016 194.5894)"
919
- class="st0"
920
- width="16"
921
- height="4"
922
- ></rect>
923
-
924
- <rect
925
- x="192.2"
926
- y="198.2"
927
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -82.9447 200.2462)"
928
- class="st0"
929
- width="16"
930
- height="4"
931
- ></rect>
932
-
933
- <rect
934
- x="197.9"
935
- y="203.9"
936
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -85.2878 205.9031)"
937
- class="st0"
938
- width="16"
939
- height="4"
940
- ></rect>
941
- <rect
942
- x="203.6"
943
- y="209.6"
944
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -87.631 211.5599)"
945
- class="st0"
946
- width="16"
947
- height="4"
948
- ></rect>
949
-
950
- <rect
951
- x="209.2"
952
- y="215.2"
953
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -89.9741 217.2168)"
954
- class="st0"
955
- width="16"
956
- height="4"
957
- ></rect>
958
-
959
- <rect
960
- x="214.9"
961
- y="220.9"
962
- transform="matrix(0.7071 -0.7071 0.7071 0.7071 -92.3173 222.8736)"
963
- class="st0"
964
- width="16"
965
- height="4"
966
- ></rect>
967
-
968
- <rect x="-12.8" y="117.2" transform="matrix(0.7071 0.7071 -0.7071 0.7071 125.5193 -52.5175)" class="st1" width="277.9" height="16.1"/>
969
- </g>
970
- <g
971
- id="东西路段行人"
972
- direction="15"
973
- style="pointer-events: visible"
974
- :class="this.sidewalkDir.indexOf(15) !== -1 ? '' : 'invisible'"
975
- :fill="defaultColor"
976
- >
977
- <g>
978
- <rect x="37.9" y="97.9" width="4" height="56.3"></rect>
979
- </g>
980
- <g>
981
- <rect x="30.1" y="97.9" width="4" height="56.3"></rect>
982
- </g>
983
- <g>
984
- <rect x="22.5" y="97.9" width="4" height="56.3"></rect>
985
- </g>
986
- <g>
987
- <rect x="45.7" y="97.9" width="4" height="56.3"></rect>
988
- </g>
989
- <g>
990
- <rect x="53.5" y="97.9" width="4" height="56.3"></rect>
991
- </g>
992
- <g>
993
- <rect x="61.3" y="97.9" width="4" height="56.3"></rect>
994
- </g>
995
- <g>
996
- <rect x="69.1" y="97.9" width="4" height="56.3"></rect>
997
- </g>
998
- <g>
999
- <rect x="76.9" y="97.9" width="4" height="56.3"></rect>
1000
- </g>
1001
- <g>
1002
- <rect x="84.7" y="97.9" width="4" height="56.3"></rect>
1003
- </g>
1004
- <g>
1005
- <rect x="92.5" y="97.9" width="4" height="56.3"></rect>
1006
- </g>
1007
- <g>
1008
- <rect x="100.3" y="97.9" width="4" height="56.3"></rect>
1009
- </g>
1010
- <g>
1011
- <rect x="108.1" y="97.9" width="4" height="56.3"></rect>
1012
- </g>
1013
- <g>
1014
- <rect x="116" y="97.9" width="4" height="56.3"></rect>
1015
- </g>
1016
- <g>
1017
- <rect x="123.8" y="97.9" width="4" height="56.3"></rect>
1018
- </g>
1019
- <g>
1020
- <rect x="131.6" y="97.9" width="4" height="56.3"></rect>
1021
- </g>
1022
- <g>
1023
- <rect x="139.4" y="97.9" width="4" height="56.3"></rect>
1024
- </g>
1025
- <g>
1026
- <rect x="147.2" y="97.9" width="4" height="56.3"></rect>
1027
- </g>
1028
- <g>
1029
- <rect x="155" y="97.9" width="4" height="56.3"></rect>
1030
- </g>
1031
- <g>
1032
- <rect x="162.8" y="97.9" width="4" height="56.3"></rect>
1033
- </g>
1034
- <g>
1035
- <rect x="170.6" y="97.9" width="4" height="56.3"></rect>
1036
- </g>
1037
- <g>
1038
- <rect x="178.4" y="97.9" width="4" height="56.3"></rect>
1039
- </g>
1040
- <g>
1041
- <rect x="186.2" y="97.9" width="4" height="56.3"></rect>
1042
- </g>
1043
- <g>
1044
- <rect x="194" y="97.9" width="4" height="56.3"></rect>
1045
- </g>
1046
- <g>
1047
- <rect x="201.8" y="97.9" width="4" height="56.3"></rect>
1048
- </g>
1049
- <g>
1050
- <rect x="209.6" y="97.9" width="4" height="56.3"></rect>
1051
- <rect x="217.6" y="97.9" width="4" height="56.3"></rect>
1052
- <rect x="225.5" y="97.9" width="4" height="56.3"></rect>
1053
- </g>
1054
- <rect x="22.4" y="97.7" class="st1" width="207" height="56.4"/>
1055
- </g>
1056
- <g
1057
- id="南北路段行人"
1058
- direction="16"
1059
- style="pointer-events: visible"
1060
- :class="this.sidewalkDir.indexOf(16) !== -1 ? '' : 'invisible'"
1061
- :fill="defaultColor"
1062
- >
1063
- <g>
1064
- <rect x="97.9" y="37.9" width="56.3" height="4"></rect>
1065
- </g>
1066
- <g>
1067
- <rect x="97.9" y="30.1" width="56.3" height="4"></rect>
1068
- </g>
1069
- <g>
1070
- <rect x="97.9" y="22.5" width="56.3" height="4"></rect>
1071
- </g>
1072
- <g>
1073
- <rect x="97.9" y="45.7" width="56.3" height="4"></rect>
1074
- </g>
1075
- <g>
1076
- <rect x="97.9" y="53.5" width="56.3" height="4"></rect>
1077
- </g>
1078
- <g>
1079
- <rect x="97.9" y="61.3" width="56.3" height="4"></rect>
1080
- </g>
1081
- <g>
1082
- <rect x="97.9" y="69.1" width="56.3" height="4"></rect>
1083
- </g>
1084
- <g>
1085
- <rect x="97.9" y="76.9" width="56.3" height="4"></rect>
1086
- </g>
1087
- <g>
1088
- <rect x="97.9" y="84.7" width="56.3" height="4"></rect>
1089
- </g>
1090
- <g>
1091
- <rect x="97.9" y="92.5" width="56.3" height="4"></rect>
1092
- </g>
1093
- <g>
1094
- <rect x="97.9" y="100.3" width="56.3" height="4"></rect>
1095
- </g>
1096
- <g>
1097
- <rect x="97.9" y="108.1" width="56.3" height="4"></rect>
1098
- </g>
1099
- <g>
1100
- <rect x="97.9" y="116" width="56.3" height="4"></rect>
1101
- </g>
1102
- <g>
1103
- <rect x="97.9" y="123.8" width="56.3" height="4"></rect>
1104
- </g>
1105
- <g>
1106
- <rect x="97.9" y="131.6" width="56.3" height="4"></rect>
1107
- </g>
1108
- <g>
1109
- <rect x="97.9" y="139.4" width="56.3" height="4"></rect>
1110
- </g>
1111
- <g>
1112
- <rect x="97.9" y="147.2" width="56.3" height="4"></rect>
1113
- </g>
1114
- <g>
1115
- <rect x="97.9" y="155" width="56.3" height="4"></rect>
1116
- </g>
1117
- <g>
1118
- <rect x="97.9" y="162.8" width="56.3" height="4"></rect>
1119
- </g>
1120
- <g>
1121
- <rect x="97.9" y="170.6" width="56.3" height="4"></rect>
1122
- </g>
1123
- <g>
1124
- <rect x="97.9" y="178.4" width="56.3" height="4"></rect>
1125
- </g>
1126
- <g>
1127
- <rect x="97.9" y="186.2" width="56.3" height="4"></rect>
1128
- </g>
1129
- <g>
1130
- <rect x="97.9" y="194" width="56.3" height="4"></rect>
1131
- </g>
1132
- <g>
1133
- <rect x="97.9" y="201.8" width="56.3" height="4"></rect>
1134
- </g>
1135
- <g>
1136
- <rect x="97.9" y="209.6" width="56.3" height="4"></rect>
1137
- <rect x="97.9" y="217.6" width="56.3" height="4"></rect>
1138
- <rect x="97.9" y="225.5" width="56.3" height="4"></rect>
1139
- </g>
1140
- <rect x="97.9" y="21.4" class="st1" width="56.2" height="207.2"/>
1141
- </g>
1142
- </svg>
1143
- </template>
1144
- <script>
1145
- export default {
1146
- name: 'sidewalkclicksvg',
1147
- data () {
1148
- return {
1149
- defaultColor: '#fff', // 默认状态颜色
1150
- FlashColor: undefined,
1151
- GreenColor: '#77fb65',
1152
- YellowColor: '#f7b500',
1153
- lastType: '',
1154
- clickedColor: '#299bcc',
1155
- disabledColor: '#828282',
1156
- sidewalkData: [],
1157
- sidewalkDir: []
1158
- }
1159
- },
1160
- watch: {
1161
- Data: {
1162
- handler: function (val) {
1163
- this.init()
1164
- },
1165
- deep: true
1166
- }
1167
- },
1168
- props: {
1169
- Width: {
1170
- type: String,
1171
- default: '252.1px'
1172
- },
1173
- Height: {
1174
- type: String,
1175
- default: '250.2px'
1176
- },
1177
- Data: {
1178
- type: Array
1179
- },
1180
- crossType: {
1181
- type: String
1182
- },
1183
- clickMode: {
1184
- type: Boolean,
1185
- default: false
1186
- }
1187
- },
1188
- methods: {
1189
- handleClick (e) {
1190
- let clickedPath = e.currentTarget
1191
- let direction = Number(clickedPath.getAttribute('direction'))
1192
- if (clickedPath) {
1193
- let curChoosePed = {}
1194
- // 在这里对找到的元素进行操作
1195
- if (clickedPath.getAttribute('disabled') === 'true') {
1196
- return
1197
- }
1198
- if (clickedPath.getAttribute('fill') === this.clickedColor) {
1199
- // 取消点击
1200
- for (let i = 0; i < this.sidewalkData.length; i++) {
1201
- if (direction === this.sidewalkData[i].id) {
1202
- delete this.sidewalkData[i].clicked
1203
- }
1204
- }
1205
- clickedPath.setAttribute('fill', '#fff')
1206
- } else {
1207
- // 点击
1208
- for (let i = 0; i < this.sidewalkData.length; i++) {
1209
- if (direction === this.sidewalkData[i].id) {
1210
- this.sidewalkData[i].clicked = true
1211
- curChoosePed = JSON.parse(JSON.stringify(this.sidewalkData[i]))
1212
- }
1213
- }
1214
- clickedPath.setAttribute('fill', this.clickedColor)
1215
- }
1216
- this.$emit('handleClickSidewalkIcon', this.sidewalkData, curChoosePed)
1217
- }
1218
- },
1219
- handleStatus () {
1220
- let sideJson = require('../posJson/sidePos.json').sideList
1221
- sideJson.forEach(side => {
1222
- if (side.svgid) {
1223
- let svgdom = document.getElementById(`${this.Data[0].key}`)
1224
- let dom = svgdom.querySelector(`#${side.svgid}`)
1225
- if (dom) {
1226
- let data = this.sidewalkData.filter(ele => ele.id === side.id)[0]
1227
- if (data && data.clicked === true) {
1228
- dom.setAttribute('fill', this.clickedColor)
1229
- }
1230
- if (this.clickMode && data && data.disabled === true) {
1231
- dom.setAttribute('fill', this.disabledColor)
1232
- dom.setAttribute('disabled', 'true')
1233
- }
1234
- if (data && data.disabled === undefined && data.clicked === undefined) {
1235
- dom.setAttribute('fill', this.defaultColor)
1236
- dom.removeAttribute('disabled')
1237
- }
1238
- }
1239
- }
1240
- })
1241
- },
1242
- IconAddEvent () {
1243
- let sideJson = require('../posJson/sidePos.json').sideList
1244
- sideJson.forEach(side => {
1245
- if (side.svgid) {
1246
- let svgdom = document.getElementById(`${this.Data[0].key}`)
1247
- let dom = svgdom.querySelector(`#${side.svgid}`)
1248
- if (dom) {
1249
- if (this.clickMode) {
1250
- dom.addEventListener('click', this.handleClick)
1251
- }
1252
- }
1253
- }
1254
- })
1255
- },
1256
- getPedDirection () {
1257
- let sidewalkDir = []
1258
- this.sidewalkData.forEach(ele => {
1259
- sidewalkDir.push(ele.id)
1260
- })
1261
- this.sidewalkDir = Array.from(new Set([...sidewalkDir]))
1262
- },
1263
- init () {
1264
- this.sidewalkData = JSON.parse(JSON.stringify(this.Data))
1265
- this.getPedDirection()
1266
- this.handleStatus()
1267
- this.IconAddEvent()
1268
- }
1269
- },
1270
- mounted () {
1271
- this.init()
1272
- }
1273
- }
1274
- </script>
1275
- <style scoped>
1276
- .invisible {
1277
- visibility: hidden;
1278
- }
1279
- .hide {
1280
- display: none;
1281
- }
1282
-
1283
- .green {
1284
- fill: #7bd66b;
1285
- }
1286
- .red {
1287
- fill: #e24b4b;
1288
- }
1289
- .yellow {
1290
- fill: #ce932c;
1291
- }
1292
- .gray {
1293
- fill: #828282;
1294
- }
1295
- .cls-1 {
1296
- fill: #f2f2f2;
1297
- fill-rule: evenodd;
1298
- }
1299
- .st1 {
1300
- fill: none;
1301
- }
1302
- </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
+ <svg
14
+ :id="Data[0].key"
15
+ xmlns="http://www.w3.org/2000/svg"
16
+ viewBox="0 0 252.1 250.2"
17
+ :width="Width"
18
+ :height="Height"
19
+ :style="{position: 'absolute', left: '310px', top: '198px', zIndex: '10'}"
20
+ >
21
+ <g
22
+ id="西行人"
23
+ direction="2"
24
+ style="pointer-events: visible"
25
+ :class="this.sidewalkDir.indexOf(2) !== -1 ? '' : 'invisible'"
26
+ :fill="defaultColor"
27
+ >
28
+ <g>
29
+ <rect y="225" class="st0" width="16" height="4"></rect>
30
+ <rect y="217" class="st0" width="16" height="4"></rect>
31
+ <rect y="209" class="st0" width="16" height="4"></rect>
32
+ <rect y="201" class="st0" width="16" height="4"></rect>
33
+ <rect y="193" class="st0" width="16" height="4"></rect>
34
+ <rect y="185" class="st0" width="16" height="4"></rect>
35
+ <rect y="177" class="st0" width="16" height="4"></rect>
36
+ <rect y="168" class="st0" width="16" height="4"></rect>
37
+ <rect y="160" class="st0" width="16" height="4"></rect>
38
+ <rect y="152" class="st0" width="16" height="4"></rect>
39
+ <rect y="144" class="st0" width="16" height="4"></rect>
40
+ <rect y="136" class="st0" width="16" height="4"></rect>
41
+ </g>
42
+ <g>
43
+ <rect y="128" class="st0" width="16" height="4"></rect>
44
+ <rect y="120" class="st0" width="16" height="4"></rect>
45
+ </g>
46
+ <g>
47
+ <rect y="112" class="st0" width="16" height="4"></rect>
48
+ <rect y="104" class="st0" width="16" height="4"></rect>
49
+ <rect y="96" class="st0" width="16" height="4"></rect>
50
+ <rect y="88" class="st0" width="16" height="4"></rect>
51
+ <rect y="80" class="st0" width="16" height="4"></rect>
52
+ <rect y="71" class="st0" width="16" height="4"></rect>
53
+ <rect y="63" class="st0" width="16" height="4"></rect>
54
+ <rect y="55" class="st0" width="16" height="4"></rect>
55
+ <rect y="47" class="st0" width="16" height="4"></rect>
56
+ <rect y="39" class="st0" width="16" height="4"></rect>
57
+ <rect y="31" class="st0" width="16" height="4"></rect>
58
+ <rect y="23" class="st0" width="16" height="4"></rect>
59
+ </g>
60
+ <rect id="rect1" x="0.3" y="22.8" class="st1" width="15.8" height="206.2"/>
61
+ </g>
62
+ <g id="西-上下">
63
+ <g
64
+ id="西行人下"
65
+ direction="8"
66
+ style="pointer-events: visible"
67
+ :class="this.sidewalkDir.indexOf(8) !== -1 ? '' : 'invisible'"
68
+ :fill="defaultColor"
69
+ >
70
+ <rect y="225" class="st0" width="16" height="4"></rect>
71
+ <rect y="217" class="st0" width="16" height="4"></rect>
72
+ <rect y="209" class="st0" width="16" height="4"></rect>
73
+ <rect y="201" class="st0" width="16" height="4"></rect>
74
+ <rect y="193" class="st0" width="16" height="4"></rect>
75
+ <rect y="185" class="st0" width="16" height="4"></rect>
76
+ <rect y="177" class="st0" width="16" height="4"></rect>
77
+ <rect y="168" class="st0" width="16" height="4"></rect>
78
+ <rect y="160" class="st0" width="16" height="4"></rect>
79
+ <rect y="152" class="st0" width="16" height="4"></rect>
80
+ <rect y="144" class="st0" width="16" height="4"></rect>
81
+ <rect y="136" class="st0" width="16" height="4"></rect>
82
+ <rect x="0" y="135.9" class="st1" width="16.2" height="93.1"/>
83
+ </g>
84
+ <g
85
+ id="西行人上"
86
+ direction="7"
87
+ style="pointer-events: visible"
88
+ :class="this.sidewalkDir.indexOf(7) !== -1 ? '' : 'invisible'"
89
+ :fill="defaultColor"
90
+ >
91
+ <rect y="112" class="st0" width="16" height="4"></rect>
92
+ <rect y="104" class="st0" width="16" height="4"></rect>
93
+ <rect y="96" class="st0" width="16" height="4"></rect>
94
+ <rect y="88" class="st0" width="16" height="4"></rect>
95
+ <rect y="80" class="st0" width="16" height="4"></rect>
96
+ <rect y="71" class="st0" width="16" height="4"></rect>
97
+ <rect y="63" class="st0" width="16" height="4"></rect>
98
+ <rect y="55" class="st0" width="16" height="4"></rect>
99
+ <rect y="47" class="st0" width="16" height="4"></rect>
100
+ <rect y="39" class="st0" width="16" height="4"></rect>
101
+ <rect y="31" class="st0" width="16" height="4"></rect>
102
+ <rect y="23" class="st0" width="16" height="4"></rect>
103
+ <rect x="0" y="23" class="st1" width="16" height="92.9"/>
104
+ </g>
105
+ </g>
106
+
107
+ <g
108
+ id="东行人"
109
+ direction="1"
110
+ style="pointer-events: visible"
111
+ :class="this.sidewalkDir.indexOf(1) !== -1 ? '' : 'invisible'"
112
+ :fill="defaultColor"
113
+ >
114
+ <g>
115
+ <rect x="236" y="225" class="st0" width="16" height="4"></rect>
116
+ <rect x="236" y="217" class="st0" width="16" height="4"></rect>
117
+ <rect x="236" y="209" class="st0" width="16" height="4"></rect>
118
+ <rect x="236" y="201" class="st0" width="16" height="4"></rect>
119
+ <rect x="236" y="193" class="st0" width="16" height="4"></rect>
120
+ <rect x="236" y="185" class="st0" width="16" height="4"></rect>
121
+ <rect x="236" y="177" class="st0" width="16" height="4"></rect>
122
+ <rect x="236" y="168" class="st0" width="16" height="4"></rect>
123
+ <rect x="236" y="160" class="st0" width="16" height="4"></rect>
124
+ <rect x="236" y="152" class="st0" width="16" height="4"></rect>
125
+ <rect x="236" y="144" class="st0" width="16" height="4"></rect>
126
+ <rect x="236" y="136" class="st0" width="16" height="4"></rect>
127
+ </g>
128
+ <g>
129
+ <rect x="236" y="128" class="st0" width="16" height="4"></rect>
130
+ <rect x="236" y="120" class="st0" width="16" height="4"></rect>
131
+ </g>
132
+ <g>
133
+ <rect x="236" y="112" class="st0" width="16" height="4"></rect>
134
+ <rect x="236" y="104" class="st0" width="16" height="4"></rect>
135
+ <rect x="236" y="96" class="st0" width="16" height="4"></rect>
136
+ <rect x="236" y="88" class="st0" width="16" height="4"></rect>
137
+ <rect x="236" y="80" class="st0" width="16" height="4"></rect>
138
+ <rect x="236" y="71" class="st0" width="16" height="4"></rect>
139
+ <rect x="236" y="63" class="st0" width="16" height="4"></rect>
140
+ <rect x="236" y="55" class="st0" width="16" height="4"></rect>
141
+ <rect x="236" y="47" class="st0" width="16" height="4"></rect>
142
+ <rect x="236" y="39" class="st0" width="16" height="4"></rect>
143
+ <rect x="236" y="31" class="st0" width="16" height="4"></rect>
144
+ <rect x="236" y="23" class="st0" width="16" height="4"></rect>
145
+ </g>
146
+ <rect x="235.9" y="23.1" class="st1" width="16" height="205.9"/>
147
+ </g>
148
+
149
+ <g id="东-上下">
150
+ <g
151
+ id="东行人下"
152
+ direction="6"
153
+ style="pointer-events: visible"
154
+ :class="this.sidewalkDir.indexOf(6) !== -1 ? '' : 'invisible'"
155
+ :fill="defaultColor"
156
+ >
157
+ <rect x="236" y="225" class="st0" width="16" height="4"></rect>
158
+ <rect x="236" y="217" class="st0" width="16" height="4"></rect>
159
+ <rect x="236" y="209" class="st0" width="16" height="4"></rect>
160
+ <rect x="236" y="201" class="st0" width="16" height="4"></rect>
161
+ <rect x="236" y="193" class="st0" width="16" height="4"></rect>
162
+ <rect x="236" y="185" class="st0" width="16" height="4"></rect>
163
+ <rect x="236" y="177" class="st0" width="16" height="4"></rect>
164
+ <rect x="236" y="168" class="st0" width="16" height="4"></rect>
165
+ <rect x="236" y="160" class="st0" width="16" height="4"></rect>
166
+ <rect x="236" y="152" class="st0" width="16" height="4"></rect>
167
+ <rect x="236" y="144" class="st0" width="16" height="4"></rect>
168
+ <rect x="236" y="136" class="st0" width="16" height="4"></rect>
169
+ <rect x="235.9" y="135.9" class="st1" width="16.2" height="93.3"/>
170
+ </g>
171
+ <g
172
+ id="东行人上"
173
+ direction="5"
174
+ style="pointer-events: visible"
175
+ :class="this.sidewalkDir.indexOf(5) !== -1 ? '' : 'invisible'"
176
+ :fill="defaultColor"
177
+ >
178
+ <rect x="236" y="112" class="st0" width="16" height="4"></rect>
179
+ <rect x="236" y="104" class="st0" width="16" height="4"></rect>
180
+ <rect x="236" y="96" class="st0" width="16" height="4"></rect>
181
+ <rect x="236" y="88" class="st0" width="16" height="4"></rect>
182
+ <rect x="236" y="80" class="st0" width="16" height="4"></rect>
183
+ <rect x="236" y="71" class="st0" width="16" height="4"></rect>
184
+ <rect x="236" y="63" class="st0" width="16" height="4"></rect>
185
+ <rect x="236" y="55" class="st0" width="16" height="4"></rect>
186
+ <rect x="236" y="47" class="st0" width="16" height="4"></rect>
187
+ <rect x="236" y="39" class="st0" width="16" height="4"></rect>
188
+ <rect x="236" y="31" class="st0" width="16" height="4"></rect>
189
+ <rect x="236" y="23" class="st0" width="16" height="4"></rect>
190
+ <rect x="235.9" y="22.8" class="st1" width="16.2" height="93.1"/>
191
+ </g>
192
+ </g>
193
+
194
+ <g
195
+ id="北行人"
196
+ direction="4"
197
+ style="pointer-events: visible"
198
+ :class="this.sidewalkDir.indexOf(4) !== -1 ? '' : 'invisible'"
199
+ :fill="defaultColor"
200
+ >
201
+ <g>
202
+ <rect x="225" class="st0" width="4" height="16"></rect>
203
+ <rect x="217" class="st0" width="4" height="16"></rect>
204
+ <rect x="209" class="st0" width="4" height="16"></rect>
205
+ <rect x="201" class="st0" width="4" height="16"></rect>
206
+ <rect x="193" class="st0" width="4" height="16"></rect>
207
+ <rect x="185" class="st0" width="4" height="16"></rect>
208
+ <rect x="177" class="st0" width="4" height="16"></rect>
209
+ <rect x="168" class="st0" width="4" height="16"></rect>
210
+ <rect x="160" class="st0" width="4" height="16"></rect>
211
+ <rect x="152" class="st0" width="4" height="16"></rect>
212
+ <rect x="144" class="st0" width="4" height="16"></rect>
213
+ <rect x="136" class="st0" width="4" height="16"></rect>
214
+ </g>
215
+ <g>
216
+ <rect x="128" class="st0" width="4" height="16"></rect>
217
+ <rect x="120" class="st0" width="4" height="16"></rect>
218
+ </g>
219
+ <g>
220
+ <rect x="112" class="st0" width="4" height="16"></rect>
221
+ <rect x="104" class="st0" width="4" height="16"></rect>
222
+ <rect x="96" class="st0" width="4" height="16"></rect>
223
+ <rect x="88" class="st0" width="4" height="16"></rect>
224
+ <rect x="80" class="st0" width="4" height="16"></rect>
225
+ <rect x="71" class="st0" width="4" height="16"></rect>
226
+ <rect x="63" class="st0" width="4" height="16"></rect>
227
+ <rect x="55" class="st0" width="4" height="16"></rect>
228
+ <rect x="47" class="st0" width="4" height="16"></rect>
229
+ <rect x="39" class="st0" width="4" height="16"></rect>
230
+ <rect x="31" class="st0" width="4" height="16"></rect>
231
+ <rect x="23" class="st0" width="4" height="16"></rect>
232
+ </g>
233
+ <rect x="23" y="0" class="st1" width="206" height="16"/>
234
+ </g>
235
+
236
+ <g id="北-左右">
237
+ <g
238
+ id="北行人右"
239
+ direction="12"
240
+ style="pointer-events: visible"
241
+ :class="this.sidewalkDir.indexOf(12) !== -1 ? '' : 'invisible'"
242
+ :fill="defaultColor"
243
+ >
244
+ <rect x="225" class="st0" width="4" height="16"></rect>
245
+ <rect x="217" class="st0" width="4" height="16"></rect>
246
+ <rect x="209" class="st0" width="4" height="16"></rect>
247
+ <rect x="201" class="st0" width="4" height="16"></rect>
248
+ <rect x="193" class="st0" width="4" height="16"></rect>
249
+ <rect x="185" class="st0" width="4" height="16"></rect>
250
+ <rect x="177" class="st0" width="4" height="16"></rect>
251
+ <rect x="168" class="st0" width="4" height="16"></rect>
252
+ <rect x="160" class="st0" width="4" height="16"></rect>
253
+ <rect x="152" class="st0" width="4" height="16"></rect>
254
+ <rect x="144" class="st0" width="4" height="16"></rect>
255
+ <rect x="136" class="st0" width="4" height="16"></rect>
256
+ <rect x="136" class="st1" width="92.9" height="15.9"/>
257
+ </g>
258
+ <g
259
+ id="北行人左"
260
+ direction="11"
261
+ style="pointer-events: visible"
262
+ :class="this.sidewalkDir.indexOf(11) !== -1 ? '' : 'invisible'"
263
+ :fill="defaultColor"
264
+ >
265
+ <rect x="112" class="st0" width="4" height="16"></rect>
266
+ <rect x="104" class="st0" width="4" height="16"></rect>
267
+ <rect x="96" class="st0" width="4" height="16"></rect>
268
+ <rect x="88" class="st0" width="4" height="16"></rect>
269
+ <rect x="80" class="st0" width="4" height="16"></rect>
270
+ <rect x="71" class="st0" width="4" height="16"></rect>
271
+ <rect x="63" class="st0" width="4" height="16"></rect>
272
+ <rect x="55" class="st0" width="4" height="16"></rect>
273
+ <rect x="47" class="st0" width="4" height="16"></rect>
274
+ <rect x="39" class="st0" width="4" height="16"></rect>
275
+ <rect x="31" class="st0" width="4" height="16"></rect>
276
+ <rect x="23" class="st0" width="4" height="16"></rect>
277
+ <rect x="22.9" y="0" class="st1" width="93.1" height="16"/>
278
+ </g>
279
+ </g>
280
+
281
+ <g
282
+ id="南行人"
283
+ direction="3"
284
+ style="pointer-events: visible"
285
+ :class="this.sidewalkDir.indexOf(3) !== -1 ? '' : 'invisible'"
286
+ :fill="defaultColor"
287
+ >
288
+ <g>
289
+ <rect x="225" y="236" class="st0" width="4" height="16"></rect>
290
+ <rect x="217" y="236" class="st0" width="4" height="16"></rect>
291
+ <rect x="209" y="236" class="st0" width="4" height="16"></rect>
292
+ <rect x="201" y="236" class="st0" width="4" height="16"></rect>
293
+ <rect x="193" y="236" class="st0" width="4" height="16"></rect>
294
+ <rect x="185" y="236" class="st0" width="4" height="16"></rect>
295
+ <rect x="177" y="236" class="st0" width="4" height="16"></rect>
296
+ <rect x="168" y="236" class="st0" width="4" height="16"></rect>
297
+ <rect x="160" y="236" class="st0" width="4" height="16"></rect>
298
+ <rect x="152" y="236" class="st0" width="4" height="16"></rect>
299
+ <rect x="144" y="236" class="st0" width="4" height="16"></rect>
300
+ <rect x="136" y="236" class="st0" width="4" height="16"></rect>
301
+ </g>
302
+ <g>
303
+ <rect x="128" y="236" class="st0" width="4" height="16"></rect>
304
+ <rect x="120" y="236" class="st0" width="4" height="16"></rect>
305
+ </g>
306
+ <g>
307
+ <rect x="112" y="236" class="st0" width="4" height="16"></rect>
308
+ <rect x="104" y="236" class="st0" width="4" height="16"></rect>
309
+ <rect x="96" y="236" class="st0" width="4" height="16"></rect>
310
+ <rect x="88" y="236" class="st0" width="4" height="16"></rect>
311
+ <rect x="80" y="236" class="st0" width="4" height="16"></rect>
312
+ <rect x="71" y="236" class="st0" width="4" height="16"></rect>
313
+ <rect x="63" y="236" class="st0" width="4" height="16"></rect>
314
+ <rect x="55" y="236" class="st0" width="4" height="16"></rect>
315
+ <rect x="47" y="236" class="st0" width="4" height="16"></rect>
316
+ <rect x="39" y="236" class="st0" width="4" height="16"></rect>
317
+ <rect x="31" y="236" class="st0" width="4" height="16"></rect>
318
+ <rect x="23" y="236" class="st0" width="4" height="16"></rect>
319
+ </g>
320
+ <rect x="22.6" y="234.1" class="st1" width="206.4" height="16"/>
321
+ </g>
322
+
323
+ <g id="南-左右">
324
+ <g
325
+ id="南行人右"
326
+ direction="10"
327
+ style="pointer-events: visible"
328
+ :class="this.sidewalkDir.indexOf(10) !== -1 ? '' : 'invisible'"
329
+ :fill="defaultColor"
330
+ >
331
+ <rect x="225" y="236" class="st0" width="4" height="16"></rect>
332
+ <rect x="217" y="236" class="st0" width="4" height="16"></rect>
333
+ <rect x="209" y="236" class="st0" width="4" height="16"></rect>
334
+ <rect x="201" y="236" class="st0" width="4" height="16"></rect>
335
+ <rect x="193" y="236" class="st0" width="4" height="16"></rect>
336
+ <rect x="185" y="236" class="st0" width="4" height="16"></rect>
337
+ <rect x="177" y="236" class="st0" width="4" height="16"></rect>
338
+ <rect x="168" y="236" class="st0" width="4" height="16"></rect>
339
+ <rect x="160" y="236" class="st0" width="4" height="16"></rect>
340
+ <rect x="152" y="236" class="st0" width="4" height="16"></rect>
341
+ <rect x="144" y="236" class="st0" width="4" height="16"></rect>
342
+ <rect x="136" y="236" class="st0" width="4" height="16"></rect>
343
+ <rect x="135.8" y="234.1" class="st1" width="93.2" height="16.1"/>
344
+ </g>
345
+ <g
346
+ id="南行人左"
347
+ direction="9"
348
+ style="pointer-events: visible"
349
+ :class="this.sidewalkDir.indexOf(9) !== -1 ? '' : 'invisible'"
350
+ :fill="defaultColor"
351
+ >
352
+ <rect x="112" y="236" class="st0" width="4" height="16"></rect>
353
+ <rect x="104" y="236" class="st0" width="4" height="16"></rect>
354
+ <rect x="96" y="236" class="st0" width="4" height="16"></rect>
355
+ <rect x="88" y="236" class="st0" width="4" height="16"></rect>
356
+ <rect x="80" y="236" class="st0" width="4" height="16"></rect>
357
+ <rect x="71" y="236" class="st0" width="4" height="16"></rect>
358
+ <rect x="63" y="236" class="st0" width="4" height="16"></rect>
359
+ <rect x="55" y="236" class="st0" width="4" height="16"></rect>
360
+ <rect x="47" y="236" class="st0" width="4" height="16"></rect>
361
+ <rect x="39" y="236" class="st0" width="4" height="16"></rect>
362
+ <rect x="31" y="236" class="st0" width="4" height="16"></rect>
363
+ <rect x="23" y="236" class="st0" width="4" height="16"></rect>
364
+ <rect x="23" y="234.1" class="st1" width="92.8" height="16.1"/>
365
+ </g>
366
+ </g>
367
+
368
+ <g
369
+ id="斜杠行人"
370
+ direction="13"
371
+ style="pointer-events: visible"
372
+ :class="this.sidewalkDir.indexOf(13) !== -1 ? '' : 'invisible'"
373
+ :fill="defaultColor"
374
+ >
375
+ <rect
376
+ x="78"
377
+ y="164"
378
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -98.1528 106.9619)"
379
+ class="st0"
380
+ width="4"
381
+ height="16"
382
+ ></rect>
383
+ <rect
384
+ x="83.7"
385
+ y="158.3"
386
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -92.496 109.3051)"
387
+ class="st0"
388
+ width="4"
389
+ height="16"
390
+ ></rect>
391
+ <rect
392
+ x="89.4"
393
+ y="152.6"
394
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -86.8391 111.6482)"
395
+ class="st0"
396
+ width="4"
397
+ height="16"
398
+ ></rect>
399
+ <rect
400
+ x="95"
401
+ y="147"
402
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -81.1823 113.9914)"
403
+ class="st0"
404
+ width="4"
405
+ height="16"
406
+ ></rect>
407
+ <rect
408
+ x="55.4"
409
+ y="186.6"
410
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -120.7803 97.5894)"
411
+ class="st0"
412
+ width="4"
413
+ height="16"
414
+ ></rect>
415
+ <rect
416
+ x="61.1"
417
+ y="180.9"
418
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -115.1234 99.9325)"
419
+ class="st0"
420
+ width="4"
421
+ height="16"
422
+ ></rect>
423
+
424
+ <rect
425
+ x="66.7"
426
+ y="175.3"
427
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -109.4666 102.2757)"
428
+ class="st0"
429
+ width="4"
430
+ height="16"
431
+ ></rect>
432
+
433
+ <rect
434
+ x="72.4"
435
+ y="169.6"
436
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -103.8097 104.6188)"
437
+ class="st0"
438
+ width="4"
439
+ height="16"
440
+ ></rect>
441
+ <rect
442
+ x="49.8"
443
+ y="192.2"
444
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -126.4371 95.2462)"
445
+ class="st0"
446
+ width="4"
447
+ height="16"
448
+ ></rect>
449
+ <rect
450
+ x="27.1"
451
+ y="214.9"
452
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -149.0645 85.8736)"
453
+ class="st0"
454
+ width="4"
455
+ height="16"
456
+ ></rect>
457
+ <rect
458
+ x="32.8"
459
+ y="209.2"
460
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -143.4077 88.2168)"
461
+ class="st0"
462
+ width="4"
463
+ height="16"
464
+ ></rect>
465
+ <rect
466
+ x="38.4"
467
+ y="203.6"
468
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -137.7508 90.5599)"
469
+ class="st0"
470
+ width="4"
471
+ height="16"
472
+ ></rect>
473
+ <rect
474
+ x="44.1"
475
+ y="197.9"
476
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -132.094 92.9031)"
477
+ class="st0"
478
+ width="4"
479
+ height="16"
480
+ ></rect>
481
+
482
+ <rect
483
+ x="100.7"
484
+ y="141.3"
485
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -75.5254 116.3345)"
486
+ class="st0"
487
+ width="4"
488
+ height="16"
489
+ ></rect>
490
+
491
+ <rect
492
+ x="106.3"
493
+ y="135.7"
494
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -69.8686 118.6777)"
495
+ class="st0"
496
+ width="4"
497
+ height="16"
498
+ ></rect>
499
+ <rect
500
+ x="112"
501
+ y="130"
502
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -64.2117 121.0208)"
503
+ class="st0"
504
+ width="4"
505
+ height="16"
506
+ ></rect>
507
+
508
+ <rect
509
+ x="118.3"
510
+ y="123.7"
511
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -57.8478 123.6569)"
512
+ class="st0"
513
+ width="4"
514
+ height="16"
515
+ ></rect>
516
+ <rect
517
+ x="124"
518
+ y="118"
519
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -52.1909 126)"
520
+ class="st0"
521
+ width="4"
522
+ height="16"
523
+ ></rect>
524
+
525
+ <rect
526
+ x="129.7"
527
+ y="112.3"
528
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -46.5341 128.3431)"
529
+ class="st0"
530
+ width="4"
531
+ height="16"
532
+ ></rect>
533
+
534
+ <rect
535
+ x="135.3"
536
+ y="106.7"
537
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -40.8772 130.6863)"
538
+ class="st0"
539
+ width="4"
540
+ height="16"
541
+ ></rect>
542
+ <rect
543
+ x="141"
544
+ y="101"
545
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -35.2203 133.0294)"
546
+ class="st0"
547
+ width="4"
548
+ height="16"
549
+ ></rect>
550
+ <rect
551
+ x="146.6"
552
+ y="95.4"
553
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -29.5635 135.3726)"
554
+ class="st0"
555
+ width="4"
556
+ height="16"
557
+ ></rect>
558
+ <rect
559
+ x="152.3"
560
+ y="89.7"
561
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -23.9066 137.7157)"
562
+ class="st0"
563
+ width="4"
564
+ height="16"
565
+ ></rect>
566
+ <rect
567
+ x="157.9"
568
+ y="84.1"
569
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -18.2498 140.0589)"
570
+ class="st0"
571
+ width="4"
572
+ height="16"
573
+ ></rect>
574
+ <rect
575
+ x="163.6"
576
+ y="78.4"
577
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -12.5929 142.402)"
578
+ class="st0"
579
+ width="4"
580
+ height="16"
581
+ ></rect>
582
+ <rect
583
+ x="169.3"
584
+ y="72.7"
585
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -6.9361 144.7452)"
586
+ class="st0"
587
+ width="4"
588
+ height="16"
589
+ ></rect>
590
+ <rect
591
+ x="174.9"
592
+ y="67.1"
593
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -1.2792 147.0883)"
594
+ class="st0"
595
+ width="4"
596
+ height="16"
597
+ ></rect>
598
+ <rect
599
+ x="180.6"
600
+ y="61.4"
601
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 4.3776 149.4315)"
602
+ class="st0"
603
+ width="4"
604
+ height="16"
605
+ ></rect>
606
+ <rect
607
+ x="186.9"
608
+ y="55.1"
609
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 10.7416 152.0675)"
610
+ class="st0"
611
+ width="4"
612
+ height="16"
613
+ ></rect>
614
+ <rect
615
+ x="192.6"
616
+ y="49.4"
617
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 16.3984 154.4106)"
618
+ class="st0"
619
+ width="4"
620
+ height="16"
621
+ ></rect>
622
+ <rect
623
+ x="198.2"
624
+ y="43.8"
625
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 22.0553 156.7538)"
626
+ class="st0"
627
+ width="4"
628
+ height="16"
629
+ ></rect>
630
+ <rect
631
+ x="203.9"
632
+ y="38.1"
633
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 27.7122 159.0969)"
634
+ class="st0"
635
+ width="4"
636
+ height="16"
637
+ ></rect>
638
+ <rect
639
+ x="209.6"
640
+ y="32.4"
641
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 33.369 161.4401)"
642
+ class="st0"
643
+ width="4"
644
+ height="16"
645
+ ></rect>
646
+ <rect
647
+ x="215.2"
648
+ y="26.8"
649
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 39.0259 163.7832)"
650
+ class="st0"
651
+ width="4"
652
+ height="16"
653
+ ></rect>
654
+ <rect
655
+ x="220.9"
656
+ y="21.1"
657
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 44.6827 166.1264)"
658
+ class="st0"
659
+ width="4"
660
+ height="16"
661
+ ></rect>
662
+ <rect x="-18" y="119.1" transform="matrix(-0.7071 0.7071 -0.7071 -0.7071 301.8937 129.1823)" class="st1" width="284.3" height="16.1"/>
663
+ </g>
664
+ <g
665
+ id="反斜杠行人"
666
+ direction="14"
667
+ style="pointer-events: visible"
668
+ :class="this.sidewalkDir.indexOf(14) !== -1 ? '' : 'invisible'"
669
+ :fill="defaultColor"
670
+ >
671
+ <rect
672
+ x="72"
673
+ y="78"
674
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -33.1529 80.0381)"
675
+ class="st0"
676
+ width="16"
677
+ height="4"
678
+ ></rect>
679
+ <rect
680
+ x="77.7"
681
+ y="83.7"
682
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -35.496 85.6949)"
683
+ class="st0"
684
+ width="16"
685
+ height="4"
686
+ ></rect>
687
+ <rect
688
+ x="83.4"
689
+ y="89.4"
690
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -37.8391 91.3518)"
691
+ class="st0"
692
+ width="16"
693
+ height="4"
694
+ ></rect>
695
+ <rect
696
+ x="89"
697
+ y="95"
698
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -40.1823 97.0086)"
699
+ class="st0"
700
+ width="16"
701
+ height="4"
702
+ ></rect>
703
+ <rect
704
+ x="49.4"
705
+ y="55.4"
706
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -23.7803 57.4106)"
707
+ class="st0"
708
+ width="16"
709
+ height="4"
710
+ ></rect>
711
+ <rect
712
+ x="55.1"
713
+ y="61.1"
714
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -26.1234 63.0675)"
715
+ class="st0"
716
+ width="16"
717
+ height="4"
718
+ ></rect>
719
+ <rect
720
+ x="60.7"
721
+ y="66.7"
722
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -28.4666 68.7243)"
723
+ class="st0"
724
+ width="16"
725
+ height="4"
726
+ ></rect>
727
+ <rect
728
+ x="66.4"
729
+ y="72.4"
730
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -30.8097 74.3812)"
731
+ class="st0"
732
+ width="16"
733
+ height="4"
734
+ ></rect>
735
+ <rect
736
+ x="43.8"
737
+ y="49.8"
738
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -21.4371 51.7538)"
739
+ class="st0"
740
+ width="16"
741
+ height="4"
742
+ ></rect>
743
+ <rect
744
+ x="21.1"
745
+ y="27.1"
746
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -12.0645 29.1264)"
747
+ class="st0"
748
+ width="16"
749
+ height="4"
750
+ ></rect>
751
+ <rect
752
+ x="26.8"
753
+ y="32.8"
754
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -14.4077 34.7832)"
755
+ class="st0"
756
+ width="16"
757
+ height="4"
758
+ ></rect>
759
+ <rect
760
+ x="32.4"
761
+ y="38.4"
762
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -16.7508 40.4401)"
763
+ class="st0"
764
+ width="16"
765
+ height="4"
766
+ ></rect>
767
+ <rect
768
+ x="38.1"
769
+ y="44.1"
770
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -19.094 46.0969)"
771
+ class="st0"
772
+ width="16"
773
+ height="4"
774
+ ></rect>
775
+ <rect
776
+ x="94.7"
777
+ y="100.7"
778
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -42.5254 102.6655)"
779
+ class="st0"
780
+ width="16"
781
+ height="4"
782
+ ></rect>
783
+
784
+ <rect
785
+ x="100.3"
786
+ y="106.3"
787
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -44.8686 108.3223)"
788
+ class="st0"
789
+ width="16"
790
+ height="4"
791
+ ></rect>
792
+ <rect
793
+ x="106"
794
+ y="112"
795
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -47.2117 113.9792)"
796
+ class="st0"
797
+ width="16"
798
+ height="4"
799
+ ></rect>
800
+
801
+ <rect
802
+ x="112.3"
803
+ y="118.3"
804
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -49.8478 120.3431)"
805
+ class="st0"
806
+ width="16"
807
+ height="4"
808
+ ></rect>
809
+ <rect
810
+ x="118"
811
+ y="124"
812
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -52.1909 126)"
813
+ class="st0"
814
+ width="16"
815
+ height="4"
816
+ ></rect>
817
+
818
+ <rect
819
+ x="123.7"
820
+ y="129.7"
821
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -54.5341 131.6569)"
822
+ class="st0"
823
+ width="16"
824
+ height="4"
825
+ ></rect>
826
+
827
+ <rect
828
+ x="129.3"
829
+ y="135.3"
830
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -56.8772 137.3137)"
831
+ class="st0"
832
+ width="16"
833
+ height="4"
834
+ ></rect>
835
+ <rect
836
+ x="135"
837
+ y="141"
838
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -59.2203 142.9706)"
839
+ class="st0"
840
+ width="16"
841
+ height="4"
842
+ ></rect>
843
+
844
+ <rect
845
+ x="140.6"
846
+ y="146.6"
847
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -61.5635 148.6274)"
848
+ class="st0"
849
+ width="16"
850
+ height="4"
851
+ ></rect>
852
+
853
+ <rect
854
+ x="146.3"
855
+ y="152.3"
856
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -63.9066 154.2843)"
857
+ class="st0"
858
+ width="16"
859
+ height="4"
860
+ ></rect>
861
+
862
+ <rect
863
+ x="151.9"
864
+ y="157.9"
865
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -66.2498 159.9411)"
866
+ class="st0"
867
+ width="16"
868
+ height="4"
869
+ ></rect>
870
+ <rect
871
+ x="157.6"
872
+ y="163.6"
873
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -68.5929 165.598)"
874
+ class="st0"
875
+ width="16"
876
+ height="4"
877
+ ></rect>
878
+
879
+ <rect
880
+ x="163.3"
881
+ y="169.3"
882
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -70.9361 171.2548)"
883
+ class="st0"
884
+ width="16"
885
+ height="4"
886
+ ></rect>
887
+
888
+ <rect
889
+ x="168.9"
890
+ y="174.9"
891
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -73.2792 176.9117)"
892
+ class="st0"
893
+ width="16"
894
+ height="4"
895
+ ></rect>
896
+
897
+ <rect
898
+ x="174.6"
899
+ y="180.6"
900
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -75.6224 182.5685)"
901
+ class="st0"
902
+ width="16"
903
+ height="4"
904
+ ></rect>
905
+
906
+ <rect
907
+ x="180.9"
908
+ y="186.9"
909
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -78.2584 188.9325)"
910
+ class="st0"
911
+ width="16"
912
+ height="4"
913
+ ></rect>
914
+
915
+ <rect
916
+ x="186.6"
917
+ y="192.6"
918
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -80.6016 194.5894)"
919
+ class="st0"
920
+ width="16"
921
+ height="4"
922
+ ></rect>
923
+
924
+ <rect
925
+ x="192.2"
926
+ y="198.2"
927
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -82.9447 200.2462)"
928
+ class="st0"
929
+ width="16"
930
+ height="4"
931
+ ></rect>
932
+
933
+ <rect
934
+ x="197.9"
935
+ y="203.9"
936
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -85.2878 205.9031)"
937
+ class="st0"
938
+ width="16"
939
+ height="4"
940
+ ></rect>
941
+ <rect
942
+ x="203.6"
943
+ y="209.6"
944
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -87.631 211.5599)"
945
+ class="st0"
946
+ width="16"
947
+ height="4"
948
+ ></rect>
949
+
950
+ <rect
951
+ x="209.2"
952
+ y="215.2"
953
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -89.9741 217.2168)"
954
+ class="st0"
955
+ width="16"
956
+ height="4"
957
+ ></rect>
958
+
959
+ <rect
960
+ x="214.9"
961
+ y="220.9"
962
+ transform="matrix(0.7071 -0.7071 0.7071 0.7071 -92.3173 222.8736)"
963
+ class="st0"
964
+ width="16"
965
+ height="4"
966
+ ></rect>
967
+
968
+ <rect x="-12.8" y="117.2" transform="matrix(0.7071 0.7071 -0.7071 0.7071 125.5193 -52.5175)" class="st1" width="277.9" height="16.1"/>
969
+ </g>
970
+ <g
971
+ id="东西路段行人"
972
+ direction="15"
973
+ style="pointer-events: visible"
974
+ :class="this.sidewalkDir.indexOf(15) !== -1 ? '' : 'invisible'"
975
+ :fill="defaultColor"
976
+ >
977
+ <g>
978
+ <rect x="37.9" y="97.9" width="4" height="56.3"></rect>
979
+ </g>
980
+ <g>
981
+ <rect x="30.1" y="97.9" width="4" height="56.3"></rect>
982
+ </g>
983
+ <g>
984
+ <rect x="22.5" y="97.9" width="4" height="56.3"></rect>
985
+ </g>
986
+ <g>
987
+ <rect x="45.7" y="97.9" width="4" height="56.3"></rect>
988
+ </g>
989
+ <g>
990
+ <rect x="53.5" y="97.9" width="4" height="56.3"></rect>
991
+ </g>
992
+ <g>
993
+ <rect x="61.3" y="97.9" width="4" height="56.3"></rect>
994
+ </g>
995
+ <g>
996
+ <rect x="69.1" y="97.9" width="4" height="56.3"></rect>
997
+ </g>
998
+ <g>
999
+ <rect x="76.9" y="97.9" width="4" height="56.3"></rect>
1000
+ </g>
1001
+ <g>
1002
+ <rect x="84.7" y="97.9" width="4" height="56.3"></rect>
1003
+ </g>
1004
+ <g>
1005
+ <rect x="92.5" y="97.9" width="4" height="56.3"></rect>
1006
+ </g>
1007
+ <g>
1008
+ <rect x="100.3" y="97.9" width="4" height="56.3"></rect>
1009
+ </g>
1010
+ <g>
1011
+ <rect x="108.1" y="97.9" width="4" height="56.3"></rect>
1012
+ </g>
1013
+ <g>
1014
+ <rect x="116" y="97.9" width="4" height="56.3"></rect>
1015
+ </g>
1016
+ <g>
1017
+ <rect x="123.8" y="97.9" width="4" height="56.3"></rect>
1018
+ </g>
1019
+ <g>
1020
+ <rect x="131.6" y="97.9" width="4" height="56.3"></rect>
1021
+ </g>
1022
+ <g>
1023
+ <rect x="139.4" y="97.9" width="4" height="56.3"></rect>
1024
+ </g>
1025
+ <g>
1026
+ <rect x="147.2" y="97.9" width="4" height="56.3"></rect>
1027
+ </g>
1028
+ <g>
1029
+ <rect x="155" y="97.9" width="4" height="56.3"></rect>
1030
+ </g>
1031
+ <g>
1032
+ <rect x="162.8" y="97.9" width="4" height="56.3"></rect>
1033
+ </g>
1034
+ <g>
1035
+ <rect x="170.6" y="97.9" width="4" height="56.3"></rect>
1036
+ </g>
1037
+ <g>
1038
+ <rect x="178.4" y="97.9" width="4" height="56.3"></rect>
1039
+ </g>
1040
+ <g>
1041
+ <rect x="186.2" y="97.9" width="4" height="56.3"></rect>
1042
+ </g>
1043
+ <g>
1044
+ <rect x="194" y="97.9" width="4" height="56.3"></rect>
1045
+ </g>
1046
+ <g>
1047
+ <rect x="201.8" y="97.9" width="4" height="56.3"></rect>
1048
+ </g>
1049
+ <g>
1050
+ <rect x="209.6" y="97.9" width="4" height="56.3"></rect>
1051
+ <rect x="217.6" y="97.9" width="4" height="56.3"></rect>
1052
+ <rect x="225.5" y="97.9" width="4" height="56.3"></rect>
1053
+ </g>
1054
+ <rect x="22.4" y="97.7" class="st1" width="207" height="56.4"/>
1055
+ </g>
1056
+ <g
1057
+ id="南北路段行人"
1058
+ direction="16"
1059
+ style="pointer-events: visible"
1060
+ :class="this.sidewalkDir.indexOf(16) !== -1 ? '' : 'invisible'"
1061
+ :fill="defaultColor"
1062
+ >
1063
+ <g>
1064
+ <rect x="97.9" y="37.9" width="56.3" height="4"></rect>
1065
+ </g>
1066
+ <g>
1067
+ <rect x="97.9" y="30.1" width="56.3" height="4"></rect>
1068
+ </g>
1069
+ <g>
1070
+ <rect x="97.9" y="22.5" width="56.3" height="4"></rect>
1071
+ </g>
1072
+ <g>
1073
+ <rect x="97.9" y="45.7" width="56.3" height="4"></rect>
1074
+ </g>
1075
+ <g>
1076
+ <rect x="97.9" y="53.5" width="56.3" height="4"></rect>
1077
+ </g>
1078
+ <g>
1079
+ <rect x="97.9" y="61.3" width="56.3" height="4"></rect>
1080
+ </g>
1081
+ <g>
1082
+ <rect x="97.9" y="69.1" width="56.3" height="4"></rect>
1083
+ </g>
1084
+ <g>
1085
+ <rect x="97.9" y="76.9" width="56.3" height="4"></rect>
1086
+ </g>
1087
+ <g>
1088
+ <rect x="97.9" y="84.7" width="56.3" height="4"></rect>
1089
+ </g>
1090
+ <g>
1091
+ <rect x="97.9" y="92.5" width="56.3" height="4"></rect>
1092
+ </g>
1093
+ <g>
1094
+ <rect x="97.9" y="100.3" width="56.3" height="4"></rect>
1095
+ </g>
1096
+ <g>
1097
+ <rect x="97.9" y="108.1" width="56.3" height="4"></rect>
1098
+ </g>
1099
+ <g>
1100
+ <rect x="97.9" y="116" width="56.3" height="4"></rect>
1101
+ </g>
1102
+ <g>
1103
+ <rect x="97.9" y="123.8" width="56.3" height="4"></rect>
1104
+ </g>
1105
+ <g>
1106
+ <rect x="97.9" y="131.6" width="56.3" height="4"></rect>
1107
+ </g>
1108
+ <g>
1109
+ <rect x="97.9" y="139.4" width="56.3" height="4"></rect>
1110
+ </g>
1111
+ <g>
1112
+ <rect x="97.9" y="147.2" width="56.3" height="4"></rect>
1113
+ </g>
1114
+ <g>
1115
+ <rect x="97.9" y="155" width="56.3" height="4"></rect>
1116
+ </g>
1117
+ <g>
1118
+ <rect x="97.9" y="162.8" width="56.3" height="4"></rect>
1119
+ </g>
1120
+ <g>
1121
+ <rect x="97.9" y="170.6" width="56.3" height="4"></rect>
1122
+ </g>
1123
+ <g>
1124
+ <rect x="97.9" y="178.4" width="56.3" height="4"></rect>
1125
+ </g>
1126
+ <g>
1127
+ <rect x="97.9" y="186.2" width="56.3" height="4"></rect>
1128
+ </g>
1129
+ <g>
1130
+ <rect x="97.9" y="194" width="56.3" height="4"></rect>
1131
+ </g>
1132
+ <g>
1133
+ <rect x="97.9" y="201.8" width="56.3" height="4"></rect>
1134
+ </g>
1135
+ <g>
1136
+ <rect x="97.9" y="209.6" width="56.3" height="4"></rect>
1137
+ <rect x="97.9" y="217.6" width="56.3" height="4"></rect>
1138
+ <rect x="97.9" y="225.5" width="56.3" height="4"></rect>
1139
+ </g>
1140
+ <rect x="97.9" y="21.4" class="st1" width="56.2" height="207.2"/>
1141
+ </g>
1142
+ </svg>
1143
+ </template>
1144
+ <script>
1145
+ export default {
1146
+ name: 'sidewalkclicksvg',
1147
+ data () {
1148
+ return {
1149
+ defaultColor: '#fff', // 默认状态颜色
1150
+ FlashColor: undefined,
1151
+ GreenColor: '#77fb65',
1152
+ YellowColor: '#f7b500',
1153
+ lastType: '',
1154
+ clickedColor: '#299bcc',
1155
+ disabledColor: '#828282',
1156
+ sidewalkData: [],
1157
+ sidewalkDir: []
1158
+ }
1159
+ },
1160
+ watch: {
1161
+ Data: {
1162
+ handler: function (val) {
1163
+ this.init()
1164
+ },
1165
+ deep: true
1166
+ }
1167
+ },
1168
+ props: {
1169
+ Width: {
1170
+ type: String,
1171
+ default: '252.1px'
1172
+ },
1173
+ Height: {
1174
+ type: String,
1175
+ default: '250.2px'
1176
+ },
1177
+ Data: {
1178
+ type: Array
1179
+ },
1180
+ crossType: {
1181
+ type: String
1182
+ },
1183
+ clickMode: {
1184
+ type: Boolean,
1185
+ default: false
1186
+ }
1187
+ },
1188
+ methods: {
1189
+ handleClick (e) {
1190
+ let clickedPath = e.currentTarget
1191
+ let direction = Number(clickedPath.getAttribute('direction'))
1192
+ if (clickedPath) {
1193
+ let curChoosePed = {}
1194
+ // 在这里对找到的元素进行操作
1195
+ if (clickedPath.getAttribute('disabled') === 'true') {
1196
+ return
1197
+ }
1198
+ if (clickedPath.getAttribute('fill') === this.clickedColor) {
1199
+ // 取消点击
1200
+ for (let i = 0; i < this.sidewalkData.length; i++) {
1201
+ if (direction === this.sidewalkData[i].id) {
1202
+ delete this.sidewalkData[i].clicked
1203
+ }
1204
+ }
1205
+ clickedPath.setAttribute('fill', '#fff')
1206
+ } else {
1207
+ // 点击
1208
+ for (let i = 0; i < this.sidewalkData.length; i++) {
1209
+ if (direction === this.sidewalkData[i].id) {
1210
+ this.sidewalkData[i].clicked = true
1211
+ curChoosePed = JSON.parse(JSON.stringify(this.sidewalkData[i]))
1212
+ }
1213
+ }
1214
+ clickedPath.setAttribute('fill', this.clickedColor)
1215
+ }
1216
+ this.$emit('handleClickSidewalkIcon', this.sidewalkData, curChoosePed)
1217
+ }
1218
+ },
1219
+ handleStatus () {
1220
+ let sideJson = require('../posJson/sidePos.json').sideList
1221
+ sideJson.forEach(side => {
1222
+ if (side.svgid) {
1223
+ let svgdom = document.getElementById(`${this.Data[0].key}`)
1224
+ let dom = svgdom.querySelector(`#${side.svgid}`)
1225
+ if (dom) {
1226
+ let data = this.sidewalkData.filter(ele => ele.id === side.id)[0]
1227
+ if (data && data.clicked === true) {
1228
+ dom.setAttribute('fill', this.clickedColor)
1229
+ }
1230
+ if (this.clickMode && data && data.disabled === true) {
1231
+ dom.setAttribute('fill', this.disabledColor)
1232
+ dom.setAttribute('disabled', 'true')
1233
+ }
1234
+ if (data && data.disabled === undefined && data.clicked === undefined) {
1235
+ dom.setAttribute('fill', this.defaultColor)
1236
+ dom.removeAttribute('disabled')
1237
+ }
1238
+ }
1239
+ }
1240
+ })
1241
+ },
1242
+ IconAddEvent () {
1243
+ let sideJson = require('../posJson/sidePos.json').sideList
1244
+ sideJson.forEach(side => {
1245
+ if (side.svgid) {
1246
+ let svgdom = document.getElementById(`${this.Data[0].key}`)
1247
+ let dom = svgdom.querySelector(`#${side.svgid}`)
1248
+ if (dom) {
1249
+ if (this.clickMode) {
1250
+ dom.addEventListener('click', this.handleClick)
1251
+ }
1252
+ }
1253
+ }
1254
+ })
1255
+ },
1256
+ getPedDirection () {
1257
+ let sidewalkDir = []
1258
+ this.sidewalkData.forEach(ele => {
1259
+ sidewalkDir.push(ele.id)
1260
+ })
1261
+ this.sidewalkDir = Array.from(new Set([...sidewalkDir]))
1262
+ },
1263
+ init () {
1264
+ this.sidewalkData = JSON.parse(JSON.stringify(this.Data))
1265
+ this.getPedDirection()
1266
+ this.handleStatus()
1267
+ this.IconAddEvent()
1268
+ }
1269
+ },
1270
+ mounted () {
1271
+ this.init()
1272
+ }
1273
+ }
1274
+ </script>
1275
+ <style scoped>
1276
+ .invisible {
1277
+ visibility: hidden;
1278
+ }
1279
+ .hide {
1280
+ display: none;
1281
+ }
1282
+
1283
+ .green {
1284
+ fill: #7bd66b;
1285
+ }
1286
+ .red {
1287
+ fill: #e24b4b;
1288
+ }
1289
+ .yellow {
1290
+ fill: #ce932c;
1291
+ }
1292
+ .gray {
1293
+ fill: #828282;
1294
+ }
1295
+ .cls-1 {
1296
+ fill: #f2f2f2;
1297
+ fill-rule: evenodd;
1298
+ }
1299
+ .st1 {
1300
+ fill: none;
1301
+ }
1302
+ </style>