openatc-components 0.2.65 → 0.2.68

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