@titaui/pc 1.10.21 → 1.10.24
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/communication/index.css +7 -7
- package/lib/components/communication/style.js +1 -1
- package/lib/components/dynamic/constant.js +10 -1
- package/lib/components/dynamic/dynamic-item/dynamic-assessment/index.js +2 -2
- package/lib/components/dynamic/dynamic-item/dynamic-chart/index.js +24 -7
- package/lib/components/dynamic/dynamic-item/dynamic-create-o/index.css +1 -2
- package/lib/components/dynamic/dynamic-item/{dynamic-share-to-dynamic → dynamic-learning}/img/dynamic-share-course.png +0 -0
- package/lib/components/dynamic/dynamic-item/{dynamic-share-to-dynamic → dynamic-learning}/img/jiantou-right@3x.png +0 -0
- package/lib/components/dynamic/dynamic-item/{dynamic-share-to-dynamic → dynamic-learning}/img/user-photo.png +0 -0
- package/lib/components/dynamic/dynamic-item/{dynamic-share-to-dynamic → dynamic-learning}/index.css +0 -0
- package/lib/components/dynamic/dynamic-item/{dynamic-share-to-dynamic → dynamic-learning}/index.js +5 -4
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/constant.js +9 -2
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-relative/index.js +32 -2
- package/lib/components/dynamic/dynamic-item/dynamic-reply/index.css +11 -16
- package/lib/components/dynamic/dynamic-item/dynamic-reply/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-share/index.css +5 -1
- package/lib/components/dynamic/dynamic-item/dynamic-share/index.js +55 -2
- package/lib/components/dynamic/dynamic-item/index.css +56 -1
- package/lib/components/dynamic/dynamic-item/index.js +12 -9
- package/lib/components/dynamic/img/dynamic-redenvelopes-hover.svg +1 -0
- package/lib/components/dynamic/img/dynamic-redenvelopes-normal.svg +1 -0
- package/lib/components/file-list/components/single-file/index.css +6 -5
- package/lib/components/file-list/index.css +1 -0
- package/lib/components/superset-charts/components/index.js +15 -15
- package/lib/components/superset-charts/init/index.js +30 -11
- package/lib/components/superset-charts/init/use-get-assets.js +17 -85
- package/lib/components/video-modal/components/video-box/index.css +240 -0
- package/lib/components/video-modal/components/video-box/index.js +334 -0
- package/lib/components/video-modal/img/bigFaqi.png +0 -0
- package/lib/components/video-modal/img/close.png +0 -0
- package/lib/components/video-modal/img/full.svg +21 -0
- package/lib/components/video-modal/img/muted.svg +14 -0
- package/lib/components/video-modal/img/not-muted.svg +22 -0
- package/lib/components/video-modal/img/pause.svg +13 -0
- package/lib/components/video-modal/img/play.svg +18 -0
- package/lib/components/video-modal/img/small.svg +22 -0
- package/lib/components/video-modal/index.css +83 -0
- package/lib/components/video-modal/index.js +182 -0
- package/lib/components/video-modal/utils.js +25 -0
- package/lib/index.js +9 -1
- package/package.json +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-share-content/index.js +0 -42
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
align-items: center;
|
|
12
12
|
justify-content: center;
|
|
13
13
|
margin-right: 10px;
|
|
14
|
-
background: #
|
|
14
|
+
background: #f0f2f5;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
.titaui-new-file-list-single-file__file-preview-img {
|
|
@@ -28,7 +28,8 @@
|
|
|
28
28
|
.titaui-new-file-list-single-file__file-name {
|
|
29
29
|
text-align: center;
|
|
30
30
|
margin-top: 8px;
|
|
31
|
-
color: #
|
|
31
|
+
color: #3f4755;
|
|
32
|
+
margin-right: 10px;
|
|
32
33
|
}
|
|
33
34
|
|
|
34
35
|
.titaui-new-file-list-single-file__operate {
|
|
@@ -47,7 +48,7 @@
|
|
|
47
48
|
.titaui-new-file-list-single-file__operate-item {
|
|
48
49
|
font-size: 12px;
|
|
49
50
|
font-weight: 400;
|
|
50
|
-
color: #
|
|
51
|
+
color: #ffffff;
|
|
51
52
|
line-height: 18px;
|
|
52
53
|
display: flex;
|
|
53
54
|
flex-direction: column;
|
|
@@ -60,7 +61,7 @@
|
|
|
60
61
|
|
|
61
62
|
.titaui-new-file-list-single-file__operate-item-icon {
|
|
62
63
|
margin-bottom: 4px;
|
|
63
|
-
color: #
|
|
64
|
+
color: #3f4755;
|
|
64
65
|
width: 32px;
|
|
65
66
|
height: 32px;
|
|
66
67
|
display: flex;
|
|
@@ -73,7 +74,7 @@
|
|
|
73
74
|
|
|
74
75
|
.titaui-new-file-list-single-file__operate-item:hover {
|
|
75
76
|
cursor: pointer;
|
|
76
|
-
color: #
|
|
77
|
+
color: #ffffff;
|
|
77
78
|
}
|
|
78
79
|
|
|
79
80
|
.titaui-new-file-list-single-file__operate-item--only {
|
|
@@ -11,10 +11,14 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
11
11
|
|
|
12
12
|
var _init = require("../init");
|
|
13
13
|
|
|
14
|
+
var _excluded = ["chartId"];
|
|
15
|
+
|
|
14
16
|
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); }
|
|
15
17
|
|
|
16
18
|
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; }
|
|
17
19
|
|
|
20
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
21
|
+
|
|
18
22
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
19
23
|
|
|
20
24
|
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."); }
|
|
@@ -27,16 +31,17 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
27
31
|
|
|
28
32
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
29
33
|
|
|
34
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
35
|
+
|
|
36
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
37
|
+
|
|
30
38
|
var lazyOnce = (0, _init.lazyLoad)();
|
|
31
39
|
|
|
32
|
-
var Chart = function Chart(
|
|
40
|
+
var Chart = function Chart(props) {
|
|
33
41
|
var _window, _window$SupersetChart;
|
|
34
42
|
|
|
35
|
-
var chartId =
|
|
36
|
-
|
|
37
|
-
height = _ref$height === void 0 ? 300 : _ref$height,
|
|
38
|
-
_ref$width = _ref.width,
|
|
39
|
-
width = _ref$width === void 0 ? 800 : _ref$width;
|
|
43
|
+
var chartId = props.chartId,
|
|
44
|
+
restProps = _objectWithoutProperties(props, _excluded);
|
|
40
45
|
|
|
41
46
|
var _useState = (0, _react.useState)(true),
|
|
42
47
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -44,20 +49,15 @@ var Chart = function Chart(_ref) {
|
|
|
44
49
|
setLoading = _useState2[1];
|
|
45
50
|
|
|
46
51
|
(0, _react.useEffect)(function () {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
(_lazyOnce = lazyOnce()) === null || _lazyOnce === void 0 ? void 0 : _lazyOnce.then(function () {
|
|
52
|
+
lazyOnce === null || lazyOnce === void 0 ? void 0 : lazyOnce.then(function () {
|
|
50
53
|
setLoading(false);
|
|
51
54
|
});
|
|
52
55
|
}, []); // @ts-ignore
|
|
53
56
|
|
|
54
57
|
var Chart = (_window = window) === null || _window === void 0 ? void 0 : (_window$SupersetChart = _window.SupersetChart) === null || _window$SupersetChart === void 0 ? void 0 : _window$SupersetChart.SupersetChart;
|
|
55
|
-
return /*#__PURE__*/_react["default"].createElement("div", null, Chart && !loading && chartId && /*#__PURE__*/_react["default"].createElement(Chart, {
|
|
56
|
-
id: chartId
|
|
57
|
-
|
|
58
|
-
width: width,
|
|
59
|
-
layout: "feed-card"
|
|
60
|
-
}));
|
|
58
|
+
return /*#__PURE__*/_react["default"].createElement("div", null, Chart && !loading && chartId && /*#__PURE__*/_react["default"].createElement(Chart, _extends({
|
|
59
|
+
id: chartId
|
|
60
|
+
}, restProps)));
|
|
61
61
|
};
|
|
62
62
|
|
|
63
63
|
var _default = Chart;
|
|
@@ -12,6 +12,10 @@ var _useGetAssets = require("./use-get-assets");
|
|
|
12
12
|
|
|
13
13
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
14
14
|
|
|
15
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
16
|
+
|
|
17
|
+
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
18
|
+
|
|
15
19
|
function SingleInsert() {
|
|
16
20
|
var instance;
|
|
17
21
|
return function insert(assets) {
|
|
@@ -27,16 +31,31 @@ function SingleInsert() {
|
|
|
27
31
|
};
|
|
28
32
|
}
|
|
29
33
|
|
|
30
|
-
var lazyLoad = function
|
|
31
|
-
var
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
34
|
+
var lazyLoad = /*#__PURE__*/function () {
|
|
35
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
36
|
+
var assets;
|
|
37
|
+
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
38
|
+
while (1) {
|
|
39
|
+
switch (_context.prev = _context.next) {
|
|
40
|
+
case 0:
|
|
41
|
+
_context.next = 2;
|
|
42
|
+
return (0, _useGetAssets.getAssets)();
|
|
43
|
+
|
|
44
|
+
case 2:
|
|
45
|
+
assets = _context.sent;
|
|
46
|
+
return _context.abrupt("return", SingleInsert()(assets));
|
|
47
|
+
|
|
48
|
+
case 4:
|
|
49
|
+
case "end":
|
|
50
|
+
return _context.stop();
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}, _callee);
|
|
54
|
+
}));
|
|
55
|
+
|
|
56
|
+
return function lazyLoad() {
|
|
57
|
+
return _ref.apply(this, arguments);
|
|
58
|
+
};
|
|
59
|
+
}();
|
|
41
60
|
|
|
42
61
|
exports.lazyLoad = lazyLoad;
|
|
@@ -3,26 +3,12 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.transMetasToTableData = exports.getAssetsVersion = exports.getAssetsUri = exports.getAssets = exports.domain =
|
|
7
|
-
|
|
8
|
-
var _react = require("react");
|
|
6
|
+
exports.transMetasToTableData = exports.getAssetsVersion = exports.getAssetsUri = exports.getAssets = exports.domain = void 0;
|
|
9
7
|
|
|
10
8
|
var _axios = _interopRequireDefault(require("../utils/axios"));
|
|
11
9
|
|
|
12
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
11
|
|
|
14
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
15
|
-
|
|
16
|
-
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."); }
|
|
17
|
-
|
|
18
|
-
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); }
|
|
19
|
-
|
|
20
|
-
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; }
|
|
21
|
-
|
|
22
|
-
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; }
|
|
23
|
-
|
|
24
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
25
|
-
|
|
26
12
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
27
13
|
|
|
28
14
|
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
@@ -92,7 +78,9 @@ exports.getAssetsUri = getAssetsUri;
|
|
|
92
78
|
|
|
93
79
|
var getAssets = /*#__PURE__*/function () {
|
|
94
80
|
var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
95
|
-
var
|
|
81
|
+
var _JSON$parse$;
|
|
82
|
+
|
|
83
|
+
var res, cacheAssets, cacheVersion, resVersion, assetsUri;
|
|
96
84
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
97
85
|
while (1) {
|
|
98
86
|
switch (_context.prev = _context.next) {
|
|
@@ -101,25 +89,27 @@ var getAssets = /*#__PURE__*/function () {
|
|
|
101
89
|
return getAssetsVersion();
|
|
102
90
|
|
|
103
91
|
case 2:
|
|
104
|
-
|
|
105
|
-
|
|
92
|
+
res = _context.sent;
|
|
93
|
+
cacheAssets = localStorage.getItem("".concat(storageKey, "version"));
|
|
94
|
+
cacheVersion = cacheAssets && ((_JSON$parse$ = JSON.parse(cacheAssets)[0]) === null || _JSON$parse$ === void 0 ? void 0 : _JSON$parse$.version);
|
|
95
|
+
resVersion = res[0].version;
|
|
106
96
|
|
|
107
|
-
if (!
|
|
108
|
-
_context.next =
|
|
97
|
+
if (!(cacheAssets !== null && cacheVersion === resVersion)) {
|
|
98
|
+
_context.next = 8;
|
|
109
99
|
break;
|
|
110
100
|
}
|
|
111
101
|
|
|
112
|
-
return _context.abrupt("return", JSON.parse(
|
|
113
|
-
|
|
114
|
-
case 6:
|
|
115
|
-
_context.next = 8;
|
|
116
|
-
return getAssetsUri(versionRes[0].version);
|
|
102
|
+
return _context.abrupt("return", JSON.parse(cacheAssets));
|
|
117
103
|
|
|
118
104
|
case 8:
|
|
105
|
+
_context.next = 10;
|
|
106
|
+
return getAssetsUri(resVersion);
|
|
107
|
+
|
|
108
|
+
case 10:
|
|
119
109
|
assetsUri = _context.sent;
|
|
120
110
|
return _context.abrupt("return", assetsUri);
|
|
121
111
|
|
|
122
|
-
case
|
|
112
|
+
case 12:
|
|
123
113
|
case "end":
|
|
124
114
|
return _context.stop();
|
|
125
115
|
}
|
|
@@ -132,62 +122,4 @@ var getAssets = /*#__PURE__*/function () {
|
|
|
132
122
|
};
|
|
133
123
|
}();
|
|
134
124
|
|
|
135
|
-
exports.getAssets = getAssets;
|
|
136
|
-
|
|
137
|
-
var useInsertAssets = function useInsertAssets() {
|
|
138
|
-
var _useState = (0, _react.useState)([]),
|
|
139
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
140
|
-
assetsUri = _useState2[0],
|
|
141
|
-
setAssetsUri = _useState2[1];
|
|
142
|
-
|
|
143
|
-
(0, _react.useEffect)(function () {
|
|
144
|
-
_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
|
145
|
-
var versionRes, assets, cacheVersion, uri;
|
|
146
|
-
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
147
|
-
while (1) {
|
|
148
|
-
switch (_context2.prev = _context2.next) {
|
|
149
|
-
case 0:
|
|
150
|
-
_context2.next = 2;
|
|
151
|
-
return getAssetsVersion();
|
|
152
|
-
|
|
153
|
-
case 2:
|
|
154
|
-
versionRes = _context2.sent;
|
|
155
|
-
assets = localStorage.getItem("".concat(storageKey, "version"));
|
|
156
|
-
cacheVersion = "";
|
|
157
|
-
|
|
158
|
-
if (assets !== null) {
|
|
159
|
-
cacheVersion = JSON.parse(assets)[0].version;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
if (!(assets !== null && assets === cacheVersion)) {
|
|
163
|
-
_context2.next = 10;
|
|
164
|
-
break;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
setAssetsUri(JSON.parse(assets));
|
|
168
|
-
_context2.next = 14;
|
|
169
|
-
break;
|
|
170
|
-
|
|
171
|
-
case 10:
|
|
172
|
-
_context2.next = 12;
|
|
173
|
-
return getAssetsUri(versionRes[0].version);
|
|
174
|
-
|
|
175
|
-
case 12:
|
|
176
|
-
uri = _context2.sent;
|
|
177
|
-
setAssetsUri(uri);
|
|
178
|
-
|
|
179
|
-
case 14:
|
|
180
|
-
case "end":
|
|
181
|
-
return _context2.stop();
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
}, _callee2);
|
|
185
|
-
}))();
|
|
186
|
-
}, []);
|
|
187
|
-
return {
|
|
188
|
-
assetsUri: assetsUri
|
|
189
|
-
};
|
|
190
|
-
};
|
|
191
|
-
|
|
192
|
-
var _default = useInsertAssets;
|
|
193
|
-
exports["default"] = _default;
|
|
125
|
+
exports.getAssets = getAssets;
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
.titaui-pc-video-box__box {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 100%;
|
|
4
|
+
position: relative;
|
|
5
|
+
border-bottom-right-radius: 24px;
|
|
6
|
+
border-bottom-left-radius: 24px;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
cursor: pointer;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.titaui-pc-video-box__box:hover .titaui-pc-video-box__mask1 {
|
|
12
|
+
opacity: 1;
|
|
13
|
+
transition: 0.5s;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.titaui-pc-video-box__box:hover .titaui-pc-video-box__mask2 {
|
|
17
|
+
opacity: 1;
|
|
18
|
+
transition: 0.5s;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.titaui-pc-video-box__box:hover .titaui-pc-video-box__progress {
|
|
22
|
+
opacity: 1;
|
|
23
|
+
transition: 0.5s;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.titaui-pc-video-box__mouseMove {
|
|
27
|
+
width: 100%;
|
|
28
|
+
height: 30px;
|
|
29
|
+
position: absolute;
|
|
30
|
+
bottom: 40px;
|
|
31
|
+
z-index: 12;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.titaui-pc-video-box__mouseMove:hover .titaui-pc-video-box__progress {
|
|
35
|
+
height: 4px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.titaui-pc-video-box__mouseMove--small {
|
|
39
|
+
height: 20px;
|
|
40
|
+
bottom: 30px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.titaui-pc-video-box__progress {
|
|
44
|
+
opacity: 0;
|
|
45
|
+
transition: 0.5s;
|
|
46
|
+
position: absolute;
|
|
47
|
+
bottom: 14px;
|
|
48
|
+
width: 100%;
|
|
49
|
+
height: 2px;
|
|
50
|
+
background: #ffffff;
|
|
51
|
+
z-index: 2;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.titaui-pc-video-box__progress--small {
|
|
55
|
+
bottom: 12px;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.titaui-pc-video-box__progress-current {
|
|
59
|
+
position: absolute;
|
|
60
|
+
left: 0;
|
|
61
|
+
bottom: 0;
|
|
62
|
+
background: #77be16;
|
|
63
|
+
height: 100%;
|
|
64
|
+
z-index: 3;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.titaui-pc-video-box__progress-current-dot {
|
|
68
|
+
position: absolute;
|
|
69
|
+
right: 0;
|
|
70
|
+
bottom: -2px;
|
|
71
|
+
width: 8px;
|
|
72
|
+
height: 8px;
|
|
73
|
+
border-radius: 50%;
|
|
74
|
+
background: #77be16;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.titaui-pc-video-box__controls {
|
|
78
|
+
width: 100%;
|
|
79
|
+
display: flex;
|
|
80
|
+
align-items: center;
|
|
81
|
+
justify-content: space-between;
|
|
82
|
+
padding: 16px 32px 16px 32px;
|
|
83
|
+
box-sizing: border-box;
|
|
84
|
+
position: absolute;
|
|
85
|
+
bottom: 0;
|
|
86
|
+
z-index: 2;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.titaui-pc-video-box__controls--small {
|
|
90
|
+
padding: 10px 12px;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.titaui-pc-video-box__controls-left {
|
|
94
|
+
display: inline-flex;
|
|
95
|
+
align-items: center;
|
|
96
|
+
justify-content: center;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.titaui-pc-video-box__controls-button {
|
|
100
|
+
width: 24px;
|
|
101
|
+
height: 24px;
|
|
102
|
+
border-radius: 12px;
|
|
103
|
+
display: inline-flex;
|
|
104
|
+
align-items: center;
|
|
105
|
+
justify-content: center;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.titaui-pc-video-box__controls-button:hover {
|
|
109
|
+
background: rgba(20, 28, 40, 0.6);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.titaui-pc-video-box__controls-play {
|
|
113
|
+
display: inline-flex;
|
|
114
|
+
align-items: center;
|
|
115
|
+
cursor: pointer;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.titaui-pc-video-box__controls-play img {
|
|
119
|
+
width: 16px;
|
|
120
|
+
height: 16px;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.titaui-pc-video-box__controls-time {
|
|
124
|
+
font-size: 12px;
|
|
125
|
+
color: #ffffff;
|
|
126
|
+
line-height: 18px;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.titaui-pc-video-box__controls-time:nth-of-type(1) {
|
|
130
|
+
margin-left: 6px;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.titaui-pc-video-box__controls-muted {
|
|
134
|
+
width: 16px;
|
|
135
|
+
height: 16px;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.titaui-pc-video-box__controls-volume {
|
|
139
|
+
display: inline-flex;
|
|
140
|
+
align-items: center;
|
|
141
|
+
justify-content: space-between;
|
|
142
|
+
padding: 0 8px;
|
|
143
|
+
box-sizing: border-box;
|
|
144
|
+
width: 72px;
|
|
145
|
+
height: 22px;
|
|
146
|
+
background: rgba(20, 28, 40, 0.6);
|
|
147
|
+
border-radius: 12px;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.titaui-pc-video-box__controls-volume-progress {
|
|
151
|
+
position: relative;
|
|
152
|
+
width: 34px;
|
|
153
|
+
height: 2px;
|
|
154
|
+
background: rgba(255, 255, 255, 0.4);
|
|
155
|
+
border-radius: 1px;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.titaui-pc-video-box__controls-volume-progress--hidden {
|
|
159
|
+
display: none;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.titaui-pc-video-box__controls-volume-current {
|
|
163
|
+
position: absolute;
|
|
164
|
+
bottom: 0;
|
|
165
|
+
left: 0;
|
|
166
|
+
height: 2px;
|
|
167
|
+
background: rgba(255, 255, 255, 0.6);
|
|
168
|
+
border-radius: 1px;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.titaui-pc-video-box__controls-volume-current::after {
|
|
172
|
+
content: '';
|
|
173
|
+
position: absolute;
|
|
174
|
+
right: 0;
|
|
175
|
+
bottom: -1px;
|
|
176
|
+
width: 4px;
|
|
177
|
+
height: 4px;
|
|
178
|
+
border-radius: 50%;
|
|
179
|
+
background: #ffffff;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.titaui-pc-video-box__controls-volume-current--hidden {
|
|
183
|
+
display: none;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.titaui-pc-video-box__controls-right {
|
|
187
|
+
display: inline-flex;
|
|
188
|
+
align-items: center;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.titaui-pc-video-box__title {
|
|
192
|
+
width: 100%;
|
|
193
|
+
height: 100%;
|
|
194
|
+
display: flex;
|
|
195
|
+
align-items: center;
|
|
196
|
+
justify-content: space-between;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.titaui-pc-video-box__mask1 {
|
|
200
|
+
opacity: 0;
|
|
201
|
+
transition: 0.5s;
|
|
202
|
+
position: absolute;
|
|
203
|
+
top: 0;
|
|
204
|
+
padding: 0 16px;
|
|
205
|
+
box-sizing: border-box;
|
|
206
|
+
width: 100%;
|
|
207
|
+
height: 62px;
|
|
208
|
+
background: linear-gradient(0deg, rgba(20, 28, 40, 0) 0%, #5a6068 100%);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.titaui-pc-video-box__mask1--small {
|
|
212
|
+
height: 42px;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.titaui-pc-video-box__mask1-title {
|
|
216
|
+
font-size: 12px;
|
|
217
|
+
font-weight: normal;
|
|
218
|
+
color: #ffffff;
|
|
219
|
+
line-height: 18px;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.titaui-pc-video-box__mask1-close {
|
|
223
|
+
width: 14px;
|
|
224
|
+
height: 14px;
|
|
225
|
+
cursor: pointer;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.titaui-pc-video-box__mask2 {
|
|
229
|
+
opacity: 0;
|
|
230
|
+
transition: 0.5s;
|
|
231
|
+
position: absolute;
|
|
232
|
+
bottom: 0;
|
|
233
|
+
width: 100%;
|
|
234
|
+
height: 62px;
|
|
235
|
+
background: linear-gradient(180deg, rgba(20, 28, 40, 0) 0%, #5a6068 100%);
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.titaui-pc-video-box__mask2--small {
|
|
239
|
+
height: 42px;
|
|
240
|
+
}
|