component-shipinlv 2.3.7 → 2.3.8
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/dist/Auth/index.js +4 -4
- package/dist/PhonePublish/account-manage/home.d.ts +11 -0
- package/dist/PhonePublish/account-manage/home.js +243 -0
- package/dist/PhonePublish/account-manage/home.less +28 -0
- package/dist/PhonePublish/account-manage/index.d.ts +3 -0
- package/dist/PhonePublish/account-manage/index.js +56 -0
- package/dist/PhonePublish/account-manage/index.less +59 -0
- package/dist/PhonePublish/account-manage/list.d.ts +17 -0
- package/dist/PhonePublish/account-manage/list.js +443 -0
- package/dist/PhonePublish/account-manage/list.less +95 -0
- package/dist/PhonePublish/account-manage/setting/index.d.ts +6 -0
- package/dist/PhonePublish/account-manage/setting/index.js +199 -0
- package/dist/PhonePublish/account-manage/setting/index.less +11 -0
- package/dist/PhonePublish/create-task/base/index.d.ts +10 -0
- package/dist/PhonePublish/create-task/base/index.js +386 -0
- package/dist/PhonePublish/create-task/base/index.less +64 -0
- package/dist/PhonePublish/create-task/getVideoGoodsUrl.d.ts +2 -0
- package/dist/PhonePublish/create-task/getVideoGoodsUrl.js +136 -0
- package/dist/PhonePublish/create-task/hour-enabled.d.ts +9 -0
- package/dist/PhonePublish/create-task/hour-enabled.js +42 -0
- package/dist/PhonePublish/create-task/hour-enabled.less +24 -0
- package/dist/PhonePublish/create-task/index.d.ts +11 -0
- package/dist/PhonePublish/create-task/index.js +449 -0
- package/dist/PhonePublish/create-task/index.less +75 -0
- package/dist/PhonePublish/create-task/select-list.css.d.ts +5 -0
- package/dist/PhonePublish/create-task/select-list.css.js +6 -0
- package/dist/PhonePublish/create-task/select-list.d.ts +8 -0
- package/dist/PhonePublish/create-task/select-list.js +304 -0
- package/dist/PhonePublish/create-task/task-list.css.d.ts +5 -0
- package/dist/PhonePublish/create-task/task-list.css.js +6 -0
- package/dist/PhonePublish/create-task/task-list.d.ts +9 -0
- package/dist/PhonePublish/create-task/task-list.js +323 -0
- package/dist/PhonePublish/index.css.d.ts +2 -0
- package/dist/PhonePublish/index.css.js +35 -0
- package/dist/PhonePublish/index.d.ts +15 -0
- package/dist/PhonePublish/index.js +191 -0
- package/dist/PhonePublish/index.less +55 -0
- package/dist/PhonePublish/lib/chrome-quit.d.ts +2 -0
- package/dist/PhonePublish/lib/chrome-quit.js +20 -0
- package/dist/PhonePublish/log/index.d.ts +8 -0
- package/dist/PhonePublish/log/index.js +186 -0
- package/dist/PhonePublish/log/index.less +81 -0
- package/dist/PhonePublish/publish-task-plan/index.d.ts +9 -0
- package/dist/PhonePublish/publish-task-plan/index.js +32 -0
- package/dist/PhonePublish/publish-task-plan/index.less +4 -0
- package/dist/PhonePublish/publish-task-plan/tool-bak.txt +219 -0
- package/dist/PhonePublish/publish-task-plan/tool.d.ts +29 -0
- package/dist/PhonePublish/publish-task-plan/tool.js +720 -0
- package/dist/PhonePublish/task-list/index.d.ts +8 -0
- package/dist/PhonePublish/task-list/index.js +224 -0
- package/dist/PhonePublish/task-list/index.less +8 -0
- package/dist/PhonePublish/task-list/plan/list.d.ts +12 -0
- package/dist/PhonePublish/task-list/plan/list.js +290 -0
- package/dist/PhonePublish/task-list/plan/list.less +87 -0
- package/dist/PhonePublish/task-list/plan/operate.d.ts +8 -0
- package/dist/PhonePublish/task-list/plan/operate.js +145 -0
- package/dist/PhonePublish/task-list/plan/query.d.ts +8 -0
- package/dist/PhonePublish/task-list/plan/query.js +89 -0
- package/dist/PhonePublish/task-list/plan/query.less +9 -0
- package/dist/PhonePublish/task-list/plan/status.d.ts +13 -0
- package/dist/PhonePublish/task-list/plan/status.js +53 -0
- package/dist/PhonePublish/task-list/query.d.ts +8 -0
- package/dist/PhonePublish/task-list/query.js +76 -0
- package/dist/PhonePublish/task-list/query.less +19 -0
- package/dist/PhonePublish/task-list/who-can-view.d.ts +12 -0
- package/dist/PhonePublish/task-list/who-can-view.js +37 -0
- package/dist/PhonePublish/video-account/ban/index.d.ts +10 -0
- package/dist/PhonePublish/video-account/ban/index.js +94 -0
- package/dist/PhonePublish/video-account/ban/index.less +4 -0
- package/dist/PhonePublish/video-account/base-info.d.ts +13 -0
- package/dist/PhonePublish/video-account/base-info.js +75 -0
- package/dist/PhonePublish/video-account/base-info.less +92 -0
- package/dist/PhonePublish/video-account/create.d.ts +8 -0
- package/dist/PhonePublish/video-account/create.js +174 -0
- package/dist/PhonePublish/video-account/group.d.ts +9 -0
- package/dist/PhonePublish/video-account/group.js +255 -0
- package/dist/PhonePublish/video-account/group.less +10 -0
- package/dist/PhonePublish/video-account/index.d.ts +8 -0
- package/dist/PhonePublish/video-account/index.js +403 -0
- package/dist/PhonePublish/video-account/index.less +92 -0
- package/dist/PhonePublish/video-account/query.d.ts +8 -0
- package/dist/PhonePublish/video-account/query.js +115 -0
- package/dist/PhonePublish/video-account/query.less +18 -0
- package/dist/PhonePublish/video-publish-statistic/account-trend/index.d.ts +8 -0
- package/dist/PhonePublish/video-publish-statistic/account-trend/index.js +173 -0
- package/dist/PhonePublish/video-publish-statistic/account-trend/index.less +3 -0
- package/dist/PhonePublish/video-publish-statistic/account-trend/kind-list.d.ts +7 -0
- package/dist/PhonePublish/video-publish-statistic/account-trend/kind-list.js +22 -0
- package/dist/PhonePublish/video-publish-statistic/account-trend/query.d.ts +9 -0
- package/dist/PhonePublish/video-publish-statistic/account-trend/query.js +54 -0
- package/dist/PhonePublish/video-publish-statistic/account-trend/query.less +3 -0
- package/dist/PhonePublish/video-publish-statistic/index.d.ts +2 -0
- package/dist/PhonePublish/video-publish-statistic/index.js +37 -0
- package/dist/PhonePublish/video-publish-statistic/kind.d.ts +16 -0
- package/dist/PhonePublish/video-publish-statistic/kind.js +57 -0
- package/dist/PhonePublish/video-publish-statistic/operation/list.d.ts +7 -0
- package/dist/PhonePublish/video-publish-statistic/operation/list.js +242 -0
- package/dist/PhonePublish/video-publish-statistic/operation/list.less +10 -0
- package/dist/PhonePublish/video-publish-statistic/operation/query.d.ts +8 -0
- package/dist/PhonePublish/video-publish-statistic/operation/query.js +56 -0
- package/dist/PhonePublish/video-publish-statistic/operation/query.less +3 -0
- package/dist/PhonePublish/video-publish-statistic/publish-plan/list.d.ts +8 -0
- package/dist/PhonePublish/video-publish-statistic/publish-plan/list.js +257 -0
- package/dist/PhonePublish/video-publish-statistic/publish-plan/list.less +105 -0
- package/dist/PhonePublish/video-publish-statistic/publish-plan/query.d.ts +9 -0
- package/dist/PhonePublish/video-publish-statistic/publish-plan/query.js +79 -0
- package/dist/PhonePublish/video-publish-statistic/publish-plan/query.less +3 -0
- package/dist/VideoPublish/account-manage/list.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/phone/index.d.ts +8 -0
- package/dist/phone/index.js +62 -0
- package/dist/phone/index.less +170 -0
- package/package.json +1 -1
package/dist/Auth/index.js
CHANGED
@@ -18,8 +18,8 @@ import QRCode from 'qrcode.react';
|
|
18
18
|
import h5WePublicLogin from "../AuthClient/qr/h5-we-public-login";
|
19
19
|
import Tool from "../lib/Tool";
|
20
20
|
import { jsx as _jsx } from "react/jsx-runtime";
|
21
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
22
21
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
22
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
23
23
|
var reTryMaxCount = 120;
|
24
24
|
var reTryTimeLoop = 1000; // ms
|
25
25
|
var FromWhere = 'web';
|
@@ -275,10 +275,10 @@ var Auth = function Auth(_ref) {
|
|
275
275
|
}, []);
|
276
276
|
return /*#__PURE__*/_jsxs(styles.AuthQrLogin, {
|
277
277
|
children: [/*#__PURE__*/_jsxs(styles.LoginForm, {
|
278
|
-
children: [/*#__PURE__*/
|
279
|
-
children:
|
278
|
+
children: [/*#__PURE__*/_jsx(styles.WebTitle, {
|
279
|
+
children: /*#__PURE__*/_jsx("span", {
|
280
280
|
children: "\u767B\u5F55/\u6CE8\u518C"
|
281
|
-
})
|
281
|
+
})
|
282
282
|
}), /*#__PURE__*/_jsxs(Tabs, {
|
283
283
|
activeKey: activeKey,
|
284
284
|
onChange: function onChange(keyName) {
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import './home.less';
|
3
|
+
interface Props {
|
4
|
+
apiUrl: string;
|
5
|
+
env?: Global.Env;
|
6
|
+
notVip: boolean;
|
7
|
+
onMenu: (key: string) => void;
|
8
|
+
canPublish?: boolean;
|
9
|
+
}
|
10
|
+
declare const VideoPublishAccountManageHomePage: React.FC<Props>;
|
11
|
+
export default VideoPublishAccountManageHomePage;
|
@@ -0,0 +1,243 @@
|
|
1
|
+
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
2
|
+
import React, { useState } from 'react';
|
3
|
+
import { Button, Divider, Empty, Form, Input, Result, Space } from 'antd';
|
4
|
+
import "./home.less";
|
5
|
+
import { VideoPlatform } from "../..";
|
6
|
+
import HomePageAccountList from "./list";
|
7
|
+
import Time from "../../UI/Time";
|
8
|
+
import Tool from "../../lib/Tool";
|
9
|
+
import openChrome from "../../lib/openChrome";
|
10
|
+
import AccountManageSettingConfig from "../../lib/accountManageSettingConfig";
|
11
|
+
import IPhone from "../../phone";
|
12
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
13
|
+
import { Fragment as _Fragment } from "react/jsx-runtime";
|
14
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
15
|
+
var VideoPublishAccountManageHomePage = function VideoPublishAccountManageHomePage(_ref) {
|
16
|
+
var apiUrl = _ref.apiUrl,
|
17
|
+
env = _ref.env,
|
18
|
+
notVip = _ref.notVip,
|
19
|
+
onMenu = _ref.onMenu,
|
20
|
+
canPublish = _ref.canPublish;
|
21
|
+
var _useState = useState({
|
22
|
+
isBan: false,
|
23
|
+
videoFromFolder: "",
|
24
|
+
id: 0,
|
25
|
+
userId: 0,
|
26
|
+
platform: 'douyin',
|
27
|
+
groupId: 0,
|
28
|
+
uniqueId: '',
|
29
|
+
accountId: '',
|
30
|
+
avatar: '',
|
31
|
+
bindPhone: '',
|
32
|
+
groupName: "",
|
33
|
+
nicknameRemark: "",
|
34
|
+
nickname: '',
|
35
|
+
signature: '',
|
36
|
+
isLoginValid: false,
|
37
|
+
followerCount: 0,
|
38
|
+
followingCount: 0,
|
39
|
+
favoritedCount: 0,
|
40
|
+
videoCount: 0,
|
41
|
+
created: 0,
|
42
|
+
updated: 0,
|
43
|
+
chromeProfileName: '',
|
44
|
+
enabledActiveAccountMode: true,
|
45
|
+
proxyInfo: {}
|
46
|
+
}),
|
47
|
+
_useState2 = _slicedToArray(_useState, 2),
|
48
|
+
accountDetail = _useState2[0],
|
49
|
+
setAccountDetail = _useState2[1];
|
50
|
+
var items = [{
|
51
|
+
key: 'platform',
|
52
|
+
label: '平台',
|
53
|
+
children: /*#__PURE__*/_jsx(VideoPlatform, {
|
54
|
+
platform: accountDetail.platform,
|
55
|
+
showName: true
|
56
|
+
})
|
57
|
+
}, {
|
58
|
+
key: 'bindPhone',
|
59
|
+
label: '手机',
|
60
|
+
children: accountDetail.bindPhone
|
61
|
+
}, {
|
62
|
+
key: 'followerCount',
|
63
|
+
label: '粉丝',
|
64
|
+
children: accountDetail.followerCount
|
65
|
+
}, {
|
66
|
+
key: 'followingCount',
|
67
|
+
label: '关注',
|
68
|
+
children: accountDetail.followingCount
|
69
|
+
}, {
|
70
|
+
key: 'favoritedCount',
|
71
|
+
label: '收藏',
|
72
|
+
children: accountDetail.favoritedCount
|
73
|
+
}, {
|
74
|
+
key: 'videoCount',
|
75
|
+
label: '视频数',
|
76
|
+
children: accountDetail.videoCount
|
77
|
+
}, {
|
78
|
+
key: 'created',
|
79
|
+
label: '初次登录',
|
80
|
+
children: /*#__PURE__*/_jsx(Time, {
|
81
|
+
time: accountDetail.created
|
82
|
+
})
|
83
|
+
}, {
|
84
|
+
key: 'updated',
|
85
|
+
label: '最后更新',
|
86
|
+
children: /*#__PURE__*/_jsx(Time, {
|
87
|
+
time: accountDetail.updated
|
88
|
+
})
|
89
|
+
}, {
|
90
|
+
key: 'signature',
|
91
|
+
label: '个性签名',
|
92
|
+
children: accountDetail.signature
|
93
|
+
}];
|
94
|
+
var _useState3 = useState([]),
|
95
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
96
|
+
openMenuItems = _useState4[0],
|
97
|
+
setOpenMenuItems = _useState4[1];
|
98
|
+
var onOpen = function onOpen(key) {
|
99
|
+
// window.getBridge()?.openVideoAccountBrowser(
|
100
|
+
// accountDetail.platform,
|
101
|
+
// '',
|
102
|
+
// accountDetail.accountId,
|
103
|
+
// url,
|
104
|
+
// accountDetail.proxyInfo,
|
105
|
+
// );
|
106
|
+
var settingConfig = AccountManageSettingConfig();
|
107
|
+
var openUrl = '';
|
108
|
+
switch (key) {
|
109
|
+
case 'douyin-create':
|
110
|
+
openUrl = 'https://creator.douyin.com/creator-micro/content/manage';
|
111
|
+
break;
|
112
|
+
case 'kuaishou-create':
|
113
|
+
openUrl = 'https://cp.kuaishou.com/article/manage/video';
|
114
|
+
break;
|
115
|
+
}
|
116
|
+
openChrome({
|
117
|
+
action: 'view',
|
118
|
+
platform: accountDetail.platform,
|
119
|
+
platformAccountId: accountDetail.accountId,
|
120
|
+
nickname: accountDetail.nickname,
|
121
|
+
chromeProfileName: accountDetail.chromeProfileName,
|
122
|
+
taskId: 0,
|
123
|
+
url: openUrl,
|
124
|
+
proxyInfo: accountDetail.proxyInfo,
|
125
|
+
isOpen: true
|
126
|
+
}, false, env);
|
127
|
+
Tool.toast('正在打开浏览器, 请稍等...', 12);
|
128
|
+
};
|
129
|
+
var onOpenMenuItems = function onOpenMenuItems(platform) {
|
130
|
+
switch (platform) {
|
131
|
+
case 'douyin':
|
132
|
+
setOpenMenuItems([{
|
133
|
+
label: '创作者中心(发视频)',
|
134
|
+
key: 'douyin-create'
|
135
|
+
}]);
|
136
|
+
break;
|
137
|
+
case 'kuaishou':
|
138
|
+
setOpenMenuItems([{
|
139
|
+
label: '快手-创作者中心',
|
140
|
+
key: 'kuaishou-create'
|
141
|
+
}]);
|
142
|
+
break;
|
143
|
+
case 'tiktok':
|
144
|
+
setOpenMenuItems([{
|
145
|
+
label: 'Tiktok',
|
146
|
+
key: 'https://www.tiktok.com/'
|
147
|
+
}]);
|
148
|
+
break;
|
149
|
+
}
|
150
|
+
};
|
151
|
+
var MainKeyList = [
|
152
|
+
// 主屏幕 重启 回车键 打开键盘 复制 粘贴 剪切 全选 删除
|
153
|
+
{
|
154
|
+
command: 'main-screen',
|
155
|
+
label: '主屏幕'
|
156
|
+
}, {
|
157
|
+
command: 'reboot',
|
158
|
+
label: '重启'
|
159
|
+
}, {
|
160
|
+
command: 'keybo',
|
161
|
+
label: '打开键盘'
|
162
|
+
}, {
|
163
|
+
command: 'copy',
|
164
|
+
label: '复制'
|
165
|
+
}, {
|
166
|
+
command: 'paste',
|
167
|
+
label: '粘贴'
|
168
|
+
}, {
|
169
|
+
command: 'cut',
|
170
|
+
label: '剪切'
|
171
|
+
}, {
|
172
|
+
command: 'enter',
|
173
|
+
label: '回车键'
|
174
|
+
}, {
|
175
|
+
command: 'select-all',
|
176
|
+
label: '全选'
|
177
|
+
}, {
|
178
|
+
command: 'delete',
|
179
|
+
label: '删除'
|
180
|
+
}];
|
181
|
+
return /*#__PURE__*/_jsxs("div", {
|
182
|
+
className: "phonePublishHome",
|
183
|
+
children: [/*#__PURE__*/_jsx(HomePageAccountList, {
|
184
|
+
apiUrl: apiUrl,
|
185
|
+
env: env,
|
186
|
+
notVip: notVip,
|
187
|
+
currentAccountDetail: accountDetail,
|
188
|
+
onListData: function onListData(list) {
|
189
|
+
// accountListDataRef.current = list;
|
190
|
+
// setAccountListData( list )
|
191
|
+
},
|
192
|
+
onMenu: onMenu,
|
193
|
+
onCurrent: function onCurrent(detail) {
|
194
|
+
setAccountDetail(detail);
|
195
|
+
onOpenMenuItems(detail.platform);
|
196
|
+
}
|
197
|
+
}), /*#__PURE__*/_jsx("div", {
|
198
|
+
className: "contents",
|
199
|
+
children: accountDetail.id <= 0 ? canPublish ? /*#__PURE__*/_jsx(Empty, {
|
200
|
+
description: "\u8BF7\u9009\u62E9\u8D26\u53F7",
|
201
|
+
image: Empty.PRESENTED_IMAGE_SIMPLE
|
202
|
+
}) : /*#__PURE__*/_jsx(Result, {
|
203
|
+
status: "403",
|
204
|
+
title: "\u6CA1\u6709\u81EA\u52A8\u53D1\u5E03\u6743\u9650\uFF0C\u8054\u7CFB\u4EE3\u7406\u8D2D\u4E70\u6FC0\u6D3B\u7801"
|
205
|
+
// title="下一版本,即将发布"
|
206
|
+
// subTitle="如有需要,请联系管理员开通"
|
207
|
+
,
|
208
|
+
extra: [/*#__PURE__*/_jsx(_Fragment, {})]
|
209
|
+
}) : /*#__PURE__*/_jsxs("div", {
|
210
|
+
className: "phoneContents",
|
211
|
+
children: [/*#__PURE__*/_jsx("div", {
|
212
|
+
className: "iPhone",
|
213
|
+
children: /*#__PURE__*/_jsx(IPhone, {})
|
214
|
+
}), /*#__PURE__*/_jsxs("div", {
|
215
|
+
className: "controlBox",
|
216
|
+
children: [/*#__PURE__*/_jsx(Divider, {
|
217
|
+
orientation: "left",
|
218
|
+
children: "\u70ED\u952E"
|
219
|
+
}), /*#__PURE__*/_jsx(Space, {
|
220
|
+
wrap: true,
|
221
|
+
children: MainKeyList.map(function (item, i) {
|
222
|
+
return /*#__PURE__*/_jsx(Button, {
|
223
|
+
children: item.label
|
224
|
+
}, item.command);
|
225
|
+
})
|
226
|
+
}), /*#__PURE__*/_jsx(Divider, {
|
227
|
+
orientation: "left",
|
228
|
+
children: "\u7535\u8111\u53D1\u9001\u6587\u672C\u624B\u673A"
|
229
|
+
}), /*#__PURE__*/_jsx(Form.Item, {
|
230
|
+
children: /*#__PURE__*/_jsx(Input.TextArea, {
|
231
|
+
autoSize: {
|
232
|
+
minRows: 3
|
233
|
+
}
|
234
|
+
})
|
235
|
+
}), /*#__PURE__*/_jsx(Button, {
|
236
|
+
children: "\u53D1\u9001\u5230\u624B\u673A"
|
237
|
+
})]
|
238
|
+
})]
|
239
|
+
})
|
240
|
+
})]
|
241
|
+
});
|
242
|
+
};
|
243
|
+
export default VideoPublishAccountManageHomePage;
|
@@ -0,0 +1,28 @@
|
|
1
|
+
.phonePublishHome{
|
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
|
+
.phoneContents{
|
17
|
+
display: flex;
|
18
|
+
flex-direction: row;
|
19
|
+
.iPhone{
|
20
|
+
width: 375px;
|
21
|
+
}
|
22
|
+
.controlBox{
|
23
|
+
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
}
|
28
|
+
}
|
@@ -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,17 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import './list.less';
|
3
|
+
interface Props {
|
4
|
+
apiUrl: string;
|
5
|
+
env?: Global.Env;
|
6
|
+
notVip: boolean;
|
7
|
+
currentAccountDetail: VideoPublishVideoAccount.List;
|
8
|
+
onMenu: (key: string) => void;
|
9
|
+
disabledDel?: boolean;
|
10
|
+
disabledAdd?: boolean;
|
11
|
+
disabledAddProxy?: boolean;
|
12
|
+
addonButton?: React.ReactNode;
|
13
|
+
onListData: (list: VideoPublishVideoAccount.List[]) => void;
|
14
|
+
onCurrent: (detail: VideoPublishVideoAccount.List) => void;
|
15
|
+
}
|
16
|
+
declare const HomePageAccountList: React.FC<Props>;
|
17
|
+
export default HomePageAccountList;
|