@cloudbase/weda-ui 0.2.13 → 0.2.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -2
- package/package.json +41 -16
- package/src/configs/components/calendar.json +75 -0
- package/src/configs/components/carousel.json +273 -0
- package/src/configs/components/chart/statisticsCard.json +331 -0
- package/src/configs/components/dataView.json +139 -0
- package/src/configs/components/form/location.json +152 -0
- package/src/configs/components/form/uploaderFile.json +2 -1
- package/src/configs/components/graphicCard.json +399 -0
- package/src/configs/components/image.json +4 -0
- package/src/configs/components/link.json +2 -2
- package/src/configs/components/listView.json +230 -0
- package/src/configs/components/navLayout.json +350 -0
- package/src/configs/components/swiper.json +3 -3
- package/src/configs/index.js +16 -0
- package/src/mp/components/button/index.js +12 -13
- package/src/mp/components/button/index.wxml +1 -1
- package/src/{web/wedatheme/src/styles/assets → mp/components/calendar}/arrowright--line.svg +3 -4
- package/src/mp/components/calendar/index.js +238 -0
- package/src/mp/components/calendar/index.json +4 -0
- package/src/mp/components/calendar/index.wxml +37 -0
- package/src/mp/components/calendar/index.wxss +178 -0
- package/src/mp/components/carousel/index.js +88 -0
- package/src/mp/components/carousel/index.json +7 -0
- package/src/mp/components/carousel/index.wxml +6 -0
- package/src/mp/components/chart/statisticsCard/index.js +226 -0
- package/src/mp/components/chart/statisticsCard/index.json +4 -0
- package/src/mp/components/chart/statisticsCard/index.wxml +9 -0
- package/src/mp/components/chart/statisticsCard/index.wxss +45 -0
- package/src/mp/components/container/index.js +4 -0
- package/src/mp/components/dataView/index.js +34 -0
- package/src/mp/components/dataView/index.json +7 -0
- package/src/mp/components/dataView/index.wxml +15 -0
- package/src/{web/wedatheme/src/styles/theme/_icon.scss → mp/components/dataView/index.wxss} +0 -0
- package/src/mp/components/form/location/components/mapChoose/index.js +201 -0
- package/src/mp/components/form/location/components/mapChoose/index.json +4 -0
- package/src/mp/components/form/location/components/mapChoose/index.wxml +42 -0
- package/src/mp/components/form/location/components/mapChoose/index.wxss +188 -0
- package/src/mp/components/form/location/index.js +341 -0
- package/src/mp/components/form/location/index.json +6 -0
- package/src/mp/components/form/location/index.wxml +25 -0
- package/src/mp/components/form/location/index.wxss +91 -0
- package/src/mp/components/form/uploader/index.js +39 -35
- package/src/mp/components/form/uploaderFile/index.js +63 -30
- package/src/mp/components/form/uploaderFile/index.wxss +1 -0
- package/src/mp/components/graphicCard/chevron-right.svg +3 -0
- package/src/mp/components/graphicCard/index.js +205 -0
- package/src/mp/components/graphicCard/index.json +4 -0
- package/src/mp/components/graphicCard/index.wxml +29 -0
- package/src/mp/components/graphicCard/index.wxss +157 -0
- package/src/mp/components/image/index.js +53 -52
- package/src/mp/components/listView/arrow-right-line.svg +3 -0
- package/src/mp/components/listView/index.js +286 -0
- package/src/mp/components/listView/index.json +4 -0
- package/src/mp/components/listView/index.wxml +40 -0
- package/src/mp/components/listView/index.wxss +150 -0
- package/src/mp/components/listView/more-line.svg +3 -0
- package/src/mp/components/navLayout/index.js +123 -0
- package/src/mp/components/navLayout/index.json +7 -0
- package/src/mp/components/navLayout/index.wxml +25 -0
- package/src/mp/components/navLayout/index.wxss +1193 -0
- package/src/mp/components/swiper/index.wxml +2 -0
- package/src/mp/components/text/index.wxss +6 -6
- package/src/mp/index.json +9 -1
- package/src/mp/utils/debounce.js +133 -0
- package/src/mp/utils/dr_square_point.js +25 -0
- package/src/mp/utils/qqmap-wx-jssdk1.2/qqmap-wx-jssdk.js +1336 -0
- package/src/mp/utils/spark-md5.js +776 -0
- package/src/mp/utils/tcb.js +18 -0
- package/src/web/components/button/index.tsx +1 -1
- package/src/web/components/calendar/index.css +382 -0
- package/src/web/components/calendar/index.jsx +312 -0
- package/src/web/components/calendar/util.js +90 -0
- package/src/web/components/carousel/index.css +119 -0
- package/src/web/components/carousel/index.tsx +417 -0
- package/src/web/components/chart/statisticsCard/index.css +62 -0
- package/src/web/components/chart/statisticsCard/index.tsx +286 -0
- package/src/web/components/chart/statisticsCard/interface.ts +14 -0
- package/src/web/components/dataView/index.tsx +20 -0
- package/src/web/components/dataView/interface.ts +6 -0
- package/src/web/components/form/input/index.css +41 -4
- package/src/web/components/form/input/index.tsx +1 -0
- package/src/web/components/form/location/common/mapChoose.css +178 -0
- package/src/web/components/form/location/common/mapChoose.jsx +343 -0
- package/src/web/components/form/location/common/mapView.jsx +190 -0
- package/src/web/components/form/location/common/propsConfig.js +54 -0
- package/src/web/components/form/location/common/selectModal.css +44 -0
- package/src/web/components/form/location/common/selectModal.jsx +82 -0
- package/src/web/components/form/location/common/useLocationInfo.js +100 -0
- package/src/web/components/form/location/components/LocationH5/index.css +243 -0
- package/src/web/components/form/location/components/LocationH5/location.h5.jsx +403 -0
- package/src/web/components/form/location/components/LocationPC/Header.jsx +109 -0
- package/src/web/components/form/location/components/LocationPC/index.css +44 -0
- package/src/web/components/form/location/components/LocationPC/location.PC.jsx +323 -0
- package/src/web/components/form/location/constants.js +4 -0
- package/src/web/{wedatheme/src/styles/theme/_timeline.scss → components/form/location/index.css} +0 -0
- package/src/web/components/form/location/index.jsx +25 -0
- package/src/web/components/form/uploader/uploader.h5.tsx +16 -10
- package/src/web/components/form/uploader/uploader.pc.tsx +15 -11
- package/src/web/components/form/uploaderFile/{uploadFile.h5.jsx → uploadFile.h5.tsx} +179 -148
- package/src/web/components/form/uploaderFile/{uploadFile.pc.jsx → uploadFile.pc.tsx} +79 -56
- package/src/web/components/graphicCard/index.css +163 -0
- package/src/web/components/graphicCard/index.tsx +309 -0
- package/src/web/components/image/image.tsx +107 -94
- package/src/web/components/image/index.tsx +1 -1
- package/src/web/components/index.js +13 -1
- package/src/web/components/listView/arrow-right-line.svg +3 -0
- package/src/web/components/listView/index.css +139 -0
- package/src/web/components/listView/index.tsx +354 -0
- package/src/web/components/listView/interface.ts +98 -0
- package/src/web/components/navLayout/index.css +332 -0
- package/src/web/components/navLayout/index.tsx +247 -0
- package/src/web/components/swiper/index.css +4 -0
- package/src/web/components/swiper/index.tsx +21 -14
- package/src/web/components/tabs/index.tsx +2 -2
- package/src/web/components/tabs/tabs.h5.tsx +7 -4
- package/src/web/components/uploaderFileView/index.css +9 -9
- package/src/web/components/uploaderFileView/index.jsx +34 -25
- package/src/web/types.d.ts +15 -14
- package/src/web/utils/debounce.js +98 -0
- package/src/web/utils/platform.js +31 -0
- package/src/web/utils/tcb.js +35 -0
- package/src/web/utils/tmap.js +4 -0
- package/src/web/wedatheme/.code.yml +0 -16
- package/src/web/wedatheme/.editorconfig +0 -9
- package/src/web/wedatheme/.eslintrc +0 -20
- package/src/web/wedatheme/.git +0 -1
- package/src/web/wedatheme/.gitignore +0 -5
- package/src/web/wedatheme/.npmrc +0 -1
- package/src/web/wedatheme/.orange-ci.yml +0 -55
- package/src/web/wedatheme/.vscode/extensions.json +0 -3
- package/src/web/wedatheme/.vscode/settings.json +0 -11
- package/src/web/wedatheme/README.md +0 -50
- package/src/web/wedatheme/i18n/README.md +0 -4
- package/src/web/wedatheme/i18n/translation/index.js +0 -10
- package/src/web/wedatheme/i18n/translation/zh.js +0 -15
- package/src/web/wedatheme/jsconfig.json +0 -15
- package/src/web/wedatheme/mock/app.js +0 -42
- package/src/web/wedatheme/mock/history-context.js +0 -8
- package/src/web/wedatheme/mock/index.js +0 -3
- package/src/web/wedatheme/mock/layout/AppLayout.jsx +0 -28
- package/src/web/wedatheme/mock/layout/MenuWithRouter.jsx +0 -50
- package/src/web/wedatheme/mock/layout/index.js +0 -1
- package/src/web/wedatheme/package-lock.json +0 -14335
- package/src/web/wedatheme/package.json +0 -61
- package/src/web/wedatheme/public/index.html +0 -19
- package/src/web/wedatheme/src/app.js +0 -22
- package/src/web/wedatheme/src/components/README.md +0 -4
- package/src/web/wedatheme/src/configs/menu.js +0 -9
- package/src/web/wedatheme/src/routes/wedatheme-index/Component.jsx +0 -402
- package/src/web/wedatheme/src/routes/wedatheme-index/Form.jsx +0 -729
- package/src/web/wedatheme/src/routes/wedatheme-index/FormItem.jsx +0 -18
- package/src/web/wedatheme/src/routes/wedatheme-index/WedathemeIndex.jsx +0 -1276
- package/src/web/wedatheme/src/routes/wedatheme-index/index.js +0 -1
- package/src/web/wedatheme/src/routes/weui2td/WEUI2TD.jsx +0 -3
- package/src/web/wedatheme/src/routes/weui2td/index.js +0 -1
- package/src/web/wedatheme/src/styles/_btn.scss +0 -24
- package/src/web/wedatheme/src/styles/_icon.scss +0 -653
- package/src/web/wedatheme/src/styles/_map.scss +0 -12
- package/src/web/wedatheme/src/styles/_middle.scss +0 -340
- package/src/web/wedatheme/src/styles/_upload.scss +0 -47
- package/src/web/wedatheme/src/styles/assets/alert-close.svg +0 -3
- package/src/web/wedatheme/src/styles/assets/and.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/arrowdown--line.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/arrowdown.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/arrowleft--line.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/arrowleft.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/arrowright-blue--line.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/arrowright.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/arrowup--line.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/arrowup.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/bell-warning.svg +0 -3
- package/src/web/wedatheme/src/styles/assets/btnback.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/calendar.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/chartcolumn-1.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/chartcolumn.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/chartline-1.svg +0 -9
- package/src/web/wedatheme/src/styles/assets/chartline.svg +0 -9
- package/src/web/wedatheme/src/styles/assets/chartpie-1.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/chartpie.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/check-1.svg +0 -8
- package/src/web/wedatheme/src/styles/assets/check-2.svg +0 -1
- package/src/web/wedatheme/src/styles/assets/check.svg +0 -8
- package/src/web/wedatheme/src/styles/assets/close-1.svg +0 -8
- package/src/web/wedatheme/src/styles/assets/close.svg +0 -8
- package/src/web/wedatheme/src/styles/assets/consult.svg +0 -8
- package/src/web/wedatheme/src/styles/assets/convertip--blue.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/convertip.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/copy.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/cur-active.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/cur.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/daily.svg +0 -13
- package/src/web/wedatheme/src/styles/assets/database.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/datasheet.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/delete-white.svg +0 -8
- package/src/web/wedatheme/src/styles/assets/delete.svg +0 -8
- package/src/web/wedatheme/src/styles/assets/detail.svg +0 -13
- package/src/web/wedatheme/src/styles/assets/dismiss.svg +0 -8
- package/src/web/wedatheme/src/styles/assets/download.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/drop.svg +0 -15
- package/src/web/wedatheme/src/styles/assets/email-error.svg +0 -14
- package/src/web/wedatheme/src/styles/assets/email-warning.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/email.svg +0 -14
- package/src/web/wedatheme/src/styles/assets/emailv.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/error-1.svg +0 -8
- package/src/web/wedatheme/src/styles/assets/error-filled.svg +0 -3
- package/src/web/wedatheme/src/styles/assets/error.svg +0 -8
- package/src/web/wedatheme/src/styles/assets/externallink.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/favorable.svg +0 -9
- package/src/web/wedatheme/src/styles/assets/filter.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/firstpage.svg +0 -13
- package/src/web/wedatheme/src/styles/assets/folderclose.svg +0 -8
- package/src/web/wedatheme/src/styles/assets/folderopen.svg +0 -8
- package/src/web/wedatheme/src/styles/assets/fullscreenquit.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/fullsreen.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/globe-gray.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/guide.svg +0 -9
- package/src/web/wedatheme/src/styles/assets/help.svg +0 -8
- package/src/web/wedatheme/src/styles/assets/hide.svg +0 -8
- package/src/web/wedatheme/src/styles/assets/info.svg +0 -8
- package/src/web/wedatheme/src/styles/assets/infoblue-1.svg +0 -8
- package/src/web/wedatheme/src/styles/assets/infoblue-filled.svg +0 -3
- package/src/web/wedatheme/src/styles/assets/infoblue.svg +0 -8
- package/src/web/wedatheme/src/styles/assets/jump-black.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/jump.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/lastpage.svg +0 -13
- package/src/web/wedatheme/src/styles/assets/loading.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/local.svg +0 -10
- package/src/web/wedatheme/src/styles/assets/menu-fold-white.svg +0 -6
- package/src/web/wedatheme/src/styles/assets/menu-fold.svg +0 -6
- package/src/web/wedatheme/src/styles/assets/minus.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/monitor.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/more.svg +0 -8
- package/src/web/wedatheme/src/styles/assets/multi-line.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/news.svg +0 -3
- package/src/web/wedatheme/src/styles/assets/not.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/notice.svg +0 -8
- package/src/web/wedatheme/src/styles/assets/pencil.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/pending-1.svg +0 -8
- package/src/web/wedatheme/src/styles/assets/pending-gray.svg +0 -8
- package/src/web/wedatheme/src/styles/assets/pending.svg +0 -8
- package/src/web/wedatheme/src/styles/assets/percent-blue.svg +0 -16
- package/src/web/wedatheme/src/styles/assets/percent.svg +0 -16
- package/src/web/wedatheme/src/styles/assets/phone-error.svg +0 -11
- package/src/web/wedatheme/src/styles/assets/phone-warning.svg +0 -9
- package/src/web/wedatheme/src/styles/assets/phone.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/phonev.svg +0 -9
- package/src/web/wedatheme/src/styles/assets/plus.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/qq.svg +0 -11
- package/src/web/wedatheme/src/styles/assets/realname.svg +0 -8
- package/src/web/wedatheme/src/styles/assets/realnamev.svg +0 -9
- package/src/web/wedatheme/src/styles/assets/refresh-blue.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/refresh.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/relationship-1.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/relationship.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/remind.svg +0 -8
- package/src/web/wedatheme/src/styles/assets/search.svg +0 -8
- package/src/web/wedatheme/src/styles/assets/setting.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/shopcart.svg +0 -8
- package/src/web/wedatheme/src/styles/assets/show.svg +0 -8
- package/src/web/wedatheme/src/styles/assets/sort.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/sortdown.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/sortup.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/success-1.svg +0 -8
- package/src/web/wedatheme/src/styles/assets/success-filled.svg +0 -3
- package/src/web/wedatheme/src/styles/assets/success.svg +0 -8
- package/src/web/wedatheme/src/styles/assets/table-1.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/table.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/tag.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/time.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/transfer.svg +0 -8
- package/src/web/wedatheme/src/styles/assets/trenddown.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/trendup.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/viewgrid.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/viewlist.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/warning-1.svg +0 -8
- package/src/web/wedatheme/src/styles/assets/warning-filled.svg +0 -3
- package/src/web/wedatheme/src/styles/assets/warning.svg +0 -8
- package/src/web/wedatheme/src/styles/assets/wechat-error.svg +0 -14
- package/src/web/wedatheme/src/styles/assets/wechat-warning.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/wechat.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/wechatv.svg +0 -12
- package/src/web/wedatheme/src/styles/assets/zoom-in-white.svg +0 -4
- package/src/web/wedatheme/src/styles/assets/zoom-in.svg +0 -4
- package/src/web/wedatheme/src/styles/assets/zoom-out-white.svg +0 -4
- package/src/web/wedatheme/src/styles/assets/zoom-out.svg +0 -4
- package/src/web/wedatheme/src/styles/index.scss +0 -18
- package/src/web/wedatheme/src/styles/main.css +0 -166
- package/src/web/wedatheme/src/styles/theme/_alert.scss +0 -73
- package/src/web/wedatheme/src/styles/theme/_badge.scss +0 -38
- package/src/web/wedatheme/src/styles/theme/_blank-page-v2.scss +0 -7
- package/src/web/wedatheme/src/styles/theme/_breadcrumb.scss +0 -8
- package/src/web/wedatheme/src/styles/theme/_bubble.scss +0 -24
- package/src/web/wedatheme/src/styles/theme/_button.scss +0 -212
- package/src/web/wedatheme/src/styles/theme/_card.scss +0 -12
- package/src/web/wedatheme/src/styles/theme/_cascader.scss +0 -43
- package/src/web/wedatheme/src/styles/theme/_checkbox&radio.scss +0 -83
- package/src/web/wedatheme/src/styles/theme/_datepicker.scss +0 -36
- package/src/web/wedatheme/src/styles/theme/_dialog.scss +0 -39
- package/src/web/wedatheme/src/styles/theme/_divider.scss +0 -1
- package/src/web/wedatheme/src/styles/theme/_drawer.scss +0 -15
- package/src/web/wedatheme/src/styles/theme/_dropdown.scss +0 -53
- package/src/web/wedatheme/src/styles/theme/_form.scss +0 -38
- package/src/web/wedatheme/src/styles/theme/_input&textarea&select.scss +0 -85
- package/src/web/wedatheme/src/styles/theme/_inputnumber.scss +0 -16
- package/src/web/wedatheme/src/styles/theme/_link.scss +0 -14
- package/src/web/wedatheme/src/styles/theme/_list.scss +0 -41
- package/src/web/wedatheme/src/styles/theme/_metrics-board.scss +0 -14
- package/src/web/wedatheme/src/styles/theme/_notification.scss +0 -27
- package/src/web/wedatheme/src/styles/theme/_pagination.scss +0 -22
- package/src/web/wedatheme/src/styles/theme/_popconfirm.scss +0 -4
- package/src/web/wedatheme/src/styles/theme/_progress.scss +0 -28
- package/src/web/wedatheme/src/styles/theme/_region-select.scss +0 -17
- package/src/web/wedatheme/src/styles/theme/_search.scss +0 -18
- package/src/web/wedatheme/src/styles/theme/_segment.scss +0 -69
- package/src/web/wedatheme/src/styles/theme/_slider.scss +0 -18
- package/src/web/wedatheme/src/styles/theme/_status.scss +0 -4
- package/src/web/wedatheme/src/styles/theme/_steps.scss +0 -68
- package/src/web/wedatheme/src/styles/theme/_switch.scss +0 -11
- package/src/web/wedatheme/src/styles/theme/_table.scss +0 -44
- package/src/web/wedatheme/src/styles/theme/_tabs.scss +0 -44
- package/src/web/wedatheme/src/styles/theme/_tag-search.scss +0 -9
- package/src/web/wedatheme/src/styles/theme/_tag.scss +0 -48
- package/src/web/wedatheme/src/styles/theme/_toast.scss +0 -3
- package/src/web/wedatheme/src/styles/theme/_transfer.scss +0 -9
- package/src/web/wedatheme/src/styles/theme/_tree.scss +0 -11
- package/src/web/wedatheme/src/styles/theme/_upload.scss +0 -14
- package/src/web/wedatheme/src/styles/theme/_variables.scss +0 -140
- package/src/web/wedatheme/src/styles/theme/index.scss +0 -91
- package/src/web/wedatheme/style-package/README.md +0 -31
- package/src/web/wedatheme/style-package/ef6fa527e24e354765d806b826b41391.svg +0 -627
- package/src/web/wedatheme/style-package/index.css +0 -3
- package/src/web/wedatheme/style-package/package.json +0 -15
- package/src/web/wedatheme/tea.config.js +0 -66
- package/src/web/wedatheme/webpack/css.config.js +0 -114
- package/src/web/wedatheme/webpack/plugins/css-package-plugin.js +0 -23
- package/src/web/wedatheme/webpack/plugins/inject-assets-plugin.js +0 -32
- package/src/web/wedatheme/webpack/plugins/package-json-plugin.js +0 -66
|
@@ -0,0 +1,403 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import classNames from '../../../../../utils/classnames';
|
|
3
|
+
import weui from '../../../../../utils/weui';
|
|
4
|
+
import './index.css';
|
|
5
|
+
import { renderDecorator } from '../../../renderDecorator';
|
|
6
|
+
import MapView from '../../common/mapView';
|
|
7
|
+
import SelectModal from '../../common/selectModal';
|
|
8
|
+
import { propTypes, defaultProps } from '../../common/propsConfig';
|
|
9
|
+
import { callDataSource } from '../../../../../utils/tcb';
|
|
10
|
+
import { inH5IsMobile } from '../../../../../utils/platform';
|
|
11
|
+
|
|
12
|
+
const { useEffect, useState, useRef } = React;
|
|
13
|
+
|
|
14
|
+
export default function LocationH5(props) {
|
|
15
|
+
const {
|
|
16
|
+
// 系统属性
|
|
17
|
+
id,
|
|
18
|
+
className,
|
|
19
|
+
style,
|
|
20
|
+
events,
|
|
21
|
+
// 组件属性
|
|
22
|
+
value,
|
|
23
|
+
label,
|
|
24
|
+
labelVisible,
|
|
25
|
+
showLngLat,
|
|
26
|
+
showMap,
|
|
27
|
+
drag,
|
|
28
|
+
zoom,
|
|
29
|
+
disabled,
|
|
30
|
+
requiredFlag,
|
|
31
|
+
decorator,
|
|
32
|
+
customLocation,
|
|
33
|
+
locationType,
|
|
34
|
+
dataSource,
|
|
35
|
+
} = props;
|
|
36
|
+
const cls = classNames({
|
|
37
|
+
'weda-ui': true,
|
|
38
|
+
cloudbase_standard: true,
|
|
39
|
+
[className]: className,
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
const locationPlugRef = useRef();
|
|
43
|
+
|
|
44
|
+
const [isSelectMapVisible, setIsSelectMapVisible] = useState(false);
|
|
45
|
+
const [currentLocStatus, setCurrentLocStatus] = useState(false);
|
|
46
|
+
const [dataSourceStatus, setDataSourceStatus] = useState({
|
|
47
|
+
status: false,
|
|
48
|
+
message: '请检查连接器初始化中',
|
|
49
|
+
});
|
|
50
|
+
const [APIKEY, setAPIKEY] = useState('');
|
|
51
|
+
const [apiKeyStatus, setApiKeyStatus] = useState({
|
|
52
|
+
status: false,
|
|
53
|
+
message: '地图定位中',
|
|
54
|
+
});
|
|
55
|
+
const [location, setLocation] = useState({
|
|
56
|
+
poiname: '',
|
|
57
|
+
latlng: { lat: 39.98410411, lng: 116.307503 },
|
|
58
|
+
});
|
|
59
|
+
const currentLocations = useRef();
|
|
60
|
+
|
|
61
|
+
useEffect(() => {
|
|
62
|
+
if (value || !currentLocations.current) return;
|
|
63
|
+
// 重置表单时
|
|
64
|
+
const {
|
|
65
|
+
poiname,
|
|
66
|
+
latlng: { lat, lng },
|
|
67
|
+
} = currentLocations.current;
|
|
68
|
+
let location = {
|
|
69
|
+
poiname,
|
|
70
|
+
latlng: { lat, lng },
|
|
71
|
+
};
|
|
72
|
+
if (locationType === 1) {
|
|
73
|
+
location.locationType = 1;
|
|
74
|
+
events.change({ value: null });
|
|
75
|
+
} else if (locationType === 2) {
|
|
76
|
+
let res = {
|
|
77
|
+
value: {
|
|
78
|
+
address: poiname,
|
|
79
|
+
geopoint: {
|
|
80
|
+
coordinates: [lat, lng],
|
|
81
|
+
type: 'Point',
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
};
|
|
85
|
+
events.change && events.change(res);
|
|
86
|
+
}
|
|
87
|
+
setLocation(location);
|
|
88
|
+
}, [value, locationType]);
|
|
89
|
+
|
|
90
|
+
useEffect(() => {
|
|
91
|
+
let loc = {
|
|
92
|
+
latlng: {
|
|
93
|
+
lat: 39.98410411,
|
|
94
|
+
lng: 116.307503,
|
|
95
|
+
},
|
|
96
|
+
poiname: '',
|
|
97
|
+
locationType,
|
|
98
|
+
};
|
|
99
|
+
switch (locationType) {
|
|
100
|
+
case 3:
|
|
101
|
+
if (checkCustomLocation(customLocation)) {
|
|
102
|
+
weui.alert('位置输入格式错误 请检查');
|
|
103
|
+
return;
|
|
104
|
+
} else {
|
|
105
|
+
// @ts-ignore
|
|
106
|
+
loc = {
|
|
107
|
+
latlng: {
|
|
108
|
+
lat: customLocation.latitude,
|
|
109
|
+
lng: customLocation.longitude,
|
|
110
|
+
},
|
|
111
|
+
poiname: customLocation.poiname,
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
break;
|
|
115
|
+
}
|
|
116
|
+
setLocation(loc);
|
|
117
|
+
// 暂不支持自定位置,初始化表单值都是null
|
|
118
|
+
events.change({ value: null });
|
|
119
|
+
}, [locationType]);
|
|
120
|
+
|
|
121
|
+
useEffect(() => {
|
|
122
|
+
if (locationType != 3) {
|
|
123
|
+
return;
|
|
124
|
+
}
|
|
125
|
+
if (checkCustomLocation(customLocation)) {
|
|
126
|
+
weui.alert('位置输入格式错误 请检查');
|
|
127
|
+
return;
|
|
128
|
+
}
|
|
129
|
+
let { latitude, longitude, poiname } = customLocation;
|
|
130
|
+
let loc = {
|
|
131
|
+
latlng: {
|
|
132
|
+
lat: latitude,
|
|
133
|
+
lng: longitude,
|
|
134
|
+
},
|
|
135
|
+
poiname: poiname,
|
|
136
|
+
};
|
|
137
|
+
setLocation(loc);
|
|
138
|
+
}, [customLocation, locationType]);
|
|
139
|
+
|
|
140
|
+
// 获取定位信息
|
|
141
|
+
useEffect(() => {
|
|
142
|
+
if (!dataSourceStatus.status || !APIKEY || APIKEY == '这里是示例') return;
|
|
143
|
+
function loadScript() {
|
|
144
|
+
// 移除之前的
|
|
145
|
+
if (document.getElementById('form-location-plug')) {
|
|
146
|
+
document.body.removeChild(
|
|
147
|
+
document.getElementById('form-location-plug')
|
|
148
|
+
);
|
|
149
|
+
}
|
|
150
|
+
const script = document.createElement('script');
|
|
151
|
+
script.type = 'text/javascript';
|
|
152
|
+
script.src = `https://apis.map.qq.com/tools/geolocation/min?key=${APIKEY}&referer=myapp`;
|
|
153
|
+
script.setAttribute('id', 'form-location-plug');
|
|
154
|
+
// @ts-ignore
|
|
155
|
+
locationPlugRef.current = 'form-location-plug';
|
|
156
|
+
script.onload = () => {
|
|
157
|
+
let geolocation = new window.qq.maps.Geolocation();
|
|
158
|
+
let getLocationType = inH5IsMobile() ? 'getLocation' : 'getIpLocation';
|
|
159
|
+
geolocation[getLocationType](
|
|
160
|
+
(ipLocation) => {
|
|
161
|
+
const { city, lat, lng, addr } = ipLocation;
|
|
162
|
+
let loc = {
|
|
163
|
+
poiname: city + addr,
|
|
164
|
+
latlng: { lat, lng },
|
|
165
|
+
};
|
|
166
|
+
if (locationType === 1) {
|
|
167
|
+
loc.locationType = 1;
|
|
168
|
+
}
|
|
169
|
+
setLocation(loc);
|
|
170
|
+
// @ts-ignore
|
|
171
|
+
currentLocations.current = loc;
|
|
172
|
+
if (locationType === 2) {
|
|
173
|
+
loc.locationType = 1;
|
|
174
|
+
events.change &&
|
|
175
|
+
events.change({
|
|
176
|
+
value: {
|
|
177
|
+
address: city + addr,
|
|
178
|
+
geopoint: {
|
|
179
|
+
coordinates: [lat, lng],
|
|
180
|
+
type: 'Point',
|
|
181
|
+
},
|
|
182
|
+
},
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
setApiKeyStatus({
|
|
186
|
+
status: true,
|
|
187
|
+
message: '',
|
|
188
|
+
});
|
|
189
|
+
setCurrentLocStatus(true);
|
|
190
|
+
},
|
|
191
|
+
(error) => {
|
|
192
|
+
console.log('error loc', error);
|
|
193
|
+
currentLocations.current = null;
|
|
194
|
+
setApiKeyStatus({
|
|
195
|
+
status: false,
|
|
196
|
+
message:
|
|
197
|
+
error.code === 1
|
|
198
|
+
? '请打开定位权限'
|
|
199
|
+
: error.message || '定位失败',
|
|
200
|
+
});
|
|
201
|
+
setCurrentLocStatus(false);
|
|
202
|
+
}
|
|
203
|
+
);
|
|
204
|
+
};
|
|
205
|
+
script.onerror = (error) => {
|
|
206
|
+
console.log('Geolocation script onerror', error);
|
|
207
|
+
setApiKeyStatus({
|
|
208
|
+
status: false,
|
|
209
|
+
message: '定位失败',
|
|
210
|
+
});
|
|
211
|
+
setLocation({
|
|
212
|
+
poiname: '',
|
|
213
|
+
latlng: { lat: 39.98410411, lng: 116.307503 },
|
|
214
|
+
});
|
|
215
|
+
weui.alert('定位失败');
|
|
216
|
+
};
|
|
217
|
+
document.body.appendChild(script);
|
|
218
|
+
}
|
|
219
|
+
loadScript();
|
|
220
|
+
}, [APIKEY, locationType, dataSourceStatus]);
|
|
221
|
+
|
|
222
|
+
useEffect(() => {
|
|
223
|
+
// 调用连接器数据源方法
|
|
224
|
+
if (dataSource.name) {
|
|
225
|
+
callDataSource({
|
|
226
|
+
dataSourceName: dataSource.name,
|
|
227
|
+
methodName: 'getApiKey',
|
|
228
|
+
})
|
|
229
|
+
.then((res) => {
|
|
230
|
+
if (res.apiKey) {
|
|
231
|
+
setAPIKEY(res.apiKey);
|
|
232
|
+
setDataSourceStatus({
|
|
233
|
+
status: true,
|
|
234
|
+
message: '',
|
|
235
|
+
});
|
|
236
|
+
setApiKeyStatus({
|
|
237
|
+
status: true,
|
|
238
|
+
message: '',
|
|
239
|
+
});
|
|
240
|
+
}
|
|
241
|
+
})
|
|
242
|
+
.catch((error) => {
|
|
243
|
+
console.log('datasources error', error);
|
|
244
|
+
setDataSourceStatus({
|
|
245
|
+
status: false,
|
|
246
|
+
message: error,
|
|
247
|
+
});
|
|
248
|
+
});
|
|
249
|
+
} else {
|
|
250
|
+
setDataSourceStatus({
|
|
251
|
+
status: false,
|
|
252
|
+
message: '"地图定位组件"需进行地图配置,请检查',
|
|
253
|
+
});
|
|
254
|
+
weui.alert('"地图定位组件"需进行地图配置,请检查');
|
|
255
|
+
}
|
|
256
|
+
}, [dataSource]);
|
|
257
|
+
|
|
258
|
+
const checkCustomLocation = (params) => {
|
|
259
|
+
let { latitude, longitude } = params;
|
|
260
|
+
let message = '';
|
|
261
|
+
if (Object.prototype.toString.call(params) !== '[object Object]') {
|
|
262
|
+
return (message = '位置输入格式错误 请检查');
|
|
263
|
+
} else if (!latitude || !Number(latitude)) {
|
|
264
|
+
return (message = '位置输入格式错误 请检查');
|
|
265
|
+
} else if (!longitude || !Number(longitude)) {
|
|
266
|
+
return (message = '位置输入格式错误 请检查');
|
|
267
|
+
} else if (!params) {
|
|
268
|
+
return (message = '位置输入格式错误 请检查');
|
|
269
|
+
}
|
|
270
|
+
};
|
|
271
|
+
|
|
272
|
+
const handleChooseLocation = () => {
|
|
273
|
+
if (disabled) return;
|
|
274
|
+
if (!dataSourceStatus.status) return weui.alert(dataSourceStatus.message);
|
|
275
|
+
if (!apiKeyStatus.status) return weui.alert(apiKeyStatus.message);
|
|
276
|
+
if (!currentLocStatus) return weui.alert('获取当前位置信息中,请稍等');
|
|
277
|
+
setIsSelectMapVisible(true);
|
|
278
|
+
};
|
|
279
|
+
|
|
280
|
+
const onChangeLocation = (value) => {
|
|
281
|
+
const { poiname, latlng } = value;
|
|
282
|
+
let res = {
|
|
283
|
+
value: {
|
|
284
|
+
address: poiname,
|
|
285
|
+
geopoint: {
|
|
286
|
+
coordinates: [latlng.lat, latlng.lng],
|
|
287
|
+
type: 'Point',
|
|
288
|
+
},
|
|
289
|
+
},
|
|
290
|
+
};
|
|
291
|
+
events.change && events.change(res);
|
|
292
|
+
};
|
|
293
|
+
|
|
294
|
+
const getIsShowMap = () => {
|
|
295
|
+
let status = showMap;
|
|
296
|
+
// @ts-ignore
|
|
297
|
+
if (locationType === 1 && location.locationType === 1) {
|
|
298
|
+
status = false;
|
|
299
|
+
} else if (locationType === 2 && !dataSourceStatus.status) {
|
|
300
|
+
status = false;
|
|
301
|
+
} else if (locationType === 2 && !apiKeyStatus.status) {
|
|
302
|
+
status = false;
|
|
303
|
+
} else if (!currentLocStatus) {
|
|
304
|
+
status = false;
|
|
305
|
+
}
|
|
306
|
+
return status;
|
|
307
|
+
};
|
|
308
|
+
|
|
309
|
+
const getIsShowAddr = () => {
|
|
310
|
+
let status = true;
|
|
311
|
+
// @ts-ignore
|
|
312
|
+
if (locationType === 1 && location.locationType === 1) {
|
|
313
|
+
status = false;
|
|
314
|
+
} else if (locationType === 2 && !dataSourceStatus.status) {
|
|
315
|
+
status = false;
|
|
316
|
+
} else if (locationType === 2 && !apiKeyStatus.status) {
|
|
317
|
+
status = false;
|
|
318
|
+
} else if (!currentLocStatus) {
|
|
319
|
+
status = false;
|
|
320
|
+
}
|
|
321
|
+
return status;
|
|
322
|
+
};
|
|
323
|
+
|
|
324
|
+
const LocationEl = (
|
|
325
|
+
<div
|
|
326
|
+
className="form-location weda-ui_form-location"
|
|
327
|
+
data-testid="form-location"
|
|
328
|
+
>
|
|
329
|
+
<div className="form-location-warp">
|
|
330
|
+
{labelVisible && (
|
|
331
|
+
<div className="form-location-label">
|
|
332
|
+
{requiredFlag && <span>*</span>}
|
|
333
|
+
{label}
|
|
334
|
+
</div>
|
|
335
|
+
)}
|
|
336
|
+
<div className="form-location-con">
|
|
337
|
+
<img
|
|
338
|
+
src="https://qcloudimg.tencent-cloud.cn/raw/6542e1ce1dd36a90085b2eb979801df9.png"
|
|
339
|
+
alt=""
|
|
340
|
+
/>
|
|
341
|
+
<span
|
|
342
|
+
className={classNames({ 'form-location-con_disabled': disabled })}
|
|
343
|
+
onClick={handleChooseLocation}
|
|
344
|
+
>
|
|
345
|
+
选择地理位置
|
|
346
|
+
</span>
|
|
347
|
+
</div>
|
|
348
|
+
</div>
|
|
349
|
+
{getIsShowAddr() && (
|
|
350
|
+
<div className="form-location-addr">
|
|
351
|
+
<img
|
|
352
|
+
src="https://qcloudimg.tencent-cloud.cn/raw/f9729e0b091f394110a6e12d3f4e7290.png"
|
|
353
|
+
alt=""
|
|
354
|
+
/>
|
|
355
|
+
<div>
|
|
356
|
+
{location.poiname && (
|
|
357
|
+
<div className="form-location-addr-title">{location.poiname}</div>
|
|
358
|
+
)}
|
|
359
|
+
{showLngLat && (
|
|
360
|
+
<div className="form-location-addr-lat">
|
|
361
|
+
{location.latlng
|
|
362
|
+
? `${location.latlng.lat}N,${location.latlng.lng}E`
|
|
363
|
+
: ''}
|
|
364
|
+
</div>
|
|
365
|
+
)}
|
|
366
|
+
</div>
|
|
367
|
+
</div>
|
|
368
|
+
)}
|
|
369
|
+
{getIsShowMap() && (
|
|
370
|
+
<div className="form-map-container" style={{ height: '200px' }}>
|
|
371
|
+
<MapView
|
|
372
|
+
APIKEY={APIKEY}
|
|
373
|
+
drag={drag}
|
|
374
|
+
zoom={zoom}
|
|
375
|
+
latlng={location.latlng}
|
|
376
|
+
/>
|
|
377
|
+
</div>
|
|
378
|
+
)}
|
|
379
|
+
<SelectModal
|
|
380
|
+
isSelectMapVisible={isSelectMapVisible}
|
|
381
|
+
setIsSelectMapVisible={setIsSelectMapVisible}
|
|
382
|
+
location={location}
|
|
383
|
+
setLocation={setLocation}
|
|
384
|
+
chooseLocation={onChangeLocation}
|
|
385
|
+
APIKEY={APIKEY}
|
|
386
|
+
/>
|
|
387
|
+
</div>
|
|
388
|
+
);
|
|
389
|
+
return renderDecorator(
|
|
390
|
+
LocationEl,
|
|
391
|
+
decorator
|
|
392
|
+
)({
|
|
393
|
+
id,
|
|
394
|
+
className: cls,
|
|
395
|
+
style,
|
|
396
|
+
multiCell: false,
|
|
397
|
+
requiredFlag,
|
|
398
|
+
});
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
LocationH5.propTypes = propTypes;
|
|
402
|
+
|
|
403
|
+
LocationH5.defaultProps = defaultProps;
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Button } from 'tea-component';
|
|
3
|
+
import * as PropTypes from 'prop-types';
|
|
4
|
+
import classNames from '../../../../../utils/classnames';
|
|
5
|
+
|
|
6
|
+
const Header = ({
|
|
7
|
+
onClick,
|
|
8
|
+
isEdit,
|
|
9
|
+
info,
|
|
10
|
+
disabled,
|
|
11
|
+
showLngLat,
|
|
12
|
+
locationType,
|
|
13
|
+
dataSourceStatus,
|
|
14
|
+
apiKeyStatus,
|
|
15
|
+
currentLocStatus,
|
|
16
|
+
}) => {
|
|
17
|
+
const { poiname, latlng } = info || {};
|
|
18
|
+
const buttonType = isEdit ? 'weak' : 'primary';
|
|
19
|
+
const buttonText = isEdit ? '重新定位' : '选择地理位置';
|
|
20
|
+
|
|
21
|
+
const getIsShowAddr = () => {
|
|
22
|
+
let status = true;
|
|
23
|
+
// 默认显示位置 无
|
|
24
|
+
if (locationType === 1 && info.locationType === 1) {
|
|
25
|
+
status = false;
|
|
26
|
+
} else if (locationType === 2 && !dataSourceStatus) {
|
|
27
|
+
status = false;
|
|
28
|
+
} else if (locationType === 2 && !apiKeyStatus.status) {
|
|
29
|
+
status = false;
|
|
30
|
+
} else if (!currentLocStatus) {
|
|
31
|
+
status = false;
|
|
32
|
+
}
|
|
33
|
+
return status;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
return (
|
|
37
|
+
<div
|
|
38
|
+
className={classNames({
|
|
39
|
+
'wedatea2td-justify-grid _weda-fn-map__local': true,
|
|
40
|
+
'weda-fn-map__local_loc': true,
|
|
41
|
+
'weda-fn-map__local_edit': isEdit,
|
|
42
|
+
})}
|
|
43
|
+
>
|
|
44
|
+
{isEdit ? (
|
|
45
|
+
<>
|
|
46
|
+
<div className="wedatea2td-justify-grid__col wedatea2td-justify-grid__col--right weda-fn-map__local_loc_btn">
|
|
47
|
+
<Button type={buttonType} onClick={onClick} disabled={disabled}>
|
|
48
|
+
{buttonText}
|
|
49
|
+
</Button>
|
|
50
|
+
</div>
|
|
51
|
+
</>
|
|
52
|
+
) : (
|
|
53
|
+
<div className="wedatea2td-justify-grid__col wedatea2td-justify-grid__col--left weda-fn-map__local_loc_btn_left">
|
|
54
|
+
<Button type={buttonType} onClick={onClick} disabled={disabled}>
|
|
55
|
+
{buttonText}
|
|
56
|
+
</Button>
|
|
57
|
+
</div>
|
|
58
|
+
)}
|
|
59
|
+
{getIsShowAddr() && (
|
|
60
|
+
<div
|
|
61
|
+
className={classNames(
|
|
62
|
+
'wedatea2td-justify-grid__col',
|
|
63
|
+
'wedatea2td-justify-grid__col--left',
|
|
64
|
+
'weda-fn-map__local_wrap'
|
|
65
|
+
)}
|
|
66
|
+
>
|
|
67
|
+
<i className="wedatea2td-icon _weda-fn-icon-local weda-fn-map__local_wrap_icon"></i>
|
|
68
|
+
<div className="weda-fn-map__local_wrap_addr">
|
|
69
|
+
{poiname && (
|
|
70
|
+
<span
|
|
71
|
+
className={classNames(
|
|
72
|
+
'wedatea2td-fz-reset',
|
|
73
|
+
'form-location-map-pc-address'
|
|
74
|
+
)}
|
|
75
|
+
>
|
|
76
|
+
{poiname}
|
|
77
|
+
</span>
|
|
78
|
+
)}
|
|
79
|
+
|
|
80
|
+
{showLngLat ? (
|
|
81
|
+
<div
|
|
82
|
+
className={classNames({
|
|
83
|
+
'form-location-addr-lat': true,
|
|
84
|
+
'form-location-map-pc-latlng': true,
|
|
85
|
+
})}
|
|
86
|
+
>
|
|
87
|
+
{latlng.lat ? `${latlng.lat}N,${latlng.lng}E` : ''}
|
|
88
|
+
</div>
|
|
89
|
+
) : null}
|
|
90
|
+
</div>
|
|
91
|
+
</div>
|
|
92
|
+
)}
|
|
93
|
+
</div>
|
|
94
|
+
);
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
Header.propTypes = {
|
|
98
|
+
onClick: PropTypes.func,
|
|
99
|
+
isEdit: PropTypes.bool,
|
|
100
|
+
info: PropTypes.object,
|
|
101
|
+
disabled: PropTypes.bool,
|
|
102
|
+
showLngLat: PropTypes.bool,
|
|
103
|
+
currentLocStatus: PropTypes.bool,
|
|
104
|
+
dataSourceStatus: PropTypes.bool,
|
|
105
|
+
locationType: PropTypes.number,
|
|
106
|
+
apiKeyStatus: PropTypes.object,
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
export default Header;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
.form-location-map-pc {
|
|
2
|
+
width: 490px;
|
|
3
|
+
height: 300px;
|
|
4
|
+
margin-top: 8px;
|
|
5
|
+
}
|
|
6
|
+
.form-location-map-pc-address {
|
|
7
|
+
vertical-align: middle;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.weda-fn-map__local_loc {
|
|
11
|
+
display: block !important;
|
|
12
|
+
position: relative;
|
|
13
|
+
min-height: 32px;
|
|
14
|
+
width: 490px !important;
|
|
15
|
+
}
|
|
16
|
+
.weda-fn-map__local_edit {
|
|
17
|
+
display: flex !important;
|
|
18
|
+
}
|
|
19
|
+
.weda-fn-map__local_loc_btn {
|
|
20
|
+
position: absolute;
|
|
21
|
+
right: 0;
|
|
22
|
+
top: 0;
|
|
23
|
+
}
|
|
24
|
+
.weda-fn-map__local_loc_btn_left {
|
|
25
|
+
margin-bottom: 8px;
|
|
26
|
+
}
|
|
27
|
+
.weda-fn-map__local_wrap {
|
|
28
|
+
display: flex;
|
|
29
|
+
/* margin-top: 8px; */
|
|
30
|
+
}
|
|
31
|
+
.weda-fn-map__local_wrap_icon {
|
|
32
|
+
width: 24px;
|
|
33
|
+
height: 24px;
|
|
34
|
+
}
|
|
35
|
+
.form-location-map-pc-latlng,
|
|
36
|
+
.form-location-map-pc-address {
|
|
37
|
+
display: block;
|
|
38
|
+
height: 24px;
|
|
39
|
+
line-height: 24px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.wedatea2td-form > .wa-comp-weda_standard-FormLocation {
|
|
43
|
+
padding-left: 2.28571rem;
|
|
44
|
+
}
|