component-shipinlv 1.0.35 → 1.0.37

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. package/dist/UI/LayoutContent.d.ts +18 -0
  2. package/dist/UI/LayoutContent.js +73 -0
  3. package/dist/UI/LayoutContent.less +60 -0
  4. package/dist/UI/PageContentWarp.less +1 -1
  5. package/dist/UI/PageLoading.d.ts +3 -0
  6. package/dist/UI/PageLoading.js +11 -0
  7. package/dist/UI/PageLoading.less +7 -0
  8. package/dist/VideoPublish/account-manage/home.d.ts +9 -0
  9. package/dist/VideoPublish/account-manage/home.js +170 -0
  10. package/dist/VideoPublish/account-manage/home.less +58 -0
  11. package/dist/VideoPublish/account-manage/index.d.ts +3 -0
  12. package/dist/VideoPublish/account-manage/index.js +56 -0
  13. package/dist/VideoPublish/account-manage/index.less +59 -0
  14. package/dist/VideoPublish/account-manage/list.d.ts +10 -0
  15. package/dist/VideoPublish/account-manage/list.js +428 -0
  16. package/dist/VideoPublish/account-manage/list.less +154 -0
  17. package/dist/VideoPublish/account-manage/setting/index.d.ts +6 -0
  18. package/dist/VideoPublish/account-manage/setting/index.js +69 -0
  19. package/dist/VideoPublish/account-manage/setting/index.less +9 -0
  20. package/dist/VideoPublish/create-task/base/index.d.ts +10 -0
  21. package/dist/VideoPublish/create-task/base/index.js +315 -0
  22. package/dist/VideoPublish/create-task/base/index.less +64 -0
  23. package/dist/VideoPublish/create-task/index.js +294 -0
  24. package/dist/VideoPublish/index.d.ts +1 -0
  25. package/dist/VideoPublish/index.js +40 -11
  26. package/dist/VideoPublish/log/index.d.ts +2 -0
  27. package/dist/VideoPublish/log/index.js +122 -0
  28. package/dist/VideoPublish/log/index.less +83 -0
  29. package/dist/VideoPublish/video-account/query.js +1 -0
  30. package/dist/component/markdown/github-markdown-light.less +1102 -0
  31. package/dist/component/markdown/index.d.ts +8 -0
  32. package/dist/component/markdown/index.js +69 -0
  33. package/dist/component/markdown/index.less +55 -0
  34. package/dist/component/video-platform/logo.d.ts +1 -0
  35. package/dist/component/video-platform/logo.js +6 -0
  36. package/dist/config/apiUrls.js +1 -1
  37. package/dist/index.d.ts +1 -1
  38. package/dist/index.js +1 -1
  39. package/dist/lib/accountManageSettingConfig.d.ts +2 -0
  40. package/dist/lib/accountManageSettingConfig.js +15 -0
  41. package/dist/lib/event.d.ts +7 -0
  42. package/dist/lib/event.js +59 -0
  43. package/dist/lib/getLocalUserInfo.d.ts +2 -0
  44. package/dist/lib/getLocalUserInfo.js +19 -0
  45. package/dist/lib/math.d.ts +38 -0
  46. package/dist/lib/math.js +146 -0
  47. package/dist/lib/sleep.d.ts +2 -0
  48. package/dist/lib/sleep.js +23 -0
  49. package/dist/lib/store.d.ts +7 -0
  50. package/dist/lib/store.js +36 -0
  51. package/dist/lib/toast.d.ts +2 -0
  52. package/dist/lib/toast.js +8 -0
  53. package/dist/lib/toastError.d.ts +2 -0
  54. package/dist/lib/toastError.js +8 -0
  55. package/dist/service/api/VideoPublishVideoAccountController.d.ts +13 -0
  56. package/dist/service/api/VideoPublishVideoAccountController.js +140 -0
  57. package/dist/types/PublishNpm.d.ts +36 -0
  58. package/dist/types/PublishNpm.js +0 -0
  59. package/dist/types/PublishTaskPlan.d.ts +41 -0
  60. package/dist/types/PublishTaskPlan.js +0 -0
  61. package/dist/types/User.d.ts +83 -0
  62. package/dist/types/VideoPublish.d.ts +4 -2
  63. package/dist/types/VideoPublishLog.d.ts +32 -0
  64. package/dist/types/VideoPublishLog.js +0 -0
  65. package/dist/typings/VideoPublishAccountManageSetting.d.ts +5 -0
  66. package/dist/typings/VideoPublishAccountManageSetting.js +0 -0
  67. package/dist/typings/VideoPublishVideoAccount.d.ts +69 -0
  68. package/dist/typings/VideoPublishVideoAccount.js +0 -0
  69. package/dist/window.d.ts +9 -0
  70. package/package.json +2 -1
  71. package/dist/VideoPublish/creat-task/index.js +0 -569
  72. /package/dist/VideoPublish/{creat-task → create-task}/hour-enabled.d.ts +0 -0
  73. /package/dist/VideoPublish/{creat-task → create-task}/hour-enabled.js +0 -0
  74. /package/dist/VideoPublish/{creat-task → create-task}/hour-enabled.less +0 -0
  75. /package/dist/VideoPublish/{creat-task → create-task}/index.css.d.ts +0 -0
  76. /package/dist/VideoPublish/{creat-task → create-task}/index.css.js +0 -0
  77. /package/dist/VideoPublish/{creat-task → create-task}/index.d.ts +0 -0
  78. /package/dist/VideoPublish/{creat-task → create-task}/select-list.css.d.ts +0 -0
  79. /package/dist/VideoPublish/{creat-task → create-task}/select-list.css.js +0 -0
  80. /package/dist/VideoPublish/{creat-task → create-task}/select-list.d.ts +0 -0
  81. /package/dist/VideoPublish/{creat-task → create-task}/select-list.js +0 -0
  82. /package/dist/VideoPublish/{creat-task → create-task}/task-list.css.d.ts +0 -0
  83. /package/dist/VideoPublish/{creat-task → create-task}/task-list.css.js +0 -0
  84. /package/dist/VideoPublish/{creat-task → create-task}/task-list.d.ts +0 -0
  85. /package/dist/VideoPublish/{creat-task → create-task}/task-list.js +0 -0
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import './LayoutContent.less';
3
+ interface Props {
4
+ title?: React.ReactNode;
5
+ loading?: boolean;
6
+ subtitle?: React.ReactNode;
7
+ className?: string;
8
+ extInfo?: React.ReactNode;
9
+ leftExtInfo?: React.ReactNode;
10
+ children?: React.ReactNode;
11
+ needLogin?: boolean;
12
+ error?: Error | null;
13
+ errorNode?: (err: Error) => React.ReactNode;
14
+ isListEmpty?: boolean;
15
+ onReload?: () => void;
16
+ }
17
+ declare const LayoutContent: React.FC<Props>;
18
+ export default LayoutContent;
@@ -0,0 +1,73 @@
1
+ import React from 'react';
2
+ import "./LayoutContent.less";
3
+ import PageLoading from "./PageLoading";
4
+ import { Space } from 'antd';
5
+ import LoadError from "./LoadError";
6
+ import { jsx as _jsx } from "react/jsx-runtime";
7
+ import { Fragment as _Fragment } from "react/jsx-runtime";
8
+ import { jsxs as _jsxs } from "react/jsx-runtime";
9
+ var LayoutContent = function LayoutContent(_ref) {
10
+ var _ref$title = _ref.title,
11
+ title = _ref$title === void 0 ? '' : _ref$title,
12
+ _ref$loading = _ref.loading,
13
+ loading = _ref$loading === void 0 ? false : _ref$loading,
14
+ subtitle = _ref.subtitle,
15
+ _ref$className = _ref.className,
16
+ className = _ref$className === void 0 ? '' : _ref$className,
17
+ _ref$extInfo = _ref.extInfo,
18
+ extInfo = _ref$extInfo === void 0 ? '' : _ref$extInfo,
19
+ _ref$leftExtInfo = _ref.leftExtInfo,
20
+ leftExtInfo = _ref$leftExtInfo === void 0 ? '' : _ref$leftExtInfo,
21
+ children = _ref.children,
22
+ needLogin = _ref.needLogin,
23
+ error = _ref.error,
24
+ errorNode = _ref.errorNode,
25
+ _ref$isListEmpty = _ref.isListEmpty,
26
+ isListEmpty = _ref$isListEmpty === void 0 ? false : _ref$isListEmpty,
27
+ onReload = _ref.onReload;
28
+ var loadingDom = function loadingDom() {
29
+ if (isListEmpty && loading) {
30
+ return /*#__PURE__*/_jsx(PageLoading, {});
31
+ } else {
32
+ return /*#__PURE__*/_jsx(_Fragment, {
33
+ children: children
34
+ });
35
+ }
36
+ };
37
+ return /*#__PURE__*/_jsxs("div", {
38
+ className: "pageContentBox ".concat(className),
39
+ children: [/*#__PURE__*/_jsxs("div", {
40
+ className: "pageTitle ".concat(!title ? "noTitle" : ''),
41
+ children: [title, /*#__PURE__*/_jsx("span", {
42
+ className: "subtitle",
43
+ children: subtitle
44
+ }), /*#__PURE__*/_jsx("div", {
45
+ className: "extInfo",
46
+ children: /*#__PURE__*/_jsx(Space, {
47
+ size: "middle",
48
+ children: Array.isArray(extInfo) ? /*#__PURE__*/_jsx(Space, {
49
+ children: extInfo
50
+ }) : extInfo
51
+ })
52
+ })]
53
+ }), /*#__PURE__*/_jsxs("div", {
54
+ className: "pageContentBoxWarp",
55
+ children: [leftExtInfo && /*#__PURE__*/_jsx("div", {
56
+ className: "leftExtInfo",
57
+ children: leftExtInfo
58
+ }), error ? /*#__PURE__*/_jsx(_Fragment, {
59
+ children: errorNode ? errorNode(error) : /*#__PURE__*/_jsx(LoadError, {
60
+ title: error.message,
61
+ onReload: onReload
62
+ })
63
+ }) : loadingDom()
64
+ // needLogin && ! userInfo.isLogin ?
65
+ // <AuthNotLogin />
66
+ // :
67
+ // loadingDom()
68
+ ]
69
+ })]
70
+ });
71
+ };
72
+
73
+ export default LayoutContent;
@@ -0,0 +1,60 @@
1
+ .pageContentBox {
2
+ background: rgba(255, 255, 255, 0.86 );
3
+ //margin: 0 0 0 15px;
4
+ padding: 10px 15px;
5
+ border-radius: 4px;
6
+ min-height: calc(100vh - 230px);
7
+ box-shadow: 0 0 7px #EEE;
8
+ .pageTitle {
9
+ position: relative;
10
+ padding: 5px 15px 12px 0;
11
+ font-size: 18px;
12
+ font-weight: 400;
13
+ color: #333;
14
+ border-bottom: 1px solid #eee;
15
+ line-height: 1.2em;
16
+ margin: 0 0 10px 0;
17
+ &.noTitle {
18
+ display: none;
19
+ }
20
+ :global{
21
+ .ant-form-item{
22
+ margin-bottom: 2px;
23
+ }
24
+ }
25
+ .subtitle {
26
+ font-size: 15px;
27
+ display: inline-block;
28
+ padding-left: 10px;
29
+ color: #888;
30
+ }
31
+ .extInfo {
32
+ position: absolute;
33
+ bottom: 6px;
34
+ right: 0;
35
+ font-size: 14px;
36
+ line-height: 38px;
37
+ }
38
+ }
39
+
40
+ .pageContentBoxWarp {
41
+ padding: 6px 0;
42
+ }
43
+
44
+ .leftExtInfo {
45
+ padding: 2px 0 12px 0;
46
+ }
47
+
48
+ }
49
+
50
+
51
+
52
+ @media screen and (max-width: 800px) {
53
+ // 折叠菜单,
54
+ .pageContentBox{
55
+ padding: 8px;
56
+ .pageTitle {
57
+ padding: 5px 15px 10px 0;
58
+ }
59
+ }
60
+ }
@@ -16,7 +16,7 @@
16
16
  color: #333;
