@titaui/pc 1.6.8 → 1.6.12
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/lib/components/avatar/index.js +1 -1
- package/lib/components/button/icon-btn/index.css +38 -0
- package/lib/components/button/icon-btn/index.js +62 -0
- package/lib/components/button/index.css +3 -0
- package/lib/components/button/index.js +16 -9
- package/lib/components/button/rect-btn/index.css +82 -0
- package/lib/components/button/rect-btn/index.js +62 -0
- package/lib/components/button/text-btn/index.css +0 -0
- package/lib/components/button/text-btn/index.js +15 -0
- package/lib/components/button/types.js +5 -0
- package/lib/components/change-okr/index.js +1 -1
- package/lib/components/change-okr/styledComponents.js +1 -1
- package/lib/components/communication/style.js +1 -1
- package/lib/components/condition-render/index.js +20 -0
- package/lib/components/create-okr/constant.js +1 -1
- package/lib/components/create-okr/fields/index.js +1 -1
- package/lib/components/create-okr/request-api.js +1 -1
- package/lib/components/create-okr/style.js +1 -1
- package/lib/components/create-okr/utils/helper.js +1 -1
- package/lib/components/delete-confirm-pop/style.js +1 -1
- package/lib/components/drawer/index.css +3 -1
- package/lib/components/drawer/index.js +2 -1
- package/lib/components/dropdown-layer/index.js +1 -1
- package/lib/components/dynamic/constant.js +1 -1
- package/lib/components/dynamic/dynamic-item/components/header/index.css +0 -5
- package/lib/components/dynamic/dynamic-item/dynamic-create-o/index.js +8 -0
- package/lib/components/dynamic/dynamic-item/dynamic-task/constant.js +1 -1
- package/lib/components/dynamic/dynamic-like-ranking/index.css +1 -0
- package/lib/components/dynamic/dynamic-topping/request-api.js +1 -1
- package/lib/components/dynamic/export-module/index.js +1 -1
- package/lib/components/dynamic/index.js +1 -1
- package/lib/components/dynamic/request-api.js +1 -1
- package/lib/components/dynamic/util.js +1 -1
- package/lib/components/eReport/eReportLists/style.js +1 -1
- package/lib/components/eReport/eReportShare/style.js +1 -1
- package/lib/components/eReport/eReportShare/toast/style.js +1 -1
- package/lib/components/edit-kr-wight/style/index.js +1 -1
- package/lib/components/emotionsSelector/style.js +1 -1
- package/lib/components/file-list/index.js +1 -1
- package/lib/components/follower-visitor/img/follower-visitor-follower.png +0 -0
- package/lib/components/follower-visitor/img/follower-visitor-visitor.png +0 -0
- package/lib/components/follower-visitor/index.css +35 -0
- package/lib/components/follower-visitor/index.js +152 -0
- package/lib/components/follower-visitor/request-api.js +14 -0
- package/lib/components/form/form-fields/radios/index.css +25 -0
- package/lib/components/form/form-fields/radios/index.js +53 -0
- package/lib/components/form/index.js +5 -2
- package/lib/components/grid-page/commen-components/index.js +4 -4
- package/lib/components/grid-page/commen-components/scroll-tips.js +1 -1
- package/lib/components/grid-page/util/network.js +1 -1
- package/lib/components/help-card/image/canceled.svg +13 -0
- package/lib/components/help-card/image/helpzx.svg +8 -0
- package/lib/components/help-card/image/kefu.svg +18 -0
- package/lib/components/help-card/image/kefu1.svg +8 -0
- package/lib/components/help-card/image/okr-shequ.svg +14 -0
- package/lib/components/help-card/image/question.svg +20 -0
- package/lib/components/help-card/image/yuyueyanshi.svg +8 -0
- package/lib/components/help-card/index.css +219 -0
- package/lib/components/help-card/index.js +282 -0
- package/lib/components/help-card/request-api.js +34 -0
- package/lib/components/invite-people/img/invite-people.png +0 -0
- package/lib/components/invite-people/index.css +9 -0
- package/lib/components/invite-people/index.js +28 -0
- package/lib/components/mblog/common/index.js +3 -3
- package/lib/components/mblog/style.js +1 -1
- package/lib/components/menus/components/drag-resize/index.css +18 -0
- package/lib/components/menus/components/drag-resize/index.js +77 -0
- package/lib/components/menus/components/flip-menu-card/back-icon.svg +25 -0
- package/lib/components/menus/components/flip-menu-card/flip-back-header.js +28 -0
- package/lib/components/menus/components/flip-menu-card/index.css +89 -0
- package/lib/components/menus/components/flip-menu-card/index.js +193 -0
- package/lib/components/menus/components/flip-menu-card/precls.js +8 -0
- package/lib/components/menus/components/menu-card/index.css +29 -0
- package/lib/components/menus/components/menu-card/index.js +53 -0
- package/lib/components/menus/components/menu-close-btn/index.css +42 -0
- package/lib/components/menus/components/menu-close-btn/index.js +40 -0
- package/lib/components/menus/components/menu-tree/images/appraisal-menu/PF-shezhi.svg +8 -0
- package/lib/components/menus/components/menu-tree/images/appraisal-menu/ZBmuban.svg +8 -0
- package/lib/components/menus/components/menu-tree/images/appraisal-menu/bumen.svg +9 -0
- package/lib/components/menus/components/menu-tree/images/appraisal-menu/kaohe.svg +10 -0
- package/lib/components/menus/components/menu-tree/images/appraisal-menu/uniEA10.svg +8 -0
- package/lib/components/menus/components/menu-tree/images/appraisal-menu/untitled.svg +10 -0
- package/lib/components/menus/components/menu-tree/images/arrow.svg +9 -0
- package/lib/components/menus/components/menu-tree/images/caidan-xiashu.svg +16 -0
- package/lib/components/menus/components/menu-tree/images/okr-menu/ditu.svg +18 -0
- package/lib/components/menus/components/menu-tree/images/okr-menu/guanzhu.svg +14 -0
- package/lib/components/menus/components/menu-tree/images/okr-menu/okr-gongsi.svg +18 -0
- package/lib/components/menus/components/menu-tree/images/okr-menu/okr.svg +19 -0
- package/lib/components/menus/components/menu-tree/images/okr-menu/rw-zx.svg +16 -0
- package/lib/components/menus/components/menu-tree/images/user-concern-add.svg +29 -0
- package/lib/components/menus/components/menu-tree/images/yibiao.svg +14 -0
- package/lib/components/menus/components/menu-tree/index.css +33 -0
- package/lib/components/menus/components/menu-tree/index.js +66 -0
- package/lib/components/menus/components/menu-tree/precls.js +8 -0
- package/lib/components/menus/components/menu-tree/tree-node/company-all-node.js +48 -0
- package/lib/components/menus/components/menu-tree/tree-node/compony-node/index.css +17 -0
- package/lib/components/menus/components/menu-tree/tree-node/compony-node/index.js +41 -0
- package/lib/components/menus/components/menu-tree/tree-node/depart-node/index.css +24 -0
- package/lib/components/menus/components/menu-tree/tree-node/depart-node/index.js +73 -0
- package/lib/components/{button/admin-button/primary.js → menus/components/menu-tree/tree-node/group-name-node.js} +7 -14
- package/lib/components/menus/components/menu-tree/tree-node/index.css +360 -0
- package/lib/components/menus/components/menu-tree/tree-node/index.js +91 -0
- package/lib/components/menus/components/menu-tree/tree-node/menu-item-node.js +40 -0
- package/lib/components/menus/components/menu-tree/tree-node/menu-node.js +36 -0
- package/lib/components/menus/components/menu-tree/tree-node/user-concern-node.js +86 -0
- package/lib/components/menus/components/menu-tree/tree-node/user-node/index.css +56 -0
- package/lib/components/menus/components/menu-tree/tree-node/user-node/index.js +111 -0
- package/lib/components/menus/components/search-colleague/index.css +53 -0
- package/lib/components/menus/components/search-colleague/index.js +88 -0
- package/lib/components/menus/context.js +14 -0
- package/lib/components/menus/export-modules/appraisal-menus/datas.js +109 -0
- package/lib/components/menus/export-modules/appraisal-menus/index.css +0 -0
- package/lib/components/menus/export-modules/appraisal-menus/index.js +89 -0
- package/lib/components/menus/export-modules/depart-menus/helper.js +54 -0
- package/lib/components/menus/export-modules/depart-menus/index.css +0 -0
- package/lib/components/menus/export-modules/depart-menus/index.js +99 -0
- package/lib/components/menus/export-modules/okr-menus/datas.js +189 -0
- package/lib/components/menus/export-modules/okr-menus/index.css +33 -0
- package/lib/components/menus/export-modules/okr-menus/index.js +166 -0
- package/lib/components/menus/export-modules/subordinate-menus/helper.js +25 -0
- package/lib/components/menus/export-modules/subordinate-menus/index.js +108 -0
- package/lib/components/menus/index.css +20 -0
- package/lib/components/menus/index.js +51 -0
- package/lib/components/menus/precls.js +8 -0
- package/lib/components/menus/request-apis.js +97 -0
- package/lib/components/menus/types.js +5 -0
- package/lib/components/menus/utils.js +33 -0
- package/lib/components/nav-top/components/menu/index.css +90 -0
- package/lib/components/nav-top/components/menu/index.js +115 -0
- package/lib/components/nav-top/components/user-message/components/empty/index.css +30 -0
- package/lib/components/nav-top/components/user-message/components/empty/index.js +36 -0
- package/lib/components/nav-top/components/user-message/components/inform/index.css +114 -0
- package/lib/components/nav-top/components/user-message/components/inform/index.js +152 -0
- package/lib/components/nav-top/components/user-message/components/remind/index.css +159 -0
- package/lib/components/nav-top/components/user-message/components/remind/index.js +120 -0
- package/lib/components/nav-top/components/user-message/components/reply/index.css +132 -0
- package/lib/components/nav-top/components/user-message/components/reply/index.js +100 -0
- package/lib/components/nav-top/components/user-message/components/tab-title/index.js +31 -0
- package/lib/components/nav-top/components/user-message/components/todos/index.css +129 -0
- package/lib/components/nav-top/components/user-message/components/todos/index.js +98 -0
- package/lib/components/nav-top/components/user-message/constant.js +39 -0
- package/lib/components/nav-top/components/user-message/images/app-tixing.svg +30 -0
- package/lib/components/nav-top/components/user-message/images/bell.svg +18 -0
- package/lib/components/nav-top/components/user-message/images/empty-img.svg +130 -0
- package/lib/components/nav-top/components/user-message/images/user-photo.png +0 -0
- package/lib/components/nav-top/components/user-message/index.css +77 -0
- package/lib/components/nav-top/components/user-message/index.js +180 -0
- package/lib/components/nav-top/components/user-message/msg/index.css +122 -0
- package/lib/components/nav-top/components/user-message/msg/index.js +102 -0
- package/lib/components/nav-top/components/user-own-menu/index.css +61 -0
- package/lib/components/{button/admin-button/drop-down-arrow.js → nav-top/components/user-own-menu/index.js} +29 -54
- package/lib/components/nav-top/components/version/index.css +22 -0
- package/lib/components/{button/export-button → nav-top/components/version}/index.js +31 -40
- package/lib/components/nav-top/constant.js +42 -0
- package/lib/components/nav-top/images/app-tixing.svg +30 -0
- package/lib/components/nav-top/images/bell.svg +18 -0
- package/lib/components/nav-top/images/empty-img.svg +130 -0
- package/lib/components/nav-top/images/exit.svg +21 -0
- package/lib/components/nav-top/images/home.png +0 -0
- package/lib/components/nav-top/images/manage.png +0 -0
- package/lib/components/nav-top/images/manage.svg +21 -0
- package/lib/components/nav-top/images/open.svg +21 -0
- package/lib/components/nav-top/images/own-home.svg +19 -0
- package/lib/components/nav-top/images/qiye-o.svg +25 -0
- package/lib/components/nav-top/images/set.svg +19 -0
- package/lib/components/nav-top/images/user-photo.png +0 -0
- package/lib/components/nav-top/images/version.png +0 -0
- package/lib/components/nav-top/index.css +89 -0
- package/lib/components/nav-top/index.js +137 -0
- package/lib/components/nav-top/interface.js +5 -0
- package/lib/components/nav-top/mock.js +36 -0
- package/lib/components/nav-top/utils.js +77 -0
- package/lib/components/okr-detail/auth.js +1 -1
- package/lib/components/okr-detail/base-info/util.js +1 -1
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/constant.js +1 -1
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/style.js +1 -1
- package/lib/components/okr-detail/context.js +1 -1
- package/lib/components/okr-detail/detail-header/delete-confirm/style.js +1 -1
- package/lib/components/okr-detail/detail-header/enums.js +1 -1
- package/lib/components/okr-detail/e-list/constant.js +1 -1
- package/lib/components/okr-detail/e-list/util.js +1 -1
- package/lib/components/okr-detail/okr-list/create-kr-item/style.js +1 -1
- package/lib/components/okr-detail/okr-list/drag-order-kr.js +1 -1
- package/lib/components/okr-detail/okr-list/index.js +1 -2
- package/lib/components/okr-detail/request-apis.js +1 -1
- package/lib/components/okr-detail/schedule/util.js +1 -1
- package/lib/components/okr-flow/index.js +1 -1
- package/lib/components/okr-flow/mini-map/utils.js +1 -1
- package/lib/components/okr-flow/open-data/index.js +1 -1
- package/lib/components/okr-flow/request-apis.js +1 -1
- package/lib/components/okr-flow/utils/config.js +1 -1
- package/lib/components/okr-flow/utils/index.js +1 -1
- package/lib/components/okr-flow/utils/tree-handler.js +1 -1
- package/lib/components/okr-progress/request-apis.js +1 -1
- package/lib/components/okr-progress/util.js +1 -1
- package/lib/components/okr-progress-detail/utils.js +1 -1
- package/lib/components/okr-progress-modal/helper.js +1 -1
- package/lib/components/okr-progress-modal/style.js +1 -1
- package/lib/components/okr-progress-modal/textarea/style.js +1 -1
- package/lib/components/okr-review/ReviewPop/components/ReviewBody/style.js +1 -1
- package/lib/components/okr-review/ReviewPop/style.js +1 -1
- package/lib/components/okr-review/components/ReviewItem/style.js +1 -1
- package/lib/components/okr-review/components/confirm-pop/style.js +1 -1
- package/lib/components/okr-review/style.js +1 -1
- package/lib/components/okr-share/common-painter/utils.js +1 -1
- package/lib/components/okr-share/pink-card/images.js +1 -1
- package/lib/components/okr-share/request-apis.js +1 -1
- package/lib/components/okrcase-library/index.css +0 -1
- package/lib/components/okrcase-library/okrcases-components/submitOkr-dialog.js +1 -1
- package/lib/components/okrcase-library/server/network.js +1 -1
- package/lib/components/open-data-painter/index.js +1 -1
- package/lib/components/operation-records/style.js +1 -1
- package/lib/components/period-selector/common.js +2 -2
- package/lib/components/period-selector/components/button/style.js +1 -1
- package/lib/components/period-selector/components/selector/style.js +1 -1
- package/lib/components/period-selector/helper/index.js +1 -1
- package/lib/components/period-selector/mockData.js +1 -1
- package/lib/components/period-selector/style.js +1 -1
- package/lib/components/photo-card/components/card/index.css +196 -0
- package/lib/components/photo-card/components/card/index.js +106 -0
- package/lib/components/photo-card/data.js +19 -0
- package/lib/components/photo-card/images/user-add.svg +19 -0
- package/lib/components/photo-card/images/user-photo.png +0 -0
- package/lib/components/photo-card/images/user-role.svg +38 -0
- package/lib/components/photo-card/index.css +29 -0
- package/lib/components/photo-card/index.js +51 -0
- package/lib/components/photo-card/types/image.d.js +1 -0
- package/lib/components/photo-card/types/react-app-env.d.js +2 -0
- package/lib/components/point-demo/drop-down-box/index.css +98 -0
- package/lib/components/point-demo/drop-down-box/index.js +159 -0
- package/lib/components/point-demo/image/demo-bcg.png +0 -0
- package/lib/components/point-demo/image/down.svg +14 -0
- package/lib/components/point-demo/image/icon-canceled.svg +7 -0
- package/lib/components/point-demo/image/logo.svg +64 -0
- package/lib/components/point-demo/index.css +348 -0
- package/lib/components/point-demo/index.js +657 -0
- package/lib/components/point-demo/input/index.css +74 -0
- package/lib/components/point-demo/input/index.js +176 -0
- package/lib/components/point-demo/point-demo.js +93 -0
- package/lib/components/point-demo/popup/index.css +7 -0
- package/lib/components/point-demo/popup/index.js +113 -0
- package/lib/components/point-demo/popup/placement.js +44 -0
- package/lib/components/point-demo/popup/rc-trigger.css +127 -0
- package/lib/components/pop-down-notification/components/SuccessRender.js +1 -1
- package/lib/components/pop-down-notification/style/index.js +1 -1
- package/lib/components/praise-record/style.js +1 -1
- package/lib/components/progress/index.js +1 -1
- package/lib/components/publish-dynamic-modal/requist-api.js +1 -1
- package/lib/components/radio/radio.js +1 -1
- package/lib/components/tabs/index.js +1 -1
- package/lib/components/task-relation/helper.js +1 -1
- package/lib/components/task-relation/request-api.js +1 -1
- package/lib/components/tita-chart/index.js +4 -4
- package/lib/components/tita-chart/util/index.js +12 -12
- package/lib/components/tita-chart/util/utils.js +1 -1
- package/lib/components/tooltip/index.js +1 -1
- package/lib/components/tooltip/tooltip-text/index.js +10 -4
- package/lib/components/tree/index.js +1 -1
- package/lib/components/upload/style.js +1 -1
- package/lib/components/upload/util.js +1 -1
- package/lib/components/upvote/request-apis.js +1 -1
- package/lib/components/user-selector/export-modules/field-tree-selector/index.js +2 -2
- package/lib/components/user-selector/export-modules/field-tree-selector/multiple-selector/index.js +2 -2
- package/lib/components/user-selector/export-modules/field-tree-selector/single-selector/index.js +4 -1
- package/lib/components/user-selector/export-modules/field-tree-selector/single-selector/user-list.js +1 -1
- package/lib/components/user-selector/index.js +1 -1
- package/lib/components/user-selector/layout/index.css +1 -1
- package/lib/components/user-selector/layout/index.js +4 -1
- package/lib/components/user-selector/request-apis.js +1 -1
- package/lib/components/user-selector/utils.js +1 -1
- package/lib/components/version-change-modal/constant.js +45 -0
- package/lib/components/version-change-modal/images/header-b.png +0 -0
- package/lib/components/version-change-modal/images/header-g.png +0 -0
- package/lib/components/version-change-modal/images/header-y.png +0 -0
- package/lib/components/version-change-modal/images/okr.png +0 -0
- package/lib/components/version-change-modal/images/okre.png +0 -0
- package/lib/components/version-change-modal/images/performance.png +0 -0
- package/lib/components/version-change-modal/images/performancePlus.png +0 -0
- package/lib/components/version-change-modal/images/project.png +0 -0
- package/lib/components/version-change-modal/images/title.png +0 -0
- package/lib/components/version-change-modal/index.css +150 -0
- package/lib/components/version-change-modal/index.js +175 -0
- package/lib/components/version-change-modal/interface.js +5 -0
- package/lib/components/version-change-modal/request-api.js +41 -0
- package/lib/components/viewer/index.js +1 -1
- package/lib/components-v1/avatar/styles.js +1 -1
- package/lib/components-v1/buttonv2/style/style.js +1 -1
- package/lib/components-v1/input/Input.js +1 -1
- package/lib/components-v1/input/InputNumber.js +1 -1
- package/lib/components-v1/input/style/index.js +1 -1
- package/lib/components-v1/popConfirm/style.js +1 -1
- package/lib/components-v1/radio/style/index.css +3 -3
- package/lib/components-v1/tabs/style.js +1 -1
- package/lib/components-v1/textarea/style.js +1 -1
- package/lib/components-v1/userSelector/UserSelectorPop.js +1 -1
- package/lib/components-v1/userSelector/style.js +1 -1
- package/lib/index.js +56 -6
- package/lib/pages/aha2021/index.css +42 -0
- package/lib/pages/aha2021/index.js +62 -0
- package/lib/pages/group-management/components/PopDownNotification/components/SuccessRender.js +1 -1
- package/lib/pages/group-management/components/PopDownNotification/style/index.js +1 -1
- package/lib/pages/group-management/components/openData/index.js +1 -1
- package/lib/pages/group-management/groupInterface.js +10 -10
- package/lib/pages/home-page/components/data-list/table/columns/index.js +1 -1
- package/lib/pages/okr-map/hooks/useStorage.js +2 -2
- package/lib/pages/okr-map/open-data/index.js +1 -1
- package/lib/pages/okr-map/request-apis.js +1 -1
- package/lib/pages/okr-map/utils.js +12 -9
- package/lib/pages/personal-info/components/base-info/index.css +36 -0
- package/lib/pages/personal-info/components/base-info/index.js +179 -0
- package/lib/pages/personal-info/index.css +3 -0
- package/lib/pages/personal-info/index.js +27 -0
- package/lib/pages/personal-info/request-api.js +32 -0
- package/lib/utils/auth.js +1 -1
- package/lib/utils/bs-global.js +16 -1
- package/lib/utils/format-time.js +1 -1
- package/lib/utils/helpers.js +1 -1
- package/lib/utils/mblog.js +1 -1
- package/lib/utils/open-data.js +1 -1
- package/lib/utils/platform.js +1 -1
- package/lib/utils/request-v1.js +2 -2
- package/lib/utils/request.js +1 -1
- package/lib/utils/roundWeight.js +2 -2
- package/lib/utils/tools.js +3 -4
- package/package.json +2 -1
- package/lib/components/button/admin-button/default.js +0 -35
- package/lib/components/button/admin-button/index.css +0 -86
- package/lib/components/button/admin-button/index.js +0 -40
- package/lib/components/button/admin-button/secondary.js +0 -35
- package/lib/components/button/export-button/index.css +0 -51
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
|
|
12
|
+
var _popup = _interopRequireDefault(require("../popup"));
|
|
13
|
+
|
|
14
|
+
var _down = _interopRequireDefault(require("../image/down.svg"));
|
|
15
|
+
|
|
16
|
+
require("./index.css");
|
|
17
|
+
|
|
18
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
19
|
+
|
|
20
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
21
|
+
|
|
22
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
23
|
+
|
|
24
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
25
|
+
|
|
26
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
27
|
+
|
|
28
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
29
|
+
|
|
30
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
31
|
+
|
|
32
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
33
|
+
|
|
34
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
35
|
+
|
|
36
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
37
|
+
|
|
38
|
+
var SelectLayer = function SelectLayer(_ref) {
|
|
39
|
+
var style = _ref.style,
|
|
40
|
+
errMsg = _ref.errMsg,
|
|
41
|
+
className = _ref.className,
|
|
42
|
+
title = _ref.title,
|
|
43
|
+
_ref$required = _ref.required,
|
|
44
|
+
required = _ref$required === void 0 ? false : _ref$required,
|
|
45
|
+
initValue = _ref.initValue,
|
|
46
|
+
onChangeClassify = _ref.onChangeClassify,
|
|
47
|
+
items = _ref.items,
|
|
48
|
+
_ref$initText = _ref.initText,
|
|
49
|
+
initText = _ref$initText === void 0 ? '暂无' : _ref$initText,
|
|
50
|
+
popupProps = _ref.popupProps,
|
|
51
|
+
renderPrefixIcon = _ref.renderPrefixIcon,
|
|
52
|
+
renderSuffixIcon = _ref.renderSuffixIcon,
|
|
53
|
+
renderPrefixIconClass = _ref.renderPrefixIconClass,
|
|
54
|
+
renderSuffixIconClass = _ref.renderSuffixIconClass,
|
|
55
|
+
textClass = _ref.textClass,
|
|
56
|
+
_ref$forceRenderText = _ref.forceRenderText,
|
|
57
|
+
forceRenderText = _ref$forceRenderText === void 0 ? false : _ref$forceRenderText;
|
|
58
|
+
|
|
59
|
+
var _useState = (0, _react.useState)(false),
|
|
60
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
61
|
+
visible = _useState2[0],
|
|
62
|
+
setVisible = _useState2[1];
|
|
63
|
+
|
|
64
|
+
var _useState3 = (0, _react.useState)(items.find(function (item) {
|
|
65
|
+
return item.value === initValue;
|
|
66
|
+
})),
|
|
67
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
68
|
+
selectItem = _useState4[0],
|
|
69
|
+
setSelectItem = _useState4[1];
|
|
70
|
+
|
|
71
|
+
var popupRef = (0, _react.useRef)(document.createElement('div'));
|
|
72
|
+
var handleSelectOkrClassify = (0, _react.useCallback)(function (key) {
|
|
73
|
+
setVisible(false);
|
|
74
|
+
setSelectItem(key);
|
|
75
|
+
onChangeClassify && onChangeClassify(key);
|
|
76
|
+
}, [onChangeClassify]);
|
|
77
|
+
(0, _react.useEffect)(function () {
|
|
78
|
+
setSelectItem(items.find(function (item) {
|
|
79
|
+
return item.value === initValue;
|
|
80
|
+
}));
|
|
81
|
+
}, [initValue]);
|
|
82
|
+
var renderSelection = (0, _react.useMemo)(function () {
|
|
83
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
84
|
+
className: "drop-down__layer-select-wrapper"
|
|
85
|
+
}, items.map(function (item, index) {
|
|
86
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
87
|
+
key: index,
|
|
88
|
+
onClick: function onClick(e) {
|
|
89
|
+
return handleSelectOkrClassify(item);
|
|
90
|
+
},
|
|
91
|
+
className: "drop-down__layer-select-text ".concat(selectItem && item.value === selectItem.value ? "drop-down__layer-select-text--active" : "")
|
|
92
|
+
}, item.label);
|
|
93
|
+
}));
|
|
94
|
+
}, [selectItem]);
|
|
95
|
+
(0, _react.useEffect)(function () {
|
|
96
|
+
setSelectItem(items.find(function (item) {
|
|
97
|
+
return item.value === initValue;
|
|
98
|
+
}));
|
|
99
|
+
}, [initValue]);
|
|
100
|
+
var handleClickText = (0, _react.useCallback)(function () {
|
|
101
|
+
setVisible(!visible);
|
|
102
|
+
}, [visible]);
|
|
103
|
+
|
|
104
|
+
var touchStart = function touchStart(e) {
|
|
105
|
+
e.persist();
|
|
106
|
+
e.preventDefault();
|
|
107
|
+
setVisible(!visible);
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
111
|
+
className: "".concat(className, " base-info-drop-down__layer")
|
|
112
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
113
|
+
className: "base-info-drop-down__layer-container",
|
|
114
|
+
style: style,
|
|
115
|
+
ref: popupRef
|
|
116
|
+
}, title, /*#__PURE__*/_react["default"].createElement("span", {
|
|
117
|
+
className: "required"
|
|
118
|
+
}, "*")), /*#__PURE__*/_react["default"].createElement(_popup["default"], _extends({
|
|
119
|
+
popupVisible: visible,
|
|
120
|
+
action: ["click"],
|
|
121
|
+
destroyPopupOnHide: true,
|
|
122
|
+
popup: renderSelection,
|
|
123
|
+
popupAlign: {
|
|
124
|
+
points: ["tl", "bl"],
|
|
125
|
+
offset: [0, 4]
|
|
126
|
+
},
|
|
127
|
+
mask: false,
|
|
128
|
+
getPopupContainer: function getPopupContainer() {
|
|
129
|
+
return popupRef.current;
|
|
130
|
+
},
|
|
131
|
+
popupStyle: {
|
|
132
|
+
width: "100%"
|
|
133
|
+
}
|
|
134
|
+
}, popupProps, {
|
|
135
|
+
onPopupVisibleChange: function onPopupVisibleChange(visible) {
|
|
136
|
+
return setVisible(visible);
|
|
137
|
+
}
|
|
138
|
+
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
139
|
+
className: "drop-down__layer-text ".concat(visible ? 'drop-down__layer-text--focus' : ''),
|
|
140
|
+
onClick: handleClickText // onTouchStart={()=>{}}
|
|
141
|
+
,
|
|
142
|
+
onTouchEnd: touchStart
|
|
143
|
+
}, renderPrefixIcon && /*#__PURE__*/_react["default"].createElement("span", {
|
|
144
|
+
className: renderPrefixIconClass
|
|
145
|
+
}, renderPrefixIcon[selectItem ? selectItem.value : 0]), /*#__PURE__*/_react["default"].createElement("span", {
|
|
146
|
+
style: selectItem && selectItem.value > 0 ? {
|
|
147
|
+
color: '#3F4755'
|
|
148
|
+
} : {},
|
|
149
|
+
className: textClass
|
|
150
|
+
}, forceRenderText && initText ? initText : selectItem ? selectItem.label : initText), renderSuffixIcon && /*#__PURE__*/_react["default"].createElement("img", {
|
|
151
|
+
className: 'drop-down__layer-text-suffixIcon',
|
|
152
|
+
src: _down["default"]
|
|
153
|
+
}))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
154
|
+
className: "base-info-drop-down__layer-errmsg"
|
|
155
|
+
}, errMsg && errMsg));
|
|
156
|
+
};
|
|
157
|
+
|
|
158
|
+
var _default = SelectLayer;
|
|
159
|
+
exports["default"] = _default;
|
|
Binary file
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="12px" height="12px" viewBox="0 0 12 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>下箭头</title>
|
|
4
|
+
<g id="绩效考核" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
5
|
+
<g id="绩效考核弹窗" transform="translate(-714.000000, -355.000000)" fill-rule="nonzero">
|
|
6
|
+
<g id="编组-9" transform="translate(220.000000, 72.000000)">
|
|
7
|
+
<g id="下箭头" transform="translate(494.000000, 283.000000)">
|
|
8
|
+
<rect id="矩形" fill="#000000" opacity="0" x="0" y="0" width="12" height="12"></rect>
|
|
9
|
+
<path d="M6.7155,8.8125 L10.33425,4.071 C10.5419684,3.7988128 10.5772501,3.43233816 10.4252743,3.125522 C10.2732984,2.81870584 9.96039265,2.62469962 9.618,2.62499965 L2.381625,2.62499965 C2.03936752,2.62499965 1.72672265,2.81910016 1.57493463,3.12585834 C1.42314661,3.43261652 1.45848879,3.79892025 1.666125,4.071 L5.284875,8.8125 C5.45513546,9.0354783 5.71963814,9.16630587 6.0001875,9.16630587 C6.28073686,9.16630587 6.54523954,9.0354783 6.7155,8.8125 L6.7155,8.8125 Z" id="路径" fill="#3F4755"></path>
|
|
10
|
+
</g>
|
|
11
|
+
</g>
|
|
12
|
+
</g>
|
|
13
|
+
</g>
|
|
14
|
+
</svg>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<!-- Generated by IcoMoon.io -->
|
|
2
|
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="1024" height="1024" viewBox="0 0 1024 1024">
|
|
3
|
+
<title></title>
|
|
4
|
+
<g id="icomoon-ignore">
|
|
5
|
+
</g>
|
|
6
|
+
<path d="M508.013 451.081l300.592-300.592c16.242-16.242 42.501-16.48 59.034-0.535 16.152 15.576 16.618 41.297 1.041 57.449-0.17 0.177-0.342 0.352-0.516 0.525l-301.652 301.652 314.194 314.194c14.331 14.331 14.331 37.567 0 51.898-0.409 0.409-0.827 0.807-1.254 1.196-15.93 14.492-40.435 13.913-55.664-1.315l-311.625-311.625-309.575 309.575c-16.242 16.242-42.501 16.48-59.034 0.535-16.152-15.576-16.618-41.297-1.041-57.449 0.17-0.177 0.342-0.352 0.516-0.525l310.635-310.635-299.551-299.551c-14.331-14.331-14.331-37.567 0-51.898 0.409-0.409 0.827-0.807 1.254-1.196 15.93-14.492 40.435-13.913 55.664 1.315l296.982 296.982z"></path>
|
|
7
|
+
</svg>
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="66px" height="16px" viewBox="0 0 66 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>logo</title>
|
|
4
|
+
<defs>
|
|
5
|
+
<polygon id="path-1" points="0.0333705263 0.0151168 1.16463368 0.0151168 1.16463368 0.64 0.0333705263 0.64"></polygon>
|
|
6
|
+
<polygon id="path-3" points="0.00320699491 0.103927652 24.8235323 0.103927652 24.8235323 8.32 0.00320699491 8.32"></polygon>
|
|
7
|
+
<polygon id="path-5" points="0.008208583 0.00504106667 2.65419401 0.00504106667 2.65419401 10.88 0.008208583 10.88"></polygon>
|
|
8
|
+
<polygon id="path-7" points="0.04854 0.00409698462 13.04434 0.00409698462 13.04434 12.16 0.04854 12.16"></polygon>
|
|
9
|
+
<polygon id="path-9" points="0.0428897833 0.160605659 10.4038681 0.160605659 10.4038681 15.36 0.0428897833 15.36"></polygon>
|
|
10
|
+
<polygon id="path-11" points="0 0.160605659 10.3609579 0.160605659 10.3609579 15.36 0 15.36"></polygon>
|
|
11
|
+
</defs>
|
|
12
|
+
<g id="-" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
13
|
+
<g id="飞书-H5预约" transform="translate(-155.000000, -84.000000)">
|
|
14
|
+
<g id="logo" transform="translate(155.000000, 84.000000)">
|
|
15
|
+
<g id="编组" transform="translate(40.989474, 14.720000)">
|
|
16
|
+
<mask id="mask-2" fill="white">
|
|
17
|
+
<use xlink:href="#path-1"></use>
|
|
18
|
+
</mask>
|
|
19
|
+
<g id="Clip-2"></g>
|
|
20
|
+
<path d="M1.16463368,0.3274368 C1.16463368,0.5002368 0.911286316,0.6400128 0.598886316,0.6400128 C0.286486316,0.6400128 0.0333705263,0.5002368 0.0333705263,0.3274368 C0.0333705263,0.1550208 0.286486316,0.0151168 0.598886316,0.0151168 C0.911286316,0.0151168 1.16463368,0.1550208 1.16463368,0.3274368" id="Fill-1" fill="#2879FF" mask="url(#mask-2)"></path>
|
|
21
|
+
</g>
|
|
22
|
+
<g id="编组" transform="translate(40.989474, 7.040000)">
|
|
23
|
+
<mask id="mask-4" fill="white">
|
|
24
|
+
<use xlink:href="#path-3"></use>
|
|
25
|
+
</mask>
|
|
26
|
+
<g id="Clip-4"></g>
|
|
27
|
+
<path d="M22.7109496,0.103927652 L5.44218968,0.103927652 C1.88464401,0.103927652 0.00320699491,1.76431026 0.00320699491,4.90293983 L0.00320699491,5.7772633 L0.00320699491,6.6087207 C0.00320699491,6.76589635 0.145000543,6.89340939 0.31987253,6.89340939 C0.494744516,6.89340939 0.636538065,6.76589635 0.636538065,6.6087207 L0.636538065,5.7772633 L0.636538065,4.90293983 C0.636538065,2.09602504 2.25334757,0.672400696 5.44218968,0.672400696 L22.7109496,0.672400696 C23.5258087,0.672400696 24.1895961,1.2678233 24.1895961,1.99925983 L24.1895961,6.42531896 C24.1895961,7.15693635 23.5258087,7.75217809 22.7109496,7.75217809 L5.94744265,7.75217809 L1.85902839,7.75217809 C1.68375301,7.75217809 1.54236285,7.87878678 1.54236285,8.03596243 C1.54236285,8.19349983 1.68375301,8.32010852 1.85902839,8.32010852 L5.94744265,8.32010852 L22.7109496,8.32010852 C23.8755527,8.32010852 24.8235323,7.47074504 24.8235323,6.42531896 L24.8235323,1.99925983 C24.8235323,0.954014609 23.8755527,0.103927652 22.7109496,0.103927652" id="Fill-3" fill="#2879FF" mask="url(#mask-4)"></path>
|
|
28
|
+
</g>
|
|
29
|
+
<path d="M63.3162642,8.83514011 C62.9463658,8.50263551 62.4595409,8.32 61.9459496,8.32 C61.4321571,8.32 60.9453321,8.50319403 60.57483,8.83514011 C60.5283411,8.87740134 60.4834622,8.92152429 60.4420046,8.96657811 C60.400547,8.92152429 60.3562719,8.87740134 60.3093806,8.83514011 C59.9386771,8.50263551 59.4518522,8.32 58.9390659,8.32 C58.4244684,8.32 57.9376434,8.50319403 57.567745,8.83514011 C57.1813441,9.1821662 56.9684211,9.64610879 56.9684211,10.1424455 L56.9684211,13.640446 C56.9684211,13.8830292 57.1813441,14.08 57.443976,14.08 C57.7054004,14.08 57.9183234,13.8830292 57.9183234,13.640446 L57.9183234,10.1424455 C57.9183234,9.88589935 58.0290112,9.6453641 58.2294567,9.46589353 C58.4210471,9.2936837 58.6726103,9.19836323 58.9390659,9.19836323 C59.2043141,9.19836323 59.4560785,9.2936837 59.6476689,9.46589353 C59.8481144,9.6453641 59.9579972,9.88589935 59.9579972,10.1424455 L59.9579972,13.640446 C59.9579972,13.8830292 60.1711215,14.08 60.4331496,14.08 C60.4365709,14.08 60.4393884,14.0792553 60.4420046,14.0792553 C60.4448221,14.0792553 60.4476397,14.08 60.4510609,14.08 C60.7130891,14.08 60.9260121,13.8830292 60.9260121,13.640446 L60.9260121,10.1424455 C60.9260121,9.88589935 61.0366999,9.6453641 61.2371454,9.46589353 C61.4281321,9.2936837 61.6805002,9.19836323 61.9459496,9.19836323 C62.211399,9.19836323 62.4629621,9.2936837 62.6545526,9.46589353 C62.8551994,9.6453641 62.9656859,9.88589935 62.9656859,10.1424455 L62.9656859,13.640446 C62.9656859,13.8830292 63.1786089,14.08 63.4408383,14.08 C63.7026652,14.08 63.9157895,13.8830292 63.9157895,13.640446 L63.9157895,10.1424455 C63.9157895,9.64610879 63.7026652,9.1821662 63.3162642,8.83514011" id="Fill-5" fill="#2879FF"></path>
|
|
30
|
+
<path d="M53.1473684,9.19836323 C51.9501635,9.19836323 50.9750974,10.0962746 50.9750974,11.1997207 C50.9750974,12.3037254 51.9501635,13.2018229 53.1473684,13.2018229 C54.3459882,13.2018229 55.3202458,12.3037254 55.3202458,11.1997207 C55.3202458,10.0962746 54.3459882,9.19836323 53.1473684,9.19836323 M53.1473684,14.08 C51.4238219,14.08 50.0210526,12.7877747 50.0210526,11.1997207 C50.0210526,9.61203917 51.4238219,8.32 53.1473684,8.32 C54.8717235,8.32 56.2736842,9.61203917 56.2736842,11.1997207 C56.2736842,12.7877747 54.8717235,14.08 53.1473684,14.08" id="Fill-7" fill="#2879FF"></path>
|
|
31
|
+
<path d="M48.4016809,12.1467804 C48.1519794,12.0041583 47.8742541,12.1875562 47.7926952,12.3074631 C47.4136978,12.8613809 46.7734027,13.2017378 46.0629516,13.2017378 C44.9182286,13.2017378 43.9860998,12.3035531 43.9860998,11.2001862 C43.9860998,10.0964469 44.9182286,9.19826222 46.0629516,9.19826222 C46.7734027,9.19826222 47.4136978,9.53880528 47.7926952,10.0929092 C47.8742541,10.2122576 48.1519794,10.3962141 48.4016809,10.2532196 C48.6884898,10.0895578 48.6685832,9.77359193 48.5489507,9.5993173 C48.0031634,8.80688906 47.083597,8.32 46.0629516,8.32 C44.4149602,8.32 43.0736842,9.61235066 43.0736842,11.2001862 C43.0736842,12.7876493 44.4149602,14.08 46.0629516,14.08 C47.083597,14.08 48.0031634,13.5931109 48.5489507,12.8003103 C48.6685832,12.6264081 48.6884898,12.3106284 48.4016809,12.1467804" id="Fill-9" fill="#2879FF"></path>
|
|
32
|
+
<g id="编组" transform="translate(11.810526, 4.480000)">
|
|
33
|
+
<mask id="mask-6" fill="white">
|
|
34
|
+
<use xlink:href="#path-5"></use>
|
|
35
|
+
</mask>
|
|
36
|
+
<g id="Clip-12"></g>
|
|
37
|
+
<path d="M1.33077377,0.00504106667 C0.600338138,0.00504106667 0.008208583,0.507153067 0.008208583,1.12713173 L0.008208583,9.7580544 C0.008208583,10.3776704 0.600338138,10.8801451 1.33077377,10.8801451 C2.06185069,10.8801451 2.65419401,10.3776704 2.65419401,9.7580544 L2.65419401,1.12713173 C2.65419401,0.507153067 2.06185069,0.00504106667 1.33077377,0.00504106667" id="Fill-11" fill="#2879FF" mask="url(#mask-6)"></path>
|
|
38
|
+
</g>
|
|
39
|
+
<path d="M14.5894737,1.5998981 C14.5894737,2.48361251 13.8115719,3.2 12.8522998,3.2 C11.8936912,3.2 11.1157895,2.48361251 11.1157895,1.5998981 C11.1157895,0.715572257 11.8936912,0 12.8522998,0 C13.8115719,0 14.5894737,0.715572257 14.5894737,1.5998981" id="Fill-13" fill="#2879FF"></path>
|
|
40
|
+
<g id="编组" transform="translate(26.400000, 3.200000)">
|
|
41
|
+
<mask id="mask-8" fill="white">
|
|
42
|
+
<use xlink:href="#path-7"></use>
|
|
43
|
+
</mask>
|
|
44
|
+
<g id="Clip-16"></g>
|
|
45
|
+
<path d="M6.54634,0.00409698462 C2.96334,0.00409698462 0.04854,2.73130437 0.04854,6.08241329 C0.04854,9.43333514 2.96334,12.1601684 6.54634,12.1601684 C7.28614,12.1601684 8.02274,12.0391296 8.73514,11.8000453 C9.36954,11.5871518 9.69954,10.9338791 9.47174,10.3399099 C9.24414,9.74594068 8.54494,9.43950868 7.91094,9.65071852 C7.46374,9.80056714 7.00434,9.87689452 6.54634,9.87689452 C4.30934,9.87689452 2.48954,8.17449452 2.48954,6.08241329 C2.48954,3.98958375 4.30934,2.28774498 6.54634,2.28774498 C8.78334,2.28774498 10.60314,3.98958375 10.60314,6.08241329 L10.60314,11.018625 C10.60314,11.6492613 11.14974,12.1601684 11.82394,12.1601684 C12.49794,12.1601684 13.04434,11.6492613 13.04434,11.018625 L13.04434,6.08241329 C13.04434,2.73130437 10.12914,0.00409698462 6.54634,0.00409698462" id="Fill-15" fill="#E50012" mask="url(#mask-8)"></path>
|
|
46
|
+
</g>
|
|
47
|
+
<g id="编组" transform="translate(15.978947, 0.000000)">
|
|
48
|
+
<mask id="mask-10" fill="white">
|
|
49
|
+
<use xlink:href="#path-9"></use>
|
|
50
|
+
</mask>
|
|
51
|
+
<g id="Clip-18"></g>
|
|
52
|
+
<path d="M9.13924272,13.0420261 L8.48414675,13.0420261 C5.62836966,13.0420261 4.08094551,12.3856671 4.08094551,8.92329834 L4.08094551,6.63540761 L6.52498885,6.63540761 L7.85520557,6.63540761 C8.55443777,6.63540761 9.1206483,6.11672663 9.1206483,5.47554029 C9.1206483,4.83585249 8.55443777,4.31679688 7.85520557,4.31679688 L6.52498885,4.31679688 L4.08094551,4.31679688 L4.08094551,1.31972371 C4.08094551,0.679099317 3.51432632,0.160605659 2.81611579,0.160605659 C2.11770093,0.160605659 1.55189907,0.679099317 1.55189907,1.31972371 L1.55189907,4.31679688 L1.30833251,4.31679688 C0.608895975,4.31679688 0.0428897833,4.83585249 0.0428897833,5.47554029 C0.0428897833,6.11672663 0.608895975,6.63540761 1.30833251,6.63540761 L1.55189907,6.63540761 L1.55189907,8.92329834 C1.55189907,13.2544437 3.81898885,15.3600749 8.48414675,15.3600749 L9.13924272,15.3600749 C9.83724892,15.3600749 10.4038681,14.8410193 10.4038681,14.2009569 C10.4038681,13.5605198 9.83724892,13.0420261 9.13924272,13.0420261" id="Fill-17" fill="#E50012" mask="url(#mask-10)"></path>
|
|
53
|
+
</g>
|
|
54
|
+
<g id="编组">
|
|
55
|
+
<mask id="mask-12" fill="white">
|
|
56
|
+
<use xlink:href="#path-11"></use>
|
|
57
|
+
</mask>
|
|
58
|
+
<g id="Clip-20"></g>
|
|
59
|
+
<path d="M9.09633251,13.0420261 L8.44123653,13.0420261 C5.58545944,13.0420261 4.03803529,12.3856671 4.03803529,8.92329834 L4.03803529,6.63540761 L6.48207864,6.63540761 L7.81249969,6.63540761 C8.51152755,6.63540761 9.07773808,6.11672663 9.07773808,5.47554029 C9.07773808,4.83585249 8.51152755,4.31679688 7.81249969,4.31679688 L6.48207864,4.31679688 L4.03803529,4.31679688 L4.03803529,1.31972371 C4.03803529,0.679099317 3.4714161,0.160605659 2.77320557,0.160605659 C2.07479071,0.160605659 1.50898885,0.679099317 1.50898885,1.31972371 L1.50898885,4.31679688 L1.26542229,4.31679688 C0.566190093,4.31679688 -2.04334365e-05,4.83585249 -2.04334365e-05,5.47554029 C-2.04334365e-05,6.11672663 0.566190093,6.63540761 1.26542229,6.63540761 L1.50898885,6.63540761 L1.50898885,8.92329834 C1.50898885,13.2544437 3.77607864,15.3600749 8.44123653,15.3600749 L9.09633251,15.3600749 C9.79454303,15.3600749 10.3609579,14.8410193 10.3609579,14.2009569 C10.3609579,13.5605198 9.79454303,13.0420261 9.09633251,13.0420261" id="Fill-19" fill="#2879FF" mask="url(#mask-12)"></path>
|
|
60
|
+
</g>
|
|
61
|
+
</g>
|
|
62
|
+
</g>
|
|
63
|
+
</g>
|
|
64
|
+
</svg>
|
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
.appointment-demo {
|
|
2
|
+
z-index: 9999;
|
|
3
|
+
width: 100%;
|
|
4
|
+
height: 100%;
|
|
5
|
+
position: absolute;
|
|
6
|
+
top: 0;
|
|
7
|
+
left: 0;
|
|
8
|
+
right: 0;
|
|
9
|
+
bottom: 0;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.appointment-demo-pc {
|
|
13
|
+
z-index: 99999;
|
|
14
|
+
width: 100%;
|
|
15
|
+
height: 100vh;
|
|
16
|
+
background: rgba(0, 0, 0, 0.5);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.appointment-demo-pc-popup {
|
|
20
|
+
width: 872px;
|
|
21
|
+
height: 520px;
|
|
22
|
+
background: #FFFFFF;
|
|
23
|
+
border-radius: 8px;
|
|
24
|
+
display: flex;
|
|
25
|
+
position: absolute;
|
|
26
|
+
left: 0;
|
|
27
|
+
right: 0;
|
|
28
|
+
top: 0;
|
|
29
|
+
bottom: 0;
|
|
30
|
+
margin: auto;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.appointment-demo-pc-popup-close {
|
|
34
|
+
width: 18px;
|
|
35
|
+
height: 18px;
|
|
36
|
+
position: absolute;
|
|
37
|
+
top: 14px;
|
|
38
|
+
right: 35px;
|
|
39
|
+
cursor: pointer;
|
|
40
|
+
z-index: 3;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.appointment-demo-pc-popup-close img {
|
|
44
|
+
width: 18px;
|
|
45
|
+
height: 18px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.appointment-demo-pc-popup-bcg {
|
|
49
|
+
width: 528px;
|
|
50
|
+
height: 390px;
|
|
51
|
+
background: url("./image/demo-bcg.png") no-repeat;
|
|
52
|
+
background-size: 528px 390px;
|
|
53
|
+
position: absolute;
|
|
54
|
+
left: 1px;
|
|
55
|
+
bottom: -15px;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.appointment-demo-pc-popup-left {
|
|
59
|
+
margin: 36px 0 0 32px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.appointment-demo-pc-popup-left-title {
|
|
63
|
+
font-size: 26px;
|
|
64
|
+
font-weight: 600;
|
|
65
|
+
color: #141C28;
|
|
66
|
+
line-height: 40px;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.appointment-demo-pc-popup-left-subtitle {
|
|
70
|
+
font-size: 14px;
|
|
71
|
+
font-weight: 400;
|
|
72
|
+
color: #6F7886;
|
|
73
|
+
line-height: 22px;
|
|
74
|
+
margin-top: 4px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.appointment-demo-pc-popup-right {
|
|
78
|
+
z-index: 2;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.appointment-demo-pc-popup-right-form {
|
|
82
|
+
width: 420px;
|
|
83
|
+
margin-left: 36px;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.appointment-demo-pc-popup-right-form-code {
|
|
87
|
+
margin-top: 16px;
|
|
88
|
+
display: flex;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.appointment-demo-pc-popup-right-form-code-left {
|
|
92
|
+
width: 309px;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.appointment-demo-pc-popup-right-form-code img {
|
|
96
|
+
width: 100px;
|
|
97
|
+
height: 34px;
|
|
98
|
+
cursor: pointer;
|
|
99
|
+
margin-left: 10px;
|
|
100
|
+
margin-top: 26px;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.appointment-demo-pc-popup-right-form-double {
|
|
104
|
+
display: flex;
|
|
105
|
+
margin-top: 40px;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.appointment-demo-pc-popup-right-form-double-left {
|
|
109
|
+
margin-right: 10px;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.appointment-demo-pc-popup-right-form-item {
|
|
113
|
+
width: 420px;
|
|
114
|
+
box-sizing: border-box !important;
|
|
115
|
+
margin-top: 16px;
|
|
116
|
+
position: relative;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.appointment-demo-pc-popup-right-form-item:nth-of-type(1) {
|
|
120
|
+
display: flex;
|
|
121
|
+
margin-top: 40px;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.appointment-demo-pc-popup-right-form-item:nth-of-type(2) {
|
|
125
|
+
display: flex;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.appointment-demo-pc-popup-right-form-item-left {
|
|
129
|
+
margin-right: 10px;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.appointment-demo-pc-popup-right-form-item-module-errmsg {
|
|
133
|
+
position: absolute;
|
|
134
|
+
top: 66px;
|
|
135
|
+
left: 12px;
|
|
136
|
+
font-size: 12px;
|
|
137
|
+
font-weight: 400;
|
|
138
|
+
color: #F05E5E;
|
|
139
|
+
line-height: 18px;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.appointment-demo-pc-popup-right-form-item-module {
|
|
143
|
+
margin-bottom: 11px;
|
|
144
|
+
font-size: 14px;
|
|
145
|
+
line-height: 22px;
|
|
146
|
+
font-weight: 600;
|
|
147
|
+
color: #3F4755;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.appointment-demo-pc-popup-right-form-item-module .required {
|
|
151
|
+
color: #F05E5E;
|
|
152
|
+
font-size: 14px;
|
|
153
|
+
vertical-align: middle;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.appointment-demo-pc-popup-right-form-item-modules {
|
|
157
|
+
margin-top: 4px;
|
|
158
|
+
display: flex;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.appointment-demo-pc-popup-right-form-item-modules-item {
|
|
162
|
+
cursor: pointer;
|
|
163
|
+
box-sizing: border-box !important;
|
|
164
|
+
height: 32px;
|
|
165
|
+
width: 94px;
|
|
166
|
+
background: #FFFFFF;
|
|
167
|
+
border-radius: 4px;
|
|
168
|
+
border: 1px solid #E9ECF0;
|
|
169
|
+
line-height: 30px;
|
|
170
|
+
text-align: center;
|
|
171
|
+
color: #3F4755;
|
|
172
|
+
font-size: 14px;
|
|
173
|
+
font-weight: 400;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.appointment-demo-pc-popup-right-form-item-modules-item:nth-of-type(1) {
|
|
177
|
+
width: 107px;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.appointment-demo-pc-popup-right-form-item-modules-item:not(:nth-of-type(1)) {
|
|
181
|
+
margin-left: 10px;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.appointment-demo-pc-popup-right-form-item-modules-item:hover {
|
|
185
|
+
background: #E9F1FF;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.appointment-demo-pc-popup-right-form-item-modules-item-active {
|
|
189
|
+
background: #E9F1FF;
|
|
190
|
+
color: #2879FF;
|
|
191
|
+
border: none;
|
|
192
|
+
line-height: 32px;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.appointment-demo-pc-popup-right-form-submit {
|
|
196
|
+
cursor: pointer;
|
|
197
|
+
margin-top: 24px;
|
|
198
|
+
box-sizing: border-box !important;
|
|
199
|
+
width: 420px;
|
|
200
|
+
height: 36px;
|
|
201
|
+
line-height: 36px;
|
|
202
|
+
text-align: center;
|
|
203
|
+
background: #2879FF;
|
|
204
|
+
border-radius: 4px;
|
|
205
|
+
font-size: 14px;
|
|
206
|
+
font-weight: 400;
|
|
207
|
+
color: #FFFFFF;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.appointment-demo-pc-popup-right-form-submit:hover {
|
|
211
|
+
background: #5C8EFF;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.appointment-demo-h5 {
|
|
215
|
+
text-align: center;
|
|
216
|
+
padding-bottom: 1.6rem;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.appointment-demo-h5-logo {
|
|
220
|
+
margin-top: 0.77333rem;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.appointment-demo-h5-title {
|
|
224
|
+
margin: 0.21333rem 0;
|
|
225
|
+
font-size: 0.64rem;
|
|
226
|
+
font-weight: 500;
|
|
227
|
+
color: #141C28;
|
|
228
|
+
line-height: 0.69333rem;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.appointment-demo-h5-subtitle {
|
|
232
|
+
font-size: 0.32rem;
|
|
233
|
+
font-weight: 400;
|
|
234
|
+
color: #6F7886;
|
|
235
|
+
line-height: 0.48rem;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.appointment-demo-h5-form {
|
|
239
|
+
margin: 0 auto;
|
|
240
|
+
margin-top: 0.53333rem;
|
|
241
|
+
width: 8.93333rem;
|
|
242
|
+
text-align: left;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.appointment-demo-h5-form-code {
|
|
246
|
+
margin-top: 0.53333rem;
|
|
247
|
+
display: flex;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.appointment-demo-h5-form-code-left {
|
|
251
|
+
width: 6rem;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.appointment-demo-h5-form-code img {
|
|
255
|
+
width: 100px;
|
|
256
|
+
height: 34px;
|
|
257
|
+
cursor: pointer;
|
|
258
|
+
margin-left: 10px;
|
|
259
|
+
margin-top: 26px;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.appointment-demo-h5-form-item:not(:nth-of-type(1)) {
|
|
263
|
+
margin-top: 0.42667rem;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.appointment-demo-h5-form-item-module {
|
|
267
|
+
font-size: 0.37333rem;
|
|
268
|
+
font-weight: 600;
|
|
269
|
+
color: #3F4755;
|
|
270
|
+
line-height: 0.58667rem;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.appointment-demo-h5-form-item-module .required {
|
|
274
|
+
color: #F05E5E;
|
|
275
|
+
font-size: 14px;
|
|
276
|
+
margin-left: 4px;
|
|
277
|
+
vertical-align: middle;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.appointment-demo-h5-form-item-modules {
|
|
281
|
+
margin-top: 0.21333rem;
|
|
282
|
+
display: flex;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.appointment-demo-h5-form-item-modules-item {
|
|
286
|
+
cursor: pointer;
|
|
287
|
+
box-sizing: border-box !important;
|
|
288
|
+
height: 0.85333rem;
|
|
289
|
+
width: 2.82667rem;
|
|
290
|
+
background: #FFFFFF;
|
|
291
|
+
border-radius: 0.10667rem;
|
|
292
|
+
border: 1px solid #E9ECF0;
|
|
293
|
+
line-height: 0.8rem;
|
|
294
|
+
text-align: center;
|
|
295
|
+
color: #3F4755;
|
|
296
|
+
font-size: 0.37333rem;
|
|
297
|
+
font-weight: 400;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.appointment-demo-h5-form-item-modules-item:not(:nth-of-type(1)) {
|
|
301
|
+
margin-left: 0.24rem;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.appointment-demo-h5-form-item-modules-item:hover {
|
|
305
|
+
background: #E9F1FF;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.appointment-demo-h5-form-item-modules-item-active {
|
|
309
|
+
background: #E9F1FF;
|
|
310
|
+
color: #2879FF;
|
|
311
|
+
border: none;
|
|
312
|
+
line-height: 32px;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
.appointment-demo-h5-form-item .else {
|
|
316
|
+
margin-left: 0;
|
|
317
|
+
margin-top: 8px;
|
|
318
|
+
margin-bottom: 1.70667rem;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.appointment-demo-h5-form-submit {
|
|
322
|
+
width: 9.14667rem;
|
|
323
|
+
height: 1.17333rem;
|
|
324
|
+
background: linear-gradient(90deg, #4E90FF 0%, #2879FF 100%);
|
|
325
|
+
border-radius: 0.58667rem;
|
|
326
|
+
font-size: 0.42667rem;
|
|
327
|
+
font-weight: 400;
|
|
328
|
+
color: #FFFFFF;
|
|
329
|
+
line-height: 1.17333rem;
|
|
330
|
+
letter-spacing: 5px;
|
|
331
|
+
text-align: center;
|
|
332
|
+
position: absolute;
|
|
333
|
+
left: 0;
|
|
334
|
+
right: 0;
|
|
335
|
+
top: 0;
|
|
336
|
+
bottom: 0;
|
|
337
|
+
margin: auto;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.appointment-demo-h5-form-submit-bck {
|
|
341
|
+
width: 375px;
|
|
342
|
+
height: 64px;
|
|
343
|
+
background: #FFFFFF;
|
|
344
|
+
box-shadow: 0px -2px 8px 0px rgba(127, 145, 180, 0.1);
|
|
345
|
+
position: fixed;
|
|
346
|
+
bottom: 0;
|
|
347
|
+
left: 0;
|
|
348
|
+
}
|