@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,6 +1,15 @@
|
|
|
1
|
+
.titaui-user-message-msg-todos__loading {
|
|
2
|
+
width: 80px;
|
|
3
|
+
position: absolute;
|
|
4
|
+
top: 0;
|
|
5
|
+
bottom: 0;
|
|
6
|
+
left: 0;
|
|
7
|
+
right: 0;
|
|
8
|
+
margin: auto;
|
|
9
|
+
}
|
|
10
|
+
|
|
1
11
|
.titaui-user-message-msg-todos__items {
|
|
2
12
|
width: 420px;
|
|
3
|
-
margin-top: 8px;
|
|
4
13
|
}
|
|
5
14
|
|
|
6
15
|
.titaui-user-message-msg-todos__item {
|
|
@@ -11,7 +20,15 @@
|
|
|
11
20
|
border-radius: 12px;
|
|
12
21
|
margin-bottom: 4px;
|
|
13
22
|
margin-left: 12px;
|
|
14
|
-
|
|
23
|
+
cursor: pointer;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.titaui-user-message-msg-todos__item:first-of-type {
|
|
27
|
+
margin-top: 8px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.titaui-user-message-msg-todos__item:last-of-type {
|
|
31
|
+
margin-bottom: 0;
|
|
15
32
|
}
|
|
16
33
|
|
|
17
34
|
.titaui-user-message-msg-todos__item-photo {
|
|
@@ -102,6 +119,10 @@
|
|
|
102
119
|
position: absolute;
|
|
103
120
|
bottom: 0;
|
|
104
121
|
left: 0;
|
|
122
|
+
box-sizing: border-box;
|
|
123
|
+
padding-right: 24px;
|
|
124
|
+
display: flex;
|
|
125
|
+
align-items: center;
|
|
105
126
|
width: 420px;
|
|
106
127
|
height: 50px;
|
|
107
128
|
background: #ffffff;
|
|
@@ -109,10 +130,7 @@
|
|
|
109
130
|
}
|
|
110
131
|
|
|
111
132
|
.titaui-user-message-msg-todos__footer-all {
|
|
112
|
-
|
|
113
|
-
margin: 16px 24px 16px 348px;
|
|
114
|
-
width: 48px;
|
|
115
|
-
height: 18px;
|
|
133
|
+
margin-left: auto;
|
|
116
134
|
font-size: 12px;
|
|
117
135
|
font-family: Resource-Han-Rounded-CN-Regular, Resource-Han-Rounded-CN;
|
|
118
136
|
font-weight: 400;
|
|
@@ -120,10 +138,6 @@
|
|
|
120
138
|
line-height: 18px;
|
|
121
139
|
}
|
|
122
140
|
|
|
123
|
-
.titaui-user-message-msg
|
|
124
|
-
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.titaui-user-message-msg .titaui-tabs .scrollbar-container .ps__rail-y .ps__thumb-y {
|
|
128
|
-
width: 4px;
|
|
141
|
+
.titaui-user-message-msg-todos__footer-all:hover {
|
|
142
|
+
color: #2879ff;
|
|
129
143
|
}
|
|
@@ -1,23 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
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
|
+
|
|
3
5
|
Object.defineProperty(exports, "__esModule", {
|
|
4
6
|
value: true
|
|
5
7
|
});
|
|
6
8
|
exports["default"] = void 0;
|
|
7
9
|
|
|
8
|
-
var _react =
|
|
10
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
9
11
|
|
|
10
12
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
11
13
|
|
|
12
|
-
var
|
|
14
|
+
var _rcVirtualList = _interopRequireDefault(require("rc-virtual-list"));
|
|
13
15
|
|
|
14
16
|
var _conditionRender = _interopRequireDefault(require("../../../../../dynamic/components/condition-render"));
|
|
15
17
|
|
|
16
|
-
var
|
|
18
|
+
var _empty = _interopRequireDefault(require("../empty"));
|
|
17
19
|
|
|
18
|
-
var
|
|
20
|
+
var _todoItem = _interopRequireDefault(require("./todo-item"));
|
|
19
21
|
|
|
20
|
-
var
|
|
22
|
+
var _request = require("../../../../request.apis");
|
|
23
|
+
|
|
24
|
+
var _loading = _interopRequireDefault(require("../../images/loading.gif"));
|
|
21
25
|
|
|
22
26
|
require("./index.css");
|
|
23
27
|
|
|
@@ -25,74 +29,129 @@ var _constant = require("../../constant");
|
|
|
25
29
|
|
|
26
30
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
27
31
|
|
|
32
|
+
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); }
|
|
33
|
+
|
|
34
|
+
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; }
|
|
35
|
+
|
|
36
|
+
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
37
|
+
|
|
38
|
+
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
39
|
+
|
|
40
|
+
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
41
|
+
|
|
42
|
+
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
43
|
+
|
|
44
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
45
|
+
|
|
46
|
+
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."); }
|
|
47
|
+
|
|
48
|
+
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); }
|
|
49
|
+
|
|
50
|
+
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; }
|
|
51
|
+
|
|
52
|
+
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; }
|
|
53
|
+
|
|
54
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
55
|
+
|
|
28
56
|
var preCls = "titaui-user-message-msg-todos";
|
|
29
57
|
|
|
30
|
-
var
|
|
31
|
-
var
|
|
32
|
-
userInfo = props.userInfo,
|
|
58
|
+
var Todos = function Todos(props) {
|
|
59
|
+
var userInfo = props.userInfo,
|
|
33
60
|
onItemClick = props.onItemClick;
|
|
34
61
|
|
|
35
|
-
var
|
|
36
|
-
|
|
62
|
+
var _useState = (0, _react.useState)([]),
|
|
63
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
64
|
+
todos = _useState2[0],
|
|
65
|
+
setTodos = _useState2[1];
|
|
66
|
+
|
|
67
|
+
var _useState3 = (0, _react.useState)(0),
|
|
68
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
69
|
+
todosData = _useState4[0],
|
|
70
|
+
setTodosData = _useState4[1];
|
|
71
|
+
|
|
72
|
+
var _useState5 = (0, _react.useState)(true),
|
|
73
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
74
|
+
isLoading = _useState6[0],
|
|
75
|
+
setIsLoading = _useState6[1];
|
|
76
|
+
|
|
77
|
+
var _useState7 = (0, _react.useState)(2),
|
|
78
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
79
|
+
pageNum = _useState8[0],
|
|
80
|
+
setPageNum = _useState8[1];
|
|
81
|
+
|
|
82
|
+
var _useState9 = (0, _react.useState)(false),
|
|
83
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
84
|
+
isRequest = _useState10[0],
|
|
85
|
+
setIsRequest = _useState10[1];
|
|
86
|
+
|
|
87
|
+
var onScrollBottom = function onScrollBottom(e) {
|
|
88
|
+
var _e$target = e.target,
|
|
89
|
+
offsetHeight = _e$target.offsetHeight,
|
|
90
|
+
scrollTop = _e$target.scrollTop,
|
|
91
|
+
scrollHeight = _e$target.scrollHeight;
|
|
92
|
+
|
|
93
|
+
if (offsetHeight + scrollTop >= scrollHeight - 20) {
|
|
94
|
+
if (!isRequest) {
|
|
95
|
+
setIsRequest(true);
|
|
96
|
+
|
|
97
|
+
if (pageNum <= Math.ceil(todosData / 10)) {
|
|
98
|
+
(0, _request.getTodos)(pageNum).then(function (res) {
|
|
99
|
+
if (res.Code === 1) {
|
|
100
|
+
setTodos([].concat(_toConsumableArray(todos), _toConsumableArray(res.Data.todos)));
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
setIsRequest(false);
|
|
104
|
+
setPageNum(pageNum + 1);
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
37
109
|
};
|
|
38
110
|
|
|
111
|
+
(0, _react.useEffect)(function () {
|
|
112
|
+
(0, _request.getTodos)(1).then(function (res) {
|
|
113
|
+
if (res.Code === 1) {
|
|
114
|
+
if (res.Data.total || res.Data.todos && res.Data.todos.length) {
|
|
115
|
+
setTodos(res.Data.todos);
|
|
116
|
+
setTodosData(res.Data.total);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
setIsLoading(false);
|
|
121
|
+
});
|
|
122
|
+
}, []);
|
|
39
123
|
return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
|
|
40
|
-
condition:
|
|
41
|
-
}, /*#__PURE__*/_react["default"].createElement("
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
124
|
+
condition: isLoading
|
|
125
|
+
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
126
|
+
src: _loading["default"],
|
|
127
|
+
className: (0, _classnames["default"])("".concat(preCls, "__loading"))
|
|
128
|
+
})), /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
|
|
129
|
+
condition: todos.length !== 0
|
|
45
130
|
}, /*#__PURE__*/_react["default"].createElement("ul", {
|
|
46
131
|
className: (0, _classnames["default"])("".concat(preCls, "__items"))
|
|
47
|
-
},
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
href: todo.objUrl,
|
|
62
|
-
target: "_blank",
|
|
63
|
-
onClick: handleTodosClick
|
|
64
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
65
|
-
className: (0, _classnames["default"])("".concat(preCls, "__item-right-header"))
|
|
66
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
67
|
-
className: (0, _classnames["default"])("".concat(preCls, "__item-right-header-name"))
|
|
68
|
-
}, /*#__PURE__*/_react["default"].createElement(_tooltipText["default"], {
|
|
69
|
-
overlayClassName: "".concat(preCls, "__item-right-header-name-tooltip"),
|
|
70
|
-
text: todo.User.name,
|
|
71
|
-
maxWidth: 100,
|
|
72
|
-
mouseEnterDelay: 0.8
|
|
73
|
-
})), /*#__PURE__*/_react["default"].createElement("span", {
|
|
74
|
-
className: (0, _classnames["default"])("".concat(preCls, "__item-right-header-status"))
|
|
75
|
-
}, todo.subTitle)), /*#__PURE__*/_react["default"].createElement("div", {
|
|
76
|
-
className: (0, _classnames["default"])("".concat(preCls, "__item-right-content"))
|
|
77
|
-
}, /*#__PURE__*/_react["default"].createElement(_tooltipText["default"], {
|
|
78
|
-
overlayClassName: "".concat(preCls, "__item-right-content-tooltip"),
|
|
79
|
-
text: (0, _constant.htmlToText)(todo.content),
|
|
80
|
-
isPercent: true,
|
|
81
|
-
mouseEnterDelay: 0.8
|
|
82
|
-
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
83
|
-
className: (0, _classnames["default"])("".concat(preCls, "__item-right-time"))
|
|
84
|
-
}, todo.createDate))));
|
|
85
|
-
}))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
132
|
+
}, /*#__PURE__*/_react["default"].createElement(_rcVirtualList["default"], {
|
|
133
|
+
data: todos,
|
|
134
|
+
height: 386,
|
|
135
|
+
itemKey: "objId",
|
|
136
|
+
onScroll: function onScroll(e) {
|
|
137
|
+
return onScrollBottom(e);
|
|
138
|
+
}
|
|
139
|
+
}, function (item) {
|
|
140
|
+
return /*#__PURE__*/_react["default"].createElement(_todoItem["default"], {
|
|
141
|
+
item: item,
|
|
142
|
+
userInfo: userInfo,
|
|
143
|
+
onItemClick: onItemClick
|
|
144
|
+
});
|
|
145
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
86
146
|
className: (0, _classnames["default"])("".concat(preCls, "__footer"))
|
|
87
147
|
}, /*#__PURE__*/_react["default"].createElement("a", {
|
|
88
148
|
target: "_blank",
|
|
89
|
-
href: "".concat(_constant.apiServer, "/u/").concat(_constant.userId, "/Home#more/messages?messageType=1&isRead=1&autoApply=true")
|
|
90
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
149
|
+
href: "".concat(_constant.apiServer, "/u/").concat(_constant.userId, "/Home#more/messages?messageType=1&isRead=1&autoApply=true"),
|
|
91
150
|
className: (0, _classnames["default"])("".concat(preCls, "__footer-all"))
|
|
92
|
-
}, "\u67E5\u770B\u5168\u90E8")))
|
|
93
|
-
condition: todos.
|
|
151
|
+
}, "\u67E5\u770B\u5168\u90E8"))), /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
|
|
152
|
+
condition: isLoading === false && todos.length === 0
|
|
94
153
|
}, /*#__PURE__*/_react["default"].createElement(_empty["default"], null)));
|
|
95
154
|
};
|
|
96
155
|
|
|
97
|
-
var _default =
|
|
156
|
+
var _default = Todos;
|
|
98
157
|
exports["default"] = _default;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
|
|
10
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
11
|
+
|
|
12
|
+
var _default2 = _interopRequireDefault(require("../../../../../../components/avatar/default"));
|
|
13
|
+
|
|
14
|
+
var _tooltipText = _interopRequireDefault(require("../../../../../tooltip/tooltip-text"));
|
|
15
|
+
|
|
16
|
+
var _utils = require("../../utils");
|
|
17
|
+
|
|
18
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
19
|
+
|
|
20
|
+
var preCls = "titaui-user-message-msg-todos";
|
|
21
|
+
|
|
22
|
+
var TodoItem = function TodoItem(props) {
|
|
23
|
+
var item = props.item,
|
|
24
|
+
userInfo = props.userInfo,
|
|
25
|
+
onItemClick = props.onItemClick;
|
|
26
|
+
|
|
27
|
+
var handleTodosClick = function handleTodosClick() {
|
|
28
|
+
onItemClick && onItemClick(false);
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
return /*#__PURE__*/_react["default"].createElement("li", {
|
|
32
|
+
className: (0, _classnames["default"])("".concat(preCls, "__item"))
|
|
33
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
34
|
+
className: (0, _classnames["default"])("".concat(preCls, "__item-photo"))
|
|
35
|
+
}, /*#__PURE__*/_react["default"].createElement(_default2["default"], {
|
|
36
|
+
userId: userInfo.Id,
|
|
37
|
+
name: userInfo.Name,
|
|
38
|
+
color: userInfo.UserAvatar.Color,
|
|
39
|
+
src: userInfo.Avatar
|
|
40
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
41
|
+
className: (0, _classnames["default"])("".concat(preCls, "__item-right"))
|
|
42
|
+
}, /*#__PURE__*/_react["default"].createElement("a", {
|
|
43
|
+
href: item.objUrl,
|
|
44
|
+
target: "_blank",
|
|
45
|
+
onClick: handleTodosClick
|
|
46
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
47
|
+
className: (0, _classnames["default"])("".concat(preCls, "__item-right-header"))
|
|
48
|
+
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
49
|
+
className: (0, _classnames["default"])("".concat(preCls, "__item-right-header-name"))
|
|
50
|
+
}, /*#__PURE__*/_react["default"].createElement(_tooltipText["default"], {
|
|
51
|
+
overlayClassName: "".concat(preCls, "__item-right-header-name-tooltip"),
|
|
52
|
+
text: userInfo.Name,
|
|
53
|
+
maxWidth: 100,
|
|
54
|
+
mouseEnterDelay: 0.8
|
|
55
|
+
})), /*#__PURE__*/_react["default"].createElement("span", {
|
|
56
|
+
className: (0, _classnames["default"])("".concat(preCls, "__item-right-header-status"))
|
|
57
|
+
}, item.subTitle)), /*#__PURE__*/_react["default"].createElement("div", {
|
|
58
|
+
className: (0, _classnames["default"])("".concat(preCls, "__item-right-content"))
|
|
59
|
+
}, /*#__PURE__*/_react["default"].createElement(_tooltipText["default"], {
|
|
60
|
+
overlayClassName: "".concat(preCls, "__item-right-content-tooltip"),
|
|
61
|
+
text: (0, _utils.deleteText)((0, _utils.htmlToText)(item.content)),
|
|
62
|
+
isPercent: true,
|
|
63
|
+
mouseEnterDelay: 0.8
|
|
64
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
65
|
+
className: (0, _classnames["default"])("".concat(preCls, "__item-right-time"))
|
|
66
|
+
}, item.createDate))));
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
var _default = TodoItem;
|
|
70
|
+
exports["default"] = _default;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.userId = exports.popupAlign = exports.apiServer = void 0;
|
|
7
7
|
|
|
8
8
|
var _bsGlobal = require("../../../../utils/bs-global");
|
|
9
9
|
|
|
@@ -14,26 +14,9 @@ var popupAlign = {
|
|
|
14
14
|
adjustY: true
|
|
15
15
|
},
|
|
16
16
|
targetOffset: [0, 0]
|
|
17
|
-
}; //待办提醒任务
|
|
18
|
-
|
|
19
|
-
exports.popupAlign = popupAlign;
|
|
20
|
-
var path = {
|
|
21
|
-
todoPath: "todo/Get?app_type=-1&app_id=-1&page_num=1&page_size=50&status=1&pageNum=1",
|
|
22
|
-
remindPath: "remind/get",
|
|
23
|
-
informPath: "messages/Get?page_size=20&page_num=1&status=2&app_type=-1&app_id=-1",
|
|
24
|
-
replyPath: "comment/messages?page_num=1&page_size=20&status=2"
|
|
25
17
|
};
|
|
26
|
-
exports.
|
|
18
|
+
exports.popupAlign = popupAlign;
|
|
27
19
|
var userId = (0, _bsGlobal.getUserInfo)().Id;
|
|
28
20
|
exports.userId = userId;
|
|
29
|
-
|
|
30
|
-
var htmlToText = function htmlToText(text) {
|
|
31
|
-
var div = document.createElement("div");
|
|
32
|
-
div.innerHTML = text;
|
|
33
|
-
text = div.innerText || div.textContent;
|
|
34
|
-
return text;
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
exports.htmlToText = htmlToText;
|
|
38
21
|
var apiServer = (0, _bsGlobal.getBSGlobal)("apiPath");
|
|
39
22
|
exports.apiServer = apiServer;
|
|
@@ -9,6 +9,11 @@
|
|
|
9
9
|
vertical-align: baseline;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
+
.titaui-user-message-bell__msg-img {
|
|
13
|
+
transform-origin: 50% 0%;
|
|
14
|
+
animation: bell-shake 1s infinite ease;
|
|
15
|
+
}
|
|
16
|
+
|
|
12
17
|
.titaui-user-message-bell__msg-dot::after {
|
|
13
18
|
position: absolute;
|
|
14
19
|
content: "";
|
|
@@ -24,16 +29,16 @@
|
|
|
24
29
|
.tita-user-message-popup-right-top-enter,
|
|
25
30
|
.tita-user-message-popup-right-top-appear {
|
|
26
31
|
opacity: 0;
|
|
27
|
-
animation-duration: 0.
|
|
32
|
+
animation-duration: 0.2s;
|
|
28
33
|
animation-fill-mode: both;
|
|
29
|
-
animation-timing-function:
|
|
34
|
+
animation-timing-function: linear;
|
|
30
35
|
animation-play-state: paused;
|
|
31
36
|
}
|
|
32
37
|
|
|
33
38
|
.tita-user-message-popup-right-top-leave {
|
|
34
|
-
animation-duration: 0.
|
|
39
|
+
animation-duration: 0.1s;
|
|
35
40
|
animation-fill-mode: both;
|
|
36
|
-
animation-timing-function:
|
|
41
|
+
animation-timing-function: linear;
|
|
37
42
|
animation-play-state: paused;
|
|
38
43
|
}
|
|
39
44
|
|
|
@@ -75,3 +80,35 @@
|
|
|
75
80
|
transform: scale(0, 0);
|
|
76
81
|
}
|
|
77
82
|
}
|
|
83
|
+
|
|
84
|
+
@keyframes bell-shake {
|
|
85
|
+
5%,
|
|
86
|
+
25%,
|
|
87
|
+
45% {
|
|
88
|
+
transform: rotate(8deg);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
0%,
|
|
92
|
+
10%,
|
|
93
|
+
30%,
|
|
94
|
+
50% {
|
|
95
|
+
transform: rotate(-8deg);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
15%,
|
|
99
|
+
35%,
|
|
100
|
+
55% {
|
|
101
|
+
transform: rotate(4deg);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
20%,
|
|
105
|
+
40%,
|
|
106
|
+
60% {
|
|
107
|
+
transform: rotate(-4deg);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
65%,
|
|
111
|
+
100% {
|
|
112
|
+
transform: rotate(0deg);
|
|
113
|
+
}
|
|
114
|
+
}
|