17
17
  border-bottom: 1px solid #eee;
18
18
  line-height: 1.2em;
19
- margin: 0 0 12px 0;
19
+ margin: 0 0 10px 0;
20
20
  &.noTitles {
21
21
  display: none;
22
22
  }
@@ -0,0 +1,3 @@
1
+ import './PageLoading.less';
2
+ declare const PageLoading: () => import("react/jsx-runtime").JSX.Element;
3
+ export default PageLoading;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { LoadingOutlined } from '@ant-design/icons';
3
+ import "./PageLoading.less";
4
+ import { jsx as _jsx } from "react/jsx-runtime";
5
+ var PageLoading = function PageLoading() {
6
+ return /*#__PURE__*/_jsx("div", {
7
+ className: "pageLoading",
8
+ children: /*#__PURE__*/_jsx(LoadingOutlined, {})
9
+ });
10
+ };
11
+ export default PageLoading;
@@ -0,0 +1,7 @@
1
+ .pageLoading{
2
+ padding: 20px;
3
+ text-align: center;
4
+ margin: 0 auto;
5
+ font-size: 18px;
6
+ color: #999;
7
+ }
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import './home.less';
3
+ interface Props {
4
+ apiUrl: string;
5
+ env?: Global.Env;
6
+ canPublish?: boolean;
7
+ }
8
+ declare const VideoPublishAccountManageHomePage: React.FC<Props>;
9
+ export default VideoPublishAccountManageHomePage;
@@ -0,0 +1,170 @@
1
+ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
2
+ import React, { useState } from 'react';
3
+ import { Avatar, Button, Card, Descriptions, Dropdown, Empty, Result } from 'antd';
4
+ import "./home.less";
5
+ import { VideoPlatform } from "../..";
6
+ import HomePageAccountList from "./list";
7
+ import Time from "../../UI/Time";
8
+ import { PlusCircleOutlined } from "@ant-design/icons";
9
+ import { jsx as _jsx } from "react/jsx-runtime";
10
+ import { Fragment as _Fragment } from "react/jsx-runtime";
11
+ import { jsxs as _jsxs } from "react/jsx-runtime";
12
+ var VideoPublishAccountManageHomePage = function VideoPublishAccountManageHomePage(_ref) {
13
+ var apiUrl = _ref.apiUrl,
14
+ env = _ref.env,
15
+ canPublish = _ref.canPublish;
16
+ var _useState = useState({
17
+ id: 0,
18
+ userId: 0,
19
+ platform: 'douyin',
20
+ groupId: 0,
21
+ uniqueId: 0,
22
+ accountId: '',
23
+ avatar: '',
24
+ bindPhone: '',
25
+ nickname: '',
26
+ signature: '',
27
+ isLoginValid: false,
28
+ followerCount: 0,
29
+ followingCount: 0,
30
+ favoritedCount: 0,
31
+ videoCount: 0,
32
+ created: 0,
33
+ updated: 0
34
+ }),
35
+ _useState2 = _slicedToArray(_useState, 2),
36
+ accountDetail = _useState2[0],
37
+ setAccountDetail = _useState2[1];
38
+ var items = [{
39
+ key: 'platform',
40
+ label: '平台',
41
+ children: /*#__PURE__*/_jsx(VideoPlatform, {
42
+ platform: accountDetail.platform,
43
+ showName: true
44
+ })
45
+ }, {
46
+ key: 'bindPhone',
47
+ label: '手机',
48
+ children: accountDetail.bindPhone
49
+ }, {
50
+ key: 'followerCount',
51
+ label: '粉丝',
52
+ children: accountDetail.followerCount
53
+ }, {
54
+ key: 'followingCount',
55
+ label: '关注',
56
+ children: accountDetail.followingCount
57
+ }, {
58
+ key: 'favoritedCount',
59
+ label: '收藏',
60
+ children: accountDetail.favoritedCount
61
+ }, {
62
+ key: 'videoCount',
63
+ label: '视频数',
64
+ children: accountDetail.videoCount
65
+ }, {
66
+ key: 'created',
67
+ label: '初次登录',
68
+ children: /*#__PURE__*/_jsx(Time, {
69
+ time: accountDetail.created
70
+ })
71
+ }, {
72
+ key: 'updated',
73
+ label: '最后更新',
74
+ children: /*#__PURE__*/_jsx(Time, {
75
+ time: accountDetail.updated
76
+ })
77
+ }, {
78
+ key: 'signature',
79
+ label: '个性签名',
80
+ children: accountDetail.signature
81
+ }];
82
+ var _useState3 = useState([{
83
+ label: '创作者中心(发视频)',
84
+ key: 'creator'
85
+ }]),
86
+ _useState4 = _slicedToArray(_useState3, 1),
87
+ openMenuItems = _useState4[0];
88
+ var onOpen = function onOpen(key) {
89
+ switch (key) {
90
+ case 'creator':
91
+ if (accountDetail.platform === 'douyin') {}
92
+ break;
93
+ }
94
+ };
95
+ return /*#__PURE__*/_jsxs("div", {
96
+ className: "videoPublishAccountManageHome",
97
+ children: [/*#__PURE__*/_jsx(HomePageAccountList, {
98
+ apiUrl: apiUrl,
99
+ env: env,
100
+ onListData: function onListData(list) {
101
+ // accountListDataRef.current = list;
102
+ // setAccountListData( list )
103
+ },
104
+ onCurrent: function onCurrent(userInfo) {
105
+ return setAccountDetail(userInfo);
106
+ }
107
+ }), /*#__PURE__*/_jsx("div", {
108
+ className: "contents",
109
+ children: accountDetail.id <= 0 ? canPublish ? /*#__PURE__*/_jsx(Empty, {
110
+ description: "\u8BF7\u9009\u62E9\u8D26\u53F7",
111
+ image: Empty.PRESENTED_IMAGE_SIMPLE
112
+ }) : /*#__PURE__*/_jsx(Result, {
113
+ status: "403"
114
+ // title="没有自动发布权限,只支持多账户管理"
115
+ ,
116
+ title: "\u4E0B\u4E00\u7248\u672C\uFF0C\u5373\u5C06\u53D1\u5E03"
117
+ // subTitle="如有需要,请联系管理员开通"
118
+ ,
119
+ extra: [/*#__PURE__*/_jsx(_Fragment, {})]
120
+ }) : /*#__PURE__*/_jsxs(Card, {
121
+ title: "\u89C6\u9891\u8D26\u53F7\u4FE1\u606F",
122
+ size: "small",
123
+ className: "userInfoCard",
124
+ extra: /*#__PURE__*/_jsx(Dropdown, {
125
+ placement: "top",
126
+ menu: {
127
+ items: openMenuItems,
128
+ onClick: function onClick(e) {
129
+ return onOpen(e.key);
130
+ }
131
+ },
132
+ children: /*#__PURE__*/_jsx(Button, {
133
+ icon: /*#__PURE__*/_jsx(PlusCircleOutlined, {}),
134
+ type: "primary",
135
+ size: "small",
136
+ children: "\u6D4F\u89C8\u5668"
137
+ })
138
+ }),
139
+ children: [/*#__PURE__*/_jsxs("div", {
140
+ className: "userInfo",
141
+ children: [/*#__PURE__*/_jsx("div", {
142
+ className: "avatar",
143
+ children: /*#__PURE__*/_jsx(Avatar, {
144
+ size: 40,
145
+ shape: "circle",
146
+ className: "avatarBox",
147
+ src: accountDetail.avatar
148
+ })
149
+ }), /*#__PURE__*/_jsxs("div", {
150
+ className: "info",
151
+ children: [/*#__PURE__*/_jsx("strong", {
152
+ className: "nickname",
153
+ children: accountDetail.nickname || '-'
154
+ }), /*#__PURE__*/_jsx("div", {
155
+ className: "userId",
156
+ children: accountDetail.uniqueId
157
+ })]
158
+ })]
159
+ }), /*#__PURE__*/_jsx(Descriptions, {
160
+ column: 2
161
+ // bordered={ true }
162
+ // title="User Info"
163
+ ,
164
+ items: items
165
+ })]
166
+ })
167
+ })]
168
+ });
169
+ };
170
+ export default VideoPublishAccountManageHomePage;
@@ -0,0 +1,58 @@
1
+ .videoPublishAccountManageHome{
2
+ margin: -12px 0 0 0;
3
+ padding: 0;
4
+ display: flex;
5
+ flex-direction: row;
6
+ height: 100%;
7
+
8
+ .homeIcon{
9
+ margin-left: 12px;
10
+ }
11
+ .contents{
12
+ flex: 2;
13
+ padding: 8px 12px 12px;
14
+ overflow: hidden;
15
+ height: 100%;
16
+ .userInfoCard{
17
+ max-width: 520px;
18
+ }
19
+ .userInfo{
20
+ display: flex;
21
+ flex-direction: row;
22
+ margin: 0 0 16px 0;
23
+ .avatar{
24
+ margin: 0 12px 0 0;
25
+ //box-shadow: 0 0 3px #d6d4d4;
26
+ //border-radius: 100px;
27
+ }
28
+ .names{
29
+ max-width: 30vw;
30
+ margin: 0 0 0 8px;
31
+ .label{
32
+ color: #888;
33
+ }
34
+ .nickname{
35
+ display: inline-block;
36
+ text-overflow: ellipsis;
37
+ white-space: nowrap;
38
+ word-break: keep-all;
39
+ overflow: hidden;
40
+ //max-height: 20px;
41
+ max-width: 30vw;
42
+ vertical-align: middle;
43
+ }
44
+ .id{
45
+ background-color: #96cbff;
46
+ padding: 0 3px;
47
+ margin: 0 5px 0 0;
48
+ color: #FFF;
49
+ line-height: 1em;
50
+ font-size: 12px;
51
+ border-radius: 3px;
52
+
53
+ }
54
+ }
55
+ }
56
+
57
+ }
58
+ }
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const VideoPublishAccountManagePage: () => import("react/jsx-runtime").JSX.Element;
3
+ export default VideoPublishAccountManagePage;
@@ -0,0 +1,56 @@
1
+ import React from 'react';
2
+ import "./index.less";
3
+ import { jsx as _jsx } from "react/jsx-runtime";
4
+ var VideoPublishAccountManagePage = function VideoPublishAccountManagePage() {
5
+ // const MenuAllList = [
6
+ // {
7
+ // key: 'long-video-sales-create',
8
+ // icon: <VideoCameraAddOutlined />,
9
+ // label: '账号管理',
10
+ // children: (
11
+ // <AccountManageHomePage
12
+ // />
13
+ // ),
14
+ // },
15
+ //
16
+ // ];
17
+ //
18
+ // const [ menuList, setMenuList ] = useState<MenuList[]>([]);
19
+ //
20
+ // const [ activeKey, setActiveKey ] = useState('');
21
+ // const [ tabsItems, setTabsItems ] = useState<TabsProps['items']>([]);
22
+ //
23
+ // const onMenu = ( key: string ) => {
24
+ // setActiveKey( key );
25
+ // }
26
+ //
27
+ // const onInit = () => {
28
+ // const tabsItems: TabsProps['items'] = [];
29
+ // const menuList: MenuList[] = [];
30
+ // MenuAllList.forEach( items => {
31
+ //
32
+ // tabsItems.push( items );
33
+ //
34
+ // menuList.push({
35
+ // key: items.key,
36
+ // icon: items.icon,
37
+ // label: items.label,
38
+ // });
39
+ // });
40
+ //
41
+ //
42
+ // setTabsItems([...tabsItems]);
43
+ // setMenuList([...menuList]);
44
+ //
45
+ // setActiveKey( menuList[0]?.key || '' );
46
+ // }
47
+ //
48
+ // useEffect(() => {
49
+ // onInit();
50
+ // }, []);
51
+
52
+ return /*#__PURE__*/_jsx("div", {
53
+ className: "videoPublishAccountManage"
54
+ });
55
+ };
56
+ export default VideoPublishAccountManagePage;
@@ -0,0 +1,59 @@
1
+ .videoPublishAccountManage{
2
+ padding: 0;
3
+ display: flex;
4
+ flex-direction: row;
5
+ height: 100%;
6
+
7
+ .menu{
8
+ width: 180px;
9
+ margin: 0 0 0 0;
10
+ padding: 0 10px 0 0;
11
+ border-right: 1px solid #E8E8E8;
12
+ :global{
13
+ .ant-menu-light{
14
+ background-color: transparent !important;
15
+ border-right: none !important;
16
+ }
17
+ }
18
+ }
19
+
20
+ .pageContents{
21
+ flex: 1;
22
+ padding: 12px 8px;
23
+ overflow-y: auto;
24
+ :global{
25
+ .my-tabs{
26
+ width: 100%;
27
+ > .ant-tabs-nav{
28
+ display: none;
29
+ }
30
+ }
31
+ }
32
+ //}
33
+ //.contents{
34
+ // flex: 2;
35
+ // padding: 8px 12px 12px;
36
+ // overflow: hidden;
37
+ // border-bottom-left-radius: 6px;
38
+ // border-bottom-right-radius: 6px;
39
+ // height: 100%;
40
+ //
41
+ // :global{
42
+ // .ant-tabs-card >.ant-tabs-nav .ant-tabs-tab{
43
+ // padding: 1px 10px;
44
+ // }
45
+ // .ant-tabs-top >.ant-tabs-nav{
46
+ // margin: 0;
47
+ // }
48
+ // .ant-tabs-content-holder{
49
+ // background-color: #FFF;
50
+ // }
51
+ // .ant-tabs-content{
52
+ // height: 100%;
53
+ // }
54
+ // .ant-tabs-tabpane{
55
+ // height: 100%;
56
+ // }
57
+ // }
58
+ }
59
+ }
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import './list.less';
3
+ interface Props {
4
+ apiUrl: string;
5
+ env?: Global.Env;
6
+ onListData: (list: VideoPublishVideoAccount.List[]) => void;
7
+ onCurrent: (detail: VideoPublishVideoAccount.List) => void;
8
+ }
9
+ declare const HomePageAccountList: React.FC<Props>;
10
+ export default HomePageAccountList;