component-sanzhizhou 1.0.0 → 1.0.2
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.d.ts → AuthClient/reg.d.ts} +6 -9
- package/dist/AuthClient/reg.js +8 -11
- package/dist/component/markdown/index.js +0 -4
- package/dist/config/apiUrls.d.ts +9 -0
- package/dist/config/apiUrls.js +6 -14
- package/dist/index.d.ts +0 -17
- package/dist/index.js +0 -19
- package/package.json +1 -2
- package/dist/Auth/index.js +0 -374
- package/dist/PhonePublish/account-manage/home.d.ts +0 -11
- package/dist/PhonePublish/account-manage/home.js +0 -242
- package/dist/PhonePublish/account-manage/home.less +0 -28
- package/dist/PhonePublish/account-manage/index.d.ts +0 -3
- package/dist/PhonePublish/account-manage/index.js +0 -56
- package/dist/PhonePublish/account-manage/index.less +0 -59
- package/dist/PhonePublish/account-manage/list.d.ts +0 -17
- package/dist/PhonePublish/account-manage/list.js +0 -443
- package/dist/PhonePublish/account-manage/list.less +0 -95
- package/dist/PhonePublish/account-manage/setting/index.d.ts +0 -6
- package/dist/PhonePublish/account-manage/setting/index.js +0 -199
- package/dist/PhonePublish/account-manage/setting/index.less +0 -11
- package/dist/PhonePublish/create-task/base/index.d.ts +0 -10
- package/dist/PhonePublish/create-task/base/index.js +0 -386
- package/dist/PhonePublish/create-task/base/index.less +0 -64
- package/dist/PhonePublish/create-task/getVideoGoodsUrl.d.ts +0 -2
- package/dist/PhonePublish/create-task/getVideoGoodsUrl.js +0 -136
- package/dist/PhonePublish/create-task/hour-enabled.js +0 -42
- package/dist/PhonePublish/create-task/hour-enabled.less +0 -24
- package/dist/PhonePublish/create-task/index.d.ts +0 -11
- package/dist/PhonePublish/create-task/index.js +0 -449
- package/dist/PhonePublish/create-task/index.less +0 -75
- package/dist/PhonePublish/create-task/select-list.css.js +0 -6
- package/dist/PhonePublish/create-task/select-list.d.ts +0 -8
- package/dist/PhonePublish/create-task/select-list.js +0 -304
- package/dist/PhonePublish/create-task/task-list.css.js +0 -6
- package/dist/PhonePublish/create-task/task-list.d.ts +0 -9
- package/dist/PhonePublish/create-task/task-list.js +0 -323
- package/dist/PhonePublish/index.css.js +0 -35
- package/dist/PhonePublish/index.d.ts +0 -15
- package/dist/PhonePublish/index.js +0 -192
- package/dist/PhonePublish/index.less +0 -55
- package/dist/PhonePublish/lib/chrome-quit.js +0 -20
- package/dist/PhonePublish/log/index.d.ts +0 -8
- package/dist/PhonePublish/log/index.js +0 -186
- package/dist/PhonePublish/log/index.less +0 -81
- package/dist/PhonePublish/publish-task-plan/index.d.ts +0 -9
- package/dist/PhonePublish/publish-task-plan/index.js +0 -32
- package/dist/PhonePublish/publish-task-plan/index.less +0 -4
- package/dist/PhonePublish/publish-task-plan/tool-bak.txt +0 -219
- package/dist/PhonePublish/publish-task-plan/tool.d.ts +0 -29
- package/dist/PhonePublish/publish-task-plan/tool.js +0 -720
- package/dist/PhonePublish/task-list/index.d.ts +0 -8
- package/dist/PhonePublish/task-list/index.js +0 -224
- package/dist/PhonePublish/task-list/index.less +0 -8
- package/dist/PhonePublish/task-list/plan/list.d.ts +0 -12
- package/dist/PhonePublish/task-list/plan/list.js +0 -290
- package/dist/PhonePublish/task-list/plan/list.less +0 -87
- package/dist/PhonePublish/task-list/plan/operate.d.ts +0 -8
- package/dist/PhonePublish/task-list/plan/operate.js +0 -145
- package/dist/PhonePublish/task-list/plan/query.d.ts +0 -8
- package/dist/PhonePublish/task-list/plan/query.js +0 -89
- package/dist/PhonePublish/task-list/plan/query.less +0 -9
- package/dist/PhonePublish/task-list/plan/status.js +0 -53
- package/dist/PhonePublish/task-list/query.js +0 -76
- package/dist/PhonePublish/task-list/query.less +0 -19
- package/dist/PhonePublish/task-list/who-can-view.js +0 -37
- package/dist/PhonePublish/video-account/ban/index.d.ts +0 -10
- package/dist/PhonePublish/video-account/ban/index.js +0 -94
- package/dist/PhonePublish/video-account/ban/index.less +0 -4
- package/dist/PhonePublish/video-account/base-info.d.ts +0 -13
- package/dist/PhonePublish/video-account/base-info.js +0 -75
- package/dist/PhonePublish/video-account/base-info.less +0 -92
- package/dist/PhonePublish/video-account/create.d.ts +0 -8
- package/dist/PhonePublish/video-account/create.js +0 -174
- package/dist/PhonePublish/video-account/group.d.ts +0 -9
- package/dist/PhonePublish/video-account/group.js +0 -255
- package/dist/PhonePublish/video-account/group.less +0 -10
- package/dist/PhonePublish/video-account/index.d.ts +0 -8
- package/dist/PhonePublish/video-account/index.js +0 -403
- package/dist/PhonePublish/video-account/index.less +0 -92
- package/dist/PhonePublish/video-account/query.d.ts +0 -8
- package/dist/PhonePublish/video-account/query.js +0 -115
- package/dist/PhonePublish/video-account/query.less +0 -18
- package/dist/PhonePublish/video-publish-statistic/account-trend/index.d.ts +0 -8
- package/dist/PhonePublish/video-publish-statistic/account-trend/index.js +0 -173
- package/dist/PhonePublish/video-publish-statistic/account-trend/index.less +0 -3
- package/dist/PhonePublish/video-publish-statistic/account-trend/kind-list.js +0 -22
- package/dist/PhonePublish/video-publish-statistic/account-trend/query.js +0 -54
- package/dist/PhonePublish/video-publish-statistic/account-trend/query.less +0 -3
- package/dist/PhonePublish/video-publish-statistic/index.d.ts +0 -2
- package/dist/PhonePublish/video-publish-statistic/index.js +0 -37
- package/dist/PhonePublish/video-publish-statistic/kind.js +0 -57
- package/dist/PhonePublish/video-publish-statistic/operation/list.d.ts +0 -7
- package/dist/PhonePublish/video-publish-statistic/operation/list.js +0 -242
- package/dist/PhonePublish/video-publish-statistic/operation/list.less +0 -10
- package/dist/PhonePublish/video-publish-statistic/operation/query.js +0 -56
- package/dist/PhonePublish/video-publish-statistic/operation/query.less +0 -3
- package/dist/PhonePublish/video-publish-statistic/publish-plan/list.d.ts +0 -8
- package/dist/PhonePublish/video-publish-statistic/publish-plan/list.js +0 -257
- package/dist/PhonePublish/video-publish-statistic/publish-plan/list.less +0 -105
- package/dist/PhonePublish/video-publish-statistic/publish-plan/query.js +0 -79
- package/dist/PhonePublish/video-publish-statistic/publish-plan/query.less +0 -3
- package/dist/VideoPublish/account-manage/home.d.ts +0 -11
- package/dist/VideoPublish/account-manage/home.js +0 -232
- package/dist/VideoPublish/account-manage/home.less +0 -58
- package/dist/VideoPublish/account-manage/index.d.ts +0 -3
- package/dist/VideoPublish/account-manage/index.js +0 -56
- package/dist/VideoPublish/account-manage/index.less +0 -59
- package/dist/VideoPublish/account-manage/list.d.ts +0 -17
- package/dist/VideoPublish/account-manage/list.js +0 -501
- package/dist/VideoPublish/account-manage/list.less +0 -95
- package/dist/VideoPublish/account-manage/setting/index.d.ts +0 -6
- package/dist/VideoPublish/account-manage/setting/index.js +0 -199
- package/dist/VideoPublish/account-manage/setting/index.less +0 -11
- package/dist/VideoPublish/create-task/base/index.d.ts +0 -10
- package/dist/VideoPublish/create-task/base/index.js +0 -386
- package/dist/VideoPublish/create-task/base/index.less +0 -64
- package/dist/VideoPublish/create-task/getVideoGoodsUrl.d.ts +0 -2
- package/dist/VideoPublish/create-task/getVideoGoodsUrl.js +0 -136
- package/dist/VideoPublish/create-task/hour-enabled.js +0 -42
- package/dist/VideoPublish/create-task/hour-enabled.less +0 -24
- package/dist/VideoPublish/create-task/index.d.ts +0 -11
- package/dist/VideoPublish/create-task/index.js +0 -449
- package/dist/VideoPublish/create-task/index.less +0 -75
- package/dist/VideoPublish/create-task/select-list.css.js +0 -6
- package/dist/VideoPublish/create-task/select-list.d.ts +0 -8
- package/dist/VideoPublish/create-task/select-list.js +0 -304
- package/dist/VideoPublish/create-task/task-list.css.js +0 -6
- package/dist/VideoPublish/create-task/task-list.d.ts +0 -9
- package/dist/VideoPublish/create-task/task-list.js +0 -323
- package/dist/VideoPublish/index.css.js +0 -35
- package/dist/VideoPublish/index.d.ts +0 -15
- package/dist/VideoPublish/index.js +0 -235
- package/dist/VideoPublish/index.less +0 -55
- package/dist/VideoPublish/lib/chrome-quit.js +0 -20
- package/dist/VideoPublish/log/index.d.ts +0 -8
- package/dist/VideoPublish/log/index.js +0 -186
- package/dist/VideoPublish/log/index.less +0 -81
- package/dist/VideoPublish/proxy/create.d.ts +0 -8
- package/dist/VideoPublish/proxy/create.js +0 -176
- package/dist/VideoPublish/proxy/list.d.ts +0 -9
- package/dist/VideoPublish/proxy/list.js +0 -276
- package/dist/VideoPublish/proxy/list.less +0 -10
- package/dist/VideoPublish/proxy/query.d.ts +0 -9
- package/dist/VideoPublish/proxy/query.js +0 -75
- package/dist/VideoPublish/proxy/query.less +0 -10
- package/dist/VideoPublish/proxy/select.d.ts +0 -10
- package/dist/VideoPublish/proxy/select.js +0 -110
- package/dist/VideoPublish/proxy/select.less +0 -17
- package/dist/VideoPublish/publish-task-plan/index.d.ts +0 -9
- package/dist/VideoPublish/publish-task-plan/index.js +0 -32
- package/dist/VideoPublish/publish-task-plan/index.less +0 -4
- package/dist/VideoPublish/publish-task-plan/tool-bak.txt +0 -219
- package/dist/VideoPublish/publish-task-plan/tool.d.ts +0 -29
- package/dist/VideoPublish/publish-task-plan/tool.js +0 -720
- package/dist/VideoPublish/task-list/index.d.ts +0 -8
- package/dist/VideoPublish/task-list/index.js +0 -224
- package/dist/VideoPublish/task-list/index.less +0 -8
- package/dist/VideoPublish/task-list/plan/list.d.ts +0 -12
- package/dist/VideoPublish/task-list/plan/list.js +0 -290
- package/dist/VideoPublish/task-list/plan/list.less +0 -87
- package/dist/VideoPublish/task-list/plan/operate.d.ts +0 -8
- package/dist/VideoPublish/task-list/plan/operate.js +0 -145
- package/dist/VideoPublish/task-list/plan/query.d.ts +0 -8
- package/dist/VideoPublish/task-list/plan/query.js +0 -89
- package/dist/VideoPublish/task-list/plan/query.less +0 -9
- package/dist/VideoPublish/task-list/plan/status.js +0 -53
- package/dist/VideoPublish/task-list/query.js +0 -76
- package/dist/VideoPublish/task-list/query.less +0 -19
- package/dist/VideoPublish/task-list/who-can-view.js +0 -37
- package/dist/VideoPublish/video-account/ban/index.d.ts +0 -10
- package/dist/VideoPublish/video-account/ban/index.js +0 -94
- package/dist/VideoPublish/video-account/ban/index.less +0 -4
- package/dist/VideoPublish/video-account/base-info.d.ts +0 -13
- package/dist/VideoPublish/video-account/base-info.js +0 -75
- package/dist/VideoPublish/video-account/base-info.less +0 -92
- package/dist/VideoPublish/video-account/create.d.ts +0 -8
- package/dist/VideoPublish/video-account/create.js +0 -174
- package/dist/VideoPublish/video-account/group.d.ts +0 -9
- package/dist/VideoPublish/video-account/group.js +0 -255
- package/dist/VideoPublish/video-account/group.less +0 -10
- package/dist/VideoPublish/video-account/index.d.ts +0 -8
- package/dist/VideoPublish/video-account/index.js +0 -403
- package/dist/VideoPublish/video-account/index.less +0 -92
- package/dist/VideoPublish/video-account/query.d.ts +0 -8
- package/dist/VideoPublish/video-account/query.js +0 -115
- package/dist/VideoPublish/video-account/query.less +0 -18
- package/dist/VideoPublish/video-publish-statistic/account-trend/index.d.ts +0 -8
- package/dist/VideoPublish/video-publish-statistic/account-trend/index.js +0 -173
- package/dist/VideoPublish/video-publish-statistic/account-trend/index.less +0 -3
- package/dist/VideoPublish/video-publish-statistic/account-trend/kind-list.js +0 -22
- package/dist/VideoPublish/video-publish-statistic/account-trend/query.js +0 -54
- package/dist/VideoPublish/video-publish-statistic/account-trend/query.less +0 -3
- package/dist/VideoPublish/video-publish-statistic/index.d.ts +0 -2
- package/dist/VideoPublish/video-publish-statistic/index.js +0 -37
- package/dist/VideoPublish/video-publish-statistic/kind.js +0 -57
- package/dist/VideoPublish/video-publish-statistic/operation/list.d.ts +0 -7
- package/dist/VideoPublish/video-publish-statistic/operation/list.js +0 -242
- package/dist/VideoPublish/video-publish-statistic/operation/list.less +0 -10
- package/dist/VideoPublish/video-publish-statistic/operation/query.js +0 -56
- package/dist/VideoPublish/video-publish-statistic/operation/query.less +0 -3
- package/dist/VideoPublish/video-publish-statistic/publish-plan/list.d.ts +0 -8
- package/dist/VideoPublish/video-publish-statistic/publish-plan/list.js +0 -257
- package/dist/VideoPublish/video-publish-statistic/publish-plan/list.less +0 -105
- package/dist/VideoPublish/video-publish-statistic/publish-plan/query.js +0 -79
- package/dist/VideoPublish/video-publish-statistic/publish-plan/query.less +0 -3
- package/dist/VideoPublish/video-topic/add.d.ts +0 -9
- package/dist/VideoPublish/video-topic/add.js +0 -89
- package/dist/VideoPublish/video-topic/add.less +0 -3
- package/dist/VideoPublish/video-topic/index.d.ts +0 -8
- package/dist/VideoPublish/video-topic/index.js +0 -301
- package/dist/VideoPublish/video-topic/index.less +0 -37
- package/dist/VideoPublish/video-topic/select.d.ts +0 -11
- package/dist/VideoPublish/video-topic/select.js +0 -172
- package/dist/VideoPublish/video-topic/select.less +0 -3
- package/dist/VipCompare/commend.css.js +0 -6
- package/dist/VipCompare/commend.js +0 -28
- package/dist/VipCompare/index.css.js +0 -6
- package/dist/VipCompare/index.d.ts +0 -8
- package/dist/VipCompare/index.js +0 -325
- package/dist/renewal-vip/index.d.ts +0 -2
- package/dist/renewal-vip/index.js +0 -77
- package/dist/video-study/index.d.ts +0 -11
- package/dist/video-study/index.js +0 -71
- package/dist/video-study/index.less +0 -16
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface Props {
|
|
3
|
-
productType: string;
|
|
4
|
-
apiUrl?: string;
|
|
5
|
-
clientUniqueKeyList: string[];
|
|
6
|
-
loginTypeList: Global.AuthClientLoginType[];
|
|
7
|
-
domain?: string;
|
|
8
3
|
env?: Global.Env;
|
|
9
4
|
roleType?: UserAuth.RoleType;
|
|
10
|
-
|
|
5
|
+
productType: string;
|
|
6
|
+
postData?: {
|
|
11
7
|
[name: string]: any;
|
|
12
8
|
};
|
|
13
|
-
|
|
9
|
+
clientUniqueKeyList: string[];
|
|
10
|
+
onSuccess: () => void;
|
|
14
11
|
}
|
|
15
|
-
declare const
|
|
16
|
-
export default
|
|
12
|
+
declare const Reg: React.FC<Props>;
|
|
13
|
+
export default Reg;
|
package/dist/AuthClient/reg.js
CHANGED
|
@@ -112,18 +112,15 @@ var Reg = function Reg(_ref) {
|
|
|
112
112
|
name: "accountName",
|
|
113
113
|
rules: [{
|
|
114
114
|
required: true,
|
|
115
|
-
message: '
|
|
116
|
-
},
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
// message: '这似乎不是一个电子邮箱'
|
|
123
|
-
// },
|
|
124
|
-
],
|
|
115
|
+
message: '请输入手机号码'
|
|
116
|
+
},
|
|
117
|
+
// { min: 11, message: '最短4个字符', }
|
|
118
|
+
{
|
|
119
|
+
pattern: /^1\d{2}\s*\d{4}\s*\d{4}\s*$/,
|
|
120
|
+
message: '这似乎不是大陆手机号码?'
|
|
121
|
+
}],
|
|
125
122
|
children: /*#__PURE__*/_jsx(Input, {
|
|
126
|
-
placeholder: "\
|
|
123
|
+
placeholder: "\u624B\u673A\u53F7\u7801",
|
|
127
124
|
prefix: /*#__PURE__*/_jsx(UserOutlined, {
|
|
128
125
|
className: "input-prefix-icon"
|
|
129
126
|
})
|
|
@@ -2,7 +2,6 @@ import React from 'react';
|
|
|
2
2
|
import MarkdownToJsx from "markdown-to-jsx";
|
|
3
3
|
import { Tag, Button, Divider, Progress, Tooltip } from 'antd';
|
|
4
4
|
import { WarningFilled, CheckCircleFilled, ClockCircleOutlined, CloseSquareFilled } from '@ant-design/icons';
|
|
5
|
-
import { VideoPlatform } from "../..";
|
|
6
5
|
import "./index.less";
|
|
7
6
|
import "./github-markdown-light.less";
|
|
8
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -27,9 +26,6 @@ var Markdown = function Markdown(_ref) {
|
|
|
27
26
|
Progress: {
|
|
28
27
|
component: Progress
|
|
29
28
|
},
|
|
30
|
-
VideoPlatform: {
|
|
31
|
-
component: VideoPlatform
|
|
32
|
-
},
|
|
33
29
|
Tooltip: {
|
|
34
30
|
component: Tooltip
|
|
35
31
|
},
|
package/dist/config/apiUrls.js
CHANGED
|
@@ -2,24 +2,16 @@
|
|
|
2
2
|
export var currentEnv = 'prod';
|
|
3
3
|
var ApiUrls = {
|
|
4
4
|
local: {
|
|
5
|
-
api: 'http://localhost:
|
|
6
|
-
ws: 'ws://localhost:
|
|
7
|
-
},
|
|
8
|
-
dev: {
|
|
9
|
-
api: 'http://api.stock.net/',
|
|
10
|
-
ws: 'ws://localhost:9800/'
|
|
11
|
-
},
|
|
12
|
-
sit: {
|
|
13
|
-
api: 'http://api.stock.net/',
|
|
14
|
-
ws: 'ws://localhost:9999/'
|
|
5
|
+
api: 'http://localhost:51818/',
|
|
6
|
+
ws: 'ws://localhost:51818/'
|
|
15
7
|
},
|
|
16
8
|
pre: {
|
|
17
|
-
api: 'https://pre.api-chat.
|
|
18
|
-
ws: 'wss://pre.api-chat.
|
|
9
|
+
api: 'https://pre.api-chat.xx.shop/',
|
|
10
|
+
ws: 'wss://pre.api-chat.xx.shop/'
|
|
19
11
|
},
|
|
20
12
|
prod: {
|
|
21
|
-
api: 'https://api.
|
|
22
|
-
ws: 'wss://api.
|
|
13
|
+
api: 'https://api.sanzhizhou.com/',
|
|
14
|
+
ws: 'wss://api.sanzhizhou.com/'
|
|
23
15
|
}
|
|
24
16
|
};
|
|
25
17
|
export default ApiUrls;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,31 +1,14 @@
|
|
|
1
1
|
import './global.less';
|
|
2
|
-
export { default as VipCompare } from './VipCompare';
|
|
3
2
|
export { default as Buy } from './Buy';
|
|
4
3
|
export { default as Login } from './Login';
|
|
5
4
|
export { default as AuthClient } from './AuthClient';
|
|
6
|
-
export { default as Auth } from './Auth';
|
|
7
5
|
export { default as Product } from './Product';
|
|
8
|
-
export { default as renewalVip } from './renewal-vip';
|
|
9
6
|
export { default as ClientUpdate } from './Client/ClientUpdate';
|
|
10
|
-
export { default as openChrome } from './lib/openChrome';
|
|
11
|
-
export { default as DealerUrlDict } from './base/DealerUrlDict';
|
|
12
|
-
export { default as VideoPlatform, VideoPlatformList, VideoPlatformDict } from './component/video-platform/logo';
|
|
13
7
|
export { default as VipList } from './VipList';
|
|
14
|
-
export { default as VideoPublish } from './VideoPublish';
|
|
15
|
-
export { default as PhonePublish } from './PhonePublish';
|
|
16
|
-
export { default as VideoPublishCreateTask } from './VideoPublish/create-task';
|
|
17
|
-
export { default as VideoPublishVideoAccount } from './VideoPublish/video-account';
|
|
18
|
-
export { default as VideoKindTag } from './component/videoKindTag';
|
|
19
|
-
export { VideoKindTagList } from './component/videoKindTag';
|
|
20
|
-
export { default as VideoPublishTaskVideoTopicSelect } from './VideoPublish/video-topic/select';
|
|
21
8
|
export { default as fileSelect } from './base/fileSelect';
|
|
22
9
|
export { default as folderOpen } from './base/folderOpen';
|
|
23
10
|
export { default as folderSelect } from './base/folderSelect';
|
|
24
11
|
export { default as openInFolder } from './base/openInFolder';
|
|
25
|
-
export { default as soundInfo } from './base/soundInfo';
|
|
26
12
|
export { default as fileListContent } from './base/fileListContent';
|
|
27
13
|
export { default as fileList } from './base/fileList';
|
|
28
|
-
export { default as VideoStudy } from './video-study';
|
|
29
|
-
export { default as HomePageAccountList } from './VideoPublish/account-manage/list';
|
|
30
|
-
export { default as getWorkServerUploadToken } from './lib/getWorkServerUploadToken';
|
|
31
14
|
export { default as Ad } from './Ad';
|
package/dist/index.js
CHANGED
|
@@ -1,35 +1,16 @@
|
|
|
1
1
|
// import soundInfo from "component-sanzhizhou/base/soundInfo";
|
|
2
2
|
// import fileList from "component-sanzhizhou/base/fileList";
|
|
3
3
|
import "./global.less";
|
|
4
|
-
export { default as VipCompare } from "./VipCompare";
|
|
5
4
|
export { default as Buy } from "./Buy";
|
|
6
5
|
export { default as Login } from "./Login";
|
|
7
6
|
export { default as AuthClient } from "./AuthClient";
|
|
8
|
-
export { default as Auth } from "./Auth";
|
|
9
7
|
export { default as Product } from "./Product";
|
|
10
|
-
export { default as renewalVip } from "./renewal-vip";
|
|
11
8
|
export { default as ClientUpdate } from "./Client/ClientUpdate";
|
|
12
|
-
export { default as openChrome } from "./lib/openChrome";
|
|
13
|
-
export { default as DealerUrlDict } from "./base/DealerUrlDict";
|
|
14
|
-
export { default as VideoPlatform, VideoPlatformList, VideoPlatformDict } from "./component/video-platform/logo";
|
|
15
9
|
export { default as VipList } from "./VipList";
|
|
16
|
-
export { default as VideoPublish } from "./VideoPublish";
|
|
17
|
-
export { default as PhonePublish } from "./PhonePublish";
|
|
18
|
-
// export { default as VideoPublishPublishVideoPlan } from './VideoPublish/publish-task-plan';
|
|
19
|
-
|
|
20
|
-
export { default as VideoPublishCreateTask } from "./VideoPublish/create-task";
|
|
21
|
-
export { default as VideoPublishVideoAccount } from "./VideoPublish/video-account";
|
|
22
|
-
export { default as VideoKindTag } from "./component/videoKindTag";
|
|
23
|
-
export { VideoKindTagList } from "./component/videoKindTag";
|
|
24
|
-
export { default as VideoPublishTaskVideoTopicSelect } from "./VideoPublish/video-topic/select";
|
|
25
10
|
export { default as fileSelect } from "./base/fileSelect";
|
|
26
11
|
export { default as folderOpen } from "./base/folderOpen";
|
|
27
12
|
export { default as folderSelect } from "./base/folderSelect";
|
|
28
13
|
export { default as openInFolder } from "./base/openInFolder";
|
|
29
|
-
export { default as soundInfo } from "./base/soundInfo";
|
|
30
14
|
export { default as fileListContent } from "./base/fileListContent";
|
|
31
15
|
export { default as fileList } from "./base/fileList";
|
|
32
|
-
export { default as VideoStudy } from "./video-study";
|
|
33
|
-
export { default as HomePageAccountList } from "./VideoPublish/account-manage/list";
|
|
34
|
-
export { default as getWorkServerUploadToken } from "./lib/getWorkServerUploadToken";
|
|
35
16
|
export { default as Ad } from "./Ad";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "component-sanzhizhou",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -69,7 +69,6 @@
|
|
|
69
69
|
"@ant-design/plots": "^2.3.3",
|
|
70
70
|
"@babel/runtime": "^7.23.6",
|
|
71
71
|
"@umijs/hooks": "^1.9.3",
|
|
72
|
-
"component-sanzhizhou": "^2.2.3",
|
|
73
72
|
"dayjs": "^1.11.12",
|
|
74
73
|
"jr-qrcode": "^1.1.4",
|
|
75
74
|
"markdown-to-jsx": "^7.5.0",
|
package/dist/Auth/index.js
DELETED
|
@@ -1,374 +0,0 @@
|
|
|
1
|
-
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
|
-
import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
|
|
3
|
-
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
4
|
-
import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
|
|
5
|
-
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
6
|
-
import React, { useState, useEffect, useRef } from 'react';
|
|
7
|
-
import { WechatOutlined, RedoOutlined, UserOutlined } from '@ant-design/icons';
|
|
8
|
-
import { Tabs } from 'antd';
|
|
9
|
-
import { useRequest } from '@umijs/hooks';
|
|
10
|
-
import * as AuthController from "../service/api/AuthController";
|
|
11
|
-
import PageContentWarp from "../UI/PageContentWarp";
|
|
12
|
-
import AuthLoginReg from "../AuthClient/login-reg";
|
|
13
|
-
import Platform from "../lib/platform";
|
|
14
|
-
import QrWs from "../AuthClient/qr/ws";
|
|
15
|
-
import { getApiEnv } from "../lib/getApiUrl";
|
|
16
|
-
import styles from "../AuthClient/qr/index.css";
|
|
17
|
-
import QRCode from 'qrcode.react';
|
|
18
|
-
import h5WePublicLogin from "../AuthClient/qr/h5-we-public-login";
|
|
19
|
-
import Tool from "../lib/Tool";
|
|
20
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
21
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
22
|
-
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
23
|
-
var reTryMaxCount = 120;
|
|
24
|
-
var reTryTimeLoop = 1000; // ms
|
|
25
|
-
var FromWhere = 'web';
|
|
26
|
-
|
|
27
|
-
// 逐渐弃用 AuthClient ,使用 本函数
|
|
28
|
-
var Auth = function Auth(_ref) {
|
|
29
|
-
var productType = _ref.productType,
|
|
30
|
-
apiUrl = _ref.apiUrl,
|
|
31
|
-
clientUniqueKeyList = _ref.clientUniqueKeyList,
|
|
32
|
-
loginTypeList = _ref.loginTypeList,
|
|
33
|
-
env = _ref.env,
|
|
34
|
-
postData = _ref.postData,
|
|
35
|
-
roleType = _ref.roleType,
|
|
36
|
-
_ref$domain = _ref.domain,
|
|
37
|
-
domain = _ref$domain === void 0 ? document.location.hostname : _ref$domain,
|
|
38
|
-
_ref$onLoginSuccess = _ref.onLoginSuccess,
|
|
39
|
-
onLoginSuccess = _ref$onLoginSuccess === void 0 ? function () {} : _ref$onLoginSuccess;
|
|
40
|
-
var _useState = useState(false),
|
|
41
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
42
|
-
loading = _useState2[0],
|
|
43
|
-
setLoading = _useState2[1];
|
|
44
|
-
var qrWsRef = useRef();
|
|
45
|
-
var _useState3 = useState(_toConsumableArray(loginTypeList)),
|
|
46
|
-
_useState4 = _slicedToArray(_useState3, 2),
|
|
47
|
-
currentLoginTypeList = _useState4[0],
|
|
48
|
-
setCurrentLoginTypeList = _useState4[1];
|
|
49
|
-
var _useState5 = useState((currentLoginTypeList === null || currentLoginTypeList === void 0 ? void 0 : currentLoginTypeList[0]) || 'wechat'),
|
|
50
|
-
_useState6 = _slicedToArray(_useState5, 2),
|
|
51
|
-
activeKey = _useState6[0],
|
|
52
|
-
setActiveKey = _useState6[1];
|
|
53
|
-
var _useState7 = useState("".concat(Tool.math.randWord(20))),
|
|
54
|
-
_useState8 = _slicedToArray(_useState7, 1),
|
|
55
|
-
loginId = _useState8[0];
|
|
56
|
-
var _useState9 = useState(''),
|
|
57
|
-
_useState10 = _slicedToArray(_useState9, 2),
|
|
58
|
-
weQrUrl = _useState10[0],
|
|
59
|
-
setWeQrUrl = _useState10[1];
|
|
60
|
-
var isNextTryRef = useRef(activeKey === 'wechat');
|
|
61
|
-
|
|
62
|
-
// 要不要继续 try
|
|
63
|
-
var _useState11 = useState(isNextTryRef.current),
|
|
64
|
-
_useState12 = _slicedToArray(_useState11, 2),
|
|
65
|
-
isNextTry = _useState12[0],
|
|
66
|
-
setNextTry = _useState12[1];
|
|
67
|
-
var reTryCountRef = useRef(0);
|
|
68
|
-
var _useState13 = useState(0),
|
|
69
|
-
_useState14 = _slicedToArray(_useState13, 2),
|
|
70
|
-
reTryCount = _useState14[0],
|
|
71
|
-
setReTryCount = _useState14[1];
|
|
72
|
-
var timer = useRef(setTimeout(function () {}, 1));
|
|
73
|
-
var eventSourceRef = useRef(null);
|
|
74
|
-
var onLoginCancel = function onLoginCancel() {
|
|
75
|
-
var _eventSourceRef$curre, _qrWsRef$current;
|
|
76
|
-
(_eventSourceRef$curre = eventSourceRef.current) === null || _eventSourceRef$curre === void 0 || _eventSourceRef$curre.close();
|
|
77
|
-
clearInterval(timer.current);
|
|
78
|
-
reTryCountRef.current = 0;
|
|
79
|
-
setReTryCount(0);
|
|
80
|
-
(_qrWsRef$current = qrWsRef.current) === null || _qrWsRef$current === void 0 || _qrWsRef$current.destroy();
|
|
81
|
-
};
|
|
82
|
-
var onCheckLogin = /*#__PURE__*/function () {
|
|
83
|
-
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
84
|
-
var init, post;
|
|
85
|
-
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
86
|
-
while (1) switch (_context.prev = _context.next) {
|
|
87
|
-
case 0:
|
|
88
|
-
qrWsRef.current = new QrWs();
|
|
89
|
-
|
|
90
|
-
// 先初始化
|
|
91
|
-
_context.next = 3;
|
|
92
|
-
return qrWsRef.current.init().catch(function (err) {
|
|
93
|
-
Tool.toastError(err.message);
|
|
94
|
-
});
|
|
95
|
-
case 3:
|
|
96
|
-
init = _context.sent;
|
|
97
|
-
if (init) {
|
|
98
|
-
_context.next = 7;
|
|
99
|
-
break;
|
|
100
|
-
}
|
|
101
|
-
onLoginError();
|
|
102
|
-
return _context.abrupt("return");
|
|
103
|
-
case 7:
|
|
104
|
-
_context.next = 9;
|
|
105
|
-
return qrWsRef.current.post({
|
|
106
|
-
fromWhere: FromWhere,
|
|
107
|
-
loginId: loginId
|
|
108
|
-
}, {
|
|
109
|
-
onData: function onData(text) {}
|
|
110
|
-
}).catch(function (err) {
|
|
111
|
-
Tool.toastError(err.message);
|
|
112
|
-
onLoginError();
|
|
113
|
-
});
|
|
114
|
-
case 9:
|
|
115
|
-
post = _context.sent;
|
|
116
|
-
// 登录成功
|
|
117
|
-
if (post) {
|
|
118
|
-
// 登陆成功;
|
|
119
|
-
// let info = {};
|
|
120
|
-
// try {
|
|
121
|
-
// info = JSON.parse( post.data );
|
|
122
|
-
// }catch (e) {
|
|
123
|
-
// console.log("result:", post, e )
|
|
124
|
-
// }
|
|
125
|
-
onCheckSuccess(post.data);
|
|
126
|
-
}
|
|
127
|
-
case 11:
|
|
128
|
-
case "end":
|
|
129
|
-
return _context.stop();
|
|
130
|
-
}
|
|
131
|
-
}, _callee);
|
|
132
|
-
}));
|
|
133
|
-
return function onCheckLogin() {
|
|
134
|
-
return _ref2.apply(this, arguments);
|
|
135
|
-
};
|
|
136
|
-
}();
|
|
137
|
-
var onCheckSuccess = function onCheckSuccess(userInfo) {
|
|
138
|
-
Tool.setLocalUserInfo(_objectSpread(_objectSpread({}, userInfo), {}, {
|
|
139
|
-
isLogin: true
|
|
140
|
-
}));
|
|
141
|
-
onLoginSuccess();
|
|
142
|
-
Tool.event.run('login-success');
|
|
143
|
-
Tool.event.run("".concat(roleType || 'user', "-login-success"), _objectSpread(_objectSpread({}, userInfo), {}, {
|
|
144
|
-
isLogin: true
|
|
145
|
-
}));
|
|
146
|
-
Tool.toast('登录成功');
|
|
147
|
-
};
|
|
148
|
-
var _useRequest = useRequest(function () {
|
|
149
|
-
return AuthController.weMiniLoginQr({
|
|
150
|
-
loginId: loginId,
|
|
151
|
-
//string 32
|
|
152
|
-
loginType: 'client',
|
|
153
|
-
from: "web",
|
|
154
|
-
// 没有推荐者,会根据域名判断 经销商
|
|
155
|
-
inviteUserId: Tool.getInviteUserId(),
|
|
156
|
-
domain: domain || document.location.hostname,
|
|
157
|
-
env: getApiEnv()
|
|
158
|
-
});
|
|
159
|
-
}, {
|
|
160
|
-
manual: true,
|
|
161
|
-
//,
|
|
162
|
-
onSuccess: function onSuccess(result) {
|
|
163
|
-
setWeQrUrl(result.url);
|
|
164
|
-
onRunCheck();
|
|
165
|
-
}
|
|
166
|
-
}),
|
|
167
|
-
runWeLoginQr = _useRequest.run,
|
|
168
|
-
loadingWeLoginQr = _useRequest.loading,
|
|
169
|
-
errorWeLoginQr = _useRequest.error;
|
|
170
|
-
var onRunCheck = function onRunCheck() {
|
|
171
|
-
clearInterval(timer.current);
|
|
172
|
-
onCheckLogin();
|
|
173
|
-
reTryCountRef.current = 0;
|
|
174
|
-
setReTryCount(0);
|
|
175
|
-
timer.current = setInterval(function () {
|
|
176
|
-
reTryCountRef.current++;
|
|
177
|
-
setReTryCount(reTryCountRef.current);
|
|
178
|
-
console.log("reTryCount:", reTryCountRef.current);
|
|
179
|
-
if (reTryCountRef.current >= reTryMaxCount) {
|
|
180
|
-
onLoginError();
|
|
181
|
-
return;
|
|
182
|
-
}
|
|
183
|
-
}, reTryTimeLoop);
|
|
184
|
-
};
|
|
185
|
-
var onRetryWeQr = function onRetryWeQr() {
|
|
186
|
-
isNextTryRef.current = true;
|
|
187
|
-
setNextTry(true);
|
|
188
|
-
setReTryCount(0);
|
|
189
|
-
reTryCountRef.current = 0;
|
|
190
|
-
|
|
191
|
-
// 重新
|
|
192
|
-
setWeQrUrl('');
|
|
193
|
-
runWeLoginQr();
|
|
194
|
-
};
|
|
195
|
-
var onTabChange = /*#__PURE__*/function () {
|
|
196
|
-
var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(keyName) {
|
|
197
|
-
var _qrWsRef$current2;
|
|
198
|
-
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
199
|
-
while (1) switch (_context2.prev = _context2.next) {
|
|
200
|
-
case 0:
|
|
201
|
-
// @ts-ignore
|
|
202
|
-
setActiveKey(keyName);
|
|
203
|
-
if (keyName === 'wechat') {
|
|
204
|
-
// await runWeLoginQr();
|
|
205
|
-
onRetryWeQr();
|
|
206
|
-
} else {
|
|
207
|
-
// 停止 weixin
|
|
208
|
-
(_qrWsRef$current2 = qrWsRef.current) === null || _qrWsRef$current2 === void 0 || _qrWsRef$current2.destroy();
|
|
209
|
-
}
|
|
210
|
-
case 2:
|
|
211
|
-
case "end":
|
|
212
|
-
return _context2.stop();
|
|
213
|
-
}
|
|
214
|
-
}, _callee2);
|
|
215
|
-
}));
|
|
216
|
-
return function onTabChange(_x) {
|
|
217
|
-
return _ref3.apply(this, arguments);
|
|
218
|
-
};
|
|
219
|
-
}();
|
|
220
|
-
var onLoginError = function onLoginError() {
|
|
221
|
-
clearInterval(timer.current);
|
|
222
|
-
isNextTryRef.current = false;
|
|
223
|
-
setNextTry(false);
|
|
224
|
-
reTryCountRef.current = 0;
|
|
225
|
-
setReTryCount(0);
|
|
226
|
-
onLoginCancel();
|
|
227
|
-
};
|
|
228
|
-
var onInit = /*#__PURE__*/function () {
|
|
229
|
-
var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
|
|
230
|
-
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
231
|
-
while (1) switch (_context3.prev = _context3.next) {
|
|
232
|
-
case 0:
|
|
233
|
-
if (!Platform.isWechat) {
|
|
234
|
-
_context3.next = 7;
|
|
235
|
-
break;
|
|
236
|
-
}
|
|
237
|
-
setLoading(true);
|
|
238
|
-
// jump
|
|
239
|
-
_context3.next = 4;
|
|
240
|
-
return h5WePublicLogin();
|
|
241
|
-
case 4:
|
|
242
|
-
setLoading(false);
|
|
243
|
-
_context3.next = 10;
|
|
244
|
-
break;
|
|
245
|
-
case 7:
|
|
246
|
-
if (!currentLoginTypeList.includes('wechat')) {
|
|
247
|
-
_context3.next = 10;
|
|
248
|
-
break;
|
|
249
|
-
}
|
|
250
|
-
_context3.next = 10;
|
|
251
|
-
return runWeLoginQr();
|
|
252
|
-
case 10:
|
|
253
|
-
case "end":
|
|
254
|
-
return _context3.stop();
|
|
255
|
-
}
|
|
256
|
-
}, _callee3);
|
|
257
|
-
}));
|
|
258
|
-
return function onInit() {
|
|
259
|
-
return _ref4.apply(this, arguments);
|
|
260
|
-
};
|
|
261
|
-
}();
|
|
262
|
-
var onCallWechat = function onCallWechat() {
|
|
263
|
-
currentLoginTypeList.push('wechat');
|
|
264
|
-
setCurrentLoginTypeList(_toConsumableArray(currentLoginTypeList));
|
|
265
|
-
};
|
|
266
|
-
var onCallAccount = function onCallAccount() {
|
|
267
|
-
currentLoginTypeList.push('account', 'account-reg', 'account-login');
|
|
268
|
-
setCurrentLoginTypeList(_toConsumableArray(currentLoginTypeList));
|
|
269
|
-
};
|
|
270
|
-
useEffect(function () {
|
|
271
|
-
onInit();
|
|
272
|
-
return function () {
|
|
273
|
-
clearTimeout(timer.current);
|
|
274
|
-
};
|
|
275
|
-
}, []);
|
|
276
|
-
return /*#__PURE__*/_jsxs(styles.AuthQrLogin, {
|
|
277
|
-
children: [/*#__PURE__*/_jsxs(styles.LoginForm, {
|
|
278
|
-
children: [/*#__PURE__*/_jsx(styles.WebTitle, {
|
|
279
|
-
children: /*#__PURE__*/_jsx("span", {
|
|
280
|
-
children: "\u767B\u5F55/\u6CE8\u518C"
|
|
281
|
-
})
|
|
282
|
-
}), /*#__PURE__*/_jsxs(Tabs, {
|
|
283
|
-
activeKey: activeKey,
|
|
284
|
-
onChange: function onChange(keyName) {
|
|
285
|
-
onTabChange(keyName);
|
|
286
|
-
},
|
|
287
|
-
children: [!((currentLoginTypeList === null || currentLoginTypeList === void 0 ? void 0 : currentLoginTypeList.length) > 0 && !currentLoginTypeList.includes('wechat')) && /*#__PURE__*/_jsx(Tabs.TabPane, {
|
|
288
|
-
tab: /*#__PURE__*/_jsxs(_Fragment, {
|
|
289
|
-
children: [/*#__PURE__*/_jsx(WechatOutlined, {}), " \u5FAE\u4FE1"]
|
|
290
|
-
}),
|
|
291
|
-
disabled: (currentLoginTypeList === null || currentLoginTypeList === void 0 ? void 0 : currentLoginTypeList.length) > 0 && !currentLoginTypeList.includes('wechat'),
|
|
292
|
-
children: /*#__PURE__*/_jsx(PageContentWarp, {
|
|
293
|
-
loading: loadingWeLoginQr || loading,
|
|
294
|
-
error: errorWeLoginQr,
|
|
295
|
-
onReload: function onReload() {
|
|
296
|
-
return onRetryWeQr();
|
|
297
|
-
},
|
|
298
|
-
children: /*#__PURE__*/_jsxs(styles.WeQrUrlBox, {
|
|
299
|
-
children: [/*#__PURE__*/_jsxs("div", {
|
|
300
|
-
style: {
|
|
301
|
-
// backgroundImage: `url('${ weQrUrl }')`,
|
|
302
|
-
},
|
|
303
|
-
className: "qr wechat ".concat(isNextTry ? '' : 'noTry'),
|
|
304
|
-
children: [!isNextTry && /*#__PURE__*/_jsx("div", {
|
|
305
|
-
className: "reTry",
|
|
306
|
-
onClick: onRetryWeQr,
|
|
307
|
-
children: /*#__PURE__*/_jsx("a", {
|
|
308
|
-
children: /*#__PURE__*/_jsx(RedoOutlined, {})
|
|
309
|
-
})
|
|
310
|
-
}), /*#__PURE__*/_jsx("div", {
|
|
311
|
-
className: "weQrUrl",
|
|
312
|
-
children: /*#__PURE__*/_jsx(QRCode, {
|
|
313
|
-
value: weQrUrl,
|
|
314
|
-
fgColor: "#0bc160",
|
|
315
|
-
size: 230
|
|
316
|
-
})
|
|
317
|
-
})]
|
|
318
|
-
}), Platform.isH5 ? /*#__PURE__*/_jsxs("div", {
|
|
319
|
-
className: "altWeb",
|
|
320
|
-
children: [/*#__PURE__*/_jsx("div", {
|
|
321
|
-
className: "titles",
|
|
322
|
-
children: "\u4E0B\u9762\u4EFB\u9009\u4E00\u4E2A\u65B9\u6CD5\u90FD\u53EF\u4EE5\u767B\u5F55\uFF1A"
|
|
323
|
-
}), /*#__PURE__*/_jsxs("ul", {
|
|
324
|
-
children: [/*#__PURE__*/_jsx("li", {
|
|
325
|
-
children: "1\u3001\u628A\u672C\u9875\u7F51\u5740\u590D\u5236\u5230\u5FAE\u4FE1\u91CC\u9762\u6253\u5F00"
|
|
326
|
-
}), /*#__PURE__*/_jsx("li", {
|
|
327
|
-
children: "2\u3001\u8BF7\u7528\u5FAE\u4FE1\u626B\u7801\u767B\u5F55"
|
|
328
|
-
}), /*#__PURE__*/_jsx("li", {
|
|
329
|
-
children: "3\u3001\u628A\u672C\u9875\u7F51\u5740\u590D\u5236\u5230\u5FAE\u4FE1\u91CC\u9762\u6253\u5F00"
|
|
330
|
-
})]
|
|
331
|
-
})]
|
|
332
|
-
}) : /*#__PURE__*/_jsx("div", {
|
|
333
|
-
className: "alt"
|
|
334
|
-
})]
|
|
335
|
-
})
|
|
336
|
-
})
|
|
337
|
-
}, "wechat"), /*#__PURE__*/_jsx(Tabs.TabPane, {
|
|
338
|
-
tab: /*#__PURE__*/_jsxs("span", {
|
|
339
|
-
className: "tab-icon",
|
|
340
|
-
children: [/*#__PURE__*/_jsx(UserOutlined, {}), " \u8D26\u6237"]
|
|
341
|
-
}),
|
|
342
|
-
disabled: !currentLoginTypeList.includes('account-login') && !currentLoginTypeList.includes('account'),
|
|
343
|
-
children: /*#__PURE__*/_jsx(AuthLoginReg, {
|
|
344
|
-
env: env,
|
|
345
|
-
apiUrl: apiUrl,
|
|
346
|
-
roleType: roleType,
|
|
347
|
-
postData: postData,
|
|
348
|
-
productType: productType,
|
|
349
|
-
clientUniqueKeyList: clientUniqueKeyList,
|
|
350
|
-
accountRegDisabled: !currentLoginTypeList.includes('account-reg'),
|
|
351
|
-
onSuccess: function onSuccess() {
|
|
352
|
-
return onLoginSuccess();
|
|
353
|
-
}
|
|
354
|
-
})
|
|
355
|
-
}, "account")]
|
|
356
|
-
}), activeKey === 'wechat' && /*#__PURE__*/_jsx("div", {
|
|
357
|
-
className: "percent",
|
|
358
|
-
children: /*#__PURE__*/_jsx("div", {
|
|
359
|
-
className: "warp",
|
|
360
|
-
style: {
|
|
361
|
-
width: "".concat(reTryCount / reTryMaxCount * 100, "%")
|
|
362
|
-
}
|
|
363
|
-
})
|
|
364
|
-
})]
|
|
365
|
-
}), /*#__PURE__*/_jsx("div", {
|
|
366
|
-
className: "callWechat",
|
|
367
|
-
onClick: onCallWechat
|
|
368
|
-
}), /*#__PURE__*/_jsx("div", {
|
|
369
|
-
className: "callAccount",
|
|
370
|
-
onClick: onCallAccount
|
|
371
|
-
})]
|
|
372
|
-
});
|
|
373
|
-
};
|
|
374
|
-
export default Auth;
|
|
@@ -1,11 +0,0 @@
|
|
|
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;
|