@titaui/pc 1.6.12 → 1.6.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/lib/components/avatar/index.js +1 -1
- package/lib/components/button/icon-btn/index.css +2 -0
- package/lib/components/button/index.js +1 -1
- package/lib/components/button/rect-btn/index.css +21 -0
- package/lib/components/button/rect-btn/index.js +8 -8
- package/lib/components/button/text-btn/index.css +33 -0
- package/lib/components/button/text-btn/index.js +52 -2
- package/lib/components/change-okr/styledComponents.js +1 -1
- package/lib/components/communication/style.js +1 -1
- package/lib/components/create-okr/constant.js +1 -1
- package/lib/components/create-okr/createSuccessCmp.js +6 -2
- package/lib/components/create-okr/fields/index.js +1 -1
- package/lib/components/create-okr/index.js +16 -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/dialog/index.css +1 -0
- package/lib/components/dropdown-layer/index.js +1 -1
- package/lib/components/dynamic/components/title/index.css +2 -2
- package/lib/components/dynamic/constant.js +3 -2
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/img/dynamic-milestone.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/index.css +7 -1
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/index.js +4 -21
- package/lib/components/dynamic/dynamic-item/dynamic-progress/index.css +4 -0
- package/lib/components/dynamic/dynamic-item/dynamic-progress/index.js +4 -2
- package/lib/components/dynamic/dynamic-item/dynamic-project/img/dynamic-project.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-project/index.css +7 -1
- package/lib/components/dynamic/dynamic-item/dynamic-project/index.js +4 -7
- package/lib/components/dynamic/dynamic-item/dynamic-task/constant.js +1 -35
- package/lib/components/dynamic/dynamic-item/dynamic-task/img/dynamic-task.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-task/index.css +7 -1
- package/lib/components/dynamic/dynamic-item/dynamic-task/index.js +17 -7
- package/lib/components/dynamic/dynamic-like-ranking/index.css +2 -3
- package/lib/components/dynamic/dynamic-like-ranking/index.js +11 -6
- package/lib/components/dynamic/dynamic-liking/index.css +1 -2
- package/lib/components/dynamic/dynamic-liking/item.js +2 -20
- package/lib/components/dynamic/dynamic-list/index.js +7 -1
- package/lib/components/dynamic/dynamic-topping/index.css +1 -1
- package/lib/components/dynamic/dynamic-topping/request-api.js +1 -1
- package/lib/components/dynamic/dynamic.js +7 -4
- package/lib/components/dynamic/export-module/index.js +1 -1
- package/lib/components/dynamic/index.js +1 -1
- package/lib/components/dynamic/new-ui.css +206 -0
- package/lib/components/dynamic/quick-operation/components/create-announcement/index.js +2 -2
- package/lib/components/dynamic/quick-operation/components/create-okr/index.js +2 -2
- package/lib/components/dynamic/quick-operation/components/create-share/index.js +2 -2
- package/lib/components/dynamic/quick-operation/components/create-task/index.js +2 -2
- package/lib/components/dynamic/quick-operation/img/okr.png +0 -0
- package/lib/components/dynamic/quick-operation/img/send-announcement.png +0 -0
- package/lib/components/dynamic/quick-operation/img/send-share.png +0 -0
- package/lib/components/dynamic/quick-operation/img/task.png +0 -0
- package/lib/components/dynamic/request-api.js +1 -1
- package/lib/components/dynamic/util.js +2 -2
- 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/components/single-file/index.css +2 -2
- package/lib/components/file-list/components/single-file/index.js +1 -1
- package/lib/components/file-list/index.js +1 -1
- package/lib/components/form/form-fields/radios/index.css +5 -0
- package/lib/components/form/form-fields/radios/index.js +34 -5
- package/lib/components/form/index.js +1 -1
- 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/index.css +17 -17
- package/lib/components/help-card/index.js +35 -31
- package/lib/components/help-card/request-api.js +2 -2
- package/lib/components/img-viewer/index.css +4 -0
- package/lib/components/img-viewer/index.js +2 -1
- 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 +4 -4
- package/lib/components/menus/components/drag-resize/index.js +35 -30
- package/lib/components/menus/components/flip-menu-card/index.css +7 -3
- package/lib/components/menus/components/flip-menu-card/index.js +42 -30
- package/lib/components/menus/components/menu-card/index.js +1 -6
- package/lib/components/menus/components/menu-close-btn/index.css +2 -1
- package/lib/components/menus/components/menu-tree/images/appraisal-menu/KH-help.svg +10 -0
- package/lib/components/menus/components/menu-tree/images/appraisal-menu/mypingjia.svg +10 -0
- package/lib/components/menus/components/menu-tree/images/loading-node.gif +0 -0
- package/lib/components/menus/components/menu-tree/images/okr-menu/cases.svg +9 -0
- package/lib/components/menus/components/menu-tree/images/okr-menu/{rw-zx.svg → panel.svg} +0 -0
- package/lib/components/menus/components/menu-tree/index.js +5 -4
- package/lib/components/menus/components/menu-tree/tree-node/avatar/index.css +49 -0
- package/lib/components/menus/components/menu-tree/tree-node/avatar/index.js +72 -0
- package/lib/components/menus/components/menu-tree/tree-node/company-all-node.js +2 -1
- package/lib/components/menus/components/menu-tree/tree-node/compony-node/index.js +5 -2
- package/lib/components/menus/components/menu-tree/tree-node/depart-node/index.js +9 -4
- package/lib/components/menus/components/menu-tree/tree-node/follower-node/index.css +47 -0
- package/lib/components/menus/components/menu-tree/tree-node/follower-node/index.js +67 -0
- package/lib/components/menus/components/menu-tree/tree-node/group-name-node.js +2 -1
- package/lib/components/menus/components/menu-tree/tree-node/index.css +126 -13
- package/lib/components/menus/components/menu-tree/tree-node/index.js +19 -0
- package/lib/components/menus/components/menu-tree/tree-node/loading-node.js +27 -0
- package/lib/components/menus/components/menu-tree/tree-node/menu-item-node.js +2 -1
- package/lib/components/menus/components/menu-tree/tree-node/menu-node.js +2 -1
- package/lib/components/menus/components/menu-tree/tree-node/no-follower-node.js +25 -0
- package/lib/components/menus/components/menu-tree/tree-node/user-concern-node.js +9 -4
- package/lib/components/menus/components/menu-tree/tree-node/user-node/index.css +3 -1
- package/lib/components/menus/components/menu-tree/tree-node/user-node/index.js +12 -42
- package/lib/components/menus/export-modules/appraisal-menus/datas.js +58 -19
- package/lib/components/menus/export-modules/depart-menus/index.js +34 -7
- package/lib/components/menus/export-modules/okr-menus/datas.js +109 -4
- package/lib/components/menus/export-modules/okr-menus/index.css +0 -1
- package/lib/components/menus/export-modules/okr-menus/index.js +73 -20
- package/lib/components/menus/export-modules/subordinate-menus/index.js +12 -4
- package/lib/components/menus/index.js +1 -1
- package/lib/components/menus/request-apis.js +22 -5
- package/lib/components/nav-top/components/menu/index.css +1 -0
- package/lib/components/nav-top/components/menu/index.js +7 -5
- package/lib/components/nav-top/components/user-message/components/empty/index.js +1 -1
- package/lib/components/nav-top/components/user-message/components/inform/index.css +29 -6
- package/lib/components/nav-top/components/user-message/components/inform/index.js +116 -111
- package/lib/components/nav-top/components/user-message/components/inform/inform-item.js +133 -0
- package/lib/components/nav-top/components/user-message/components/red-pack/index.css +40 -0
- package/lib/components/nav-top/components/user-message/components/red-pack/index.js +105 -0
- package/lib/components/nav-top/components/user-message/components/red-pack/request-api.js +14 -0
- package/lib/components/nav-top/components/user-message/components/remind/index.css +26 -8
- package/lib/components/nav-top/components/user-message/components/remind/index.js +67 -60
- package/lib/components/nav-top/components/user-message/components/remind/remind-item.js +71 -0
- package/lib/components/nav-top/components/user-message/components/reply/index.css +28 -6
- package/lib/components/nav-top/components/user-message/components/reply/index.js +118 -63
- package/lib/components/nav-top/components/user-message/components/reply/reply-item.js +75 -0
- package/lib/components/nav-top/components/user-message/components/tab-title/index.js +5 -4
- package/lib/components/nav-top/components/user-message/components/todos/index.css +26 -12
- package/lib/components/nav-top/components/user-message/components/todos/index.js +118 -59
- package/lib/components/nav-top/components/user-message/components/todos/todo-item.js +70 -0
- package/lib/components/nav-top/components/user-message/constant.js +2 -19
- package/lib/components/nav-top/components/user-message/images/loading.gif +0 -0
- package/lib/components/nav-top/components/user-message/images/msg-reward.png +0 -0
- package/lib/components/nav-top/components/user-message/index.css +41 -4
- package/lib/components/nav-top/components/user-message/index.js +89 -100
- package/lib/components/nav-top/components/user-message/msg/index.css +5 -30
- package/lib/components/nav-top/components/user-message/msg/index.js +28 -22
- package/lib/components/nav-top/components/user-message/utils.js +31 -0
- package/lib/components/nav-top/components/user-own-menu/index.css +2 -1
- package/lib/components/nav-top/components/user-own-menu/index.js +5 -7
- package/lib/components/nav-top/components/user-own-menu/utils.js +63 -0
- package/lib/components/nav-top/constant.js +2 -10
- package/lib/components/nav-top/index.css +55 -0
- package/lib/components/nav-top/index.js +14 -13
- package/lib/components/nav-top/request.apis.js +50 -0
- package/lib/components/nav-top/utils.js +10 -70
- 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/actions.js +2 -2
- 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 +2 -1
- package/lib/components/okr-detail/request-apis.js +1 -1
- package/lib/components/okr-detail/schedule/util.js +1 -1
- package/lib/components/okr-filter-drawer/filter-button.js +1 -0
- package/lib/components/okr-filter-drawer/filter-form.js +189 -0
- package/lib/components/okr-filter-drawer/index.css +45 -0
- package/lib/components/okr-filter-drawer/index.js +54 -0
- 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 +1 -1
- package/lib/components/okrcase-library/index.js +6 -1
- package/lib/components/okrcase-library/new-ui.css +52 -0
- 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/pagination/index.css +6 -12
- 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 +83 -100
- package/lib/components/photo-card/components/card/index.js +119 -63
- package/lib/components/photo-card/data.js +5 -5
- package/lib/components/photo-card/images/assistant.svg +40 -0
- package/lib/components/photo-card/images/back-manager.svg +40 -0
- package/lib/components/photo-card/images/boss.svg +38 -0
- package/lib/components/photo-card/images/depart-leader.svg +40 -0
- package/lib/components/photo-card/images/super-manager.svg +40 -0
- package/lib/components/photo-card/index.css +15 -14
- package/lib/components/photo-card/index.js +59 -15
- 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/tree/index.js +1 -3
- package/lib/components/update-modal/img/background.png +0 -0
- package/lib/components/update-modal/img/rocket.png +0 -0
- package/lib/components/update-modal/index.css +80 -0
- package/lib/components/update-modal/index.js +83 -0
- package/lib/components/update-modal/request-api.js +17 -0
- 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/index.js +1 -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/request-api.js +1 -1
- 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/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/hooks/useLocalStorage.js +37 -0
- package/lib/index.js +18 -4
- package/lib/pages/aha2021/index.css +25 -1
- package/lib/pages/aha2021/index.js +10 -4
- 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/new-okr-list/context.js +14 -0
- package/lib/pages/new-okr-list/header/comments.js +104 -0
- package/lib/pages/new-okr-list/header/create-okr.js +61 -0
- package/lib/pages/new-okr-list/header/depart-title.js +59 -0
- package/lib/pages/new-okr-list/header/filter.js +95 -0
- package/lib/pages/new-okr-list/header/index.css +118 -0
- package/lib/pages/new-okr-list/header/index.js +133 -0
- package/lib/pages/new-okr-list/header/relation-title.js +28 -0
- package/lib/pages/new-okr-list/header/user-title.js +26 -0
- package/lib/pages/new-okr-list/index.css +10 -0
- package/lib/pages/new-okr-list/index.js +208 -0
- package/lib/pages/new-okr-list/interface.js +5 -0
- package/lib/pages/new-okr-list/keyword-search/index.css +71 -0
- package/lib/pages/new-okr-list/keyword-search/index.js +106 -0
- package/lib/pages/new-okr-list/list/index.css +0 -0
- package/lib/pages/new-okr-list/list/index.js +47 -0
- package/lib/pages/new-okr-list/precls.js +8 -0
- package/lib/pages/new-okr-list/request-api.js +158 -0
- package/lib/pages/new-okr-list/theme.css +7 -0
- package/lib/pages/okr-map/hooks/useStorage.js +1 -1
- 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 +2 -1
- package/lib/utils/auth.js +1 -1
- package/lib/utils/bs-global.js +1 -1
- package/lib/utils/format-time.js +1 -1
- package/lib/utils/helpers.js +1 -1
- package/lib/utils/local-storage.js +40 -0
- 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 +4 -3
- package/package.json +3 -2
- package/lib/components/dynamic/dynamic-item/components/icon/index.css +0 -10
- package/lib/components/dynamic/dynamic-item/components/icon/index.js +0 -35
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/img/milestone.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-project/img/project.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-cancel.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-delay.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-done.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-pause.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-progress.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-unaccept.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-unstart.png +0 -0
- package/lib/components/dynamic/quick-operation/img/create-announcement.png +0 -0
- package/lib/components/dynamic/quick-operation/img/create-okr.png +0 -0
- package/lib/components/dynamic/quick-operation/img/create-share.png +0 -0
- package/lib/components/dynamic/quick-operation/img/create-task.png +0 -0
- package/lib/components/nav-top/mock.js +0 -36
|
@@ -1,80 +1,82 @@
|
|
|
1
|
-
.
|
|
2
|
-
|
|
1
|
+
.titaui-photo-card {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
box-sizing: border-box;
|
|
3
6
|
width: 278px;
|
|
4
7
|
height: 359px;
|
|
5
|
-
|
|
8
|
+
padding: 0 24px;
|
|
6
9
|
background: #ffffff;
|
|
7
10
|
box-shadow: 0px 4px 24px 0px rgba(127, 145, 180, 0.15);
|
|
8
11
|
border-radius: 24px;
|
|
9
|
-
overflow: hidden;
|
|
10
12
|
}
|
|
11
13
|
|
|
12
|
-
.
|
|
13
|
-
position: relative;
|
|
14
|
+
.titaui-photo-card__background {
|
|
14
15
|
width: 278px;
|
|
15
|
-
height:
|
|
16
|
-
background: linear-gradient(180deg, rgba(20, 28, 40, 0) 0%, #141c28 100%);
|
|
17
|
-
background-size: 278px 190px;
|
|
16
|
+
height: 182px;
|
|
18
17
|
border-radius: 24px 24px 0 0;
|
|
19
|
-
|
|
20
|
-
text-align: center;
|
|
18
|
+
filter: blur(4px);
|
|
21
19
|
}
|
|
22
20
|
|
|
23
|
-
.
|
|
21
|
+
.titaui-photo-card__header {
|
|
24
22
|
position: absolute;
|
|
25
23
|
top: 0;
|
|
26
24
|
left: 0;
|
|
27
|
-
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
flex-direction: column;
|
|
28
28
|
height: 190px;
|
|
29
|
-
|
|
29
|
+
overflow: hidden;
|
|
30
|
+
background: linear-gradient(180deg, rgba(20, 28, 40, 0) 0%, #141c28 100%);
|
|
30
31
|
border-radius: 24px 24px 0 0;
|
|
31
|
-
content: "";
|
|
32
|
-
filter: blur(6px);
|
|
33
32
|
}
|
|
34
33
|
|
|
35
|
-
.
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
34
|
+
.titaui-photo-card__header::after {
|
|
35
|
+
content: "";
|
|
36
|
+
width: 278px;
|
|
37
|
+
height: 26px;
|
|
38
|
+
background-color: #fff;
|
|
39
|
+
border-radius: 50% / 100% 100% 0 0;
|
|
40
|
+
margin-top: 4px;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
.
|
|
44
|
-
position: absolute;
|
|
45
|
-
border-radius: 35px;
|
|
43
|
+
.titaui-photo-card__header-img {
|
|
46
44
|
width: 68px;
|
|
47
45
|
height: 68px;
|
|
48
|
-
top:
|
|
49
|
-
|
|
46
|
+
margin-top: 26px;
|
|
47
|
+
border-radius: 35px;
|
|
50
48
|
border: 2px solid #fff;
|
|
51
49
|
}
|
|
52
50
|
|
|
53
|
-
.
|
|
54
|
-
width:
|
|
55
|
-
height:
|
|
56
|
-
border-radius: 35px;
|
|
51
|
+
.titaui-photo-card__header-img .titaui-pc-avator-container img {
|
|
52
|
+
width: 68px !important;
|
|
53
|
+
height: 68px !important;
|
|
57
54
|
}
|
|
58
55
|
|
|
59
|
-
.
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
56
|
+
.titaui-photo-card__header-img .titaui-pc-avator-container .titaui-pc-avatar--text {
|
|
57
|
+
width: 68px !important;
|
|
58
|
+
height: 68px !important;
|
|
59
|
+
font-size: 22px !important;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.titaui-photo-card__header-name {
|
|
64
63
|
height: 28px;
|
|
64
|
+
margin-top: 14px;
|
|
65
65
|
font-size: 20px;
|
|
66
66
|
font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
|
|
67
67
|
font-weight: 500;
|
|
68
68
|
color: #ffffff;
|
|
69
69
|
line-height: 28px;
|
|
70
|
+
cursor: pointer;
|
|
70
71
|
}
|
|
71
72
|
|
|
72
|
-
.
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
73
|
+
.titaui-photo-card__header-name-tooltip {
|
|
74
|
+
z-index: 2001;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.titaui-photo-card__header-depart {
|
|
77
78
|
height: 22px;
|
|
79
|
+
margin-top: 2px;
|
|
78
80
|
font-size: 14px;
|
|
79
81
|
font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
|
|
80
82
|
font-weight: 400;
|
|
@@ -82,39 +84,24 @@
|
|
|
82
84
|
line-height: 22px;
|
|
83
85
|
}
|
|
84
86
|
|
|
85
|
-
.
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
border-radius: 50% / 100% 100% 0 0;
|
|
93
|
-
overflow: hidden;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.okrtitauser-card__role {
|
|
97
|
-
position: absolute;
|
|
98
|
-
left: 94px;
|
|
99
|
-
top: 194px;
|
|
100
|
-
width: 89px;
|
|
101
|
-
height: 20px;
|
|
102
|
-
background-image: url(../../images/user-role.svg);
|
|
87
|
+
.titaui-photo-card__data {
|
|
88
|
+
width: 230px;
|
|
89
|
+
height: 45px;
|
|
90
|
+
margin-top: 28px;
|
|
91
|
+
display: flex;
|
|
92
|
+
align-items: center;
|
|
93
|
+
justify-content: space-between;
|
|
103
94
|
}
|
|
104
95
|
|
|
105
|
-
.
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
96
|
+
.titaui-photo-card__data-attention {
|
|
97
|
+
display: flex;
|
|
98
|
+
align-items: center;
|
|
99
|
+
flex-direction: column;
|
|
109
100
|
width: 110px;
|
|
110
101
|
height: 45px;
|
|
111
|
-
text-align: center;
|
|
112
102
|
}
|
|
113
103
|
|
|
114
|
-
.
|
|
115
|
-
margin-left: 44px;
|
|
116
|
-
width: 22px;
|
|
117
|
-
height: 26px;
|
|
104
|
+
.titaui-photo-card__data-attention-count {
|
|
118
105
|
font-size: 18px;
|
|
119
106
|
font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
|
|
120
107
|
font-weight: 500;
|
|
@@ -122,10 +109,7 @@
|
|
|
122
109
|
line-height: 26px;
|
|
123
110
|
}
|
|
124
111
|
|
|
125
|
-
.
|
|
126
|
-
width: 36px;
|
|
127
|
-
height: 18px;
|
|
128
|
-
margin-left: 37px;
|
|
112
|
+
.titaui-photo-card__data-attention-title {
|
|
129
113
|
font-size: 12px;
|
|
130
114
|
font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
|
|
131
115
|
font-weight: 400;
|
|
@@ -133,19 +117,15 @@
|
|
|
133
117
|
line-height: 18px;
|
|
134
118
|
}
|
|
135
119
|
|
|
136
|
-
.
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
120
|
+
.titaui-photo-card__data-visit {
|
|
121
|
+
display: flex;
|
|
122
|
+
align-items: center;
|
|
123
|
+
flex-direction: column;
|
|
140
124
|
width: 110px;
|
|
141
125
|
height: 45px;
|
|
142
|
-
text-align: center;
|
|
143
126
|
}
|
|
144
127
|
|
|
145
|
-
.
|
|
146
|
-
margin-left: 45px;
|
|
147
|
-
width: 19px;
|
|
148
|
-
height: 26px;
|
|
128
|
+
.titaui-photo-card__data-visit-count {
|
|
149
129
|
font-size: 18px;
|
|
150
130
|
font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
|
|
151
131
|
font-weight: 500;
|
|
@@ -153,10 +133,7 @@
|
|
|
153
133
|
line-height: 26px;
|
|
154
134
|
}
|
|
155
135
|
|
|
156
|
-
.
|
|
157
|
-
width: 36px;
|
|
158
|
-
height: 18px;
|
|
159
|
-
margin-left: 37px;
|
|
136
|
+
.titaui-photo-card__data-visit-title {
|
|
160
137
|
font-size: 12px;
|
|
161
138
|
font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
|
|
162
139
|
font-weight: 400;
|
|
@@ -164,30 +141,36 @@
|
|
|
164
141
|
line-height: 18px;
|
|
165
142
|
}
|
|
166
143
|
|
|
167
|
-
.
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
144
|
+
.titaui-photo-card__attention-btn {
|
|
145
|
+
display: flex;
|
|
146
|
+
align-items: center;
|
|
147
|
+
justify-content: center;
|
|
171
148
|
width: 230px;
|
|
172
149
|
height: 36px;
|
|
150
|
+
margin-top: 20px;
|
|
173
151
|
background: #f0f4fa;
|
|
174
152
|
border-radius: 20px;
|
|
175
153
|
cursor: pointer;
|
|
176
154
|
}
|
|
177
155
|
|
|
178
|
-
.
|
|
179
|
-
|
|
180
|
-
height: 16px;
|
|
181
|
-
background-image: url(../../images/user-add.svg);
|
|
182
|
-
margin: 10px 125px 10px 89px;
|
|
156
|
+
.titaui-photo-card__attention-btn:hover {
|
|
157
|
+
background: rgba(240, 94, 94, 0.1);
|
|
183
158
|
}
|
|
184
159
|
|
|
185
|
-
.
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
160
|
+
.titaui-photo-card__attention-btn-img--hide {
|
|
161
|
+
display: none;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.titaui-photo-card__attention-btn-img--show {
|
|
165
|
+
display: block;
|
|
166
|
+
font-size: 14px;
|
|
167
|
+
font-family: PingFangSC-Regular, PingFang SC;
|
|
168
|
+
font-weight: 400;
|
|
169
|
+
color: #6f7886;
|
|
170
|
+
line-height: 20px;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.titaui-photo-card__attention-btn-title {
|
|
191
174
|
font-size: 14px;
|
|
192
175
|
font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
|
|
193
176
|
font-weight: 400;
|
|
@@ -11,7 +11,15 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
11
11
|
|
|
12
12
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _default2 = _interopRequireDefault(require("../../../../components/avatar/default"));
|
|
15
|
+
|
|
16
|
+
var _tooltipText = _interopRequireDefault(require("../../../tooltip/tooltip-text"));
|
|
17
|
+
|
|
18
|
+
var _conditionRender = _interopRequireDefault(require("../../../dynamic/components/condition-render"));
|
|
19
|
+
|
|
20
|
+
var _request = require("../../../../utils/request");
|
|
21
|
+
|
|
22
|
+
var _userAdd = _interopRequireDefault(require("../../images/user-add.svg"));
|
|
15
23
|
|
|
16
24
|
require("./index.css");
|
|
17
25
|
|
|
@@ -21,6 +29,8 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
21
29
|
|
|
22
30
|
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
31
|
|
|
32
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
33
|
+
|
|
24
34
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
25
35
|
|
|
26
36
|
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."); }
|
|
@@ -33,73 +43,119 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
33
43
|
|
|
34
44
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
35
45
|
|
|
36
|
-
var preCls = "
|
|
46
|
+
var preCls = "titaui-photo-card";
|
|
37
47
|
|
|
38
|
-
var Card = function Card() {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
backgroundImage: "url(".concat(_data.data.photo, ")")
|
|
42
|
-
}; //获得关注量初始数据
|
|
48
|
+
var Card = function Card(props) {
|
|
49
|
+
var userInfo = props.userInfo,
|
|
50
|
+
userownInfo = props.userownInfo;
|
|
43
51
|
|
|
44
|
-
var _useState = (0, _react.useState)(
|
|
52
|
+
var _useState = (0, _react.useState)({}),
|
|
45
53
|
_useState2 = _slicedToArray(_useState, 2),
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
54
|
+
backGroundstyle = _useState2[0],
|
|
55
|
+
setBackGroundstyle = _useState2[1];
|
|
56
|
+
|
|
57
|
+
var _useState3 = (0, _react.useState)(false),
|
|
58
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
59
|
+
isAttention = _useState4[0],
|
|
60
|
+
setIsAttention = _useState4[1];
|
|
61
|
+
|
|
62
|
+
var _useState5 = (0, _react.useState)(true),
|
|
63
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
64
|
+
isClickable = _useState6[0],
|
|
65
|
+
setIsClickable = _useState6[1];
|
|
66
|
+
|
|
67
|
+
var _useState7 = (0, _react.useState)(0),
|
|
68
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
69
|
+
attentionData = _useState8[0],
|
|
70
|
+
setAttentionData = _useState8[1];
|
|
71
|
+
|
|
72
|
+
var _useState9 = (0, _react.useState)(0),
|
|
73
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
74
|
+
visitData = _useState10[0],
|
|
75
|
+
setVisitData = _useState10[1];
|
|
76
|
+
|
|
77
|
+
(0, _react.useEffect)(function () {
|
|
78
|
+
(0, _request.rget)("v1")("follow/getFollowerList?toUserId=".concat(userInfo.userId)).then(function (res) {
|
|
79
|
+
setAttentionData(res.Data.total);
|
|
80
|
+
});
|
|
81
|
+
(0, _request.rget)("v1")("okr/okrCyclePageVisitor?toUserId=".concat(userInfo.userId)).then(function (res) {
|
|
82
|
+
setVisitData(res.Data.total);
|
|
83
|
+
}); //背景图片
|
|
84
|
+
|
|
85
|
+
if (userInfo.avatar.hasAvatar) {
|
|
86
|
+
setBackGroundstyle({
|
|
87
|
+
backgroundImage: "url(".concat(userInfo.avatar.big, ")"),
|
|
88
|
+
backgroundSize: "278px 190px"
|
|
89
|
+
});
|
|
90
|
+
} else {
|
|
91
|
+
setBackGroundstyle({
|
|
92
|
+
backgroundColor: userInfo.avatar.color
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
}, []); //处理关注量的值+1的回调
|
|
96
|
+
|
|
97
|
+
var addAttentionCount = function addAttentionCount() {
|
|
98
|
+
setIsClickable(false);
|
|
99
|
+
|
|
100
|
+
if (isClickable) {
|
|
101
|
+
setIsAttention(true);
|
|
102
|
+
setAttentionData(attentionData + 1);
|
|
103
|
+
(0, _request.rpost)("v1")("follow/addFollower?followerId=".concat(userInfo.userId), userownInfo);
|
|
104
|
+
}
|
|
53
105
|
};
|
|
54
106
|
|
|
55
|
-
return (
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
}, "
|
|
102
|
-
)
|
|
107
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
108
|
+
className: (0, _classnames["default"])(preCls)
|
|
109
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
110
|
+
className: (0, _classnames["default"])("".concat(preCls, "__background")),
|
|
111
|
+
style: backGroundstyle
|
|
112
|
+
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
113
|
+
className: (0, _classnames["default"])("".concat(preCls, "__header"))
|
|
114
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
115
|
+
className: (0, _classnames["default"])("".concat(preCls, "__header-img"))
|
|
116
|
+
}, /*#__PURE__*/_react["default"].createElement(_default2["default"], {
|
|
117
|
+
userId: userInfo.userId,
|
|
118
|
+
name: userInfo.name,
|
|
119
|
+
color: userInfo.avatar.color,
|
|
120
|
+
src: userInfo.avatar.big
|
|
121
|
+
})), /*#__PURE__*/_react["default"].createElement("span", {
|
|
122
|
+
className: (0, _classnames["default"])("".concat(preCls, "__header-name"))
|
|
123
|
+
}, /*#__PURE__*/_react["default"].createElement(_tooltipText["default"], {
|
|
124
|
+
overlayClassName: "".concat(preCls, "__header-name-tooltip"),
|
|
125
|
+
text: userInfo.name,
|
|
126
|
+
maxWidth: 228,
|
|
127
|
+
mouseEnterDelay: 0.8
|
|
128
|
+
})), /*#__PURE__*/_react["default"].createElement("span", {
|
|
129
|
+
className: (0, _classnames["default"])("".concat(preCls, "__header-depart"))
|
|
130
|
+
}, userInfo.departmentName)), /*#__PURE__*/_react["default"].createElement("div", {
|
|
131
|
+
className: (0, _classnames["default"])("".concat(preCls, "__data"))
|
|
132
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
133
|
+
className: (0, _classnames["default"])("".concat(preCls, "__data-attention"))
|
|
134
|
+
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
135
|
+
className: (0, _classnames["default"])("".concat(preCls, "__data-attention-count"))
|
|
136
|
+
}, attentionData >= 10000 ? "1w+" : attentionData), /*#__PURE__*/_react["default"].createElement("span", {
|
|
137
|
+
className: (0, _classnames["default"])("".concat(preCls, "__data-attention-title"))
|
|
138
|
+
}, "\u5173\u6CE8\u91CF")), /*#__PURE__*/_react["default"].createElement("div", {
|
|
139
|
+
className: (0, _classnames["default"])("".concat(preCls, "__data-visit"))
|
|
140
|
+
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
141
|
+
className: (0, _classnames["default"])("".concat(preCls, "__data-visit-count"))
|
|
142
|
+
}, visitData >= 10000 ? "1w+" : visitData), /*#__PURE__*/_react["default"].createElement("span", {
|
|
143
|
+
className: (0, _classnames["default"])("".concat(preCls, "__data-visit-title"))
|
|
144
|
+
}, "\u8BBF\u95EE\u91CF"))), /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
|
|
145
|
+
condition: userInfo.userId !== userownInfo.Id
|
|
146
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
147
|
+
className: (0, _classnames["default"])("".concat(preCls, "__attention-btn")),
|
|
148
|
+
onClick: function onClick() {
|
|
149
|
+
return addAttentionCount();
|
|
150
|
+
}
|
|
151
|
+
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
152
|
+
src: _userAdd["default"],
|
|
153
|
+
className: (0, _classnames["default"])("".concat(preCls, "__attention-btn-img"), _defineProperty({}, "".concat(preCls, "__attention-btn-img--hide"), isAttention))
|
|
154
|
+
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
155
|
+
className: (0, _classnames["default"])("".concat(preCls, "__attention-btn-img--hide"), _defineProperty({}, "".concat(preCls, "__attention-btn-img--show"), isAttention))
|
|
156
|
+
}, "\u5DF2\u5173\u6CE8"), /*#__PURE__*/_react["default"].createElement("div", {
|
|
157
|
+
className: (0, _classnames["default"])("".concat(preCls, "__attention-btn-title"), _defineProperty({}, "".concat(preCls, "__attention-btn-img--hide"), isAttention))
|
|
158
|
+
}, "\u5173\u6CE8"))));
|
|
103
159
|
};
|
|
104
160
|
|
|
105
161
|
var _default = Card;
|
|
@@ -10,10 +10,10 @@ var _userPhoto = _interopRequireDefault(require("./images/user-photo.png"));
|
|
|
10
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
11
|
|
|
12
12
|
var data = {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
username: "尔康康",
|
|
14
|
+
department: "研发部-产品设计部门",
|
|
15
|
+
attention_count: 88,
|
|
16
|
+
visit_count: 100000,
|
|
17
|
+
photo: _userPhoto["default"]
|
|
18
18
|
};
|
|
19
19
|
exports.data = data;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="52px" height="20px" viewBox="0 0 52 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>助理</title>
|
|
4
|
+
<defs>
|
|
5
|
+
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-1">
|
|
6
|
+
<stop stop-color="#9EC2FF" offset="0%"></stop>
|
|
7
|
+
<stop stop-color="#76A9FF" offset="100%"></stop>
|
|
8
|
+
</linearGradient>
|
|
9
|
+
<linearGradient x1="50%" y1="-2.48949813e-15%" x2="50%" y2="100%" id="linearGradient-2">
|
|
10
|
+
<stop stop-color="#2879FF" offset="0%"></stop>
|
|
11
|
+
<stop stop-color="#0E69FE" offset="100%"></stop>
|
|
12
|
+
</linearGradient>
|
|
13
|
+
<linearGradient x1="50%" y1="0%" x2="50%" y2="41.2046279%" id="linearGradient-3">
|
|
14
|
+
<stop stop-color="#1B71FF" offset="0%"></stop>
|
|
15
|
+
<stop stop-color="#FFFFFF" offset="100%"></stop>
|
|
16
|
+
</linearGradient>
|
|
17
|
+
</defs>
|
|
18
|
+
<g id="OKR" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
19
|
+
<g id="公司全部/隔级-交互规范" transform="translate(-1356.000000, -3280.000000)" fill-rule="nonzero">
|
|
20
|
+
<g id="角色" transform="translate(1356.000000, 3208.000000)">
|
|
21
|
+
<g id="助理" transform="translate(0.000000, 72.000000)">
|
|
22
|
+
<rect id="矩形" fill="#2879FF" x="3" y="1" width="49" height="18" rx="9"></rect>
|
|
23
|
+
<g id="编组-25">
|
|
24
|
+
<polygon id="多边形" fill="url(#linearGradient-1)" points="9 0 17.660254 5 17.660254 15 9 20 0.33974596 15 0.33974596 5"></polygon>
|
|
25
|
+
<polygon id="多边形" fill="url(#linearGradient-2)" points="8.93333333 1.8 16.1502117 5.89090909 16.1502117 14.0727273 8.93333333 18.1636364 1.71645497 14.0727273 1.71645497 5.89090909"></polygon>
|
|
26
|
+
<g id="编组-29" transform="translate(5.000000, 5.000000)">
|
|
27
|
+
<path d="M3.88814818,9.78562699 C3.68141594,9.77439872 3.29833383,9.75788656 2.91657268,9.73212759 C2.56255197,9.70835008 2.20853126,9.67928868 1.85583152,9.6442829 C1.35452234,9.5960674 0.85651559,9.52209292 0.364453219,9.41377315 C0.352564463,9.4111312 0.341336194,9.40584731 0.329447439,9.40386585 C0.178196053,9.3774464 0.106863521,9.27837343 0.0711972551,9.13636886 C-0.00145624941,8.84641533 -0.0133450047,8.35424963 0.0124139651,8.05835172 C0.0262841796,7.89851401 0.0460987717,7.73933679 0.067894823,7.57949908 C0.107524007,7.29416895 0.266040744,7.09206011 0.507118282,6.9421297 C0.772633816,6.77766858 1.06655027,6.68982389 1.36178769,6.60528163 C1.58503209,6.54121445 1.81422088,6.49431991 2.02095312,6.3833582 C2.23429023,6.26777308 2.43904101,6.1402992 2.58698997,5.94215328 C2.67351369,5.82590767 2.96544868,5.2466611 2.91657268,5.09937263 C2.88949274,5.01615134 5.00418303,4.911134 4.97380066,5.09937263 C4.90180764,5.54321949 5.37556357,6.07755299 5.77449736,6.28494572 C6.02746365,6.41638252 6.30024453,6.49167797 6.57170444,6.57357828 C6.8312756,6.65085519 7.09216773,6.72416918 7.33456624,6.84768014 C7.47194741,6.9176917 7.60206324,7.0002525 7.70906203,7.11385616 C7.84710369,7.25916317 7.91381282,7.43815498 7.93957179,7.6316775 C7.96599124,7.82387904 7.99108973,8.01674107 7.99769459,8.21026359 C8.0069414,8.46058794 7.99108973,8.90784056 7.8999426,9.14561567 C7.86757877,9.23081841 7.80879548,9.28828073 7.72557419,9.323947 C7.53271216,9.4065078 7.32928235,9.44943941 7.12519205,9.4890686 C6.64964184,9.58021572 6.16946822,9.64031998 5.68731315,9.69117744 C5.14769576,9.74731878 4.60609691,9.77638018 3.88814818,9.78562699 Z M3.99184455,6.66142297 C3.92183299,6.66142297 3.85182143,6.660102 3.78180987,6.66274395 C3.76463723,6.66274395 3.74019923,6.66802784 3.73029193,6.67925611 C3.67216913,6.75521204 3.61404633,6.83116798 3.56318887,6.91306829 C3.5473372,6.93882726 3.54073234,6.9857218 3.55328158,7.01148077 C3.6252746,7.15876924 3.70519345,7.30077381 3.7804889,7.44674131 C3.79237766,7.46853736 3.80228495,7.49825925 3.79700106,7.52137627 C3.73557583,7.82255807 3.66160135,8.12109793 3.60942292,8.4236007 C3.54535574,8.79611503 3.54139282,8.94350683 3.72500804,9.19845458 C3.78973571,9.25855884 3.848519,9.31866311 3.91324667,9.37084153 C3.96146218,9.40981023 4.01694303,9.40518682 4.07044243,9.37480445 C4.17612026,9.31536067 4.26396495,9.23544182 4.33595797,9.14033178 C4.39474126,9.06305487 4.45154309,8.98247553 4.42842606,8.87283478 C4.3537911,8.52343747 4.28311905,7.97446995 4.20650263,7.62507264 C4.18999047,7.55043767 4.16357102,7.48042611 4.24547133,7.42692672 C4.25207619,7.42230331 4.25603911,7.4130565 4.26000203,7.40579115 C4.32208775,7.29416895 4.38615493,7.18386772 4.44295676,7.07026406 C4.45880844,7.03723974 4.46277136,6.98968472 4.45352455,6.95401845 C4.42116071,6.83645187 4.33595797,6.74992815 4.2467923,6.67661416 C4.21244701,6.64821325 4.14045399,6.66406492 4.08497313,6.66208346 C4.05459076,6.660102 4.02288741,6.66142297 3.99184455,6.66142297 Z" id="形状" fill="url(#linearGradient-3)"></path>
|
|
28
|
+
<path d="M4,5.16666667 C5.23711784,5.16666667 6.24,3.62199775 6.24,2.33333333 C6.24,1.04466891 5.23711784,1.77635684e-15 4,1.77635684e-15 C2.76288216,1.77635684e-15 1.76,1.04466891 1.76,2.33333333 C1.76,3.62199775 2.76288216,5.16666667 4,5.16666667 Z" id="路径" fill="#FFFFFF"></path>
|
|
29
|
+
</g>
|
|
30
|
+
</g>
|
|
31
|
+
<g id="编组" opacity="0.8" transform="translate(22.000000, 1.000000)" fill="#FFFFFF" font-family="PingFangSC-Regular, PingFang SC" font-size="12" font-weight="normal">
|
|
32
|
+
<text id="助理">
|
|
33
|
+
<tspan x="0" y="13">助理</tspan>
|
|
34
|
+
</text>
|
|
35
|
+
</g>
|
|
36
|
+
</g>
|
|
37
|
+
</g>
|
|
38
|
+
</g>
|
|
39
|
+
</g>
|
|
40
|
+
</svg>
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="88px" height="20px" viewBox="0 0 88 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>后台管理员</title>
|
|
4
|
+
<defs>
|
|
5
|
+
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-1">
|
|
6
|
+
<stop stop-color="#9EC2FF" offset="0%"></stop>
|
|
7
|
+
<stop stop-color="#76A9FF" offset="100%"></stop>
|
|
8
|
+
</linearGradient>
|
|
9
|
+
<linearGradient x1="50%" y1="-2.48949813e-15%" x2="50%" y2="100%" id="linearGradient-2">
|
|
10
|
+
<stop stop-color="#2879FF" offset="0%"></stop>
|
|
11
|
+
<stop stop-color="#0E69FE" offset="100%"></stop>
|
|
12
|
+
</linearGradient>
|
|
13
|
+
<radialGradient cx="50%" cy="50%" fx="50%" fy="50%" r="36.4793396%" id="radialGradient-3">
|
|
14
|
+
<stop stop-color="#2879FF" offset="0%"></stop>
|
|
15
|
+
<stop stop-color="#FFFFFF" offset="100%"></stop>
|
|
16
|
+
</radialGradient>
|
|
17
|
+
</defs>
|
|
18
|
+
<g id="OKR" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
19
|
+
<g id="公司全部/隔级-交互规范" transform="translate(-1356.000000, -3316.000000)" fill-rule="nonzero">
|
|
20
|
+
<g id="角色" transform="translate(1356.000000, 3208.000000)">
|
|
21
|
+
<g id="后台管理员" transform="translate(0.000000, 108.000000)">
|
|
22
|
+
<rect id="矩形" fill="#2879FF" x="3" y="1" width="85" height="18" rx="9"></rect>
|
|
23
|
+
<g id="编组-25">
|
|
24
|
+
<polygon id="多边形" fill="url(#linearGradient-1)" points="9 0 17.660254 5 17.660254 15 9 20 0.33974596 15 0.33974596 5"></polygon>
|
|
25
|
+
<polygon id="多边形" fill="url(#linearGradient-2)" points="9 1.81818182 16.2168784 5.90909091 16.2168784 14.0909091 9 18.1818182 1.78312164 14.0909091 1.78312164 5.90909091"></polygon>
|
|
26
|
+
<g id="设置" transform="translate(4.500000, 5.500000)">
|
|
27
|
+
<path d="M8.26875,4.5 C8.26875,3.99375 8.55,3.54375 9,3.375 C8.775,2.5875 8.325,1.85625 7.7625,1.29375 C7.36875,1.575 6.80625,1.63125 6.35625,1.40625 C5.90625,1.125 5.68125,0.675 5.7375,0.16875 C5.34375,0.05625 4.89375,0 4.5,0 C4.05,0 3.65625,0.05625 3.2625,0.16875 C3.31875,0.61875 3.09375,1.125 2.64375,1.40625 C2.19375,1.6875 1.63125,1.63125 1.2375,1.29375 C0.675,1.85625 0.225,2.5875 0,3.375 C0.45,3.54375 0.73125,3.99375 0.73125,4.5 C0.73125,5.00625 0.45,5.45625 0,5.625 C0.225,6.4125 0.675,7.14375 1.2375,7.70625 C1.63125,7.425 2.19375,7.36875 2.64375,7.59375 C3.09375,7.875 3.31875,8.325 3.2625,8.83125 C3.65625,8.94375 4.10625,9 4.5,9 C4.95,9 5.34375,8.94375 5.7375,8.83125 C5.68125,8.38125 5.90625,7.875 6.35625,7.59375 C6.80625,7.3125 7.36875,7.36875 7.7625,7.70625 C8.325,7.14375 8.775,6.4125 9,5.625 C8.55,5.45625 8.26875,5.00625 8.26875,4.5 L8.26875,4.5 Z M4.5,6.35625 C3.43125,6.35625 2.5875,5.5125 2.5875,4.5 C2.5875,3.4875 3.43125,2.64375 4.5,2.64375 C5.56875,2.64375 6.4125,3.4875 6.4125,4.5 C6.4125,5.5125 5.56875,6.35625 4.5,6.35625 Z" id="形状" fill="url(#radialGradient-3)"></path>
|
|
28
|
+
<path d="M4.5,5.625 C5.12132034,5.625 5.625,5.12132034 5.625,4.5 C5.625,3.87867966 5.12132034,3.375 4.5,3.375 C3.87867966,3.375 3.375,3.87867966 3.375,4.5 C3.375,5.12132034 3.87867966,5.625 4.5,5.625 Z" id="路径" fill="#FFFFFF"></path>
|
|
29
|
+
</g>
|
|
30
|
+
</g>
|
|
31
|
+
<g id="编组" opacity="0.8" transform="translate(22.000000, 1.000000)" fill="#FFFFFF" font-family="PingFangSC-Regular, PingFang SC" font-size="12" font-weight="normal">
|
|
32
|
+
<text id="后台管理员">
|
|
33
|
+
<tspan x="0" y="13">后台管理员</tspan>
|
|
34
|
+
</text>
|
|
35
|
+
</g>
|
|
36
|
+
</g>
|
|
37
|
+
</g>
|
|
38
|
+
</g>
|
|
39
|
+
</g>
|
|
40
|
+
</svg>
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="56px" height="20px" viewBox="0 0 56 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>Boss</title>
|
|
4
|
+
<defs>
|
|
5
|
+
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-1">
|
|
6
|
+
<stop stop-color="#FFEEC7" offset="0%"></stop>
|
|
7
|
+
<stop stop-color="#FFD896" offset="100%"></stop>
|
|
8
|
+
</linearGradient>
|
|
9
|
+
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-2">
|
|
10
|
+
<stop stop-color="#FFCA3D" offset="0%"></stop>
|
|
11
|
+
<stop stop-color="#E2A916" offset="100%"></stop>
|
|
12
|
+
</linearGradient>
|
|
13
|
+
<linearGradient x1="50%" y1="0%" x2="50%" y2="41.2046279%" id="linearGradient-3">
|
|
14
|
+
<stop stop-color="#F0B929" offset="0%"></stop>
|
|
15
|
+
<stop stop-color="#FFFFFF" offset="100%"></stop>
|
|
16
|
+
</linearGradient>
|
|
17
|
+
</defs>
|
|
18
|
+
<g id="OKR" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
19
|
+
<g id="公司全部/隔级-交互规范" transform="translate(-1356.000000, -3208.000000)" fill-rule="nonzero">
|
|
20
|
+
<g id="Boss" transform="translate(1356.000000, 3208.000000)">
|
|
21
|
+
<rect id="矩形" fill="#F2B20F" x="3" y="1" width="53" height="18" rx="9"></rect>
|
|
22
|
+
<g id="编组-25">
|
|
23
|
+
<polygon id="多边形" fill="url(#linearGradient-1)" points="9 0 17.660254 5 17.660254 15 9 20 0.33974596 15 0.33974596 5"></polygon>
|
|
24
|
+
<polygon id="多边形" fill="url(#linearGradient-2)" points="9 1.81818182 16.2168784 5.90909091 16.2168784 14.0909091 9 18.1818182 1.78312164 14.0909091 1.78312164 5.90909091"></polygon>
|
|
25
|
+
<g id="编组-29" transform="translate(5.000000, 5.005988)">
|
|
26
|
+
<path d="M3.88814818,9.78562699 C3.68141594,9.77439872 3.29833383,9.75788656 2.91657268,9.73212759 C2.56255197,9.70835008 2.20853126,9.67928868 1.85583152,9.6442829 C1.35452234,9.5960674 0.85651559,9.52209292 0.364453219,9.41377315 C0.352564463,9.4111312 0.341336194,9.40584731 0.329447439,9.40386585 C0.178196053,9.3774464 0.106863521,9.27837343 0.0711972551,9.13636886 C-0.00145624941,8.84641533 -0.0133450047,8.35424963 0.0124139651,8.05835172 C0.0262841796,7.89851401 0.0460987717,7.73933679 0.067894823,7.57949908 C0.107524007,7.29416895 0.266040744,7.09206011 0.507118282,6.9421297 C0.772633816,6.77766858 1.06655027,6.68982389 1.36178769,6.60528163 C1.58503209,6.54121445 1.81422088,6.49431991 2.02095312,6.3833582 C2.23429023,6.26777308 2.43904101,6.1402992 2.58698997,5.94215328 C2.67351369,5.82590767 2.96544868,5.2466611 2.91657268,5.09937263 C2.88949274,5.01615134 5.00418303,4.911134 4.97380066,5.09937263 C4.90180764,5.54321949 5.37556357,6.07755299 5.77449736,6.28494572 C6.02746365,6.41638252 6.30024453,6.49167797 6.57170444,6.57357828 C6.8312756,6.65085519 7.09216773,6.72416918 7.33456624,6.84768014 C7.47194741,6.9176917 7.60206324,7.0002525 7.70906203,7.11385616 C7.84710369,7.25916317 7.91381282,7.43815498 7.93957179,7.6316775 C7.96599124,7.82387904 7.99108973,8.01674107 7.99769459,8.21026359 C8.0069414,8.46058794 7.99108973,8.90784056 7.8999426,9.14561567 C7.86757877,9.23081841 7.80879548,9.28828073 7.72557419,9.323947 C7.53271216,9.4065078 7.32928235,9.44943941 7.12519205,9.4890686 C6.64964184,9.58021572 6.16946822,9.64031998 5.68731315,9.69117744 C5.14769576,9.74731878 4.60609691,9.77638018 3.88814818,9.78562699 Z M3.99184455,6.66142297 C3.92183299,6.66142297 3.85182143,6.660102 3.78180987,6.66274395 C3.76463723,6.66274395 3.74019923,6.66802784 3.73029193,6.67925611 C3.67216913,6.75521204 3.61404633,6.83116798 3.56318887,6.91306829 C3.5473372,6.93882726 3.54073234,6.9857218 3.55328158,7.01148077 C3.6252746,7.15876924 3.70519345,7.30077381 3.7804889,7.44674131 C3.79237766,7.46853736 3.80228495,7.49825925 3.79700106,7.52137627 C3.73557583,7.82255807 3.66160135,8.12109793 3.60942292,8.4236007 C3.54535574,8.79611503 3.54139282,8.94350683 3.72500804,9.19845458 C3.78973571,9.25855884 3.848519,9.31866311 3.91324667,9.37084153 C3.96146218,9.40981023 4.01694303,9.40518682 4.07044243,9.37480445 C4.17612026,9.31536067 4.26396495,9.23544182 4.33595797,9.14033178 C4.39474126,9.06305487 4.45154309,8.98247553 4.42842606,8.87283478 C4.3537911,8.52343747 4.28311905,7.97446995 4.20650263,7.62507264 C4.18999047,7.55043767 4.16357102,7.48042611 4.24547133,7.42692672 C4.25207619,7.42230331 4.25603911,7.4130565 4.26000203,7.40579115 C4.32208775,7.29416895 4.38615493,7.18386772 4.44295676,7.07026406 C4.45880844,7.03723974 4.46277136,6.98968472 4.45352455,6.95401845 C4.42116071,6.83645187 4.33595797,6.74992815 4.2467923,6.67661416 C4.21244701,6.64821325 4.14045399,6.66406492 4.08497313,6.66208346 C4.05459076,6.660102 4.02288741,6.66142297 3.99184455,6.66142297 Z" id="形状" fill="url(#linearGradient-3)"></path>
|
|
27
|
+
<path d="M4,5.16666667 C5.23711784,5.16666667 6.24,3.62199775 6.24,2.33333333 C6.24,1.04466891 5.23711784,1.77635684e-15 4,1.77635684e-15 C2.76288216,1.77635684e-15 1.76,1.04466891 1.76,2.33333333 C1.76,3.62199775 2.76288216,5.16666667 4,5.16666667 Z" id="路径" fill="#FFFFFF"></path>
|
|
28
|
+
</g>
|
|
29
|
+
</g>
|
|
30
|
+
<g id="编组" opacity="0.8" transform="translate(22.000000, 1.000000)" fill="#FFFFFF" font-family="PingFangSC-Regular, PingFang SC" font-size="12" font-weight="normal">
|
|
31
|
+
<text id="Boss">
|
|
32
|
+
<tspan x="0" y="13">Boss</tspan>
|
|
33
|
+
</text>
|
|
34
|
+
</g>
|
|
35
|
+
</g>
|
|
36
|
+
</g>
|
|
37
|
+
</g>
|
|
38
|
+
</svg>
|