component-shipinlv 1.0.37 → 1.0.50
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/VideoPublish/account-manage/home.js +3 -3
- package/dist/VideoPublish/account-manage/list.js +5 -3
- package/dist/VideoPublish/account-manage/list.less +9 -1
- package/dist/VideoPublish/index.js +4 -3
- package/dist/VideoPublish/index.less +4 -4
- package/dist/VideoPublish/video-account/index.less +1 -0
- package/dist/service/api/VideoPublishController.js +1 -0
- package/package.json +1 -1
@@ -5,7 +5,7 @@ import "./home.less";
|
|
5
5
|
import { VideoPlatform } from "../..";
|
6
6
|
import HomePageAccountList from "./list";
|
7
7
|
import Time from "../../UI/Time";
|
8
|
-
import {
|
8
|
+
import { IeOutlined } from "@ant-design/icons";
|
9
9
|
import { jsx as _jsx } from "react/jsx-runtime";
|
10
10
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
11
11
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
@@ -130,10 +130,10 @@ var VideoPublishAccountManageHomePage = function VideoPublishAccountManageHomePa
|
|
130
130
|
}
|
131
131
|
},
|
132
132
|
children: /*#__PURE__*/_jsx(Button, {
|
133
|
-
icon: /*#__PURE__*/_jsx(
|
133
|
+
icon: /*#__PURE__*/_jsx(IeOutlined, {}),
|
134
134
|
type: "primary",
|
135
135
|
size: "small",
|
136
|
-
children: "\
|
136
|
+
children: "\u624B\u5DE5\u64CD\u4F5C"
|
137
137
|
})
|
138
138
|
}),
|
139
139
|
children: [/*#__PURE__*/_jsxs("div", {
|
@@ -127,7 +127,9 @@ var HomePageAccountList = function HomePageAccountList(_ref) {
|
|
127
127
|
onCurrent(listDataRef.current[index]);
|
128
128
|
};
|
129
129
|
var _useRequest3 = useRequest(function (data) {
|
130
|
-
return VideoPublishVideoAccountController.create(data
|
130
|
+
return VideoPublishVideoAccountController.create(data, {
|
131
|
+
env: env
|
132
|
+
});
|
131
133
|
}, {
|
132
134
|
manual: true,
|
133
135
|
onSuccess: function onSuccess(result) {
|
@@ -160,7 +162,7 @@ var HomePageAccountList = function HomePageAccountList(_ref) {
|
|
160
162
|
// }
|
161
163
|
|
162
164
|
console.log('onAdd:', platform);
|
163
|
-
toast('正在启动浏览器,请扫码登录',
|
165
|
+
toast('正在启动浏览器,请扫码登录', 12);
|
164
166
|
|
165
167
|
// const platformName = platform ; // == 'kuaishou' ? 'kwai' : '';
|
166
168
|
// const eventName = `amz-${ platform }-publish--add-account`;
|
@@ -179,7 +181,7 @@ var HomePageAccountList = function HomePageAccountList(_ref) {
|
|
179
181
|
}
|
180
182
|
return _context.abrupt("return");
|
181
183
|
case 8:
|
182
|
-
console.log('addAccountResult:', addAccountResult);
|
184
|
+
console.log('addAccountResult:', addAccountResult, env);
|
183
185
|
postData = {
|
184
186
|
detail: addAccountResult
|
185
187
|
};
|
@@ -25,6 +25,14 @@
|
|
25
25
|
flex: 2;
|
26
26
|
height: 100%; // calc(100vh - 10px);
|
27
27
|
overflow-y: auto;
|
28
|
+
padding: 10px;
|
29
|
+
&::-webkit-scrollbar {
|
30
|
+
width: 2px; /* 滚动条的宽度 */
|
31
|
+
}
|
32
|
+
&::-webkit-scrollbar-thumb {
|
33
|
+
background-color: #DDD; /* 滑块的颜色 */
|
34
|
+
border-radius: 4px; /* 滑块的圆角 */
|
35
|
+
}
|
28
36
|
.high{
|
29
37
|
color: #C00;
|
30
38
|
font-weight: bold;
|
@@ -129,7 +137,7 @@
|
|
129
137
|
}
|
130
138
|
}
|
131
139
|
.submits{
|
132
|
-
box-shadow: 0 0 5px #EEE;
|
140
|
+
//box-shadow: 0 0 5px #EEE;
|
133
141
|
text-align: center;
|
134
142
|
padding: 12px 0 ;
|
135
143
|
display: flex;
|
@@ -7,7 +7,6 @@ import isInClient from "../lib/isInClient";
|
|
7
7
|
import { ClockCircleOutlined, FileSearchOutlined, SettingOutlined, UsergroupAddOutlined, VideoCameraAddOutlined } from "@ant-design/icons";
|
8
8
|
import VideoPublishVideoAccount from "./video-account";
|
9
9
|
import VideoPublishTaskList from "./task-list";
|
10
|
-
import PageContentWarp from "../UI/PageContentWarp";
|
11
10
|
import VideoPublishLog from "./log";
|
12
11
|
import VideoPublishAccountManageSettingPage from "./account-manage/setting";
|
13
12
|
import VideoPublishAccountManageHomePage from "./account-manage/home";
|
@@ -111,8 +110,10 @@ var VideoPublish = function VideoPublish(_ref) {
|
|
111
110
|
useEffect(function () {
|
112
111
|
onInit();
|
113
112
|
}, []);
|
114
|
-
return /*#__PURE__*/_jsx(
|
115
|
-
|
113
|
+
return /*#__PURE__*/_jsx("div", {
|
114
|
+
style: {
|
115
|
+
minHeight: contentHeight ? contentHeight : '100%'
|
116
|
+
},
|
116
117
|
children: /*#__PURE__*/_jsxs("div", {
|
117
118
|
className: "videoPublish",
|
118
119
|
style: {
|
@@ -15,14 +15,14 @@
|
|
15
15
|
|
16
16
|
.menuWarp{
|
17
17
|
position: fixed;
|
18
|
-
width:
|
19
|
-
|
18
|
+
width: 170px;
|
19
|
+
margin: 0 12px 0 0;
|
20
20
|
}
|
21
21
|
.menu{
|
22
22
|
}
|
23
23
|
|
24
24
|
.ant-menu {
|
25
|
-
|
25
|
+
|
26
26
|
}
|
27
27
|
|
28
28
|
.ant-menu-light {
|
@@ -33,7 +33,7 @@
|
|
33
33
|
|
34
34
|
.pageContents {
|
35
35
|
flex: 1;
|
36
|
-
padding: 16px 16px
|
36
|
+
padding: 16px 16px 0 0 ;
|
37
37
|
overflow-y: auto;
|
38
38
|
|
39
39
|
.my-tabs {
|
@@ -12,6 +12,7 @@ var ApiUrls = {
|
|
12
12
|
};
|
13
13
|
export var PublishDomainApi = function PublishDomainApi(apiName, env) {
|
14
14
|
var _ApiUrls$env;
|
15
|
+
console.log('PublishDomainApi:', apiName, env);
|
15
16
|
// @ts-ignore
|
16
17
|
return (((_ApiUrls$env = ApiUrls[env]) === null || _ApiUrls$env === void 0 ? void 0 : _ApiUrls$env.api) || 'https://api-video-publish.shipinlv.com/') + (apiName === null || apiName === void 0 ? void 0 : apiName.toLocaleLowerCase());
|
17
18
|
};
|