├── .gitignore ├── README.md ├── config ├── env.js ├── jest │ ├── cssTransform.js │ └── fileTransform.js ├── paths.js ├── polyfills.js ├── webpack.config.dev.js ├── webpack.config.prod.js └── webpackDevServer.config.js ├── docs ├── HTML │ ├── css │ │ ├── comm.css │ │ └── index.css │ ├── img │ │ ├── 1.png │ │ ├── logo.png │ │ ├── nav1.png │ │ ├── nav2.png │ │ ├── nav3.png │ │ ├── nav4.png │ │ └── uesrname.png │ ├── js │ │ ├── bootstrap-fileinput-master20151222 │ │ │ ├── css │ │ │ │ ├── bootstrap.min.css │ │ │ │ ├── fileinput.css │ │ │ │ └── fileinput.min.css │ │ │ ├── examples │ │ │ │ ├── index-2.html │ │ │ │ └── index.html │ │ │ ├── fonts │ │ │ │ └── glyphicons-halflings-regular.woff │ │ │ ├── img │ │ │ │ ├── loading-sm.gif │ │ │ │ └── loading.gif │ │ │ └── js │ │ │ │ ├── bootstrap.min.js │ │ │ │ ├── fileinput.js │ │ │ │ ├── fileinput.min.js │ │ │ │ ├── fileinput_locale_LANG.js │ │ │ │ ├── fileinput_locale_de.js │ │ │ │ ├── fileinput_locale_es.js │ │ │ │ ├── fileinput_locale_hu.js │ │ │ │ ├── fileinput_locale_ru.js │ │ │ │ ├── fileinput_locale_uk.js │ │ │ │ ├── fileinput_locale_zh.js │ │ │ │ └── jquery-2.0.3.min.js │ │ ├── bootstrap-select.js │ │ ├── china.js │ │ ├── china.json │ │ ├── data-1469162638978-rJDcVXku.json │ │ ├── echarts.min.js │ │ ├── heilongjiang.js │ │ ├── heilongjiang.json │ │ ├── index.js │ │ ├── jquery-1.11.3.min.js │ │ └── lines-bus.json │ ├── 消息中心.html │ ├── 牧场概览.html │ ├── 电子围栏.html │ └── 轨迹回放.html └── UE │ ├── data │ ├── document.js │ └── styles.css │ ├── files │ ├── 告警中心 │ │ ├── data.js │ │ └── styles.css │ ├── 智慧放牧服务平台 │ │ ├── data.js │ │ └── styles.css │ ├── 牧场概览 │ │ ├── data.js │ │ └── styles.css │ ├── 电子围栏 │ │ ├── data.js │ │ └── styles.css │ ├── 登录 │ │ ├── data.js │ │ └── styles.css │ ├── 轨迹回放 │ │ ├── data.js │ │ └── styles.css │ └── 首页 │ │ ├── data.js │ │ └── styles.css │ ├── images │ ├── 告警中心 │ │ ├── line_horizontal_u459p000.png │ │ ├── line_horizontal_u461.png │ │ ├── line_horizontal_u461p000.png │ │ └── u455.png │ ├── 智慧放牧服务平台 │ │ └── u9.png │ ├── 牧场概览 │ │ ├── line_horizontal_u156.png │ │ ├── line_horizontal_u156p000.png │ │ ├── line_horizontal_u156p001.png │ │ ├── line_horizontal_u160p000.png │ │ ├── line_horizontal_u160p001.png │ │ ├── line_horizontal_u164.png │ │ ├── line_horizontal_u164p000.png │ │ ├── line_horizontal_u164p001.png │ │ ├── line_horizontal_u168.png │ │ ├── line_horizontal_u168p000.png │ │ ├── line_horizontal_u168p001.png │ │ └── u140.png │ ├── 电子围栏 │ │ ├── line_horizontal_u255.png │ │ ├── line_horizontal_u255p000.png │ │ ├── line_horizontal_u257.png │ │ ├── line_horizontal_u257p000.png │ │ ├── line_horizontal_u259p000.png │ │ ├── line_horizontal_u263.png │ │ ├── line_horizontal_u263p000.png │ │ ├── u245.png │ │ ├── u251.png │ │ └── u253.png │ ├── 登录 │ │ └── u109.png │ ├── 轨迹回放 │ │ ├── line_horizontal_u346.png │ │ ├── line_horizontal_u346p000.png │ │ ├── line_horizontal_u348.png │ │ ├── line_horizontal_u348p000.png │ │ ├── line_horizontal_u362.png │ │ ├── line_horizontal_u362p000.png │ │ ├── u334.png │ │ └── u336.png │ └── 首页 │ │ ├── u21.png │ │ ├── u23.png │ │ ├── u25.png │ │ ├── u31.png │ │ ├── u33.png │ │ ├── u35.png │ │ ├── u37.png │ │ ├── u39.png │ │ ├── u43.png │ │ └── u45.png │ ├── index.html │ ├── plugins │ ├── debug │ │ ├── debug.js │ │ └── styles │ │ │ ├── debug.css │ │ │ └── images │ │ │ ├── reset.svg │ │ │ ├── reset_hover.svg │ │ │ ├── variables_hover.png │ │ │ ├── variables_hover.svg │ │ │ ├── variables_off.png │ │ │ ├── variables_off.svg │ │ │ ├── variables_on.png │ │ │ └── variables_on.svg │ ├── page_notes │ │ ├── page_notes.js │ │ └── styles │ │ │ ├── images │ │ │ ├── back.png │ │ │ ├── back.svg │ │ │ ├── back_hover.png │ │ │ ├── back_hover.svg │ │ │ ├── footnotes.png │ │ │ ├── footnotes.svg │ │ │ ├── footnotes_hover.png │ │ │ ├── footnotes_hover.svg │ │ │ ├── footnotes_on.png │ │ │ ├── footnotes_on.svg │ │ │ ├── forward.png │ │ │ ├── forward.svg │ │ │ ├── forward_hover.png │ │ │ ├── forward_hover.svg │ │ │ ├── notes_hover.png │ │ │ ├── notes_hover.svg │ │ │ ├── notes_off.png │ │ │ ├── notes_off.svg │ │ │ ├── notes_on.png │ │ │ └── notes_on.svg │ │ │ └── page_notes.css │ ├── recordplay │ │ ├── recordplay.js │ │ └── styles │ │ │ └── recordplay.css │ └── sitemap │ │ ├── sitemap.js │ │ └── styles │ │ ├── images │ │ ├── 079_page_16.png │ │ ├── 086_case_16.png │ │ ├── 225_responsive_16.png │ │ ├── 228_togglenotes_16.png │ │ ├── 229_variables_16.png │ │ ├── 231_event_16.png │ │ ├── 232_search_16.png │ │ ├── 233_hyperlink_16.png │ │ ├── 235_folderclosed_16.png │ │ ├── 236_folderopen_16.png │ │ ├── adaptivecheck.png │ │ ├── flow.png │ │ ├── flow.svg │ │ ├── folder_closed.png │ │ ├── folder_closed.svg │ │ ├── folder_open.png │ │ ├── folder_open.svg │ │ ├── hotspots.png │ │ ├── hotspots.svg │ │ ├── hotspots_hover.png │ │ ├── hotspots_hover.svg │ │ ├── hotspots_on.png │ │ ├── hotspots_on.svg │ │ ├── images.html │ │ ├── minus.gif │ │ ├── note.png │ │ ├── note.svg │ │ ├── page.png │ │ ├── page.svg │ │ ├── plus.gif │ │ ├── share.png │ │ ├── share.svg │ │ ├── share_hover.png │ │ ├── share_hover.svg │ │ ├── share_on.png │ │ ├── share_on.svg │ │ ├── sitemap_hover.png │ │ ├── sitemap_hover.svg │ │ ├── sitemap_off.png │ │ ├── sitemap_off.svg │ │ ├── sitemap_on.png │ │ ├── sitemap_on.svg │ │ ├── views.png │ │ ├── views.svg │ │ ├── views_hover.png │ │ ├── views_hover.svg │ │ ├── views_on.png │ │ └── views_on.svg │ │ └── sitemap.css │ ├── resources │ ├── Other.html │ ├── chrome │ │ ├── allow_access.gif │ │ ├── axure-chrome-extension.crx │ │ ├── axure_logo.gif │ │ ├── axure_logo.png │ │ ├── chrome.html │ │ ├── extensions_menu.gif │ │ ├── splitter.gif │ │ └── splitter.png │ ├── css │ │ ├── axure_rp_page.css │ │ ├── default.css │ │ ├── images │ │ │ ├── images.html │ │ │ ├── newwindow.gif │ │ │ ├── note.gif │ │ │ ├── ui-bg_flat_0_aaaaaa_40x100.png │ │ │ ├── ui-bg_glass_55_fbf9ee_1x400.png │ │ │ ├── ui-bg_glass_65_ffffff_1x400.png │ │ │ ├── ui-bg_glass_75_dadada_1x400.png │ │ │ ├── ui-bg_glass_75_e6e6e6_1x400.png │ │ │ ├── ui-bg_glass_75_ffffff_1x400.png │ │ │ ├── ui-bg_highlight-soft_75_cccccc_1x100.png │ │ │ ├── ui-bg_inset-soft_95_fef1ec_1x100.png │ │ │ ├── ui-icons_222222_256x240.png │ │ │ ├── ui-icons_2e83ff_256x240.png │ │ │ ├── ui-icons_454545_256x240.png │ │ │ ├── ui-icons_888888_256x240.png │ │ │ └── ui-icons_cd0a0a_256x240.png │ │ ├── jquery-ui-themes.css │ │ └── reset.css │ ├── expand.html │ ├── images │ │ ├── 259_close_12rollover1.png │ │ ├── 259_close_12rollover2.png │ │ ├── 260_collapse_12rollover1.png │ │ ├── 260_collapse_12rollover2.png │ │ ├── 261_expand_12rollover1.png │ │ ├── 261_expand_12rollover2.png │ │ ├── close.png │ │ ├── close.svg │ │ ├── close_hover.png │ │ ├── close_hover.svg │ │ ├── divider.png │ │ ├── divider.svg │ │ ├── expand.png │ │ ├── expand.svg │ │ ├── expand_hover.png │ │ ├── expand_hover.svg │ │ ├── images.html │ │ └── transparent.gif │ ├── reload.html │ └── scripts │ │ ├── axure │ │ ├── action.js │ │ ├── adaptive.js │ │ ├── annotation.js │ │ ├── axQuery.js │ │ ├── axQuery.std.js │ │ ├── doc.js │ │ ├── drag.js │ │ ├── events.js │ │ ├── expr.js │ │ ├── flyout.js │ │ ├── geometry.js │ │ ├── globals.js │ │ ├── ie.js │ │ ├── init.temp.js │ │ ├── legacy.js │ │ ├── math.js │ │ ├── model.js │ │ ├── move.js │ │ ├── recording.js │ │ ├── repeater.js │ │ ├── sto.js │ │ ├── style.js │ │ ├── tree.js │ │ ├── utils.temp.js │ │ ├── variables.js │ │ ├── viewer.js │ │ └── visibility.js │ │ ├── axutils.js │ │ ├── jquery-1.7.1.min.js │ │ ├── jquery-ui-1.8.10.custom.min.js │ │ ├── messagecenter.js │ │ └── player │ │ ├── axplayer.js │ │ └── splitter.js │ ├── start.html │ ├── start_c_1.html │ ├── start_g_0.html │ ├── 告警中心.html │ ├── 智慧放牧服务平台.html │ ├── 牧场概览.html │ ├── 电子围栏.html │ ├── 登录.html │ ├── 轨迹回放.html │ └── 首页.html ├── package-lock.json ├── package.json ├── public ├── assets │ ├── data │ │ ├── hangzhou-tracks.json │ │ └── lines-bus.json │ ├── lib │ │ └── jquery-3.2.1.min.js │ └── map │ │ ├── china.json │ │ ├── city │ │ ├── 110100.json │ │ ├── 120100.json │ │ ├── 130100.json │ │ ├── 130200.json │ │ ├── 130300.json │ │ ├── 130400.json │ │ ├── 130500.json │ │ ├── 130600.json │ │ ├── 130700.json │ │ ├── 130800.json │ │ ├── 130900.json │ │ ├── 131000.json │ │ ├── 131100.json │ │ ├── 140100.json │ │ ├── 140200.json │ │ ├── 140300.json │ │ ├── 140400.json │ │ ├── 140500.json │ │ ├── 140600.json │ │ ├── 140700.json │ │ ├── 140800.json │ │ ├── 140900.json │ │ ├── 141000.json │ │ ├── 141100.json │ │ ├── 150100.json │ │ ├── 150200.json │ │ ├── 150300.json │ │ ├── 150400.json │ │ ├── 150500.json │ │ ├── 150600.json │ │ ├── 150700.json │ │ ├── 150800.json │ │ ├── 150900.json │ │ ├── 152200.json │ │ ├── 152500.json │ │ ├── 152900.json │ │ ├── 210100.json │ │ ├── 210200.json │ │ ├── 210300.json │ │ ├── 210400.json │ │ ├── 210500.json │ │ ├── 210600.json │ │ ├── 210700.json │ │ ├── 210800.json │ │ ├── 210900.json │ │ ├── 211000.json │ │ ├── 211100.json │ │ ├── 211200.json │ │ ├── 211300.json │ │ ├── 211400.json │ │ ├── 220100.json │ │ ├── 220200.json │ │ ├── 220300.json │ │ ├── 220400.json │ │ ├── 220500.json │ │ ├── 220600.json │ │ ├── 220700.json │ │ ├── 220800.json │ │ ├── 222400.json │ │ ├── 230100.json │ │ ├── 230200.json │ │ ├── 230300.json │ │ ├── 230400.json │ │ ├── 230500.json │ │ ├── 230600.json │ │ ├── 230700.json │ │ ├── 230800.json │ │ ├── 230900.json │ │ ├── 231000.json │ │ ├── 231100.json │ │ ├── 231200.json │ │ ├── 232700.json │ │ ├── 310100.json │ │ ├── 310200.json │ │ ├── 320100.json │ │ ├── 320200.json │ │ ├── 320300.json │ │ ├── 320400.json │ │ ├── 320500.json │ │ ├── 320600.json │ │ ├── 320700.json │ │ ├── 320800.json │ │ ├── 320900.json │ │ ├── 321000.json │ │ ├── 321100.json │ │ ├── 321200.json │ │ ├── 321300.json │ │ ├── 330100.json │ │ ├── 330200.json │ │ ├── 330300.json │ │ ├── 330400.json │ │ ├── 330500.json │ │ ├── 330600.json │ │ ├── 330700.json │ │ ├── 330800.json │ │ ├── 330900.json │ │ ├── 331000.json │ │ ├── 331100.json │ │ ├── 340100.json │ │ ├── 340200.json │ │ ├── 340300.json │ │ ├── 340400.json │ │ ├── 340500.json │ │ ├── 340600.json │ │ ├── 340700.json │ │ ├── 340800.json │ │ ├── 341000.json │ │ ├── 341100.json │ │ ├── 341200.json │ │ ├── 341300.json │ │ ├── 341500.json │ │ ├── 341600.json │ │ ├── 341700.json │ │ ├── 341800.json │ │ ├── 350100.json │ │ ├── 350200.json │ │ ├── 350300.json │ │ ├── 350400.json │ │ ├── 350500.json │ │ ├── 350600.json │ │ ├── 350700.json │ │ ├── 350800.json │ │ ├── 350900.json │ │ ├── 360100.json │ │ ├── 360200.json │ │ ├── 360300.json │ │ ├── 360400.json │ │ ├── 360500.json │ │ ├── 360600.json │ │ ├── 360700.json │ │ ├── 360800.json │ │ ├── 360900.json │ │ ├── 361000.json │ │ ├── 361100.json │ │ ├── 370100.json │ │ ├── 370200.json │ │ ├── 370300.json │ │ ├── 370400.json │ │ ├── 370500.json │ │ ├── 370600.json │ │ ├── 370700.json │ │ ├── 370800.json │ │ ├── 370900.json │ │ ├── 371000.json │ │ ├── 371100.json │ │ ├── 371200.json │ │ ├── 371300.json │ │ ├── 371400.json │ │ ├── 371500.json │ │ ├── 371600.json │ │ ├── 371700.json │ │ ├── 410100.json │ │ ├── 410200.json │ │ ├── 410300.json │ │ ├── 410400.json │ │ ├── 410500.json │ │ ├── 410600.json │ │ ├── 410700.json │ │ ├── 410800.json │ │ ├── 410900.json │ │ ├── 411000.json │ │ ├── 411100.json │ │ ├── 411200.json │ │ ├── 411300.json │ │ ├── 411400.json │ │ ├── 411500.json │ │ ├── 411600.json │ │ ├── 411700.json │ │ ├── 420100.json │ │ ├── 420200.json │ │ ├── 420300.json │ │ ├── 420500.json │ │ ├── 420600.json │ │ ├── 420700.json │ │ ├── 420800.json │ │ ├── 420900.json │ │ ├── 421000.json │ │ ├── 421100.json │ │ ├── 421200.json │ │ ├── 421300.json │ │ ├── 422800.json │ │ ├── 429000.json │ │ ├── 430100.json │ │ ├── 430200.json │ │ ├── 430300.json │ │ ├── 430400.json │ │ ├── 430500.json │ │ ├── 430600.json │ │ ├── 430700.json │ │ ├── 430800.json │ │ ├── 430900.json │ │ ├── 431000.json │ │ ├── 431100.json │ │ ├── 431200.json │ │ ├── 431300.json │ │ ├── 433100.json │ │ ├── 440100.json │ │ ├── 440200.json │ │ ├── 440300.json │ │ ├── 440400.json │ │ ├── 440500.json │ │ ├── 440600.json │ │ ├── 440700.json │ │ ├── 440800.json │ │ ├── 440900.json │ │ ├── 441200.json │ │ ├── 441300.json │ │ ├── 441400.json │ │ ├── 441500.json │ │ ├── 441600.json │ │ ├── 441700.json │ │ ├── 441800.json │ │ ├── 441900.json │ │ ├── 442000.json │ │ ├── 445100.json │ │ ├── 445200.json │ │ ├── 445300.json │ │ ├── 450100.json │ │ ├── 450200.json │ │ ├── 450300.json │ │ ├── 450400.json │ │ ├── 450500.json │ │ ├── 450600.json │ │ ├── 450700.json │ │ ├── 450800.json │ │ ├── 450900.json │ │ ├── 451000.json │ │ ├── 451100.json │ │ ├── 451200.json │ │ ├── 451300.json │ │ ├── 451400.json │ │ ├── 460100.json │ │ ├── 460200.json │ │ ├── 460300.json │ │ ├── 469000.json │ │ ├── 500100.json │ │ ├── 510100.json │ │ ├── 510300.json │ │ ├── 510400.json │ │ ├── 510500.json │ │ ├── 510600.json │ │ ├── 510700.json │ │ ├── 510800.json │ │ ├── 510900.json │ │ ├── 511000.json │ │ ├── 511100.json │ │ ├── 511300.json │ │ ├── 511400.json │ │ ├── 511500.json │ │ ├── 511600.json │ │ ├── 511700.json │ │ ├── 511800.json │ │ ├── 511900.json │ │ ├── 512000.json │ │ ├── 513200.json │ │ ├── 513300.json │ │ ├── 513400.json │ │ ├── 520100.json │ │ ├── 520200.json │ │ ├── 520300.json │ │ ├── 520400.json │ │ ├── 522200.json │ │ ├── 522300.json │ │ ├── 522400.json │ │ ├── 522600.json │ │ ├── 522700.json │ │ ├── 530100.json │ │ ├── 530300.json │ │ ├── 530400.json │ │ ├── 530500.json │ │ ├── 530600.json │ │ ├── 530700.json │ │ ├── 530800.json │ │ ├── 530900.json │ │ ├── 532300.json │ │ ├── 532500.json │ │ ├── 532600.json │ │ ├── 532800.json │ │ ├── 532900.json │ │ ├── 533100.json │ │ ├── 533300.json │ │ ├── 533400.json │ │ ├── 540100.json │ │ ├── 542100.json │ │ ├── 542200.json │ │ ├── 542300.json │ │ ├── 542400.json │ │ ├── 542500.json │ │ ├── 542600.json │ │ ├── 610100.json │ │ ├── 610200.json │ │ ├── 610300.json │ │ ├── 610400.json │ │ ├── 610500.json │ │ ├── 610600.json │ │ ├── 610700.json │ │ ├── 610800.json │ │ ├── 610900.json │ │ ├── 611000.json │ │ ├── 620100.json │ │ ├── 620200.json │ │ ├── 620300.json │ │ ├── 620400.json │ │ ├── 620500.json │ │ ├── 620600.json │ │ ├── 620700.json │ │ ├── 620800.json │ │ ├── 620900.json │ │ ├── 621000.json │ │ ├── 621100.json │ │ ├── 621200.json │ │ ├── 622900.json │ │ ├── 623000.json │ │ ├── 630100.json │ │ ├── 632100.json │ │ ├── 632200.json │ │ ├── 632300.json │ │ ├── 632500.json │ │ ├── 632600.json │ │ ├── 632700.json │ │ ├── 632800.json │ │ ├── 640100.json │ │ ├── 640200.json │ │ ├── 640300.json │ │ ├── 640400.json │ │ ├── 640500.json │ │ ├── 650100.json │ │ ├── 650200.json │ │ ├── 652100.json │ │ ├── 652200.json │ │ ├── 652300.json │ │ ├── 652700.json │ │ ├── 652800.json │ │ ├── 652900.json │ │ ├── 653000.json │ │ ├── 653100.json │ │ ├── 653200.json │ │ ├── 654000.json │ │ ├── 654200.json │ │ ├── 654300.json │ │ ├── 659000.json │ │ ├── 710000.json │ │ ├── 810100.json │ │ ├── 820000.json │ │ └── china-main-city-map.js │ │ └── province │ │ ├── anhui.json │ │ ├── aomen.json │ │ ├── beijing.json │ │ ├── chongqing.json │ │ ├── fujian.json │ │ ├── gansu.json │ │ ├── guangdong.json │ │ ├── guangxi.json │ │ ├── guizhou.json │ │ ├── hainan.json │ │ ├── hebei.json │ │ ├── heilongjiang.json │ │ ├── henan.json │ │ ├── hubei.json │ │ ├── hunan.json │ │ ├── jiangsu.json │ │ ├── jiangxi.json │ │ ├── jilin.json │ │ ├── liaoning.json │ │ ├── neimenggu.json │ │ ├── ningxia.json │ │ ├── qinghai.json │ │ ├── shandong.json │ │ ├── shanghai.json │ │ ├── shanxi.json │ │ ├── shanxi1.json │ │ ├── sichuan.json │ │ ├── tianjin.json │ │ ├── xianggang.json │ │ ├── xinjiang.json │ │ ├── xizang.json │ │ ├── yunnan.json │ │ └── zhejiang.json ├── favicon.ico ├── index.html └── manifest.json ├── scripts ├── build.js ├── start.js └── test.js └── src ├── Root.js ├── components ├── cityPicker │ └── CityPicker.js ├── count │ ├── Count.js │ └── Count.scss ├── fence │ ├── Fence.js │ └── Fence.scss ├── fenceBmapChart │ └── FenceBmapChart.js ├── footer │ ├── Footer.js │ └── Footer.scss ├── header │ ├── Header.js │ └── Header.scss ├── heatMapChart │ └── HeatMapChart.js ├── livestockPieChart │ └── LivestockPieChart.js ├── nav │ ├── Nav.js │ └── Nav.scss ├── notice │ ├── Notice.js │ └── Notice.scss ├── noticeMapChart │ └── NoticeMapChart.js ├── overview │ ├── Overview.js │ └── Overview.scss ├── pasturePieChart │ └── PasturePieChart.js ├── pictorialBarChart │ └── PictorialBarChart.js ├── rankLineChart │ └── RankLineChart.js ├── refreshTime │ ├── RefreshTime.js │ └── RefreshTime.scss ├── sum │ ├── Sum.js │ └── Sum.scss ├── trace │ ├── Trace.js │ └── Trace.scss ├── traceHistoryBmapChart │ └── TraceHistoryBmapChart.js └── traceTodayBmapChart │ └── TraceTodayBmapChart.js ├── css └── index.scss ├── img ├── logo.png ├── nav1.png ├── nav2.png ├── nav3.png ├── nav4.png ├── poverty.png └── uesrname.png ├── index.js ├── js └── utils │ ├── areaData.json │ ├── bmapStyle.json │ ├── comm.js │ ├── geoMap.js │ └── global.js ├── pages ├── app │ ├── App.js │ └── App.scss ├── home │ └── Home.js └── login │ └── Login.js └── registerServiceWorker.js /.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/ignore-files/ for more about ignoring files. 2 | 3 | # dependencies 4 | /node_modules 5 | 6 | # testing 7 | /coverage 8 | 9 | # production 10 | /build 11 | 12 | # misc 13 | .DS_Store 14 | .env.local 15 | .env.development.local 16 | .env.test.local 17 | .env.production.local 18 | 19 | npm-debug.log* 20 | yarn-debug.log* 21 | yarn-error.log* 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | React+Router+Echarts+Bmap+Webpack+ES6+Babel+SCSS 2 | ======================================== 3 | 4 | Introduction: 5 | --------------- 6 | A single page web application (SPA) about geographic big data visualization, with React, React Router, Echarts, Bmap, etc. 7 | 8 | This project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app). 9 | 10 | ## Available Scripts 11 | 12 | In the project directory, you can run: 13 | 14 | ### `npm start` 15 | 16 | Runs the app in the development mode.
17 | Open [http://localhost:3000](http://localhost:3000) to view it in the browser. 18 | 19 | The page will reload if you make edits.
20 | You will also see any lint errors in the console. 21 | 22 | ### `npm test` 23 | 24 | Launches the test runner in the interactive watch mode.
25 | See the section about [running tests](#running-tests) for more information. 26 | 27 | ### `npm run build` 28 | 29 | Builds the app for production to the `build` folder.
30 | It correctly bundles React in production mode and optimizes the build for the best performance. 31 | 32 | The build is minified and the filenames include the hashes.
33 | Your app is ready to be deployed! 34 | 35 | See the section about [deployment](#deployment) for more information. 36 | 37 | -------------------------------------------------------------------------------- /config/env.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const fs = require('fs'); 4 | const path = require('path'); 5 | const paths = require('./paths'); 6 | 7 | // Make sure that including paths.js after env.js will read .env variables. 8 | delete require.cache[require.resolve('./paths')]; 9 | 10 | const NODE_ENV = process.env.NODE_ENV; 11 | if (!NODE_ENV) { 12 | throw new Error( 13 | 'The NODE_ENV environment variable is required but was not specified.' 14 | ); 15 | } 16 | 17 | // https://github.com/bkeepers/dotenv#what-other-env-files-can-i-use 18 | var dotenvFiles = [ 19 | `${paths.dotenv}.${NODE_ENV}.local`, 20 | `${paths.dotenv}.${NODE_ENV}`, 21 | // Don't include `.env.local` for `test` environment 22 | // since normally you expect tests to produce the same 23 | // results for everyone 24 | NODE_ENV !== 'test' && `${paths.dotenv}.local`, 25 | paths.dotenv, 26 | ].filter(Boolean); 27 | 28 | // Load environment variables from .env* files. Suppress warnings using silent 29 | // if this file is missing. dotenv will never modify any environment variables 30 | // that have already been set. 31 | // https://github.com/motdotla/dotenv 32 | dotenvFiles.forEach(dotenvFile => { 33 | if (fs.existsSync(dotenvFile)) { 34 | require('dotenv').config({ 35 | path: dotenvFile, 36 | }); 37 | } 38 | }); 39 | 40 | // We support resolving modules according to `NODE_PATH`. 41 | // This lets you use absolute paths in imports inside large monorepos: 42 | // https://github.com/facebookincubator/create-react-app/issues/253. 43 | // It works similar to `NODE_PATH` in Node itself: 44 | // https://nodejs.org/api/modules.html#modules_loading_from_the_global_folders 45 | // Note that unlike in Node, only *relative* paths from `NODE_PATH` are honored. 46 | // Otherwise, we risk importing Node.js core modules into an app instead of Webpack shims. 47 | // https://github.com/facebookincubator/create-react-app/issues/1023#issuecomment-265344421 48 | // We also resolve them to make sure all tools using them work consistently. 49 | const appDirectory = fs.realpathSync(process.cwd()); 50 | process.env.NODE_PATH = (process.env.NODE_PATH || '') 51 | .split(path.delimiter) 52 | .filter(folder => folder && !path.isAbsolute(folder)) 53 | .map(folder => path.resolve(appDirectory, folder)) 54 | .join(path.delimiter); 55 | 56 | // Grab NODE_ENV and REACT_APP_* environment variables and prepare them to be 57 | // injected into the application via DefinePlugin in Webpack configuration. 58 | const REACT_APP = /^REACT_APP_/i; 59 | 60 | function getClientEnvironment(publicUrl) { 61 | const raw = Object.keys(process.env) 62 | .filter(key => REACT_APP.test(key)) 63 | .reduce( 64 | (env, key) => { 65 | env[key] = process.env[key]; 66 | return env; 67 | }, 68 | { 69 | // Useful for determining whether we’re running in production mode. 70 | // Most importantly, it switches React into the correct mode. 71 | NODE_ENV: process.env.NODE_ENV || 'development', 72 | // Useful for resolving the correct path to static assets in `public`. 73 | // For example, . 74 | // This should only be used as an escape hatch. Normally you would put 75 | // images into the `src` and `import` them in code to get their paths. 76 | PUBLIC_URL: publicUrl, 77 | } 78 | ); 79 | // Stringify all values so we can feed into Webpack DefinePlugin 80 | const stringified = { 81 | 'process.env': Object.keys(raw).reduce((env, key) => { 82 | env[key] = JSON.stringify(raw[key]); 83 | return env; 84 | }, {}), 85 | }; 86 | 87 | return { raw, stringified }; 88 | } 89 | 90 | module.exports = getClientEnvironment; 91 | -------------------------------------------------------------------------------- /config/jest/cssTransform.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | // This is a custom Jest transformer turning style imports into empty objects. 4 | // http://facebook.github.io/jest/docs/tutorial-webpack.html 5 | 6 | module.exports = { 7 | process() { 8 | return 'module.exports = {};'; 9 | }, 10 | getCacheKey() { 11 | // The output is always the same. 12 | return 'cssTransform'; 13 | }, 14 | }; 15 | -------------------------------------------------------------------------------- /config/jest/fileTransform.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const path = require('path'); 4 | 5 | // This is a custom Jest transformer turning file imports into filenames. 6 | // http://facebook.github.io/jest/docs/tutorial-webpack.html 7 | 8 | module.exports = { 9 | process(src, filename) { 10 | return `module.exports = ${JSON.stringify(path.basename(filename))};`; 11 | }, 12 | }; 13 | -------------------------------------------------------------------------------- /config/paths.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const path = require('path'); 4 | const fs = require('fs'); 5 | const url = require('url'); 6 | 7 | // Make sure any symlinks in the project folder are resolved: 8 | // https://github.com/facebookincubator/create-react-app/issues/637 9 | const appDirectory = fs.realpathSync(process.cwd()); 10 | const resolveApp = relativePath => path.resolve(appDirectory, relativePath); 11 | 12 | const envPublicUrl = process.env.PUBLIC_URL; 13 | 14 | function ensureSlash(path, needsSlash) { 15 | const hasSlash = path.endsWith('/'); 16 | if (hasSlash && !needsSlash) { 17 | return path.substr(path, path.length - 1); 18 | } else if (!hasSlash && needsSlash) { 19 | return `${path}/`; 20 | } else { 21 | return path; 22 | } 23 | } 24 | 25 | const getPublicUrl = appPackageJson => 26 | envPublicUrl || require(appPackageJson).homepage; 27 | 28 | // We use `PUBLIC_URL` environment variable or "homepage" field to infer 29 | // "public path" at which the app is served. 30 | // Webpack needs to know it to put the right 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 |
18 |
19 |
20 | 21 |
22 |
23 |
24 | 25 | 41 | -------------------------------------------------------------------------------- /docs/HTML/js/bootstrap-fileinput-master20151222/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/HTML/js/bootstrap-fileinput-master20151222/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /docs/HTML/js/bootstrap-fileinput-master20151222/img/loading-sm.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/HTML/js/bootstrap-fileinput-master20151222/img/loading-sm.gif -------------------------------------------------------------------------------- /docs/HTML/js/bootstrap-fileinput-master20151222/img/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/HTML/js/bootstrap-fileinput-master20151222/img/loading.gif -------------------------------------------------------------------------------- /docs/HTML/js/bootstrap-fileinput-master20151222/js/fileinput_locale_LANG.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * FileInput Translations - Template file for copying and creating other translations 3 | * 4 | * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or 5 | * any HTML markup tags in the messages must not be converted or translated. 6 | * 7 | * @see http://github.com/kartik-v/bootstrap-fileinput 8 | * 9 | * NOTE: this file must be saved in UTF-8 encoding. 10 | */ 11 | (function ($) { 12 | "use strict"; 13 | 14 | $.fn.fileinput.locales.en = { 15 | fileSingle: 'file', 16 | filePlural: 'files', 17 | browseLabel: 'Browse …', 18 | removeLabel: 'Remove', 19 | removeTitle: 'Clear selected files', 20 | cancelLabel: 'Cancel', 21 | cancelTitle: 'Abort ongoing upload', 22 | uploadLabel: 'Upload', 23 | uploadTitle: 'Upload selected files', 24 | msgSizeTooLarge: 'File "{name}" ({size} KB) exceeds maximum allowed upload size of {maxSize} KB. Please retry your upload!', 25 | msgFilesTooLess: 'You must select at least {n} {files} to upload. Please retry your upload!', 26 | msgFilesTooMany: 'Number of files selected for upload ({n}) exceeds maximum allowed limit of {m}. Please retry your upload!', 27 | msgFileNotFound: 'File "{name}" not found!', 28 | msgFileSecured: 'Security restrictions prevent reading the file "{name}".', 29 | msgFileNotReadable: 'File "{name}" is not readable.', 30 | msgFilePreviewAborted: 'File preview aborted for "{name}".', 31 | msgFilePreviewError: 'An error occurred while reading the file "{name}".', 32 | msgInvalidFileType: 'Invalid type for file "{name}". Only "{types}" files are supported.', 33 | msgInvalidFileExtension: 'Invalid extension for file "{name}". Only "{extensions}" files are supported.', 34 | msgValidationError: 'File Upload Error', 35 | msgLoading: 'Loading file {index} of {files} …', 36 | msgProgress: 'Loading file {index} of {files} - {name} - {percent}% completed.', 37 | msgSelected: '{n} files selected', 38 | msgFoldersNotAllowed: 'Drag & drop files only! Skipped {n} dropped folder(s).', 39 | dropZoneTitle: 'Drag & drop files here …' 40 | }; 41 | 42 | $.extend($.fn.fileinput.defaults, $.fn.fileinput.locales.en); 43 | })(window.jQuery); -------------------------------------------------------------------------------- /docs/HTML/js/bootstrap-fileinput-master20151222/js/fileinput_locale_de.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * FileInput German Translations 3 | * 4 | * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or 5 | * any HTML markup tags in the messages must not be converted or translated. 6 | * 7 | * @see http://github.com/kartik-v/bootstrap-fileinput 8 | */ 9 | (function ($) { 10 | "use strict"; 11 | 12 | $.fn.fileinput.locales.de = { 13 | fileSingle: 'Datei', 14 | filePlural: 'Dateien', 15 | browseLabel: 'Blättern …', 16 | removeLabel: 'Entfernen', 17 | removeTitle: 'Klar ausgewählten Dateien', 18 | cancelLabel: 'Laden', 19 | cancelTitle: 'Abbruch laufenden Hochladen', 20 | uploadLabel: 'Hochladen', 21 | uploadTitle: 'Hochladen ausgewählten Dateien', 22 | msgSizeTooLarge: 'Datei "{name}" ({size} KB) überschreitet maximal zulässige Upload-Größe von {maxSize} KB. Bitte versuchen Sie Ihr Hochladen!', 23 | msgFilesTooLess: 'Sie müssen mindestens {n} {files} zum Hochladen auswählen. Bitte versuchen Sie Ihr Hochladen!', 24 | msgFilesTooMany: 'Anzahl der Dateien für den Upload ausgewählt ({n}) überschreitet maximal zulässige Grenze von {m}. Bitte versuchen Sie Ihr Hochladen!', 25 | msgFileNotFound: 'Datei "{name}" wurde nicht gefunden!', 26 | msgFileSecured: 'Sicherheitseinschränkungen verhindern Lesen der Datei "{name}".', 27 | msgFileNotReadable: 'Datei "{name}" ist nicht lesbar.', 28 | msgFilePreviewAborted: 'Dateivorschau abgebrochen für "{name}".', 29 | msgFilePreviewError: 'Beim Lesen der Datei "{name}" ein Fehler aufgetreten.', 30 | msgInvalidFileType: 'Ungültiger Typ für Datei "{name}". Nur "{types}" Dateien werden unterstützt.', 31 | msgInvalidFileExtension: 'Ungültige Erweiterung für Datei "{name}". Nur "{extensions}" Dateien werden unterstützt.', 32 | msgValidationError: 'Dateifehler hochladen', 33 | msgLoading: 'Wird Geladen Datei {index} von {files} …', 34 | msgProgress: 'Wird Geladen Datei {index} von {files} - {name} - {percent}% fertiggestellt.', 35 | msgSelected: '{n} Dateien ausgewählt', 36 | msgFoldersNotAllowed: 'Drag & Drop Dateien nur! Sprungen {n} gesunken Ordner.', 37 | dropZoneTitle: 'Drag & Drop Dateien hier …' 38 | }; 39 | 40 | $.extend($.fn.fileinput.defaults, $.fn.fileinput.locales.de); 41 | })(window.jQuery); -------------------------------------------------------------------------------- /docs/HTML/js/bootstrap-fileinput-master20151222/js/fileinput_locale_es.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * FileInput Spanish (Latin American) Translations 3 | * 4 | * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or 5 | * any HTML markup tags in the messages must not be converted or translated. 6 | * 7 | * @see http://github.com/kartik-v/bootstrap-fileinput 8 | * 9 | * NOTE: this file must be saved in UTF-8 encoding. 10 | */ 11 | (function ($) { 12 | "use strict"; 13 | 14 | $.fn.fileinput.locales.es = { 15 | fileSingle: 'archivo', 16 | filePlural: 'archivos', 17 | browseLabel: 'Buscar …', 18 | removeLabel: 'Remover', 19 | removeTitle: 'Limpiar archivos seleccionados', 20 | cancelLabel: 'Cancelar', 21 | cancelTitle: 'Abortar el cargue en curso', 22 | uploadLabel: 'Cargar Archivo', 23 | uploadTitle: 'Cargar archivos seleccionados', 24 | msgSizeTooLarge: 'Archivo "{name}" ({size} KB) excede el tamaño máximo permitido de {maxSize} KB. Por favor reintente su cargue!', 25 | msgFilesTooLess: 'Usted debe seleccionar al menos {n} {files} a cargar. Por favor reintente su cargue!', 26 | msgFilesTooMany: 'El número de archivos seleccionados a cargar ({n}) excede el límite máximo permitido de {m}. Por favor reintente su cargue!', 27 | msgFileNotFound: 'Archivo "{name}" no encontrado!', 28 | msgFileSecured: 'Restricciones de seguridad previenen la lectura del archivo "{name}".', 29 | msgFileNotReadable: 'Archivo "{name}" no se puede leer.', 30 | msgFilePreviewAborted: 'Previsualización del archivo abortada para "{name}".', 31 | msgFilePreviewError: 'Ocurrió un error mientras se leía el archivo "{name}".', 32 | msgInvalidFileType: 'Tipo de archivo inválido para el archivo "{name}". Sólo archivos "{types}" son permitidos.', 33 | msgInvalidFileExtension: 'Extensión de archivo inválido para "{name}". Sólo archivos "{extensions}" son permitidos.', 34 | msgValidationError: 'Error Cargando Archivo', 35 | msgLoading: 'Cargando archivo {index} of {files} …', 36 | msgProgress: 'Cargando archivo {index} of {files} - {name} - {percent}% completado.', 37 | msgSelected: '{n} archivos seleccionados', 38 | msgFoldersNotAllowed: 'Arrastre y suelte únicamente archivos! Se omite {n} carpeta(s).', 39 | dropZoneTitle: 'Arrastre y suelte los archivos aquí …' 40 | }; 41 | 42 | $.extend($.fn.fileinput.defaults, $.fn.fileinput.locales.es); 43 | })(window.jQuery); 44 | -------------------------------------------------------------------------------- /docs/HTML/js/bootstrap-fileinput-master20151222/js/fileinput_locale_hu.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * FileInput Hungarian Translations 3 | * 4 | * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or 5 | * any HTML markup tags in the messages must not be converted or translated. 6 | * 7 | * @see http://github.com/kartik-v/bootstrap-fileinput 8 | * 9 | * NOTE: this file must be saved in UTF-8 encoding. 10 | */ 11 | (function ($) { 12 | "use strict"; 13 | 14 | $.fn.fileinput.locales.hu = { 15 | fileSingle: 'fájl', 16 | filePlural: 'fájlok', 17 | browseLabel: 'Böngész …', 18 | removeLabel: 'Eltávolít', 19 | removeTitle: 'Kijelölt fájlok törlése', 20 | cancelLabel: 'Mégse', 21 | cancelTitle: 'Feltöltés megszakítása', 22 | uploadLabel: 'Feltöltés', 23 | uploadTitle: 'Kijelölt fájlok feltöltése', 24 | msgSizeTooLarge: '"{name}" fájl ({size} KB) mérete nagyobb a megengedettnél {maxSize} KB. Kérjük próbálja újra!', 25 | msgFilesTooLess: 'Legalább {n} {files} ki kell választania a feltöltéshez. Kérjük próbálja újra!', 26 | msgFilesTooMany: 'A feltölteni kívánt fájlok száma ({n}) elérte a megengedett maximumot {m}. Kérjük próbálja újra!', 27 | msgFileNotFound: '"{name}" fájl nem található!', 28 | msgFileSecured: 'Biztonsági beállítások nem engedik olvasni a fájlt "{name}".', 29 | msgFileNotReadable: '"{name}" fájl nem olvasható', 30 | msgFilePreviewAborted: '"{name}" fájl feltöltése megszakítva.', 31 | msgFilePreviewError: 'Hiba lépett fel a "{name}" fájl olvasása közben.', 32 | msgInvalidFileType: 'Nem megengedett fájl "{name}". Csak a "{types}" fájl típusok támogatottak.', 33 | msgInvalidFileExtension: 'Nem megengedett kiterjesztés / fájltípus "{name}". Csak a "{extensions}" kiterjesztés(ek) / fájltípus(ok) támogatottak.', 34 | msgValidationError: 'Fájl ellenörzési hiba.', 35 | msgLoading: '{index} / {files} töltése …', 36 | msgProgress: 'Feltöltés: {index} / {files} - {name} - {percent}% kész.', 37 | msgSelected: '{n} fájl kiválasztva.', 38 | msgFoldersNotAllowed: 'Csak fájlokat húzzon ide! Kihagyva {n} könyvtár.', 39 | dropZoneTitle: 'Fájlok húzása ide …' 40 | }; 41 | 42 | $.extend($.fn.fileinput.defaults, $.fn.fileinput.locales.hu); 43 | })(window.jQuery); -------------------------------------------------------------------------------- /docs/HTML/js/bootstrap-fileinput-master20151222/js/fileinput_locale_ru.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * FileInput Russian Translations 3 | * 4 | * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or 5 | * any HTML markup tags in the messages must not be converted or translated. 6 | * 7 | * @see http://github.com/kartik-v/bootstrap-fileinput 8 | * @author CyanoFresh 9 | * 10 | * NOTE: this file must be saved in UTF-8 encoding. 11 | */ 12 | (function ($) { 13 | "use strict"; 14 | 15 | $.fn.fileinput.locales.ru = { 16 | fileSingle: 'файл', 17 | filePlural: 'файлы', 18 | browseLabel: 'Выбрать …', 19 | removeLabel: 'Удалить', 20 | removeTitle: 'Очистить выбранные файлы', 21 | cancelLabel: 'Отмена', 22 | cancelTitle: 'Отменить текущую загрузку', 23 | uploadLabel: 'Загрузить', 24 | uploadTitle: 'Загрузить выбранные файлы', 25 | msgSizeTooLarge: 'Файл "{name}" ({size} KB) превышает максимальный размер {maxSize} KB', 26 | msgFilesTooLess: 'Вы должны выбрать как минимум {n} {files} для загрузки', 27 | msgFilesTooMany: 'Количество выбранных файлов ({n}) превышает максимально допустимое количество {m}', 28 | msgFileNotFound: 'Файл "{name}" не найден!', 29 | msgFileSecured: 'Ограничения безопасности запрещают читать файл "{name}".', 30 | msgFileNotReadable: 'Файл "{name}" невозможно прочитать.', 31 | msgFilePreviewAborted: 'Предпросмотр отменен для файла "{name}".', 32 | msgFilePreviewError: 'Произошла ошибка при чтении файла "{name}".', 33 | msgInvalidFileType: 'Запрещенный тип файла для "{name}". Только "{types}" разрешены.', 34 | msgInvalidFileExtension: 'Запрещенное расширение для файла "{name}". Только "{extensions}" разрешены.', 35 | msgValidationError: 'Ошибка при загрузке файла', 36 | msgLoading: 'Загрузка файла {index} из {files} …', 37 | msgProgress: 'Загрузка файла {index} из {files} - {name} - {percent}% завершено.', 38 | msgSelected: '{n} файл(ов) выбрано', 39 | msgFoldersNotAllowed: 'Разрешено только перетаскивание файлов! Пропущено {n} папок.', 40 | dropZoneTitle: 'Перетащите файлы сюда …' 41 | }; 42 | 43 | $.extend($.fn.fileinput.defaults, $.fn.fileinput.locales.ru); 44 | })(window.jQuery); 45 | -------------------------------------------------------------------------------- /docs/HTML/js/bootstrap-fileinput-master20151222/js/fileinput_locale_uk.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * FileInput Ukrainian Translations 3 | * 4 | * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or 5 | * any HTML markup tags in the messages must not be converted or translated. 6 | * 7 | * @see http://github.com/kartik-v/bootstrap-fileinput 8 | * @author CyanoFresh 9 | * 10 | * NOTE: this file must be saved in UTF-8 encoding. 11 | */ 12 | (function ($) { 13 | "use strict"; 14 | 15 | $.fn.fileinput.locales.uk = { 16 | fileSingle: 'файл', 17 | filePlural: 'файли', 18 | browseLabel: 'Вибрати …', 19 | removeLabel: 'Видалити', 20 | removeTitle: 'Видалити вибрані файли', 21 | cancelLabel: 'Скасувати', 22 | cancelTitle: 'Скасувати поточну загрузку', 23 | uploadLabel: 'Загрузити', 24 | uploadTitle: 'Загрузити вибрані файли', 25 | msgSizeTooLarge: 'Файл "{name}" ({size} KB) перевищує максимальний розмыр {maxSize} KB', 26 | msgFilesTooLess: 'Ви повинні вибрати як мінімум {n} {files} для загрузки', 27 | msgFilesTooMany: 'Кількість вибраних файлів ({n}) перевищує максимально допустиму кількість {m}', 28 | msgFileNotFound: 'Файл "{name}" не знайдено!', 29 | msgFileSecured: 'Обмеження безпеки перешкоджають читанню файла "{name}".', 30 | msgFileNotReadable: 'Файл "{name}" неможливо прочитати.', 31 | msgFilePreviewAborted: 'Перегляд скасований для файла "{name}".', 32 | msgFilePreviewError: 'Сталася помилка під час читання файла "{name}".', 33 | msgInvalidFileType: 'Заборонений тип файла для "{name}". Тільки "{types}" дозволені.', 34 | msgInvalidFileExtension: 'Заборонене розширення для файла "{name}". Тільки "{extensions}" дозволені.', 35 | msgValidationError: 'Помилка під час загрузки файла', 36 | msgLoading: 'Загрузка файла {index} із {files} …', 37 | msgProgress: 'Загрузка файла {index} із {files} - {name} - {percent}% завершено.', 38 | msgSelected: '{n} файл(ів) вибрано', 39 | msgFoldersNotAllowed: 'Дозволено перетягувати тільки файли! Пропущено {n} папок.', 40 | dropZoneTitle: 'Перетяніть файли сюди …' 41 | }; 42 | 43 | $.extend($.fn.fileinput.defaults, $.fn.fileinput.locales.uk); 44 | })(window.jQuery); 45 | -------------------------------------------------------------------------------- /docs/HTML/js/bootstrap-fileinput-master20151222/js/fileinput_locale_zh.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * FileInput Spanish (Latin American) Translations 3 | * 4 | * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or 5 | * any HTML markup tags in the messages must not be converted or translated. 6 | * 7 | * @see http://github.com/kartik-v/bootstrap-fileinput 8 | * 9 | * NOTE: this file must be saved in UTF-8 encoding. 10 | */ 11 | (function ($) { 12 | "use strict"; 13 | $.fn.fileinput.locales.es = { 14 | fileSingle: '单个文件', 15 | filePlural: '多个文件', 16 | browseLabel: '选择文件 …', 17 | removeLabel: '删除文件', 18 | removeTitle: '删除选中文件', 19 | cancelLabel: '取消', 20 | cancelTitle: '取消上传', 21 | uploadLabel: '上传', 22 | uploadTitle: '上传选中文件', 23 | msgSizeTooLarge: 'File "{name}" ({size} KB) exceeds maximum allowed upload size of {maxSize} KB. Please retry your upload!', 24 | msgFilesTooLess: '文件数量必须大于 {n} {files} ,请重新上传!', 25 | msgFilesTooMany: 'Number of files selected for upload ({n}) exceeds maximum allowed limit of {m}. Please retry your upload!', 26 | msgFileNotFound: '文件 "{name}" 未找到!', 27 | msgFileSecured: 'Security restrictions prevent reading the file "{name}".', 28 | msgFileNotReadable: 'File "{name}" is not readable.', 29 | msgFilePreviewAborted: 'File preview aborted for "{name}".', 30 | msgFilePreviewError: 'An error occurred while reading the file "{name}".', 31 | msgInvalidFileType: 'Invalid type for file "{name}". Only "{types}" files are supported.', 32 | msgInvalidFileExtension: 'Invalid extension for file "{name}". Only "{extensions}" files are supported.', 33 | msgValidationError: 'File Upload Error', 34 | msgLoading: 'Loading file {index} of {files} …', 35 | msgProgress: 'Loading file {index} of {files} - {name} - {percent}% completed.', 36 | msgSelected: '选中{n}个文件', 37 | msgFoldersNotAllowed: 'Drag & drop files only! {n} folder(s) dropped were skipped.', 38 | dropZoneTitle: 'Drag & drop files here …' 39 | }; 40 | 41 | $.extend($.fn.fileinput.defaults, $.fn.fileinput.locales.es); 42 | })(window.jQuery); 43 | -------------------------------------------------------------------------------- /docs/UE/data/styles.css: -------------------------------------------------------------------------------- 1 | .ax_default { 2 | font-family:'Arial Normal', 'Arial'; 3 | font-weight:400; 4 | font-style:normal; 5 | font-size:13px; 6 | color:#333333; 7 | text-align:center; 8 | line-height:normal; 9 | } 10 | .box_1 { 11 | } 12 | .box_2 { 13 | } 14 | .ellipse { 15 | } 16 | .placeholder { 17 | } 18 | .button { 19 | } 20 | .primary_button { 21 | color:#FFFFFF; 22 | } 23 | ._图片 { 24 | } 25 | ._一级标题 { 26 | font-family:'Arial Normal', 'Arial'; 27 | font-weight:bold; 28 | font-style:normal; 29 | font-size:32px; 30 | text-align:left; 31 | } 32 | ._二级标题 { 33 | font-family:'Arial Normal', 'Arial'; 34 | font-weight:bold; 35 | font-style:normal; 36 | font-size:24px; 37 | text-align:left; 38 | } 39 | ._三级标题 { 40 | font-family:'Arial Normal', 'Arial'; 41 | font-weight:bold; 42 | font-style:normal; 43 | font-size:18px; 44 | text-align:left; 45 | } 46 | ._四级标题 { 47 | font-family:'Arial Normal', 'Arial'; 48 | font-weight:bold; 49 | font-style:normal; 50 | font-size:14px; 51 | text-align:left; 52 | } 53 | ._五级标题 { 54 | font-family:'Arial Normal', 'Arial'; 55 | font-weight:bold; 56 | font-style:normal; 57 | text-align:left; 58 | } 59 | ._六级标题 { 60 | font-family:'Arial Normal', 'Arial'; 61 | font-weight:bold; 62 | font-style:normal; 63 | font-size:10px; 64 | text-align:left; 65 | } 66 | .label { 67 | font-size:14px; 68 | text-align:left; 69 | } 70 | ._文本段落 { 71 | text-align:left; 72 | } 73 | .line { 74 | } 75 | .text_field { 76 | color:#000000; 77 | text-align:left; 78 | } 79 | .text_area { 80 | color:#000000; 81 | text-align:left; 82 | } 83 | .droplist { 84 | color:#000000; 85 | text-align:left; 86 | } 87 | .list_box { 88 | color:#000000; 89 | text-align:left; 90 | } 91 | .checkbox { 92 | text-align:left; 93 | } 94 | .radio_button { 95 | text-align:left; 96 | } 97 | .tree_node { 98 | text-align:left; 99 | } 100 | ._流程形状 { 101 | } 102 | .table_cell { 103 | } 104 | ._连接符 { 105 | font-family:'Arial Normal', 'Arial'; 106 | font-weight:400; 107 | font-style:normal; 108 | font-size:13px; 109 | color:#333333; 110 | text-align:center; 111 | line-height:normal; 112 | } 113 | .menu_item { 114 | } 115 | .sticky_1 { 116 | text-align:left; 117 | } 118 | .marker { 119 | color:#FFFFFF; 120 | } 121 | .icon { 122 | } 123 | .flow_shape { 124 | } 125 | ._形状 { 126 | font-family:'Arial Normal', 'Arial'; 127 | font-weight:400; 128 | font-style:normal; 129 | font-size:13px; 130 | color:#333333; 131 | text-align:center; 132 | line-height:normal; 133 | } 134 | ._横线 { 135 | } 136 | .image { 137 | color:#000000; 138 | } 139 | -------------------------------------------------------------------------------- /docs/UE/images/告警中心/line_horizontal_u459p000.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/告警中心/line_horizontal_u459p000.png -------------------------------------------------------------------------------- /docs/UE/images/告警中心/line_horizontal_u461.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/告警中心/line_horizontal_u461.png -------------------------------------------------------------------------------- /docs/UE/images/告警中心/line_horizontal_u461p000.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/告警中心/line_horizontal_u461p000.png -------------------------------------------------------------------------------- /docs/UE/images/告警中心/u455.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/告警中心/u455.png -------------------------------------------------------------------------------- /docs/UE/images/智慧放牧服务平台/u9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/智慧放牧服务平台/u9.png -------------------------------------------------------------------------------- /docs/UE/images/牧场概览/line_horizontal_u156.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/牧场概览/line_horizontal_u156.png -------------------------------------------------------------------------------- /docs/UE/images/牧场概览/line_horizontal_u156p000.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/牧场概览/line_horizontal_u156p000.png -------------------------------------------------------------------------------- /docs/UE/images/牧场概览/line_horizontal_u156p001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/牧场概览/line_horizontal_u156p001.png -------------------------------------------------------------------------------- /docs/UE/images/牧场概览/line_horizontal_u160p000.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/牧场概览/line_horizontal_u160p000.png -------------------------------------------------------------------------------- /docs/UE/images/牧场概览/line_horizontal_u160p001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/牧场概览/line_horizontal_u160p001.png -------------------------------------------------------------------------------- /docs/UE/images/牧场概览/line_horizontal_u164.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/牧场概览/line_horizontal_u164.png -------------------------------------------------------------------------------- /docs/UE/images/牧场概览/line_horizontal_u164p000.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/牧场概览/line_horizontal_u164p000.png -------------------------------------------------------------------------------- /docs/UE/images/牧场概览/line_horizontal_u164p001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/牧场概览/line_horizontal_u164p001.png -------------------------------------------------------------------------------- /docs/UE/images/牧场概览/line_horizontal_u168.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/牧场概览/line_horizontal_u168.png -------------------------------------------------------------------------------- /docs/UE/images/牧场概览/line_horizontal_u168p000.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/牧场概览/line_horizontal_u168p000.png -------------------------------------------------------------------------------- /docs/UE/images/牧场概览/line_horizontal_u168p001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/牧场概览/line_horizontal_u168p001.png -------------------------------------------------------------------------------- /docs/UE/images/牧场概览/u140.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/牧场概览/u140.png -------------------------------------------------------------------------------- /docs/UE/images/电子围栏/line_horizontal_u255.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/电子围栏/line_horizontal_u255.png -------------------------------------------------------------------------------- /docs/UE/images/电子围栏/line_horizontal_u255p000.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/电子围栏/line_horizontal_u255p000.png -------------------------------------------------------------------------------- /docs/UE/images/电子围栏/line_horizontal_u257.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/电子围栏/line_horizontal_u257.png -------------------------------------------------------------------------------- /docs/UE/images/电子围栏/line_horizontal_u257p000.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/电子围栏/line_horizontal_u257p000.png -------------------------------------------------------------------------------- /docs/UE/images/电子围栏/line_horizontal_u259p000.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/电子围栏/line_horizontal_u259p000.png -------------------------------------------------------------------------------- /docs/UE/images/电子围栏/line_horizontal_u263.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/电子围栏/line_horizontal_u263.png -------------------------------------------------------------------------------- /docs/UE/images/电子围栏/line_horizontal_u263p000.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/电子围栏/line_horizontal_u263p000.png -------------------------------------------------------------------------------- /docs/UE/images/电子围栏/u245.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/电子围栏/u245.png -------------------------------------------------------------------------------- /docs/UE/images/电子围栏/u251.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/电子围栏/u251.png -------------------------------------------------------------------------------- /docs/UE/images/电子围栏/u253.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/电子围栏/u253.png -------------------------------------------------------------------------------- /docs/UE/images/登录/u109.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/登录/u109.png -------------------------------------------------------------------------------- /docs/UE/images/轨迹回放/line_horizontal_u346.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/轨迹回放/line_horizontal_u346.png -------------------------------------------------------------------------------- /docs/UE/images/轨迹回放/line_horizontal_u346p000.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/轨迹回放/line_horizontal_u346p000.png -------------------------------------------------------------------------------- /docs/UE/images/轨迹回放/line_horizontal_u348.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/轨迹回放/line_horizontal_u348.png -------------------------------------------------------------------------------- /docs/UE/images/轨迹回放/line_horizontal_u348p000.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/轨迹回放/line_horizontal_u348p000.png -------------------------------------------------------------------------------- /docs/UE/images/轨迹回放/line_horizontal_u362.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/轨迹回放/line_horizontal_u362.png -------------------------------------------------------------------------------- /docs/UE/images/轨迹回放/line_horizontal_u362p000.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/轨迹回放/line_horizontal_u362p000.png -------------------------------------------------------------------------------- /docs/UE/images/轨迹回放/u334.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/轨迹回放/u334.png -------------------------------------------------------------------------------- /docs/UE/images/轨迹回放/u336.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/轨迹回放/u336.png -------------------------------------------------------------------------------- /docs/UE/images/首页/u21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/首页/u21.png -------------------------------------------------------------------------------- /docs/UE/images/首页/u23.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/首页/u23.png -------------------------------------------------------------------------------- /docs/UE/images/首页/u25.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/首页/u25.png -------------------------------------------------------------------------------- /docs/UE/images/首页/u31.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/首页/u31.png -------------------------------------------------------------------------------- /docs/UE/images/首页/u33.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/首页/u33.png -------------------------------------------------------------------------------- /docs/UE/images/首页/u35.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/首页/u35.png -------------------------------------------------------------------------------- /docs/UE/images/首页/u37.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/首页/u37.png -------------------------------------------------------------------------------- /docs/UE/images/首页/u39.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/首页/u39.png -------------------------------------------------------------------------------- /docs/UE/images/首页/u43.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/首页/u43.png -------------------------------------------------------------------------------- /docs/UE/images/首页/u45.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/images/首页/u45.png -------------------------------------------------------------------------------- /docs/UE/plugins/debug/styles/debug.css: -------------------------------------------------------------------------------- 1 | #debugHost { 2 | font-size: 12px; 3 | color:#4a4a4a; 4 | height: 100%; 5 | } 6 | 7 | #debugHostBtn a { 8 | background: url('images/variables_on.png'); 9 | background: url('images/variables_on.svg'),linear-gradient(transparent, transparent); 10 | } 11 | 12 | .hashover #debugHostBtn a:hover { 13 | background: url('images/variables_hover.png'); 14 | background: url('images/variables_hover.svg'),linear-gradient(transparent, transparent); 15 | } 16 | 17 | #debugHostBtn a.selected, #debugHostBtn a.selected:hover { 18 | background: url('images/variables_off.png'); 19 | background: url('images/variables_off.svg'),linear-gradient(transparent, transparent); 20 | } 21 | 22 | #debugHeader .pageNameHeader { 23 | padding-right: 0px; 24 | } 25 | 26 | #variablesClearLink { 27 | display: inline-block; 28 | margin-bottom: 15px; 29 | } 30 | 31 | #variablesClearLink:hover { 32 | color: #0a6cd6; 33 | } 34 | 35 | #traceClearLink { 36 | display: inline-block; 37 | margin-bottom: 15px; 38 | } 39 | 40 | #traceClearLink:hover { 41 | color: #0a6cd6; 42 | } 43 | 44 | #debugScrollContainer 45 | { 46 | overflow: auto; 47 | width: 100%; 48 | height: 100%; 49 | -webkit-overflow-scrolling: touch; 50 | } 51 | 52 | #debugContainer { 53 | padding: 10px 10px 10px 10px; 54 | } 55 | 56 | .variableName 57 | { 58 | font-weight: bold; 59 | } 60 | 61 | .variableDiv 62 | { 63 | margin-bottom: 20px; 64 | line-height: 16px; 65 | 66 | } 67 | 68 | #variablesContainer { 69 | padding-bottom: 5px; 70 | /*overflow: auto;*/ 71 | } 72 | 73 | #traceContainer { 74 | padding-top: 15px; 75 | /*padding: 0px 10px 10px 10px;*/ 76 | } 77 | 78 | .debugToolbarButton 79 | { 80 | font-size: 1em; 81 | color: #069; 82 | } 83 | 84 | .axEventBlock { 85 | display: inline-block; 86 | width: 100%; 87 | margin: 5px 0px 5px 0px; 88 | line-height: 21px; 89 | } 90 | 91 | /*a.axEventBlock:hover { 92 | background-color: #069; 93 | color: white; 94 | }*/ 95 | 96 | .axTime { 97 | margin: 0px 0px 0px 0px; 98 | font-size: 11px; 99 | color: #b1b3b5; 100 | } 101 | 102 | .axLabel { 103 | margin: 0px 0px 5px 0px; 104 | font-family: 'Trebuchet MS'; 105 | font-size: 14px; 106 | font-weight: bold; 107 | } 108 | 109 | .lastAxEvent { 110 | margin-bottom: 10px; 111 | border-bottom: 1px solid #c2c2c2; 112 | padding-bottom: 10px; 113 | } 114 | 115 | .axEvent { 116 | margin: 0px 0px 5px 0px; 117 | font-weight: bold; 118 | } 119 | 120 | .axCase { 121 | margin: 0px 0px 5px 8px; 122 | font-style: italic; 123 | } 124 | 125 | .axAction { 126 | margin: 0px 0px 5px 13px; 127 | } 128 | 129 | #traceEmptyState.emptyStateContainer { 130 | margin-top: 0px; 131 | } 132 | 133 | .debugLinksContainer { 134 | text-align: right; 135 | } -------------------------------------------------------------------------------- /docs/UE/plugins/debug/styles/images/reset.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/UE/plugins/debug/styles/images/reset_hover.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/UE/plugins/debug/styles/images/variables_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/debug/styles/images/variables_hover.png -------------------------------------------------------------------------------- /docs/UE/plugins/debug/styles/images/variables_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/debug/styles/images/variables_off.png -------------------------------------------------------------------------------- /docs/UE/plugins/debug/styles/images/variables_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/debug/styles/images/variables_on.png -------------------------------------------------------------------------------- /docs/UE/plugins/page_notes/styles/images/back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/page_notes/styles/images/back.png -------------------------------------------------------------------------------- /docs/UE/plugins/page_notes/styles/images/back.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | back 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/UE/plugins/page_notes/styles/images/back_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/page_notes/styles/images/back_hover.png -------------------------------------------------------------------------------- /docs/UE/plugins/page_notes/styles/images/back_hover.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | back_hover 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/UE/plugins/page_notes/styles/images/footnotes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/page_notes/styles/images/footnotes.png -------------------------------------------------------------------------------- /docs/UE/plugins/page_notes/styles/images/footnotes.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | note 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/UE/plugins/page_notes/styles/images/footnotes_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/page_notes/styles/images/footnotes_hover.png -------------------------------------------------------------------------------- /docs/UE/plugins/page_notes/styles/images/footnotes_hover.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | note_hover 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/UE/plugins/page_notes/styles/images/footnotes_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/page_notes/styles/images/footnotes_on.png -------------------------------------------------------------------------------- /docs/UE/plugins/page_notes/styles/images/footnotes_on.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | note_on 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/UE/plugins/page_notes/styles/images/forward.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/page_notes/styles/images/forward.png -------------------------------------------------------------------------------- /docs/UE/plugins/page_notes/styles/images/forward.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | forward 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/UE/plugins/page_notes/styles/images/forward_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/page_notes/styles/images/forward_hover.png -------------------------------------------------------------------------------- /docs/UE/plugins/page_notes/styles/images/forward_hover.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | forward_hover 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/UE/plugins/page_notes/styles/images/notes_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/page_notes/styles/images/notes_hover.png -------------------------------------------------------------------------------- /docs/UE/plugins/page_notes/styles/images/notes_hover.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /docs/UE/plugins/page_notes/styles/images/notes_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/page_notes/styles/images/notes_off.png -------------------------------------------------------------------------------- /docs/UE/plugins/page_notes/styles/images/notes_off.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /docs/UE/plugins/page_notes/styles/images/notes_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/page_notes/styles/images/notes_on.png -------------------------------------------------------------------------------- /docs/UE/plugins/page_notes/styles/images/notes_on.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /docs/UE/plugins/recordplay/styles/recordplay.css: -------------------------------------------------------------------------------- 1 | #recordPlayHost { 2 | font-size: 12px; 3 | color:#333; 4 | height: 100%; 5 | } 6 | 7 | 8 | #recordPlayContainer 9 | { 10 | overflow: auto; 11 | width: 100%; 12 | height: 100%; 13 | padding: 10px 10px 10px 10px; 14 | } 15 | 16 | #recordPlayToolbar 17 | { 18 | margin: 5px 5px 5px 5px; 19 | height: 22px; 20 | } 21 | 22 | #recordPlayToolbar .recordPlayButton 23 | { 24 | float: left; 25 | width: 22px; 26 | height: 22px; 27 | border: 1px solid transparent; 28 | } 29 | 30 | #recordPlayToolbar .recordPlayButton:hover 31 | { 32 | border: 1px solid rgb(0,157,217); 33 | background-color : rgb(166,221,242); 34 | } 35 | 36 | #recordPlayToolbar .recordPlayButton:active 37 | { 38 | border: 1px solid rgb(0,157,217); 39 | background-color : rgb(204,235,248); 40 | } 41 | 42 | #recordPlayToolbar .recordPlayButtonSelected { 43 | border: 1px solid rgb(0,157,217); 44 | background-color : rgb(204,235,248); 45 | } 46 | 47 | #recordButton { 48 | background: url('../../sitemap/styles/images/233_hyperlink_16.png') no-repeat center center; 49 | } 50 | 51 | #playButton { 52 | background: url('../../sitemap/styles/images/225_responsive_16.png') no-repeat center center; 53 | } 54 | 55 | #stopButton { 56 | background: url('../../sitemap/styles/images/228_togglenotes_16.png') no-repeat center center; 57 | } 58 | 59 | #deleteButton { 60 | background: url('../../sitemap/styles/images/231_event_16.png') no-repeat center center; 61 | } 62 | 63 | #recordNameHeader 64 | { 65 | /* yeah??*/ 66 | font-size: 13px; 67 | font-weight: bold; 68 | height: 23px; 69 | white-space: nowrap; 70 | } 71 | 72 | #recordPlayContent 73 | { 74 | /* yeah??*/ 75 | overflow: visible; 76 | } 77 | 78 | .recordPlayName 79 | { 80 | font-size: 12px; 81 | margin-bottom: 5px; 82 | text-decoration: underline; 83 | white-space: nowrap; 84 | } 85 | 86 | .recordPlay 87 | { 88 | margin-bottom: 10px; 89 | } -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/079_page_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/sitemap/styles/images/079_page_16.png -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/086_case_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/sitemap/styles/images/086_case_16.png -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/225_responsive_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/sitemap/styles/images/225_responsive_16.png -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/228_togglenotes_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/sitemap/styles/images/228_togglenotes_16.png -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/229_variables_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/sitemap/styles/images/229_variables_16.png -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/231_event_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/sitemap/styles/images/231_event_16.png -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/232_search_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/sitemap/styles/images/232_search_16.png -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/233_hyperlink_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/sitemap/styles/images/233_hyperlink_16.png -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/235_folderclosed_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/sitemap/styles/images/235_folderclosed_16.png -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/236_folderopen_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/sitemap/styles/images/236_folderopen_16.png -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/adaptivecheck.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/sitemap/styles/images/adaptivecheck.png -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/sitemap/styles/images/flow.png -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/flow.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/folder_closed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/sitemap/styles/images/folder_closed.png -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/folder_closed.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/folder_open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/sitemap/styles/images/folder_open.png -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/folder_open.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/hotspots.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/sitemap/styles/images/hotspots.png -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/hotspots.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | hotspots 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/hotspots_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/sitemap/styles/images/hotspots_hover.png -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/hotspots_hover.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | hotspots_hover 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/hotspots_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/sitemap/styles/images/hotspots_on.png -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/hotspots_on.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | hotspots_on 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/images.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 |

8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 |

21 | 22 | -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/minus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/sitemap/styles/images/minus.gif -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/note.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/sitemap/styles/images/note.png -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/note.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Note Copy 5 | Created with sketchtool. 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/sitemap/styles/images/page.png -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/page.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/plus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/sitemap/styles/images/plus.gif -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/share.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/sitemap/styles/images/share.png -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/share.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | share 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/share_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/sitemap/styles/images/share_hover.png -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/share_hover.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | share_hover 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/share_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/sitemap/styles/images/share_on.png -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/share_on.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | share_on 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/sitemap_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/sitemap/styles/images/sitemap_hover.png -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/sitemap_hover.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/sitemap_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/sitemap/styles/images/sitemap_off.png -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/sitemap_off.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/sitemap_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/sitemap/styles/images/sitemap_on.png -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/sitemap_on.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/views.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/sitemap/styles/images/views.png -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/views.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | views 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/views_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/sitemap/styles/images/views_hover.png -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/views_hover.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | views_hover 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/views_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/plugins/sitemap/styles/images/views_on.png -------------------------------------------------------------------------------- /docs/UE/plugins/sitemap/styles/images/views_on.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | views_on 5 | Created with Sketch. 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /docs/UE/resources/Other.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |
7 |
8 |
9 |
10 | 13 |
14 | 15 | 16 | 17 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /docs/UE/resources/chrome/allow_access.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/resources/chrome/allow_access.gif -------------------------------------------------------------------------------- /docs/UE/resources/chrome/axure-chrome-extension.crx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/resources/chrome/axure-chrome-extension.crx -------------------------------------------------------------------------------- /docs/UE/resources/chrome/axure_logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/resources/chrome/axure_logo.gif -------------------------------------------------------------------------------- /docs/UE/resources/chrome/axure_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/resources/chrome/axure_logo.png -------------------------------------------------------------------------------- /docs/UE/resources/chrome/extensions_menu.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/resources/chrome/extensions_menu.gif -------------------------------------------------------------------------------- /docs/UE/resources/chrome/splitter.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/resources/chrome/splitter.gif -------------------------------------------------------------------------------- /docs/UE/resources/chrome/splitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/resources/chrome/splitter.png -------------------------------------------------------------------------------- /docs/UE/resources/css/images/images.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 |

8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |

24 | 25 | -------------------------------------------------------------------------------- /docs/UE/resources/css/images/newwindow.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/resources/css/images/newwindow.gif -------------------------------------------------------------------------------- /docs/UE/resources/css/images/note.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/resources/css/images/note.gif -------------------------------------------------------------------------------- /docs/UE/resources/css/images/ui-bg_flat_0_aaaaaa_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/resources/css/images/ui-bg_flat_0_aaaaaa_40x100.png -------------------------------------------------------------------------------- /docs/UE/resources/css/images/ui-bg_glass_55_fbf9ee_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/resources/css/images/ui-bg_glass_55_fbf9ee_1x400.png -------------------------------------------------------------------------------- /docs/UE/resources/css/images/ui-bg_glass_65_ffffff_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/resources/css/images/ui-bg_glass_65_ffffff_1x400.png -------------------------------------------------------------------------------- /docs/UE/resources/css/images/ui-bg_glass_75_dadada_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/resources/css/images/ui-bg_glass_75_dadada_1x400.png -------------------------------------------------------------------------------- /docs/UE/resources/css/images/ui-bg_glass_75_e6e6e6_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/resources/css/images/ui-bg_glass_75_e6e6e6_1x400.png -------------------------------------------------------------------------------- /docs/UE/resources/css/images/ui-bg_glass_75_ffffff_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/resources/css/images/ui-bg_glass_75_ffffff_1x400.png -------------------------------------------------------------------------------- /docs/UE/resources/css/images/ui-bg_highlight-soft_75_cccccc_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/resources/css/images/ui-bg_highlight-soft_75_cccccc_1x100.png -------------------------------------------------------------------------------- /docs/UE/resources/css/images/ui-bg_inset-soft_95_fef1ec_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/resources/css/images/ui-bg_inset-soft_95_fef1ec_1x100.png -------------------------------------------------------------------------------- /docs/UE/resources/css/images/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/resources/css/images/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /docs/UE/resources/css/images/ui-icons_2e83ff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/resources/css/images/ui-icons_2e83ff_256x240.png -------------------------------------------------------------------------------- /docs/UE/resources/css/images/ui-icons_454545_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/resources/css/images/ui-icons_454545_256x240.png -------------------------------------------------------------------------------- /docs/UE/resources/css/images/ui-icons_888888_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/resources/css/images/ui-icons_888888_256x240.png -------------------------------------------------------------------------------- /docs/UE/resources/css/images/ui-icons_cd0a0a_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/resources/css/images/ui-icons_cd0a0a_256x240.png -------------------------------------------------------------------------------- /docs/UE/resources/css/reset.css: -------------------------------------------------------------------------------- 1 | html,body,div,span, 2 | applet,object,iframe, 3 | h1,h2,h3,h4,h5,h6,p,blockquote,pre, 4 | a,abbr,acronym,address,big,cite,code, 5 | del,dfn,em,font,img,ins,kbd,q,s,samp, 6 | small,strike,strong,sub,sup,tt,var, 7 | dd,dl,dt,li,ol,ul, 8 | fieldset,form,label,legend, 9 | table,caption,tbody,tfoot,thead,tr,th,td { 10 | margin: 0; 11 | padding: 0; 12 | border: 0; 13 | } 14 | table { 15 | border-collapse: collapse; 16 | border-spacing: 0; 17 | } 18 | ol,ul { 19 | list-style: none; 20 | } 21 | q:before,q:after, 22 | blockquote:before,blockquote:after { 23 | content: ""; 24 | } -------------------------------------------------------------------------------- /docs/UE/resources/expand.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 53 | 54 | 55 |
56 |
57 |
58 |
59 | 60 | -------------------------------------------------------------------------------- /docs/UE/resources/images/259_close_12rollover1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/resources/images/259_close_12rollover1.png -------------------------------------------------------------------------------- /docs/UE/resources/images/259_close_12rollover2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/resources/images/259_close_12rollover2.png -------------------------------------------------------------------------------- /docs/UE/resources/images/260_collapse_12rollover1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/resources/images/260_collapse_12rollover1.png -------------------------------------------------------------------------------- /docs/UE/resources/images/260_collapse_12rollover2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/resources/images/260_collapse_12rollover2.png -------------------------------------------------------------------------------- /docs/UE/resources/images/261_expand_12rollover1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/resources/images/261_expand_12rollover1.png -------------------------------------------------------------------------------- /docs/UE/resources/images/261_expand_12rollover2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/resources/images/261_expand_12rollover2.png -------------------------------------------------------------------------------- /docs/UE/resources/images/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/resources/images/close.png -------------------------------------------------------------------------------- /docs/UE/resources/images/close.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /docs/UE/resources/images/close_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/resources/images/close_hover.png -------------------------------------------------------------------------------- /docs/UE/resources/images/close_hover.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /docs/UE/resources/images/divider.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/resources/images/divider.png -------------------------------------------------------------------------------- /docs/UE/resources/images/divider.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/UE/resources/images/expand.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/resources/images/expand.png -------------------------------------------------------------------------------- /docs/UE/resources/images/expand.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /docs/UE/resources/images/expand_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/resources/images/expand_hover.png -------------------------------------------------------------------------------- /docs/UE/resources/images/expand_hover.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /docs/UE/resources/images/images.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 |

8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |

16 | 17 | -------------------------------------------------------------------------------- /docs/UE/resources/images/transparent.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/docs/UE/resources/images/transparent.gif -------------------------------------------------------------------------------- /docs/UE/resources/reload.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /docs/UE/resources/scripts/axure/globals.js: -------------------------------------------------------------------------------- 1 | $axure.internal(function($ax) { 2 | var _globals = $ax.globals = {}; 3 | 4 | $ax.globals.MaxZIndex = 1000; 5 | $ax.globals.MinZIndex = -1000; 6 | 7 | }); -------------------------------------------------------------------------------- /docs/UE/resources/scripts/axure/model.js: -------------------------------------------------------------------------------- 1 | // ******* Object Model ******** // 2 | $axure.internal(function($ax) { 3 | var _implementations = {}; 4 | 5 | var _initializeObject = function(type, obj) { 6 | $.extend(obj, _implementations[type]); 7 | }; 8 | $ax.initializeObject = _initializeObject; 9 | 10 | var _model = $ax.model = {}; 11 | 12 | _model.idsInRdoToHideOrLimbo = function(rdoId, scriptIds) { 13 | var rdoScriptId = $ax.repeater.getScriptIdFromElementId(rdoId); 14 | var path = $ax.getPathFromScriptId(rdoScriptId); 15 | 16 | if(!scriptIds) scriptIds = []; 17 | 18 | var rdo = $ax.getObjectFromElementId(rdoId); 19 | var master = $ax.pageData.masters[rdo.masterId]; 20 | var masterChildren = master.diagram.objects; 21 | for(var i = 0; i < masterChildren.length; i++) { 22 | var obj = masterChildren[i]; 23 | var objScriptIds = obj.scriptIds; 24 | for(var j = 0; j < objScriptIds.length; j++) { 25 | var scriptId = objScriptIds[j]; 26 | 27 | // Make sure in same rdo 28 | var elementPath = $ax.getPathFromScriptId(scriptId); 29 | 30 | // This is because last part of path is for the obj itself. 31 | elementPath.pop(); 32 | if(elementPath.length != path.length) continue; 33 | var samePath = true; 34 | for(var k = 0; k < path.length; k++) { 35 | if(elementPath[k] != path[k]) { 36 | samePath = false; 37 | break; 38 | } 39 | } 40 | if(!samePath) continue; 41 | 42 | if($ax.public.fn.IsReferenceDiagramObject(obj.type)) _model.idsInRdoToHideOrLimbo(scriptId, scriptIds); 43 | else if(scriptIds.indexOf(scriptId) == -1) scriptIds.push(scriptId); 44 | 45 | break; 46 | } 47 | } 48 | return scriptIds; 49 | }; 50 | 51 | }); -------------------------------------------------------------------------------- /docs/UE/resources/scripts/axure/recording.js: -------------------------------------------------------------------------------- 1 | // ******* Recording MANAGER ******** // 2 | 3 | $axure.internal(function($ax) { 4 | var _recording = $ax.recording = {}; 5 | 6 | $ax.recording.recordEvent = function(element, eventInfo, axEventObject, timeStamp) { 7 | 8 | var elementHtml = $jobj(element); 9 | var className = elementHtml.attr('class'); 10 | var inputValue; 11 | 12 | if(className === 'ax_checkbox') { 13 | inputValue = elementHtml.find('#' + element + '_input')[0].checked; 14 | eventInfo.inputType = className; 15 | eventInfo.inputValue = inputValue; 16 | } 17 | 18 | if(className === 'ax_text_field') { 19 | inputValue = elementHtml.find('#' + element + '_input').val(); 20 | eventInfo.inputType = className; 21 | eventInfo.inputValue = inputValue; 22 | } 23 | 24 | 25 | var scriptId = $ax.repeater.getScriptIdFromElementId(element); 26 | var diagramObjectPath = $ax.getPathFromScriptId(scriptId); 27 | var form = { 28 | recordingId: $ax.recording.recordingId, 29 | elementID: element, 30 | eventType: axEventObject.description, 31 | 'eventInfo': eventInfo, 32 | // eventObject: axEventObject, 33 | 'timeStamp': timeStamp, 34 | 'path': diagramObjectPath 35 | // , 36 | // 'trigger': function() { 37 | // $ax.event.handleEvent(element, eventInfo, axEventObject); 38 | // return false; 39 | // } 40 | }; 41 | 42 | $ax.messageCenter.postMessage('logEvent', form); 43 | }; 44 | 45 | 46 | $ax.recording.maybeRecordEvent = function(element, eventInfo, axEventObject, timeStamp) { 47 | }; 48 | 49 | 50 | $ax.recording.recordingId = ""; 51 | $ax.recording.recordingName = ""; 52 | 53 | $ax.messageCenter.addMessageListener(function(message, data) { 54 | if(message === 'startRecording') { 55 | $ax.recording.maybeRecordEvent = $ax.recording.recordEvent; 56 | $ax.recording.recordingId = data.recordingId; 57 | $ax.recording.recordingName = data.recordingName; 58 | } else if(message === 'stopRecording') { 59 | $ax.recording.maybeRecordEvent = function(element, eventInfo, axEventObject, timeStamp) { 60 | }; 61 | 62 | } 63 | else if(message === 'playEvent') { 64 | 65 | var eventType = makeFirstLetterLower(data.eventType); 66 | var inputElement; 67 | 68 | var dObj = data.element === '' ? $ax.pageData.page : $ax.getObjectFromElementId(data.element); 69 | if(!data.axEventObject) { 70 | data.axEventObject = dObj && dObj.interactionMap && dObj.interactionMap[eventType]; 71 | } 72 | 73 | data.eventInfo.thiswidget = $ax.getWidgetInfo(data.element); 74 | data.eventInfo.item = $ax.getItemInfo(data.element); 75 | 76 | if(data.eventInfo.inputType && data.eventInfo.inputType === 'ax_checkbox') { 77 | inputElement = $jobj(data.element + '_input'); 78 | inputElement[0].checked = data.eventInfo.inputValue; 79 | } 80 | 81 | if(data.eventInfo.inputType && data.eventInfo.inputType === 'ax_text_field') { 82 | inputElement = $jobj(data.element + '_input'); 83 | inputElement.val(data.eventInfo.inputValue); 84 | } 85 | 86 | $ax.event.handleEvent(data.element, data.eventInfo, data.axEventObject, false, true); 87 | } 88 | }); 89 | 90 | var makeFirstLetterLower = function(eventName) { 91 | return eventName.substr(0, 1).toLowerCase() + eventName.substr(1); 92 | }; 93 | 94 | }); -------------------------------------------------------------------------------- /docs/UE/resources/scripts/axure/viewer.js: -------------------------------------------------------------------------------- 1 | // ******* SITEMAP TOOLBAR VIEWER ACTIONS ******** // 2 | $axure.internal(function ($ax) { 3 | var userTriggeredEventNames = ['onClick', 'onDoubleClick', 'onMouseOver', 'onMouseMove', 'onMouseOut', 'onMouseDown', 'onMouseUp', 4 | 'onKeyDown', 'onKeyUp', 'onFocus', 'onLostFocus', 'onTextChange', 'onSelectionChange', 'onSelectedChange', 'onSelect', 'onUnselect', 5 | 'onSwipeLeft', 'onSwipeRight', 'onSwipeUp', 'onSwipeDown', 'onDragStart', 'onDrag', 'onDragDrop', 'onScroll', 'onContextMenu', 'onMouseHover', 'onLongClick']; 6 | 7 | $ax.messageCenter.addMessageListener(function(message, data) { 8 | //If annotation toggle message received from sitemap, toggle footnotes 9 | if(message == 'annotationToggle') { 10 | if(data == true) { 11 | $('div.annotation').show(); 12 | $('div.annnotelabel').show(); 13 | $('div.annnoteimage').show(); 14 | } else { 15 | $('div.annotation').hide(); 16 | $('div.annnotelabel').hide(); 17 | $('div.annnoteimage').hide(); 18 | } 19 | } 20 | }); 21 | 22 | var lastSelectedWidgetNote; 23 | $ax.messageCenter.addMessageListener(function (message, data) { 24 | //If annotation toggle message received from sitemap, toggle footnotes 25 | if(message == 'toggleSelectWidgetNote') { 26 | if(lastSelectedWidgetNote == data) { 27 | $('#' + lastSelectedWidgetNote).removeClass('widgetNoteSelected'); 28 | lastSelectedWidgetNote = null; 29 | return; 30 | } 31 | 32 | if(lastSelectedWidgetNote) $('#' + lastSelectedWidgetNote).removeClass('widgetNoteSelected'); 33 | $('#' + data).addClass('widgetNoteSelected'); 34 | lastSelectedWidgetNote = data; 35 | } 36 | }); 37 | 38 | var highlightEnabled = false; 39 | $ax.messageCenter.addMessageListener(function(message, data) { 40 | if(message == 'highlightInteractive') { 41 | highlightEnabled = data == true; 42 | _applyHighlight($ax('*')); 43 | } 44 | }); 45 | 46 | var _applyHighlight = $ax.applyHighlight = function(query, ignoreUnset) { 47 | if(ignoreUnset && !highlightEnabled) return; 48 | 49 | var pulsateClassName = 'legacyPulsateBorder'; 50 | 51 | //Find all widgets with a defined userTriggeredEventName specified in the array above 52 | var $matchingElements = query.filter(function(obj) { 53 | if(obj.interactionMap) { 54 | for(var index in userTriggeredEventNames) { 55 | if(obj.interactionMap[userTriggeredEventNames[index]]) return true; 56 | } 57 | } else if ($ax.public.fn.IsVector(obj.type) && obj.referencePageUrl) { 58 | return true; 59 | } 60 | return false; 61 | }).$(); 62 | 63 | var isHighlighted = $matchingElements.is('.' + pulsateClassName); 64 | 65 | //Toggle the pulsate class on the matched elements 66 | if(highlightEnabled && !isHighlighted) { 67 | $matchingElements.addClass(pulsateClassName); 68 | } else if(!highlightEnabled && isHighlighted) { 69 | $matchingElements.removeClass(pulsateClassName); 70 | } 71 | }; 72 | }); -------------------------------------------------------------------------------- /docs/UE/start_c_1.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /docs/UE/start_g_0.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "my-app", 3 | "version": "0.1.0", 4 | "private": true, 5 | "dependencies": { 6 | "autoprefixer": "7.1.2", 7 | "babel-core": "6.25.0", 8 | "babel-eslint": "7.2.3", 9 | "babel-jest": "20.0.3", 10 | "babel-loader": "7.1.1", 11 | "babel-preset-react-app": "^3.0.3", 12 | "babel-runtime": "6.26.0", 13 | "bootstrap": "^3.3.7", 14 | "case-sensitive-paths-webpack-plugin": "2.1.1", 15 | "chalk": "1.1.3", 16 | "create-react-class": "^15.6.2", 17 | "css-loader": "0.28.4", 18 | "dotenv": "4.0.0", 19 | "echarts": "^3.7.2", 20 | "eslint": "4.4.1", 21 | "eslint-config-react-app": "^2.0.1", 22 | "eslint-loader": "1.9.0", 23 | "eslint-plugin-flowtype": "2.35.0", 24 | "eslint-plugin-import": "2.7.0", 25 | "eslint-plugin-jsx-a11y": "5.1.1", 26 | "eslint-plugin-react": "7.1.0", 27 | "extract-text-webpack-plugin": "3.0.0", 28 | "file-loader": "0.11.2", 29 | "font-awesome": "^4.7.0", 30 | "fs-extra": "3.0.1", 31 | "html-webpack-plugin": "2.29.0", 32 | "jest": "20.0.4", 33 | "moment": "^2.18.1", 34 | "object-assign": "4.1.1", 35 | "postcss-flexbugs-fixes": "3.2.0", 36 | "postcss-loader": "2.0.6", 37 | "promise": "8.0.1", 38 | "prop-types": "^15.6.0", 39 | "react": "^16.0.0", 40 | "react-bootstrap": "^0.31.3", 41 | "react-bootstrap-daterangepicker": "^3.4.1", 42 | "react-dev-utils": "^4.1.0", 43 | "react-dom": "^16.0.0", 44 | "react-router-dom": "^4.2.2", 45 | "react-select2-wrapper": "^1.0.4-beta5", 46 | "style-loader": "0.18.2", 47 | "sw-precache-webpack-plugin": "0.11.4", 48 | "url-loader": "0.5.9", 49 | "webpack": "3.5.1", 50 | "webpack-dev-server": "2.8.2", 51 | "webpack-manifest-plugin": "1.2.1", 52 | "whatwg-fetch": "2.0.3" 53 | }, 54 | "scripts": { 55 | "start": "node scripts/start.js", 56 | "build": "node scripts/build.js", 57 | "test": "node scripts/test.js --env=jsdom" 58 | }, 59 | "jest": { 60 | "collectCoverageFrom": [ 61 | "src/**/*.{js,jsx}" 62 | ], 63 | "setupFiles": [ 64 | "/config/polyfills.js" 65 | ], 66 | "testMatch": [ 67 | "/src/**/__tests__/**/*.js?(x)", 68 | "/src/**/?(*.)(spec|test).js?(x)" 69 | ], 70 | "testEnvironment": "node", 71 | "testURL": "http://localhost", 72 | "transform": { 73 | "^.+\\.(js|jsx)$": "/node_modules/babel-jest", 74 | "^.+\\.css$": "/config/jest/cssTransform.js", 75 | "^(?!.*\\.(js|jsx|css|json)$)": "/config/jest/fileTransform.js" 76 | }, 77 | "transformIgnorePatterns": [ 78 | "[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$" 79 | ], 80 | "moduleNameMapper": { 81 | "^react-native$": "react-native-web" 82 | }, 83 | "moduleFileExtensions": [ 84 | "web.js", 85 | "js", 86 | "json", 87 | "web.jsx", 88 | "jsx", 89 | "node" 90 | ] 91 | }, 92 | "babel": { 93 | "presets": [ 94 | "react-app" 95 | ] 96 | }, 97 | "eslintConfig": { 98 | "extends": "react-app" 99 | }, 100 | "devDependencies": { 101 | "node-sass": "^4.5.3", 102 | "sass-loader": "^6.0.6" 103 | }, 104 | "proxy": "http://localhost:8080/smartGraze" 105 | } 106 | -------------------------------------------------------------------------------- /public/assets/map/city/150300.json: -------------------------------------------------------------------------------- 1 | {"type": "FeatureCollection", "features": [{"type":"Feature","properties":{"name":"海勃湾区"},"geometry":{"type":"MultiPolygon","coordinates":[[[[106.91298953125,39.8381996894531],[106.868900175781,39.8041689277344],[106.88170046875,39.7581996894531],[106.899271269531,39.7446364570312],[106.904561796875,39.7088430000001],[106.901605253906,39.688843],[106.903160429688,39.6783315253907],[106.888023710938,39.6666481757813],[106.929227324219,39.6110732246094],[106.94298953125,39.5394863105469],[106.947345,39.503843],[106.912767363281,39.5127162910156],[106.903260527344,39.5497585273438],[106.873023710938,39.5579274726562],[106.863260527344,39.5079274726563],[106.747345,39.503843],[106.763568144531,39.5283913398438],[106.759456816406,39.5467287421875],[106.773260527344,39.5679274726563],[106.78447390625,39.597895734375],[106.771429472656,39.6179274726563],[106.767345,39.633843],[106.761512480469,39.6490151191406],[106.788016386719,39.6852968574219],[106.766239042969,39.7027370429688],[106.745479765625,39.7286586738282],[106.764039335938,39.7602297187501],[106.755755644531,39.8268141914063],[106.747345,39.863843],[106.76298953125,39.8594863105469],[106.773482695313,39.8097524238282],[106.84298953125,39.8381996894531],[106.931322050781,39.9181996894531],[106.963765898438,39.9092726875],[106.95298953125,39.8581996894532],[106.92170046875,39.8494863105469],[106.91298953125,39.8381996894531]]]]}},{"type":"Feature","properties":{"name":"海南区"},"geometry":{"type":"MultiPolygon","coordinates":[[[[107.042535429688,39.2390334296876],[107.056195097656,39.2242897773438],[107.1351965625,39.2786525703125],[107.132535429688,39.2686525703125],[107.121771269531,39.2483107734375],[107.122918730469,39.2193752265625],[107.112154570313,39.1990334296876],[107.102535429688,39.1586525703125],[107.092154570313,39.1190334296876],[107.075360136719,39.0485256171875],[107.052877226563,39.0494167304688],[107.031812773438,39.0382692695313],[107.007345,39.0392397285157],[106.992215605469,39.0386391425781],[106.967345,39.043843],[106.95162234375,39.0620925117188],[106.867345,39.0938430000001],[106.84170046875,39.1281996894532],[106.816668730469,39.1968068671875],[106.789173613281,39.2423879218751],[106.79677859375,39.293843],[106.790867949219,39.333843],[106.793084746094,39.348843],[106.791131621094,39.3620619941406],[106.75170046875,39.3781996894531],[106.747345,39.383843],[106.734918242188,39.408843],[106.747345,39.4338430000001],[106.755941191406,39.4688430000001],[106.747345,39.503843],[106.863260527344,39.5079274726563],[106.873023710938,39.5579274726562],[106.903260527344,39.5497585273438],[106.912767363281,39.5127162910156],[106.947345,39.503843],[106.962154570313,39.4330593085938],[106.952535429688,39.3386525703125],[106.932576933594,39.3009316230469],[107.042535429688,39.2390334296876]]]]}},{"type":"Feature","properties":{"name":"乌达区"},"geometry":{"type":"MultiPolygon","coordinates":[[[[106.755941191406,39.4688430000001],[106.747345,39.4338430000001],[106.645826445313,39.4659841132813],[106.613038359375,39.4963649726562],[106.611011992188,39.5474831367188],[106.6570325,39.5827736640625],[106.767345,39.633843],[106.771429472656,39.6179274726563],[106.78447390625,39.597895734375],[106.773260527344,39.5679274726563],[106.759456816406,39.5467287421875],[106.763568144531,39.5283913398438],[106.747345,39.503843],[106.755941191406,39.4688430000001]]]]}}]} -------------------------------------------------------------------------------- /public/assets/map/city/310200.json: -------------------------------------------------------------------------------- 1 | {"type": "FeatureCollection", "features": [{"type":"Feature","properties":{"name":"崇明县"},"geometry":{"type":"MultiPolygon","coordinates":[[[[121.50271609375,31.74921409375],[121.592086210938,31.7084206367188],[121.602584257813,31.709262921875],[121.632105742188,31.698423078125],[121.642564726563,31.699262921875],[121.783448515625,31.6548537421875],[121.877345,31.633843],[121.88232546875,31.5940407539063],[121.951314726563,31.5521364570312],[121.957056914063,31.5059694648438],[121.921920195313,31.4620900703125],[121.883863554688,31.4460549140625],[121.876749296875,31.3888430000001],[121.8837121875,31.3328664375],[121.847345,31.2838430000001],[121.821158476563,31.2876564765625],[121.702447539063,31.3270217109375],[121.553531523438,31.4000295234375],[121.537345,31.403843],[121.53271609375,31.4092140937501],[121.45619265625,31.4571462226563],[121.39345828125,31.5299587226563],[121.377345,31.5438430000001],[121.37326296875,31.5497585273438],[121.33142703125,31.5779274726563],[121.23326296875,31.6697585273438],[121.119918242188,31.7456349921876],[121.107345,31.763843],[121.11181765625,31.7694264960937],[121.192081328125,31.8336208320313],[121.27218875,31.8682009101562],[121.321783476563,31.87437034375],[121.387784453125,31.8342800117187],[121.421793242188,31.7782888007813],[121.437345,31.7738430000001],[121.443096953125,31.7671633125001],[121.50271609375,31.74921409375]]]]}}]} -------------------------------------------------------------------------------- /public/assets/map/city/371200.json: -------------------------------------------------------------------------------- 1 | {"type": "FeatureCollection", "features": [{"type":"Feature","properties":{"name":"钢城区"},"geometry":{"type":"MultiPolygon","coordinates":[[[[117.937345,36.0038430000001],[117.950152617188,35.9988430000001],[117.937345,35.993843],[117.937345,36.0038430000001]]],[[[117.937345,36.0038430000001],[117.921793242188,36.0082900214844],[117.892345,36.0255995917969],[117.862706328125,36.0081764960938],[117.788233671875,36.0174391914063],[117.772896757813,35.9982900214844],[117.754332304688,35.9893959785157],[117.742896757813,36.0293959785156],[117.711793242188,36.0382900214844],[117.697345,36.0438430000001],[117.70588015625,36.0628945136719],[117.6876965625,36.1181825996094],[117.706300078125,36.14837425],[117.733531523438,36.1576552558594],[117.747125273438,36.1975466132813],[117.77187625,36.2127968574219],[117.781158476563,36.2400307441407],[117.80420046875,36.2478835273438],[117.799937773438,36.2615663886719],[117.846026640625,36.282212140625],[117.861671171875,36.256821515625],[117.891158476563,36.2700307441406],[117.917345,36.2738430000001],[117.967345,36.2738430000001],[117.950987578125,36.2007424140625],[117.922345,36.198441388672],[117.903638945313,36.1999440742188],[117.901573515625,36.1742458320313],[117.919039335938,36.0973720527344],[117.946803007813,36.0996034980469],[117.93000125,36.053843],[117.9428528125,36.018843],[117.937345,36.0038430000001]]]]}},{"type":"Feature","properties":{"name":"莱城区"},"geometry":{"type":"MultiPolygon","coordinates":[[[[117.666148710938,36.5234535957032],[117.702379179688,36.5180995917969],[117.737345,36.523843],[117.744156523438,36.5183901191406],[117.741666289063,36.4983901191407],[117.753023710938,36.4892958808594],[117.751724882813,36.478843],[117.752965117188,36.468843],[117.750655546875,36.4502577949219],[117.786954375,36.4363063789063],[117.823214140625,36.4408168769531],[117.821441679688,36.4265785957032],[117.842896757813,36.4093959785157],[117.891890898438,36.3481642890626],[117.921353789063,36.3518288398438],[117.922965117188,36.338843],[117.919859648438,36.3138430000001],[117.923004179688,36.2885597968751],[117.917345,36.2738430000001],[117.891158476563,36.2700307441406],[117.861671171875,36.256821515625],[117.846026640625,36.282212140625],[117.799937773438,36.2615663886719],[117.80420046875,36.2478835273438],[117.781158476563,36.2400307441407],[117.77187625,36.2127968574219],[117.747125273438,36.1975466132813],[117.733531523438,36.1576552558594],[117.706300078125,36.14837425],[117.6876965625,36.1181825996094],[117.70588015625,36.0628945136719],[117.697345,36.0438430000001],[117.68263796875,36.0496254707031],[117.66455203125,36.0469533515625],[117.61298953125,36.0694863105469],[117.554303007813,36.0818703437501],[117.529400664063,36.1141323066407],[117.502735625,36.0980458808594],[117.487047148438,36.1003652167969],[117.447345,36.093843],[117.44181765625,36.1186708808594],[117.443375273438,36.133930890625],[117.4814465625,36.1655580878907],[117.443785429688,36.1818910957031],[117.432491484375,36.2203871894531],[117.383941679688,36.2154384589844],[117.407047148438,36.2557839179688],[117.391881132813,36.2683803535157],[117.379581328125,36.2967409492188],[117.383214140625,36.3323561835938],[117.351881132813,36.3583803535156],[117.34107546875,36.3713906074219],[117.34375125,36.3976552558594],[117.32486453125,36.4306313300781],[117.337345,36.4638430000001],[117.378863554688,36.4328542304688],[117.406578398438,36.4687587714844],[117.475553007813,36.4785634589844],[117.49170046875,36.4994863105469],[117.543516875,36.5104201484375],[117.603922148438,36.5468593574219],[117.622735625,36.5496401191407],[117.666148710938,36.5234535957032]]]]}}]} -------------------------------------------------------------------------------- /public/assets/map/city/420700.json: -------------------------------------------------------------------------------- 1 | {"type": "FeatureCollection", "features": [{"type":"Feature","properties":{"name":"鄂城区"},"geometry":{"type":"MultiPolygon","coordinates":[[[[115.051553984375,30.3984401679688],[115.077735625,30.3550417304688],[115.084644804688,30.3082814765625],[115.077345,30.263843],[115.017681914063,30.248813703125],[115.007345,30.233843],[114.995694609375,30.2169704414063],[114.982066679688,30.2200270820313],[114.952584257813,30.2076442695313],[114.927345,30.2138430000001],[114.919176054688,30.2256740546876],[114.87142703125,30.2379274726563],[114.857345,30.243843],[114.865924101563,30.2787624335937],[114.837257109375,30.2894899726563],[114.82326296875,30.3097585273438],[114.7870715625,30.3179274726563],[114.77033328125,30.2936891914063],[114.732271757813,30.30222190625],[114.717345,30.3238430000001],[114.724796171875,30.3388283515626],[114.71990359375,30.348843],[114.729888945313,30.3692922187501],[114.707345,30.373843],[114.719693632813,30.3954982734375],[114.751461210938,30.3835231757813],[114.761461210938,30.4010622382813],[114.789693632813,30.3904201484375],[114.8009778125,30.4102126289063],[114.8237121875,30.4174733710937],[114.8409778125,30.4302126289063],[114.857345,30.433843],[114.892437773438,30.4121486640625],[115.007345,30.4038430000001],[115.051553984375,30.3984401679688]]]]}},{"type":"Feature","properties":{"name":"华容区"},"geometry":{"type":"MultiPolygon","coordinates":[[[[114.827574492188,30.4744753242188],[114.857345,30.433843],[114.8409778125,30.4302126289063],[114.8237121875,30.4174733710937],[114.8009778125,30.4102126289063],[114.789693632813,30.3904201484375],[114.761461210938,30.4010622382813],[114.751461210938,30.3835231757813],[114.719693632813,30.3954982734375],[114.707345,30.373843],[114.691065703125,30.377563703125],[114.6634778125,30.3974245429688],[114.653624296875,30.367563703125],[114.631065703125,30.360122296875],[114.613624296875,30.347563703125],[114.597345,30.343843],[114.581124296875,30.3683913398438],[114.589068632813,30.4038430000001],[114.581217070313,30.4388845039063],[114.587345,30.463843],[114.610362578125,30.4547951484376],[114.62170046875,30.4694875312501],[114.633160429688,30.4783303046876],[114.626119414063,30.5259841132813],[114.617345,30.563843],[114.64593875,30.5683498359376],[114.715094023438,30.5860964179688],[114.757261992188,30.6135573554688],[114.797345,30.623843],[114.800704375,30.6172023750001],[114.822315703125,30.6062697578125],[114.830704375,30.5772023750001],[114.837345,30.573843],[114.827574492188,30.4744753242188]]]]}},{"type":"Feature","properties":{"name":"梁子湖区"},"geometry":{"type":"MultiPolygon","coordinates":[[[[114.722965117188,30.0588430000001],[114.721353789063,30.0458571601563],[114.691846953125,30.0495265937501],[114.682896757813,30.0282888007813],[114.648912382813,30.0193971992188],[114.621890898438,30.053139875],[114.57373171875,30.0471486640625],[114.552896757813,30.0593971992188],[114.537345,30.0638430000001],[114.530538359375,30.0903688789062],[114.499371367188,30.13058128125],[114.508023710938,30.1691701484376],[114.53326296875,30.2079274726563],[114.54142703125,30.2397585273438],[114.56170046875,30.2537526679688],[114.57142703125,30.2797585273438],[114.58326296875,30.2879274726563],[114.59142703125,30.3297585273438],[114.597345,30.343843],[114.613624296875,30.347563703125],[114.631065703125,30.360122296875],[114.653624296875,30.367563703125],[114.6634778125,30.3974245429688],[114.691065703125,30.377563703125],[114.707345,30.373843],[114.729888945313,30.3692922187501],[114.71990359375,30.348843],[114.724796171875,30.3388283515626],[114.717345,30.3238430000001],[114.694014921875,30.317173078125],[114.682896757813,30.2782888007813],[114.668985625,30.2671462226562],[114.652896757813,30.2274440742188],[114.71334109375,30.1790431953126],[114.698175078125,30.1532424140625],[114.725142851563,30.1163259101563],[114.720479765625,30.078843],[114.722965117188,30.0588430000001]]]]}}]} -------------------------------------------------------------------------------- /public/assets/map/city/441900.json: -------------------------------------------------------------------------------- 1 | {"type": "FeatureCollection", "features": [{"type":"Feature","properties":{"name":"东莞市"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.837345,23.1238430000001],[113.852193632813,23.118637921875],[113.882296171875,23.1198317695313],[113.972535429688,23.1090334296875],[114.015628691406,23.0862306953126],[114.079500761719,23.108618390625],[114.094881621094,23.0600417304688],[114.127345,23.0538430000001],[114.131339140625,23.037837140625],[114.14486453125,23.028843],[114.125379667969,23.0158864570313],[114.119686308594,22.9932912421875],[114.152345,22.985063703125],[114.203040800781,22.997837140625],[114.215452910156,22.9761818671875],[114.20375125,22.9297292304688],[114.227345,22.923843],[114.232064238281,22.9185622382813],[114.261224394531,22.9051784492188],[114.232064238281,22.8791237617188],[114.227345,22.813843],[114.21197390625,22.80921409375],[114.20271609375,22.7984719062501],[114.174935332031,22.7745363593751],[114.211678496094,22.7428786445313],[114.180433378906,22.6577907539063],[114.151243925781,22.6601369453125],[114.153470488281,22.6878615546875],[114.13634890625,22.7185524726563],[114.107345,22.723843],[114.100794707031,22.7272927070313],[114.092345,22.75558128125],[114.072345,22.74659690625],[114.051495390625,22.7559645820313],[114.04330203125,22.77151878125],[114.032345,22.76659690625],[114.022345,22.77108909375],[114.003238554688,22.7625051093751],[113.983895292969,22.8003932929688],[113.950794707031,22.8172927070313],[113.943895292969,22.8303932929688],[113.900794707031,22.8372927070313],[113.877345,22.8554714179688],[113.853895292969,22.8372927070313],[113.829566679688,22.8300270820313],[113.840374785156,22.8059719062501],[113.797694121094,22.7834938789062],[113.783895292969,22.7572927070313],[113.757345,22.7438430000001],[113.713062773438,22.7612502265626],[113.70298953125,22.74819846875],[113.686143828125,22.73948753125],[113.65298953125,22.75948753125],[113.637345,22.763843],[113.613260527344,22.7997585273437],[113.571429472656,22.8479274726563],[113.567345,22.8638430000001],[113.563985625,22.900483625],[113.520704375,22.987202375],[113.517345,23.033843],[113.533260527344,23.0579274726563],[113.547345,23.0838430000001],[113.567345,23.0838430000001],[113.601790800781,23.0993971992188],[113.632899199219,23.1082888007813],[113.642799101563,23.1206520820313],[113.662650175781,23.1181838203125],[113.716529570313,23.14144065625],[113.821790800781,23.1282888007813],[113.837345,23.1238430000001]]]]}}]} -------------------------------------------------------------------------------- /public/assets/map/city/442000.json: -------------------------------------------------------------------------------- 1 | {"type": "FeatureCollection", "features": [{"type":"Feature","properties":{"name":"中山市"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.587345,22.5138430000001],[113.582908964844,22.5570851875],[113.573624296875,22.521977765625],[113.569637480469,22.4759206367188],[113.573616972656,22.4581716132813],[113.555513945313,22.4456740546876],[113.547345,22.413843],[113.491790800781,22.4093971992187],[113.480477324219,22.3952663398438],[113.493079863281,22.3284352851563],[113.470553007813,22.310395734375],[113.487323027344,22.2818679023438],[113.51107546875,22.2628469062501],[113.481790800781,22.2393971992188],[113.472899199219,22.2282888007813],[113.452093535156,22.2116310859376],[113.407345,22.203843],[113.3857825,22.23507346875],[113.340513945313,22.2520119453125],[113.313260527344,22.3297585273438],[113.278533964844,22.382309796875],[113.247345,22.4038430000001],[113.241209746094,22.4639943671875],[113.214534941406,22.511801984375],[113.177345,22.543843],[113.17123171875,22.5927223945313],[113.157345,22.603843],[113.148944121094,22.6238430000001],[113.163543730469,22.6586037421875],[113.157345,22.683843],[113.192010527344,22.6758107734376],[113.20170046875,22.6994875312501],[113.231082792969,22.7391164375],[113.246263457031,22.74819846875],[113.262110625,22.7276686835938],[113.28170046875,22.73948753125],[113.32298953125,22.74819846875],[113.350238066406,22.7646364570313],[113.357345,22.773843],[113.415872832031,22.7405690742187],[113.44197390625,22.73847190625],[113.447345,22.733843],[113.532655058594,22.6716579414063],[113.531803007813,22.6501686835938],[113.552154570313,22.6186525703125],[113.577345,22.603843],[113.570909453125,22.5881789375001],[113.614908476563,22.5765700507813],[113.603170195313,22.5180178046875],[113.587345,22.5138430000001]]]]}}]} -------------------------------------------------------------------------------- /public/assets/map/city/460200.json: -------------------------------------------------------------------------------- 1 | {"type": "FeatureCollection", "features": [{"type":"Feature","properties":{"name":"三亚市"},"geometry":{"type":"MultiPolygon","coordinates":[[[[109.697345,18.2038430000001],[109.709537382813,18.2004201484375],[109.700767851563,18.1916506171876],[109.697345,18.2038430000001]]],[[[109.697345,18.2038430000001],[109.684537382813,18.2088430000001],[109.697345,18.2138430000001],[109.697345,18.2038430000001]]],[[[109.413922148438,18.2260353828126],[109.417345,18.2138430000001],[109.405152617188,18.2172658515625],[109.413922148438,18.2260353828126]]],[[[109.663922148438,18.2260353828126],[109.667345,18.2138430000001],[109.655152617188,18.2172658515625],[109.663922148438,18.2260353828126]]],[[[109.374195585938,18.2454567695313],[109.377345,18.223843],[109.355159941406,18.227075421875],[109.374195585938,18.2454567695313]]],[[[109.763922148438,18.3160353828125],[109.767345,18.303843],[109.755152617188,18.3072658515626],[109.763922148438,18.3160353828125]]],[[[109.697345,18.273843],[109.673924589844,18.2830495429688],[109.686263457031,18.25948753125],[109.713441191406,18.2699391914063],[109.72158328125,18.2572243476563],[109.741248808594,18.26274925],[109.726717558594,18.2162087226563],[109.712105742188,18.2203151679688],[109.697345,18.2138430000001],[109.685882597656,18.2276418281251],[109.666033964844,18.2383815742188],[109.609952421875,18.2173073554688],[109.614151640625,18.1761110664063],[109.581954375,18.1793923164063],[109.572345,18.1678249335938],[109.56107546875,18.1813893867188],[109.563834257813,18.2084523750001],[109.551883574219,18.2183815742188],[109.542345,18.2298610664063],[109.532735625,18.2182936835938],[109.511173125,18.2204909492188],[109.483192167969,18.1868044257813],[109.467513457031,18.2056764960938],[109.482806425781,18.2183815742188],[109.500089140625,18.2391872382813],[109.46763796875,18.2842775703125],[109.299469023438,18.3031374335937],[109.252345,18.2983327460938],[109.226346464844,18.3009841132813],[109.190477324219,18.287505109375],[109.159569121094,18.2906545234375],[109.134039335938,18.3495241523438],[109.122022734375,18.3483010078125],[109.077178984375,18.3739846015625],[108.991971464844,18.3582253242188],[108.977345,18.383843],[109.007674589844,18.4217189765625],[109.072039824219,18.4495021796875],[109.082703886719,18.4481764960938],[109.110716582031,18.46464378125],[109.188424101563,18.4549782539063],[109.180948515625,18.5150783515625],[109.205094023438,18.5548317695313],[109.249251738281,18.5603249335938],[109.262899199219,18.5493971992188],[109.271790800781,18.5382888007813],[109.282899199219,18.5293971992188],[109.298914824219,18.5093971992188],[109.314080839844,18.529887921875],[109.310985136719,18.5547707343751],[109.391790800781,18.6193971992188],[109.407345,18.6238430000001],[109.414549589844,18.5675392890625],[109.432667265625,18.5693849921875],[109.452022734375,18.5583010078126],[109.47634890625,18.5607790351562],[109.520692167969,18.5415480781251],[109.532955351563,18.508911359375],[109.521065703125,18.4663869453125],[109.522855253906,18.448843],[109.5203528125,18.4242995429688],[109.548199492188,18.39077659375],[109.632345,18.3993532539063],[109.6709778125,18.3954152656251],[109.691883574219,18.4293044257813],[109.702806425781,18.4383815742187],[109.716839628906,18.4861940742188],[109.752806425781,18.5083815742188],[109.767345,18.5258815742188],[109.777345,18.5138430000001],[109.76982546875,18.4959401679688],[109.811429472656,18.4672145820313],[109.793260527344,18.4379274726563],[109.781043730469,18.4294924140625],[109.787345,18.4038430000001],[109.753143339844,18.3774440742188],[109.718292265625,18.2922927070313],[109.70170046875,18.2794875312501],[109.697345,18.273843]],[[109.555159941406,18.2370754218751],[109.577345,18.233843],[109.574195585938,18.2554567695313],[109.555159941406,18.2370754218751]]]]}}]} -------------------------------------------------------------------------------- /public/assets/map/city/620200.json: -------------------------------------------------------------------------------- 1 | {"type": "FeatureCollection", "features": [{"type":"Feature","properties":{"name":"市辖区"},"geometry":{"type":"MultiPolygon","coordinates":[[[[98.1938269335939,39.9671608710938],[98.3373450000001,39.9556288886719],[98.3923450000001,39.9600478339844],[98.4380041796876,39.9563796210938],[98.4773450000001,39.9738430000001],[98.4928064257814,39.9493056464844],[98.5018835742188,39.9183803535157],[98.5218835742189,39.9017678046876],[98.5101794726564,39.8845046210938],[98.4918835742189,39.8693056464844],[98.4814685351564,39.8338222480469],[98.3528064257814,39.7780214667969],[98.3651550585938,39.7512978339844],[98.4105334765626,39.7316176582032],[98.4128943164064,39.7084523750001],[98.3930310351564,39.6919521308594],[98.3816589648438,39.6657338691406],[98.3673450000001,39.653843],[98.3631701953126,39.6596681953125],[98.3153113085938,39.669262921875],[98.2831701953126,39.6896681953125],[98.2437854296877,39.7048586250001],[98.2331701953126,39.7196681953126],[98.1924548632814,39.7280178046876],[98.1531701953126,39.6980178046875],[98.0215198046876,39.6896681953125],[97.9643493945314,39.6640688300782],[97.9431408984376,39.6936586738282],[97.8715198046876,39.7080178046875],[97.8673450000001,39.713843],[97.8719739062502,39.7192153144532],[97.9527160937501,39.768470685547],[98.0266223437501,39.8296034980469],[97.9866980273439,39.8859108710938],[98.0299377734377,39.9129933906251],[98.0071692187501,39.9326088691407],[98.0625671679688,39.957329328125],[98.0673450000001,39.993843],[98.0927160937501,39.9892153144532],[98.1938269335939,39.9671608710938]]]]}}]} -------------------------------------------------------------------------------- /public/assets/map/city/820000.json: -------------------------------------------------------------------------------- 1 | {"type": "FeatureCollection", "features": [{"type":"Feature","properties":{"name":"澳门特别行政区"},"geometry":{"type":"MultiPolygon","coordinates":[[[[113.587345,22.143843],[113.587345,22.153843],[113.600152617188,22.148843],[113.587345,22.143843]]],[[[113.587345,22.153843],[113.563985625,22.1491262031251],[113.571422148438,22.1359279609376],[113.587345,22.143843],[113.581922636719,22.1227175117188],[113.547345,22.113843],[113.543985625,22.1504836250001],[113.537345,22.163843],[113.587345,22.163843],[113.587345,22.153843]]],[[[113.548729277344,22.1878835273438],[113.527345,22.183843],[113.527345,22.193843],[113.537345,22.193843],[113.537345,22.2138430000001],[113.547345,22.2138430000001],[113.560523710938,22.2077028632813],[113.548729277344,22.1878835273438]]]]}}]} -------------------------------------------------------------------------------- /public/assets/map/province/aomen.json: -------------------------------------------------------------------------------- 1 | {"type":"FeatureCollection","features":[{"id":"820001","geometry":{"type":"Polygon","coordinates":["@@LADC^umZ@DONWEBDCLHBH@DFBBNA"],"encodeOffsets":[[116285,22746]]},"properties":{"cp":[113.5528956,22.20787],"name":"花地瑪堂區","childNum":1}},{"id":"820002","geometry":{"type":"Polygon","coordinates":["@@MK@CA@AAGDEB@NVFHE"],"encodeOffsets":[[116281,22734]]},"properties":{"cp":[113.5489608,22.1992075],"name":"花王堂區","childNum":1}},{"id":"820003","geometry":{"type":"Polygon","coordinates":["@@EGOB@DNLHE@C"],"encodeOffsets":[[116285,22729]]},"properties":{"cp":[113.5501828,22.19372083],"name":"望德堂區","childNum":1}},{"id":"820004","geometry":{"type":"Polygon","coordinates":["@@ŸYIPEL@JFCBBFADHDBBFDHIJJEFDPCHHlY"],"encodeOffsets":[[116313,22707]]},"properties":{"cp":[113.5536475,22.18853944],"name":"大堂區","childNum":1}},{"id":"820005","geometry":{"type":"Polygon","coordinates":["@@JICGAECACGEBAAEDP^"],"encodeOffsets":[[116266,22728]]},"properties":{"cp":[113.5419278,22.18736806],"name":"風順堂區","childNum":1}},{"id":"820006","geometry":{"type":"Polygon","coordinates":["@@ ZNWRquZCBCC@AEA@@ADCDCAACEAGBQ@IN"],"encodeOffsets":[[116265,22694]]},"properties":{"cp":[113.5587044,22.15375944],"name":"嘉模堂區","childNum":1}},{"id":"820007","geometry":{"type":"Polygon","coordinates":["@@MOIAIEI@@GE@AAUCBdCFIFR@HAFBBDDBDCBCDB@BFDDC"],"encodeOffsets":[[116316,22676]]},"properties":{"cp":[113.5695992,22.13663],"name":"路氹填海區","childNum":1}},{"id":"820008","geometry":{"type":"Polygon","coordinates":["@@DKMMa_GC_COD@dVDBBF@@HJ@JFJBNP"],"encodeOffsets":[[116329,22670]]},"properties":{"cp":[113.5599542,22.12348639],"name":"聖方濟各堂區","childNum":1}}],"UTF8Encoding":true} -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/public/favicon.ico -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 11 | 12 | 13 | 22 | 智慧畜牧精准扶贫服务平台 23 | 24 | 25 | 26 | 27 | 28 | 29 | 32 |
33 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /public/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "short_name": "React App", 3 | "name": "Create React App Sample", 4 | "icons": [ 5 | { 6 | "src": "favicon.ico", 7 | "sizes": "192x192", 8 | "type": "image/png" 9 | } 10 | ], 11 | "start_url": "./index.html", 12 | "display": "standalone", 13 | "theme_color": "#000000", 14 | "background_color": "#ffffff" 15 | } 16 | -------------------------------------------------------------------------------- /scripts/start.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | // Do this as the first thing so that any code reading it knows the right env. 4 | process.env.BABEL_ENV = 'development'; 5 | process.env.NODE_ENV = 'development'; 6 | 7 | // Makes the script crash on unhandled rejections instead of silently 8 | // ignoring them. In the future, promise rejections that are not handled will 9 | // terminate the Node.js process with a non-zero exit code. 10 | process.on('unhandledRejection', err => { 11 | throw err; 12 | }); 13 | 14 | // Ensure environment variables are read. 15 | require('../config/env'); 16 | 17 | const fs = require('fs'); 18 | const chalk = require('chalk'); 19 | const webpack = require('webpack'); 20 | const WebpackDevServer = require('webpack-dev-server'); 21 | const clearConsole = require('react-dev-utils/clearConsole'); 22 | const checkRequiredFiles = require('react-dev-utils/checkRequiredFiles'); 23 | const { 24 | choosePort, 25 | createCompiler, 26 | prepareProxy, 27 | prepareUrls, 28 | } = require('react-dev-utils/WebpackDevServerUtils'); 29 | const openBrowser = require('react-dev-utils/openBrowser'); 30 | const paths = require('../config/paths'); 31 | const config = require('../config/webpack.config.dev'); 32 | const createDevServerConfig = require('../config/webpackDevServer.config'); 33 | 34 | const useYarn = fs.existsSync(paths.yarnLockFile); 35 | const isInteractive = process.stdout.isTTY; 36 | 37 | // Warn and crash if required files are missing 38 | if (!checkRequiredFiles([paths.appHtml, paths.appIndexJs])) { 39 | process.exit(1); 40 | } 41 | 42 | // Tools like Cloud9 rely on this. 43 | const DEFAULT_PORT = parseInt(process.env.PORT, 10) || 3000; 44 | const HOST = process.env.HOST || '0.0.0.0'; 45 | 46 | // We attempt to use the default port but if it is busy, we offer the user to 47 | // run on a different port. `detect()` Promise resolves to the next free port. 48 | choosePort(HOST, DEFAULT_PORT) 49 | .then(port => { 50 | if (port == null) { 51 | // We have not found a port. 52 | return; 53 | } 54 | const protocol = process.env.HTTPS === 'true' ? 'https' : 'http'; 55 | const appName = require(paths.appPackageJson).name; 56 | const urls = prepareUrls(protocol, HOST, port); 57 | // Create a webpack compiler that is configured with custom messages. 58 | const compiler = createCompiler(webpack, config, appName, urls, useYarn); 59 | // Load proxy config 60 | const proxySetting = require(paths.appPackageJson).proxy; 61 | const proxyConfig = prepareProxy(proxySetting, paths.appPublic); 62 | // Serve webpack assets generated by the compiler over a web sever. 63 | const serverConfig = createDevServerConfig( 64 | proxyConfig, 65 | urls.lanUrlForConfig 66 | ); 67 | const devServer = new WebpackDevServer(compiler, serverConfig); 68 | // Launch WebpackDevServer. 69 | devServer.listen(port, HOST, err => { 70 | if (err) { 71 | return console.log(err); 72 | } 73 | if (isInteractive) { 74 | clearConsole(); 75 | } 76 | console.log(chalk.cyan('Starting the development server...\n')); 77 | openBrowser(urls.localUrlForBrowser); 78 | }); 79 | 80 | ['SIGINT', 'SIGTERM'].forEach(function(sig) { 81 | process.on(sig, function() { 82 | devServer.close(); 83 | process.exit(); 84 | }); 85 | }); 86 | }) 87 | .catch(err => { 88 | if (err && err.message) { 89 | console.log(err.message); 90 | } 91 | process.exit(1); 92 | }); 93 | -------------------------------------------------------------------------------- /scripts/test.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | // Do this as the first thing so that any code reading it knows the right env. 4 | process.env.BABEL_ENV = 'test'; 5 | process.env.NODE_ENV = 'test'; 6 | process.env.PUBLIC_URL = ''; 7 | 8 | // Makes the script crash on unhandled rejections instead of silently 9 | // ignoring them. In the future, promise rejections that are not handled will 10 | // terminate the Node.js process with a non-zero exit code. 11 | process.on('unhandledRejection', err => { 12 | throw err; 13 | }); 14 | 15 | // Ensure environment variables are read. 16 | require('../config/env'); 17 | 18 | const jest = require('jest'); 19 | const argv = process.argv.slice(2); 20 | 21 | // Watch unless on CI or in coverage mode 22 | if (!process.env.CI && argv.indexOf('--coverage') < 0) { 23 | argv.push('--watch'); 24 | } 25 | 26 | 27 | jest.run(argv); 28 | -------------------------------------------------------------------------------- /src/Root.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import { BrowserRouter as Router, Route, Switch } from 'react-router-dom'; 3 | import Home from './pages/home/Home'; 4 | import Login from './pages/login/Login'; 5 | import App from './pages/app/App'; 6 | 7 | class Root extends Component { 8 | render() { 9 | return ( 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | ); 18 | } 19 | } 20 | 21 | export default Root; 22 | -------------------------------------------------------------------------------- /src/components/count/Count.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import './Count.scss'; 3 | 4 | export class Count extends Component { 5 | constructor(props){ 6 | super(props); 7 | this.state = { 8 | 9 | }; 10 | } 11 | getPercentHtml(){ 12 | if(this.props.data.percent){ 13 | return 0?"increase":"decrease")}>0?"fa-long-arrow-up":"fa-long-arrow-down")}>{Math.abs(this.props.data.percent)}% 14 | }else{ 15 | return ''; 16 | } 17 | } 18 | render() { 19 | return ( 20 |
21 | {this.props.text} 22 | {this.props.data.number}{this.props.unit} 23 | {this.getPercentHtml()} 24 |
25 | ); 26 | } 27 | } 28 | 29 | export default Count; -------------------------------------------------------------------------------- /src/components/count/Count.scss: -------------------------------------------------------------------------------- 1 | .component_count{ 2 | display:flex; 3 | justify-content: space-between; 4 | align-items: center; 5 | 6 | .number{ 7 | width: 120px; 8 | strong{ 9 | font-size: 24px; 10 | color: #45c8dc; 11 | font-weight: normal; 12 | } 13 | } 14 | .percent i{ 15 | padding-right: 5px; 16 | } 17 | .percent.increase{ 18 | color: #ac585c; 19 | } 20 | .percent.decrease{ 21 | color: #95b64b; 22 | } 23 | } -------------------------------------------------------------------------------- /src/components/fence/Fence.scss: -------------------------------------------------------------------------------- 1 | .fence{ 2 | min-height: 824px; 3 | .left{ 4 | 5 | } 6 | .right{ 7 | display: flex; 8 | flex-direction:column; 9 | 10 | .whole{ 11 | position: relative; 12 | background-color: #202b49; 13 | margin: 10px; 14 | flex:1; 15 | } 16 | } 17 | .select_bar{ 18 | position: absolute; 19 | top: 0; 20 | left: 80px; 21 | display: flex; 22 | align-items: center; 23 | padding: 10px 20px; 24 | z-index: 10; 25 | label{ 26 | color: white; 27 | font-size: 16px; 28 | margin-right: 10px; 29 | margin-bottom: 0; 30 | height: 25px; 31 | 32 | } 33 | select{ 34 | background: none; 35 | border: #888e9e solid 1px; 36 | border-radius: 16px; 37 | width: 110px; 38 | color: #fff; 39 | padding: 1px 15px; 40 | margin-right: 10px; 41 | option{ 42 | color: #b7b7b7; 43 | } 44 | &:focus{ 45 | outline: none; 46 | } 47 | } 48 | .select2-wrapper{ 49 | .select2-container{ 50 | width: 200px !important; 51 | border: #888e9e solid 1px; 52 | border-radius: 16px; 53 | .select2-selection{ 54 | background: none; 55 | border: none; 56 | height: 23px; 57 | line-height: 23px; 58 | &:focus{ 59 | outline: none; 60 | } 61 | span{ 62 | color: #fff; 63 | border: none; 64 | height: 23px; 65 | line-height: 23px; 66 | } 67 | } 68 | .select2-selection__rendered{ 69 | padding-left: 18px; 70 | } 71 | .select2-selection__arrow{ 72 | top: 0; 73 | right: 0; 74 | } 75 | .dropdown-wrapper{ 76 | color: #b7b7b7; 77 | } 78 | 79 | } 80 | } 81 | 82 | } 83 | .clearall-btn{ 84 | font-size: 12px; 85 | height: 24px; 86 | border: #1968ab solid 1px; 87 | border-radius: 15px; 88 | padding: 1px 15px; 89 | color: #ffffff; 90 | background: #1968ab; 91 | margin: 0 10px; 92 | text-align: center; 93 | &:focus{ 94 | outline: none; 95 | } 96 | } 97 | } -------------------------------------------------------------------------------- /src/components/footer/Footer.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import './Footer.scss'; 3 | 4 | export class Footer extends Component { 5 | render() { 6 | return ( 7 |
8 | 基于O2O大数据的智慧畜牧 iM Copyright © 2016-2018 All Rights Reserved. 中国电信股份有限公司北京研究院 版权所有 9 |
10 | ); 11 | } 12 | } 13 | 14 | export default Footer; -------------------------------------------------------------------------------- /src/components/footer/Footer.scss: -------------------------------------------------------------------------------- 1 | footer { 2 | background-color: rgb(24,37,53); 3 | height: 50px; 4 | min-height: 40px; 5 | color: #8c8c8c; 6 | font-size: 12px; 7 | border-top: #757988 solid 1px; 8 | text-align: center; 9 | box-sizing: border-box; 10 | display: flex; 11 | justify-content: center; 12 | align-items:center; 13 | } -------------------------------------------------------------------------------- /src/components/header/Header.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | 3 | import './Header.scss'; 4 | import logoImg from '../../img/logo.png'; 5 | import userImg from '../../img/uesrname.png'; 6 | 7 | 8 | export class Header extends Component { 9 | render() { 10 | return ( 11 |
12 |
13 | 中国电信|小牧童 14 |
15 |
智慧畜牧精准扶贫服务平台
16 |
17 | 18 | 19 | 欢迎您|李美梅 20 | 21 |
22 |
23 | ); 24 | } 25 | } 26 | 27 | export default Header; -------------------------------------------------------------------------------- /src/components/header/Header.scss: -------------------------------------------------------------------------------- 1 | .app-header{ 2 | background-color: rgb(24,37,53); 3 | color: white; 4 | height: 80px; 5 | min-height: 80px; 6 | position: relative; 7 | display: flex; 8 | justify-content: space-between; 9 | align-items: center; 10 | .logo{ 11 | padding-left: 30px; 12 | } 13 | .heading{ 14 | font-size: 24px; 15 | } 16 | .bar{ 17 | display: flex; 18 | align-items: center; 19 | font-size: 12px; 20 | padding-top: 20px; 21 | padding-right: 10px; 22 | color: #d1d3d7; 23 | align-self: flex-start; 24 | i{ 25 | margin-right: 6px; 26 | img{ 27 | vertical-align: text-top; 28 | } 29 | 30 | } 31 | em{ 32 | color: #3974a8; 33 | margin: 0 4px; 34 | font-style: normal; 35 | font-weight: bold; 36 | } 37 | .logout_btn{ 38 | margin-left: 10px; 39 | padding: 0px 2px; 40 | height: 26px; 41 | width: 80px; 42 | border: #194b78 solid 1px; 43 | border-radius: 13px; 44 | background-color: transparent; 45 | 46 | } 47 | } 48 | &:after{ 49 | content: ''; 50 | display: block; 51 | position: absolute; 52 | bottom: 0; 53 | left: 0; 54 | width: 100%; 55 | height: 3px; 56 | background: linear-gradient(to top right, #3fa6cb,#c2625c); 57 | } 58 | 59 | } -------------------------------------------------------------------------------- /src/components/livestockPieChart/LivestockPieChart.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | 3 | // 引入 ECharts 主模块 4 | import echarts from 'echarts/lib/echarts'; 5 | import 'echarts/lib/chart/pie'; 6 | import 'echarts/lib/component/tooltip'; 7 | import 'echarts/lib/component/title'; 8 | import 'echarts/lib/component/legend'; 9 | let myChart,option; 10 | class LivestockPieChart extends Component { 11 | constructor(props){ 12 | super(props); 13 | this.state = { 14 | }; 15 | } 16 | componentDidMount() { 17 | // 基于准备好的dom,初始化echarts实例 18 | myChart = echarts.init(document.getElementById('livestockPieChart')); 19 | option = { 20 | tooltip: { 21 | trigger: 'item', 22 | formatter: "{a}
{b}: {c} ({d}%)" 23 | }, 24 | legend: { 25 | orient: 'horizontal', 26 | left: 'center', 27 | bottom:'0', 28 | itemWidth: 20, 29 | textStyle: { 30 | color: '#b7b7b7', 31 | }, 32 | 33 | data: this.getLegendData(this.props.data) 34 | }, 35 | 36 | series: [ 37 | { 38 | name:'牲畜数量', 39 | type:'pie', 40 | center: ['50%', '50%'], 41 | radius: [0, '30%'], 42 | color: ['#45c7c3','#327992'], 43 | label: { 44 | normal: { 45 | show: false 46 | } 47 | }, 48 | labelLine: { 49 | normal: { 50 | show: false 51 | } 52 | }, 53 | data:[ 54 | {value:679, name:'围栏外'}, 55 | {value:1548, name:'围栏内'} 56 | ] 57 | }, 58 | { 59 | name:'牲畜分类', 60 | type:'pie', 61 | center: ['50%', '50%'], 62 | radius: ['45%', '60%'], 63 | color: ['#46d6aa','#4baede','#e9a17d','#b890ff','#78cdfe'], 64 | label: { 65 | normal: { 66 | show: true, 67 | formatter: '{b}\n{d}%' 68 | } 69 | }, 70 | labelLine: { 71 | normal: { 72 | show: true 73 | } 74 | }, 75 | data: this.props.data 76 | } 77 | ] 78 | }; 79 | // 绘制图表 80 | myChart.setOption(option); 81 | } 82 | componentWillReceiveProps(nextProps) { 83 | option = { 84 | legend: { 85 | data: this.getLegendData(nextProps.data) 86 | }, 87 | series: [{ 88 | name:'牲畜分类', 89 | 90 | data: nextProps.data 91 | }] 92 | }; 93 | // 绘制图表 94 | myChart.setOption(option); 95 | } 96 | componentWillUnmount() { 97 | myChart.dispose(); 98 | } 99 | render() { 100 | return ( 101 |
102 | ); 103 | } 104 | /** 105 | *功能:转化牧场类型饼图数据 106 | *返回类型:Array 107 | *形式:["马","骆驼"] 108 | **/ 109 | getLegendData(arr){ 110 | let data = []; 111 | if(arr.length > 0){ 112 | arr.map((item,index)=>{ 113 | data.push(item.name); 114 | }); 115 | } 116 | return data; 117 | } 118 | } 119 | 120 | export default LivestockPieChart; -------------------------------------------------------------------------------- /src/components/nav/Nav.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import { NavLink } from 'react-router-dom'; 3 | import './Nav.scss'; 4 | class Nav extends Component { 5 | render() { 6 | return ( 7 | 15 | ); 16 | } 17 | } 18 | 19 | export default Nav; -------------------------------------------------------------------------------- /src/components/nav/Nav.scss: -------------------------------------------------------------------------------- 1 | .app-nav{ 2 | height: 60px; 3 | background-color: rgb(24,37,53); 4 | color: white; 5 | box-sizing: border-box; 6 | border-bottom: #757988 solid 1px; 7 | ul{ 8 | display: flex; 9 | margin: 0; 10 | padding: 0 30px; 11 | li{ 12 | width: 160px; 13 | height: 58px; 14 | list-style: none; 15 | display:flex; 16 | justify-content: space-between; 17 | align-items: center; 18 | 19 | a { 20 | color: white; 21 | font-size: 18px; 22 | height:100%; 23 | width:100%; 24 | line-height: 100%; 25 | outline: none; 26 | text-decoration: none; 27 | display:flex; 28 | align-items: center; 29 | } 30 | &:hover{ 31 | background-color: #242b42; 32 | } 33 | .active{ 34 | background-color: #242b42; 35 | } 36 | &:nth-child(1){ 37 | a{ 38 | &:before{ 39 | content: ''; 40 | background-image: url('../../img/nav1.png'); 41 | background-size: cover; 42 | width:26px; 43 | height:18px; 44 | margin-left: 20px; 45 | margin-right: 20px; 46 | } 47 | } 48 | &:after{ 49 | content: ''; 50 | background: #44b7de; 51 | width: 2px; 52 | height: 30px; 53 | border-radius: 1px; 54 | 55 | } 56 | } 57 | &:nth-child(2){ 58 | a{ 59 | &:before{ 60 | content: ''; 61 | background-image: url('../../img/nav2.png'); 62 | background-size: cover; 63 | width:18px; 64 | height:18px; 65 | margin-left: 20px; 66 | margin-right: 20px; 67 | } 68 | } 69 | &:after{ 70 | content: ''; 71 | background: #f6726f; 72 | width: 2px; 73 | height: 30px; 74 | border-radius: 1px; 75 | 76 | } 77 | } 78 | &:nth-child(3){ 79 | a{ 80 | &:before{ 81 | content: ''; 82 | background-image: url('../../img/nav3.png'); 83 | background-size: cover; 84 | width:24px; 85 | height:18px; 86 | margin-left: 20px; 87 | margin-right: 20px; 88 | } 89 | } 90 | &:after{ 91 | content: ''; 92 | background: #4bd0c8; 93 | width: 2px; 94 | height: 30px; 95 | border-radius: 1px; 96 | 97 | } 98 | } 99 | &:nth-child(4){ 100 | a{ 101 | &:before{ 102 | content: ''; 103 | background-image: url('../../img/nav4.png'); 104 | background-size: cover; 105 | width:18px; 106 | height:18px; 107 | margin-left: 20px; 108 | margin-right: 20px; 109 | } 110 | } 111 | &:after{ 112 | content: ''; 113 | background: #c9f664; 114 | width: 2px; 115 | height: 30px; 116 | border-radius: 1px; 117 | 118 | } 119 | } 120 | } 121 | } 122 | } 123 | -------------------------------------------------------------------------------- /src/components/notice/Notice.scss: -------------------------------------------------------------------------------- 1 | .notice{ 2 | .left{ 3 | color: #e6e6e6; 4 | .title{ 5 | color: white; 6 | font-size: 16px; 7 | padding-top: 10px; 8 | padding-bottom: 20px; 9 | } 10 | } 11 | .right{ 12 | display: flex; 13 | flex-direction:column; 14 | .whole{ 15 | position: relative; 16 | background-color: #202b49; 17 | margin: 10px; 18 | flex:1; 19 | } 20 | } 21 | 22 | .select_bar{ 23 | position: absolute; 24 | top: 0; 25 | left: 80px; 26 | display: flex; 27 | align-items: center; 28 | padding: 10px 20px; 29 | z-index: 10; 30 | label{ 31 | color: white; 32 | font-size: 16px; 33 | margin-right: 10px; 34 | margin-bottom: 0; 35 | height: 25px; 36 | 37 | } 38 | select{ 39 | background: none; 40 | border: #888e9e solid 1px; 41 | border-radius: 16px; 42 | width: 110px; 43 | color: #fff; 44 | padding: 1px 15px; 45 | margin-right: 10px; 46 | option{ 47 | color: #b7b7b7; 48 | } 49 | &:focus{ 50 | outline: none; 51 | } 52 | } 53 | } 54 | .daterangepicker-wrapper{ 55 | position: absolute; 56 | top: 10px; 57 | left: 100px; 58 | z-index: 100; 59 | .daterangepicker-content{ 60 | background-color: transparent; 61 | color: white; 62 | border: #888e9e solid 1px; 63 | height: 25px; 64 | padding: 1px 15px; 65 | text-align: center; 66 | border-radius: 16px; 67 | } 68 | 69 | } 70 | 71 | 72 | } -------------------------------------------------------------------------------- /src/components/overview/Overview.scss: -------------------------------------------------------------------------------- 1 | .overview{ 2 | min-height: 824px; 3 | .left{ 4 | .img-wrap { 5 | height: 135px; 6 | padding-top: 15px; 7 | text-align: center; 8 | img { 9 | height: 100%; 10 | } 11 | } 12 | .component_refresh_time{ 13 | align-items:center; 14 | } 15 | } 16 | .right{ 17 | display: flex; 18 | flex-direction:column; 19 | .top{ 20 | position: relative; 21 | background-color: #202b49; 22 | height: 500px; 23 | margin: 10px; 24 | 25 | } 26 | .bottom{ 27 | position: relative; 28 | background-color: #202b49; 29 | margin: 0 10px; 30 | flex:1; 31 | } 32 | } 33 | .rank_list{ 34 | position: absolute; 35 | z-index:10; 36 | right: 50px; 37 | bottom: 50px; 38 | width:300px; 39 | height: 170px; 40 | color: #b7b7b7; 41 | .title{ 42 | height: 24px; 43 | width: 100%; 44 | color: #fff; 45 | font-size: 14px; 46 | font-weight: bold; 47 | margin-bottom: 10px; 48 | display: flex; 49 | align-items: center; 50 | i{ 51 | background-color: #f34235; 52 | width: 4px; 53 | border-radius: 2px; 54 | height: 14px; 55 | margin-right: 4px; 56 | display: inline-block; 57 | } 58 | } 59 | ul{ 60 | padding: 0; 61 | display: flex; 62 | flex-wrap: wrap; 63 | li{ 64 | width:50%; 65 | list-style: none; 66 | margin-bottom: 5px; 67 | overflow:hidden; 68 | text-overflow:ellipsis; 69 | white-space: nowrap; 70 | i{ 71 | width: 20px; 72 | height: 16px; 73 | border-radius: 2px; 74 | text-align: center; 75 | display: inline-block; 76 | background-color: #2e3e69; 77 | font-size: 10px; 78 | line-height: 16px; 79 | margin-right: 10px; 80 | font-style: normal; 81 | font-weight: normal; 82 | } 83 | &:nth-child(1){ 84 | color: white; 85 | i{ 86 | background-color: #f34235; 87 | } 88 | } 89 | &:nth-child(2){ 90 | color: white; 91 | i{ 92 | background-color: #ffa795; 93 | } 94 | } 95 | &:nth-child(3){ 96 | color: white; 97 | i{ 98 | background-color: #45c8dc; 99 | } 100 | } 101 | } 102 | 103 | } 104 | } 105 | .select_bar{ 106 | position: absolute; 107 | top: 0; 108 | left: 80px; 109 | display: flex; 110 | align-items: center; 111 | padding: 10px 20px; 112 | z-index: 10; 113 | label{ 114 | color: white; 115 | font-size: 16px; 116 | margin-right: 10px; 117 | margin-bottom: 0; 118 | height: 25px; 119 | 120 | } 121 | select{ 122 | background: none; 123 | border: #888e9e solid 1px; 124 | border-radius: 16px; 125 | width: 110px; 126 | color: #fff; 127 | padding: 1px 15px; 128 | margin-right: 10px; 129 | option{ 130 | color: #b7b7b7; 131 | } 132 | &:focus{ 133 | outline: none; 134 | } 135 | } 136 | } 137 | .button_group{ 138 | position: absolute; 139 | top: 10px; 140 | right: 10px; 141 | display: flex; 142 | align-items: center; 143 | z-index: 10; 144 | color: #b7b7b7; 145 | button{ 146 | font-size: 12px; 147 | height: 24px; 148 | border: #1968ab solid 1px; 149 | border-radius: 15px; 150 | padding: 0 25px; 151 | color: #ffffff; 152 | background: none; 153 | margin: 0 10px; 154 | text-align: center; 155 | &:focus{ 156 | outline: none; 157 | } 158 | } 159 | button.active{ 160 | background-color: #1968ab; 161 | } 162 | } 163 | .clearall-btn{ 164 | font-size: 12px; 165 | height: 24px; 166 | border: #1968ab solid 1px; 167 | border-radius: 15px; 168 | padding: 1px 15px; 169 | color: #ffffff; 170 | background: #1968ab; 171 | margin: 0; 172 | text-align: center; 173 | &:focus{ 174 | outline: none; 175 | } 176 | } 177 | 178 | } -------------------------------------------------------------------------------- /src/components/pasturePieChart/PasturePieChart.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | 3 | // 引入 ECharts 主模块 4 | import echarts from 'echarts/lib/echarts'; 5 | import 'echarts/lib/chart/pie'; 6 | import 'echarts/lib/component/tooltip'; 7 | import 'echarts/lib/component/title'; 8 | let myChart,option; 9 | class PasturePieChart extends Component { 10 | constructor(props){ 11 | super(props); 12 | this.state = { 13 | }; 14 | } 15 | componentWillReceiveProps(nextProps) { 16 | option = { 17 | series: [{ 18 | name:'demo', 19 | data: this.getInnerData(nextProps.data) 20 | },{ 21 | name:'牧场分类', 22 | 23 | data: nextProps.data 24 | }] 25 | }; 26 | // 绘制图表 27 | myChart.setOption(option); 28 | } 29 | componentDidMount() { 30 | // 基于准备好的dom,初始化echarts实例 31 | myChart = echarts.init(document.getElementById('pasturePieChart')); 32 | option = { 33 | tooltip: { 34 | trigger: 'item', 35 | formatter: "{a}
{b}: {c} ({d}%)" 36 | }, 37 | series: [{ 38 | name:'demo', 39 | type:'pie', 40 | hoverAnimation: false, 41 | legendHoverLink:false, 42 | radius: ['52%', '55%'], 43 | color: ['#915872', '#3077b7', '#9a8169', '#3f8797'], 44 | label: { 45 | normal: { 46 | position: 'inner' 47 | } 48 | }, 49 | labelLine: { 50 | normal: { 51 | show: false 52 | }, 53 | 54 | }, 55 | tooltip: { 56 | show:false, 57 | 58 | }, 59 | data: this.getInnerData(this.props.data) 60 | },{ 61 | name:'牧场分类', 62 | type:'pie', 63 | radius: ['55%', '70%'], 64 | color: ['#d74e67', '#0092ff', '#eba954', '#21b6b9'], 65 | label: { 66 | normal: { 67 | show: true, 68 | formatter: '{b}\n{d}%' 69 | } 70 | }, 71 | labelLine: { 72 | normal: { 73 | show: true 74 | } 75 | }, 76 | data: this.props.data 77 | }] 78 | }; 79 | // 绘制图表 80 | myChart.setOption(option); 81 | } 82 | getInnerData(data){ 83 | let temp = []; 84 | for (var i = 0; i < data.length; i++) { 85 | temp.push({ 86 | name: '', 87 | value: data[i].value 88 | }) 89 | } 90 | return temp; 91 | } 92 | componentWillUnmount() { 93 | myChart.dispose(); 94 | } 95 | render() { 96 | return ( 97 |
98 | ); 99 | } 100 | } 101 | 102 | export default PasturePieChart; -------------------------------------------------------------------------------- /src/components/refreshTime/RefreshTime.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import moment from 'moment'; 3 | import './RefreshTime.scss'; 4 | 5 | class RefreshTime extends Component { 6 | constructor(){ 7 | super(); 8 | this.state = { 9 | time: '' 10 | } 11 | } 12 | componentDidMount() { 13 | this.setState({ 14 | time: moment().format('YYYY/MM/DD HH:mm') 15 | }) 16 | } 17 | render() { 18 | return ( 19 |
20 | 最后刷新时间:{this.state.time} 21 |
22 | ); 23 | } 24 | } 25 | 26 | export default RefreshTime; -------------------------------------------------------------------------------- /src/components/refreshTime/RefreshTime.scss: -------------------------------------------------------------------------------- 1 | .component_refresh_time { 2 | font-size: 12px; 3 | color: #b7b7b7; 4 | vertical-align: middle; 5 | flex: 1; 6 | display: flex; 7 | justify-content: center; 8 | align-items:flex-start; 9 | } -------------------------------------------------------------------------------- /src/components/sum/Sum.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import './Sum.scss'; 3 | 4 | export class Sum extends Component { 5 | constructor(props){ 6 | super(props); 7 | this.state = { 8 | 9 | }; 10 | } 11 | render() { 12 | return ( 13 |
14 | {this.props.data.number}{this.props.unit} 15 | 0?"increase":"decrease")}>0?"fa-long-arrow-up":"fa-long-arrow-down")}>{Math.abs(this.props.data.percent)}% 16 |
17 | ); 18 | } 19 | } 20 | 21 | export default Sum; -------------------------------------------------------------------------------- /src/components/sum/Sum.scss: -------------------------------------------------------------------------------- 1 | .component_sum{ 2 | display:flex; 3 | justify-content: space-between; 4 | align-items: baseline; 5 | .number{ 6 | color: #bbbbbb; 7 | strong{ 8 | font-size: 24px; 9 | color: #45c8dc; 10 | font-weight: normal; 11 | } 12 | } 13 | .percent i{ 14 | padding-right: 5px; 15 | } 16 | .percent.increase{ 17 | color: #ac585c; 18 | } 19 | .percent.decrease{ 20 | color: #95b64b; 21 | } 22 | } -------------------------------------------------------------------------------- /src/components/trace/Trace.scss: -------------------------------------------------------------------------------- 1 | .trace{ 2 | min-height: 824px; 3 | .left{ 4 | color: #e6e6e6; 5 | .title{ 6 | color: white; 7 | font-size: 16px; 8 | padding-top: 10px; 9 | padding-bottom: 20px; 10 | } 11 | } 12 | .right{ 13 | display: flex; 14 | flex-direction:column; 15 | .top{ 16 | position: relative; 17 | background-color: #202b49; 18 | height: 50%; 19 | margin: 10px; 20 | 21 | } 22 | .bottom{ 23 | position: relative; 24 | background-color: #202b49; 25 | margin: 0 10px; 26 | flex:1; 27 | } 28 | } 29 | 30 | .select_bar{ 31 | position: absolute; 32 | top: 0; 33 | left: 80px; 34 | display: flex; 35 | align-items: center; 36 | padding: 10px 20px; 37 | z-index: 10; 38 | label{ 39 | color: white; 40 | font-size: 16px; 41 | margin-right: 10px; 42 | margin-bottom: 0; 43 | height: 25px; 44 | 45 | } 46 | select{ 47 | background: none; 48 | border: #888e9e solid 1px; 49 | border-radius: 16px; 50 | width: 110px; 51 | color: #fff; 52 | padding: 1px 15px; 53 | margin-right: 10px; 54 | option{ 55 | color: #b7b7b7; 56 | } 57 | &:focus{ 58 | outline: none; 59 | } 60 | } 61 | } 62 | .daterangepicker-wrapper{ 63 | position: absolute; 64 | top: 10px; 65 | left: 100px; 66 | z-index: 100; 67 | .daterangepicker-content{ 68 | background-color: transparent; 69 | color: white; 70 | border: #888e9e solid 1px; 71 | height: 25px; 72 | padding: 1px 15px; 73 | text-align: center; 74 | border-radius: 16px; 75 | } 76 | 77 | } 78 | .clearall-btn{ 79 | font-size: 12px; 80 | height: 24px; 81 | border: #1968ab solid 1px; 82 | border-radius: 15px; 83 | padding: 1px 15px; 84 | color: #ffffff; 85 | background: #1968ab; 86 | margin: 0; 87 | text-align: center; 88 | &:focus{ 89 | outline: none; 90 | } 91 | } 92 | } -------------------------------------------------------------------------------- /src/css/index.scss: -------------------------------------------------------------------------------- 1 | html,body{ 2 | width: 100%; 3 | height: 100%; 4 | } 5 | body{ 6 | font-family: "Microsoft Yahei"; 7 | } 8 | #root{ 9 | width: 100%; 10 | height: 100%; 11 | } -------------------------------------------------------------------------------- /src/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/src/img/logo.png -------------------------------------------------------------------------------- /src/img/nav1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/src/img/nav1.png -------------------------------------------------------------------------------- /src/img/nav2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/src/img/nav2.png -------------------------------------------------------------------------------- /src/img/nav3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/src/img/nav3.png -------------------------------------------------------------------------------- /src/img/nav4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/src/img/nav4.png -------------------------------------------------------------------------------- /src/img/poverty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/src/img/poverty.png -------------------------------------------------------------------------------- /src/img/uesrname.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sncer/React-Echarts-Bmap/ab61459623cd6d163060d0402cff5a7ac4aa7e49/src/img/uesrname.png -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom'; 3 | import 'bootstrap/dist/css/bootstrap.min.css'; 4 | import 'font-awesome/css/font-awesome.min.css'; 5 | // Put any other imports below so that CSS from your 6 | // components takes precedence over default styles. 7 | 8 | import Root from './Root'; 9 | import registerServiceWorker from './registerServiceWorker'; 10 | import './css/index.scss'; 11 | 12 | ReactDOM.render(, document.getElementById('root')); 13 | registerServiceWorker(); 14 | -------------------------------------------------------------------------------- /src/js/utils/bmapStyle.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "featureType": "water", 4 | "elementType": "all", 5 | "stylers": { 6 | "color": "#000102" 7 | } 8 | }, 9 | { 10 | "featureType": "land", 11 | "elementType": "geometry", 12 | "stylers": { 13 | "color": "#031628" 14 | } 15 | }, 16 | { 17 | "featureType": "highway", 18 | "elementType": "all", 19 | "stylers": { 20 | "visibility": "off" 21 | } 22 | }, 23 | { 24 | "featureType": "arterial", 25 | "elementType": "geometry.fill", 26 | "stylers": { 27 | "color": "#000000" 28 | } 29 | }, 30 | { 31 | "featureType": "arterial", 32 | "elementType": "geometry.stroke", 33 | "stylers": { 34 | "color": "#0b3d51" 35 | } 36 | }, 37 | { 38 | "featureType": "local", 39 | "elementType": "geometry", 40 | "stylers": { 41 | "color": "#000000" 42 | } 43 | }, 44 | { 45 | "featureType": "railway", 46 | "elementType": "geometry.fill", 47 | "stylers": { 48 | "color": "#000000" 49 | } 50 | }, 51 | { 52 | "featureType": "railway", 53 | "elementType": "geometry.stroke", 54 | "stylers": { 55 | "color": "#08304b" 56 | } 57 | }, 58 | { 59 | "featureType": "subway", 60 | "elementType": "geometry", 61 | "stylers": { 62 | "lightness": -70 63 | } 64 | }, 65 | { 66 | "featureType": "building", 67 | "elementType": "geometry.fill", 68 | "stylers": { 69 | "color": "#000000" 70 | } 71 | }, 72 | { 73 | "featureType": "all", 74 | "elementType": "labels.text.fill", 75 | "stylers": { 76 | "color": "#857f7f" 77 | } 78 | }, 79 | { 80 | "featureType": "all", 81 | "elementType": "labels.text.stroke", 82 | "stylers": { 83 | "color": "#000000" 84 | } 85 | }, 86 | { 87 | "featureType": "building", 88 | "elementType": "geometry", 89 | "stylers": { 90 | "color": "#022338" 91 | } 92 | }, 93 | { 94 | "featureType": "green", 95 | "elementType": "geometry", 96 | "stylers": { 97 | "color": "#062032" 98 | } 99 | }, 100 | { 101 | "featureType": "boundary", 102 | "elementType": "all", 103 | "stylers": { 104 | "color": "#465b6c" 105 | } 106 | }, 107 | { 108 | "featureType": "manmade", 109 | "elementType": "all", 110 | "stylers": { 111 | "color": "#022338" 112 | } 113 | }, 114 | { 115 | "featureType": "label", 116 | "elementType": "all", 117 | "stylers": { 118 | "visibility": "off" 119 | } 120 | } 121 | ] 122 | 123 | 124 | 125 | -------------------------------------------------------------------------------- /src/js/utils/comm.js: -------------------------------------------------------------------------------- 1 | //此文件用于保存通用方法 2 | 3 | /**数组根据数组对象中的某个属性值进行排序的方法 4 | * 使用例子:newArray.sort(sortBy('number',false)) //表示根据number属性降序排列;若第二个参数不传递,默认表示升序排序 5 | * @param attr 排序的属性 如number属性 6 | * @param rev true表示升序排列,false降序排序 7 | * */ 8 | export function sortBy(attr,rev){ 9 | //第二个参数没有传递 默认降序排列 10 | if(rev == undefined){ 11 | rev = -1; 12 | }else{ 13 | rev = (rev) ? -1 : 1; 14 | } 15 | 16 | return function(a,b){ 17 | a = a[attr]; 18 | b = b[attr]; 19 | if(a < b){ 20 | return rev * -1; 21 | } 22 | if(a > b){ 23 | return rev * 1; 24 | } 25 | return 0; 26 | } 27 | } -------------------------------------------------------------------------------- /src/js/utils/global.js: -------------------------------------------------------------------------------- 1 | //存放全局变量 -------------------------------------------------------------------------------- /src/pages/app/App.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | import { Route, Switch } from 'react-router-dom'; 3 | import Header from '../../components/header/Header'; 4 | import Nav from '../../components/nav/Nav'; 5 | import Footer from '../../components/footer/Footer'; 6 | import Overview from '../../components/overview/Overview'; 7 | import Fence from '../../components/fence/Fence'; 8 | import Trace from '../../components/trace/Trace'; 9 | import Notice from '../../components/notice/Notice'; 10 | import './App.scss' 11 | 12 | class App extends Component { 13 | render() { 14 | return ( 15 |
16 |
17 |
28 | ); 29 | } 30 | } 31 | 32 | export default App; -------------------------------------------------------------------------------- /src/pages/app/App.scss: -------------------------------------------------------------------------------- 1 | .app-warpper { 2 | height: 100%; 3 | width: 100%; 4 | display: flex; 5 | flex-direction:column; 6 | .main { 7 | flex:1; 8 | display:flex; 9 | flex-direction:row; 10 | .left{ 11 | width: 350px; 12 | background-color: #242b42; 13 | box-sizing: border-box; 14 | border-right: #757988 solid 1px; 15 | display: flex; 16 | flex-direction:column; 17 | section{ 18 | width: 100%; 19 | padding: 15px 30px; 20 | border-bottom: #32426f solid 1px; 21 | .sum{ 22 | color: white; 23 | font-size: 14px; 24 | } 25 | } 26 | 27 | } 28 | .right{ 29 | flex:1; 30 | background-color: #182535; 31 | } 32 | .ec-extension-bmap{ 33 | .anchorBL{ 34 | display: none; 35 | } 36 | } 37 | } 38 | 39 | } -------------------------------------------------------------------------------- /src/pages/home/Home.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | 3 | export class Home extends Component { 4 | render() { 5 | return ( 6 |
主页
7 | ); 8 | } 9 | } 10 | 11 | export default Home; -------------------------------------------------------------------------------- /src/pages/login/Login.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react'; 2 | 3 | export class Login extends Component { 4 | render() { 5 | return ( 6 |
登录
7 | ); 8 | } 9 | } 10 | 11 | export default Login; --------------------------------------------------------------------------------