@king-design/intact 2.0.1 → 2.0.4
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/components/cascader/index.spec.ts +59 -0
- package/components/cascader/index.vdt +4 -4
- package/components/cascader/useLabel.ts +9 -9
- package/components/dropdown/dropdown.ts +5 -6
- package/components/form/index.spec.ts +1 -1
- package/components/menu/demos/collapse.md +3 -1
- package/components/menu/index.spec.ts +10 -4
- package/components/menu/item.ts +5 -4
- package/components/menu/item.vdt +3 -3
- package/components/menu/menu.ts +4 -0
- package/components/menu/useExpanded.ts +1 -1
- package/components/menu/useHighlight.ts +45 -40
- package/components/portal.ts +1 -1
- package/components/skeleton/demos/animate.md +30 -0
- package/components/skeleton/demos/avator.md +30 -0
- package/components/skeleton/demos/basic.md +30 -0
- package/components/skeleton/demos/custom.md +39 -0
- package/components/skeleton/demos/rows.md +32 -0
- package/components/skeleton/index.md +24 -0
- package/components/skeleton/index.ts +2 -0
- package/components/skeleton/item.ts +30 -0
- package/components/skeleton/item.vdt +28 -0
- package/components/skeleton/skeleton.ts +33 -0
- package/components/skeleton/skeleton.vdt +32 -0
- package/components/skeleton/style.ts +105 -0
- package/components/tree/useFilter.ts +1 -2
- package/es/components/cascader/index.spec.js +88 -0
- package/es/components/cascader/index.vdt.js +4 -4
- package/es/components/cascader/useLabel.js +8 -12
- package/es/components/dropdown/dropdown.js +7 -7
- package/es/components/form/index.spec.js +2 -4
- package/es/components/menu/index.spec.js +13 -6
- package/es/components/menu/item.d.ts +0 -1
- package/es/components/menu/item.js +6 -4
- package/es/components/menu/item.vdt.js +4 -4
- package/es/components/menu/menu.d.ts +3 -0
- package/es/components/menu/menu.js +4 -0
- package/es/components/menu/useExpanded.d.ts +1 -4
- package/es/components/menu/useHighlight.d.ts +5 -8
- package/es/components/menu/useHighlight.js +44 -33
- package/es/components/portal.js +1 -1
- package/es/components/skeleton/index.d.ts +2 -0
- package/es/components/skeleton/index.js +2 -0
- package/es/components/skeleton/item.d.ts +16 -0
- package/es/components/skeleton/item.js +26 -0
- package/es/components/skeleton/item.vdt.js +35 -0
- package/es/components/skeleton/skeleton.d.ts +17 -0
- package/es/components/skeleton/skeleton.js +30 -0
- package/es/components/skeleton/skeleton.vdt.js +37 -0
- package/es/components/skeleton/style.d.ts +6 -0
- package/es/components/skeleton/style.js +35 -0
- package/es/components/tree/useFilter.js +1 -2
- package/es/index.d.ts +3 -2
- package/es/index.js +3 -2
- package/es/packages/kpc-react/__tests__/components/form.spec.d.ts +1 -0
- package/es/packages/kpc-react/__tests__/components/form.spec.js +46 -0
- package/es/site/data/components/menu/demos/collapse/index.js +1 -0
- package/es/site/data/components/menu/demos/collapse/react.js +7 -0
- package/es/site/data/components/skeleton/demos/animate/index.d.ts +11 -0
- package/es/site/data/components/skeleton/demos/animate/index.js +23 -0
- package/es/site/data/components/skeleton/demos/animate/react.d.ts +11 -0
- package/es/site/data/components/skeleton/demos/animate/react.js +38 -0
- package/es/site/data/components/skeleton/demos/avator/index.d.ts +11 -0
- package/es/site/data/components/skeleton/demos/avator/index.js +23 -0
- package/es/site/data/components/skeleton/demos/avator/react.d.ts +11 -0
- package/es/site/data/components/skeleton/demos/avator/react.js +37 -0
- package/es/site/data/components/skeleton/demos/basic/index.d.ts +11 -0
- package/es/site/data/components/skeleton/demos/basic/index.js +23 -0
- package/es/site/data/components/skeleton/demos/basic/react.d.ts +11 -0
- package/es/site/data/components/skeleton/demos/basic/react.js +36 -0
- package/es/site/data/components/skeleton/demos/custom/index.d.ts +11 -0
- package/es/site/data/components/skeleton/demos/custom/index.js +23 -0
- package/es/site/data/components/skeleton/demos/custom/react.d.ts +11 -0
- package/es/site/data/components/skeleton/demos/custom/react.js +60 -0
- package/es/site/data/components/skeleton/demos/rows/index.d.ts +13 -0
- package/es/site/data/components/skeleton/demos/rows/index.js +24 -0
- package/es/site/data/components/skeleton/demos/rows/react.d.ts +13 -0
- package/es/site/data/components/skeleton/demos/rows/react.js +38 -0
- package/es/site/data/components/skeleton/index.d.ts +57 -0
- package/es/site/data/components/skeleton/index.js +42 -0
- package/es/site/src/client.js +4 -4
- package/es/site/src/components/footer/styles.js +1 -1
- package/es/site/src/pages/colorProcess/index.d.ts +21 -0
- package/es/site/src/pages/colorProcess/index.js +79 -0
- package/es/site/src/pages/colorProcess/style.d.ts +3 -0
- package/es/site/src/pages/colorProcess/style.js +53 -0
- package/es/site/src/pages/font/index.d.ts +12 -0
- package/es/site/src/pages/font/index.js +22 -0
- package/es/site/src/pages/font/styles.d.ts +1 -0
- package/es/site/src/pages/font/styles.js +9 -0
- package/es/site/src/pages/iframe/colorProcess/styles.js +2 -2
- package/es/site/src/pages/index/BestPractice/styles.js +1 -1
- package/es/site/src/pages/index/ColorProcess/styles.js +2 -2
- package/es/site/src/pages/index/KingVersion/styles.js +1 -1
- package/es/site/src/pages/index/NewFunction/index.d.ts +2 -0
- package/es/site/src/pages/index/NewFunction/index.js +8 -2
- package/es/site/src/pages/index/NewFunction/styles.js +1 -1
- package/es/site/src/pages/index/styles.js +2 -1
- package/es/site/src/pages/resource/index.d.ts +1 -0
- package/es/site/src/pages/resource/index.js +4 -1
- package/es/site/src/pages/styles.js +1 -1
- package/es/site/src/router/index.js +75 -5
- package/index.ts +3 -2
- package/package.json +5 -4
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import _inheritsLoose from "@babel/runtime-corejs3/helpers/inheritsLoose";
|
|
2
|
+
export { default as data } from './index.json';
|
|
3
|
+
import { Component } from 'intact';
|
|
4
|
+
import template from './index.vdt';
|
|
5
|
+
|
|
6
|
+
var default_1 = /*#__PURE__*/function (_Component) {
|
|
7
|
+
_inheritsLoose(default_1, _Component);
|
|
8
|
+
|
|
9
|
+
function default_1() {
|
|
10
|
+
return _Component.apply(this, arguments) || this;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
default_1.defaults = function defaults() {
|
|
14
|
+
return {
|
|
15
|
+
showSkeleton: true
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
return default_1;
|
|
20
|
+
}(Component);
|
|
21
|
+
|
|
22
|
+
default_1.template = template;
|
|
23
|
+
export { default_1 as default };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import _inheritsLoose from "@babel/runtime-corejs3/helpers/inheritsLoose";
|
|
2
|
+
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js/instance/concat";
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { Skeleton } from '@king-design/react';
|
|
5
|
+
|
|
6
|
+
var Demo = /*#__PURE__*/function (_React$Component) {
|
|
7
|
+
_inheritsLoose(Demo, _React$Component);
|
|
8
|
+
|
|
9
|
+
function Demo() {
|
|
10
|
+
var _context;
|
|
11
|
+
|
|
12
|
+
var _this;
|
|
13
|
+
|
|
14
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
15
|
+
args[_key] = arguments[_key];
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
_this = _React$Component.call.apply(_React$Component, _concatInstanceProperty(_context = [this]).call(_context, args)) || this;
|
|
19
|
+
_this.state = {
|
|
20
|
+
showSkeleton: true
|
|
21
|
+
};
|
|
22
|
+
return _this;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
var _proto = Demo.prototype;
|
|
26
|
+
|
|
27
|
+
_proto.render = function render() {
|
|
28
|
+
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Skeleton, {
|
|
29
|
+
loading: this.state.showSkeleton
|
|
30
|
+
}));
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
return Demo;
|
|
34
|
+
}(React.Component);
|
|
35
|
+
|
|
36
|
+
export { Demo as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { default as data } from './index.json';
|
|
2
|
+
import { Component } from 'intact';
|
|
3
|
+
interface Props {
|
|
4
|
+
showSkeleton?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export default class extends Component<Props> {
|
|
7
|
+
static template: string | import("intact").Template<any>;
|
|
8
|
+
static defaults(): {
|
|
9
|
+
showSkeleton: boolean;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import _inheritsLoose from "@babel/runtime-corejs3/helpers/inheritsLoose";
|
|
2
|
+
export { default as data } from './index.json';
|
|
3
|
+
import { Component } from 'intact';
|
|
4
|
+
import template from './index.vdt';
|
|
5
|
+
|
|
6
|
+
var default_1 = /*#__PURE__*/function (_Component) {
|
|
7
|
+
_inheritsLoose(default_1, _Component);
|
|
8
|
+
|
|
9
|
+
function default_1() {
|
|
10
|
+
return _Component.apply(this, arguments) || this;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
default_1.defaults = function defaults() {
|
|
14
|
+
return {
|
|
15
|
+
showSkeleton: true
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
return default_1;
|
|
20
|
+
}(Component);
|
|
21
|
+
|
|
22
|
+
default_1.template = template;
|
|
23
|
+
export { default_1 as default };
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import _inheritsLoose from "@babel/runtime-corejs3/helpers/inheritsLoose";
|
|
2
|
+
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js/instance/concat";
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { Skeleton, SkeletonItem } from '@king-design/react';
|
|
5
|
+
|
|
6
|
+
var Demo = /*#__PURE__*/function (_React$Component) {
|
|
7
|
+
_inheritsLoose(Demo, _React$Component);
|
|
8
|
+
|
|
9
|
+
function Demo() {
|
|
10
|
+
var _context;
|
|
11
|
+
|
|
12
|
+
var _this;
|
|
13
|
+
|
|
14
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
15
|
+
args[_key] = arguments[_key];
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
_this = _React$Component.call.apply(_React$Component, _concatInstanceProperty(_context = [this]).call(_context, args)) || this;
|
|
19
|
+
_this.state = {
|
|
20
|
+
showSkeleton: true
|
|
21
|
+
};
|
|
22
|
+
return _this;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
var _proto = Demo.prototype;
|
|
26
|
+
|
|
27
|
+
_proto.render = function render() {
|
|
28
|
+
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Skeleton, {
|
|
29
|
+
loading: this.state.showSkeleton,
|
|
30
|
+
avator: true,
|
|
31
|
+
animated: true
|
|
32
|
+
}, /*#__PURE__*/React.createElement(SkeletonItem, {
|
|
33
|
+
type: "image"
|
|
34
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
35
|
+
style: {
|
|
36
|
+
"display": "flex",
|
|
37
|
+
"justifyContent": "space-between",
|
|
38
|
+
"width": "200px",
|
|
39
|
+
"marginTop": "20px"
|
|
40
|
+
}
|
|
41
|
+
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(SkeletonItem, {
|
|
42
|
+
type: "button",
|
|
43
|
+
style: {
|
|
44
|
+
"height": "16px"
|
|
45
|
+
}
|
|
46
|
+
}), /*#__PURE__*/React.createElement(SkeletonItem, {
|
|
47
|
+
type: "button",
|
|
48
|
+
style: {
|
|
49
|
+
"height": "16px",
|
|
50
|
+
"marginTop": "8px"
|
|
51
|
+
}
|
|
52
|
+
})), /*#__PURE__*/React.createElement(SkeletonItem, {
|
|
53
|
+
type: "button"
|
|
54
|
+
}))));
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
return Demo;
|
|
58
|
+
}(React.Component);
|
|
59
|
+
|
|
60
|
+
export { Demo as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { default as data } from './index.json';
|
|
2
|
+
import { Component } from 'intact';
|
|
3
|
+
interface Props {
|
|
4
|
+
showSkeleton?: boolean;
|
|
5
|
+
rows?: number;
|
|
6
|
+
}
|
|
7
|
+
export default class extends Component<Props> {
|
|
8
|
+
static template: string | import("intact").Template<any>;
|
|
9
|
+
static defaults(): {
|
|
10
|
+
showSkeleton: boolean;
|
|
11
|
+
rows: number;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import _inheritsLoose from "@babel/runtime-corejs3/helpers/inheritsLoose";
|
|
2
|
+
export { default as data } from './index.json';
|
|
3
|
+
import { Component } from 'intact';
|
|
4
|
+
import template from './index.vdt';
|
|
5
|
+
|
|
6
|
+
var default_1 = /*#__PURE__*/function (_Component) {
|
|
7
|
+
_inheritsLoose(default_1, _Component);
|
|
8
|
+
|
|
9
|
+
function default_1() {
|
|
10
|
+
return _Component.apply(this, arguments) || this;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
default_1.defaults = function defaults() {
|
|
14
|
+
return {
|
|
15
|
+
showSkeleton: true,
|
|
16
|
+
rows: 4
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
return default_1;
|
|
21
|
+
}(Component);
|
|
22
|
+
|
|
23
|
+
default_1.template = template;
|
|
24
|
+
export { default_1 as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface Props {
|
|
3
|
+
showSkeleton?: boolean;
|
|
4
|
+
rows?: number;
|
|
5
|
+
}
|
|
6
|
+
export default class Demo extends React.Component<{}, Props> {
|
|
7
|
+
state: {
|
|
8
|
+
showSkeleton: boolean;
|
|
9
|
+
rows: number;
|
|
10
|
+
};
|
|
11
|
+
render(): JSX.Element;
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import _inheritsLoose from "@babel/runtime-corejs3/helpers/inheritsLoose";
|
|
2
|
+
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js/instance/concat";
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { Skeleton } from '@king-design/react';
|
|
5
|
+
|
|
6
|
+
var Demo = /*#__PURE__*/function (_React$Component) {
|
|
7
|
+
_inheritsLoose(Demo, _React$Component);
|
|
8
|
+
|
|
9
|
+
function Demo() {
|
|
10
|
+
var _context;
|
|
11
|
+
|
|
12
|
+
var _this;
|
|
13
|
+
|
|
14
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
15
|
+
args[_key] = arguments[_key];
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
_this = _React$Component.call.apply(_React$Component, _concatInstanceProperty(_context = [this]).call(_context, args)) || this;
|
|
19
|
+
_this.state = {
|
|
20
|
+
showSkeleton: true,
|
|
21
|
+
rows: 4
|
|
22
|
+
};
|
|
23
|
+
return _this;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
var _proto = Demo.prototype;
|
|
27
|
+
|
|
28
|
+
_proto.render = function render() {
|
|
29
|
+
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Skeleton, {
|
|
30
|
+
loading: this.state.showSkeleton,
|
|
31
|
+
rows: this.state.rows
|
|
32
|
+
}));
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
return Demo;
|
|
36
|
+
}(React.Component);
|
|
37
|
+
|
|
38
|
+
export { Demo as default };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { Component } from 'intact';
|
|
2
|
+
import Article from '~/../src/components/article';
|
|
3
|
+
export default class extends Article {
|
|
4
|
+
static sidebar: {
|
|
5
|
+
组件: {
|
|
6
|
+
title: string;
|
|
7
|
+
category: string;
|
|
8
|
+
order: number;
|
|
9
|
+
sidebar: string;
|
|
10
|
+
path: string;
|
|
11
|
+
}[];
|
|
12
|
+
undefined: ({
|
|
13
|
+
title: string;
|
|
14
|
+
order: number;
|
|
15
|
+
sidebar: string;
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
path: string;
|
|
18
|
+
} | {
|
|
19
|
+
title: string;
|
|
20
|
+
order: number;
|
|
21
|
+
sidebar: string;
|
|
22
|
+
path: string;
|
|
23
|
+
disabled?: undefined;
|
|
24
|
+
})[];
|
|
25
|
+
};
|
|
26
|
+
static data: {
|
|
27
|
+
setting: {
|
|
28
|
+
title: string;
|
|
29
|
+
category: string;
|
|
30
|
+
order: number;
|
|
31
|
+
sidebar: string;
|
|
32
|
+
};
|
|
33
|
+
contents: string;
|
|
34
|
+
index: string;
|
|
35
|
+
catalogs: {
|
|
36
|
+
text: string;
|
|
37
|
+
level: number;
|
|
38
|
+
id: string;
|
|
39
|
+
}[];
|
|
40
|
+
};
|
|
41
|
+
static defaults: () => {
|
|
42
|
+
demos: Component<any, {}, {}, {}>[];
|
|
43
|
+
setting: {
|
|
44
|
+
title: string;
|
|
45
|
+
category: string;
|
|
46
|
+
order: number;
|
|
47
|
+
sidebar: string;
|
|
48
|
+
};
|
|
49
|
+
contents: string;
|
|
50
|
+
index: string;
|
|
51
|
+
catalogs: {
|
|
52
|
+
text: string;
|
|
53
|
+
level: number;
|
|
54
|
+
id: string;
|
|
55
|
+
}[];
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import _extends from "@babel/runtime-corejs3/helpers/extends";
|
|
2
|
+
import _inheritsLoose from "@babel/runtime-corejs3/helpers/inheritsLoose";
|
|
3
|
+
import _keysInstanceProperty from "@babel/runtime-corejs3/core-js/instance/keys";
|
|
4
|
+
import _startsWithInstanceProperty from "@babel/runtime-corejs3/core-js/instance/starts-with";
|
|
5
|
+
import Article from '~/../src/components/article';
|
|
6
|
+
import data from './index.json';
|
|
7
|
+
import sidebar from '~/doc.json';
|
|
8
|
+
|
|
9
|
+
var r = require.context('./', true, /demos.*(index|demo).ts/);
|
|
10
|
+
|
|
11
|
+
var keys = _keysInstanceProperty(r).call(r);
|
|
12
|
+
|
|
13
|
+
var demos = [];
|
|
14
|
+
|
|
15
|
+
for (var i = 0; i < keys.length; i++) {
|
|
16
|
+
var file = keys[i];
|
|
17
|
+
if (!_startsWithInstanceProperty(file).call(file, '.')) continue; // if we found demo.js then ignore index.js
|
|
18
|
+
|
|
19
|
+
if (/demo.ts$/.test(file)) i++;
|
|
20
|
+
demos.push(r(file));
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
var default_1 = /*#__PURE__*/function (_Article) {
|
|
24
|
+
_inheritsLoose(default_1, _Article);
|
|
25
|
+
|
|
26
|
+
function default_1() {
|
|
27
|
+
return _Article.apply(this, arguments) || this;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
return default_1;
|
|
31
|
+
}(Article);
|
|
32
|
+
|
|
33
|
+
default_1.sidebar = sidebar;
|
|
34
|
+
default_1.data = data;
|
|
35
|
+
|
|
36
|
+
default_1.defaults = function () {
|
|
37
|
+
return _extends({}, Article.defaults, data, {
|
|
38
|
+
demos: demos
|
|
39
|
+
});
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export { default_1 as default };
|
package/es/site/src/client.js
CHANGED
|
@@ -2,10 +2,10 @@ import _asyncToGenerator from "@babel/runtime-corejs3/helpers/asyncToGenerator";
|
|
|
2
2
|
import _regeneratorRuntime from "@babel/runtime-corejs3/regenerator";
|
|
3
3
|
import router from './router';
|
|
4
4
|
import { render, createVNode as h } from 'intact';
|
|
5
|
-
import { history } from './history';
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
import { history } from './history'; // import {localize} from 'kpc';
|
|
6
|
+
// import i18n from 'kpc/i18n/en-US';
|
|
7
|
+
// localize(i18n);
|
|
8
|
+
|
|
9
9
|
var container = document.getElementById('page');
|
|
10
10
|
var unlisten;
|
|
11
11
|
|
|
@@ -4,5 +4,5 @@ import { mainBlock } from '../../styles/default';
|
|
|
4
4
|
export function makeStyles() {
|
|
5
5
|
var tableBorder = '1px solid #C4C4C4';
|
|
6
6
|
var leftPadding = '16px';
|
|
7
|
-
return /*#__PURE__*/css("background:#FFFFFF;", mainBlock(420), ";letter-spacing:-0.05em;color:#5B5A5A;font-size:14px;a{color:#5B5A5A;text-decoration:none;}.footer-box{width:100%;display:flex;align-items:center;}.footer-table{width:100%;height:300px;border:", tableBorder, ";.info-box{height:209px;border-bottom:", tableBorder, ";}.info-left{border-right:", tableBorder, ";padding-left:", leftPadding, ";padding-top:37px;.title{font-size:30px;color:#000000;margin-bottom:16px;}span{margin-right:50px;}.qrcode-box{display:flex;&>div{padding-left:20px;display:flex;flex-direction:column;justify-content:space-around;}}}.info-right{.k-row:first-child{border-bottom:", tableBorder, ";}.k-row{padding:25px 0 0 30px;}.title{color:#000000;}}.quick-access-box{height:101px;}.link-list{margin-top:15px;display:flex;&>div{margin-right:25px;}}}.copy-right-info{display:flex;align-items:center;padding-left:", leftPadding, ";height:30px;font-size:12px;}.footer-logo-box{height:60px;display:flex;align-items:center;padding-left:16px;border-bottom:", tableBorder, ";.logo{width:
|
|
7
|
+
return /*#__PURE__*/css("background:#FFFFFF;", mainBlock(420), ";letter-spacing:-0.05em;color:#5B5A5A;font-size:14px;.web-info{display:block;}.h5-info{display:none;}a{color:#5B5A5A;text-decoration:none;}.footer-box{width:100%;display:flex;align-items:center;}.footer-table{width:100%;height:300px;border:", tableBorder, ";.info-box{height:209px;border-bottom:", tableBorder, ";}.info-left{border-right:", tableBorder, ";padding-left:", leftPadding, ";padding-top:37px;.title{font-size:30px;color:#000000;margin-bottom:16px;}span{margin-right:50px;}.qrcode-box{display:flex;&>div{padding-left:20px;display:flex;flex-direction:column;justify-content:space-around;}}}.info-right{.k-row:first-child{border-bottom:", tableBorder, ";}.k-row{padding:25px 0 0 30px;}.title{color:#000000;}}.quick-access-box{height:101px;}.link-list{margin-top:15px;display:flex;&>div{margin-right:25px;}}}.copy-right-info{display:flex;align-items:center;padding-left:", leftPadding, ";height:30px;font-size:12px;}.footer-logo-box{height:60px;display:flex;align-items:center;padding-left:16px;border-bottom:", tableBorder, ";.logo{width:226px;height:40px;background-image:url(", footer_logo, ");background-size:cover;}}@media (max-width: 768px){height:auto;.web-info{display:none;}.h5-info{display:block;}.h5-footer{padding:30px 20px 20px 20px;&>div{text-align:center;}&>div:nth-child(2){margin:20px 0;font-size:16px;}&>div:nth-child(4){margin:16px 0 30px 0;font-size:14px;}&>div:last-child{font-size:10px;color:#5B5A5A;line-height:16px;}}.footer-table{height:auto;.info-box{height:auto;}.info-left{border:none;.title{font-size:24px;}span{display:block;}}.info-right{.k-row{padding:20px;&:first-child{border:none;}}}.link-list{gap:20px;>div{margin-right:0;}}}.copy-right-info{padding:20px;height:auto;}}");
|
|
8
8
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Component } from 'intact';
|
|
2
|
+
interface ColorProcessProps {
|
|
3
|
+
inputColor: string;
|
|
4
|
+
theme: string;
|
|
5
|
+
colorType: string;
|
|
6
|
+
pickerColor: string;
|
|
7
|
+
contrastMenu: boolean;
|
|
8
|
+
preColor: string;
|
|
9
|
+
bacColor: string;
|
|
10
|
+
}
|
|
11
|
+
export default class Index extends Component<ColorProcessProps> {
|
|
12
|
+
static template: string | import("intact").Template<any>;
|
|
13
|
+
static defaults: () => Partial<ColorProcessProps>;
|
|
14
|
+
_palette(color: string, level: number): string;
|
|
15
|
+
_changeColor(e: InputEvent): void;
|
|
16
|
+
_changeTheme(val: string): void;
|
|
17
|
+
_changeColorType(val: string): void;
|
|
18
|
+
_changeContrastShow(val: boolean): void;
|
|
19
|
+
_switchColor(): void;
|
|
20
|
+
}
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import _inheritsLoose from "@babel/runtime-corejs3/helpers/inheritsLoose";
|
|
2
|
+
import _trimInstanceProperty from "@babel/runtime-corejs3/core-js/instance/trim";
|
|
3
|
+
import template from './index.vdt';
|
|
4
|
+
import { Component } from 'intact';
|
|
5
|
+
import Chroma from 'chroma-js';
|
|
6
|
+
import { Message } from 'kpc';
|
|
7
|
+
|
|
8
|
+
var Index = /*#__PURE__*/function (_Component) {
|
|
9
|
+
_inheritsLoose(Index, _Component);
|
|
10
|
+
|
|
11
|
+
function Index() {
|
|
12
|
+
return _Component.apply(this, arguments) || this;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
var _proto = Index.prototype;
|
|
16
|
+
|
|
17
|
+
_proto._palette = function _palette(color, level) {
|
|
18
|
+
var _Chroma$hsv = Chroma(color).hsv(),
|
|
19
|
+
h = _Chroma$hsv[0],
|
|
20
|
+
s = _Chroma$hsv[1],
|
|
21
|
+
b = _Chroma$hsv[2];
|
|
22
|
+
|
|
23
|
+
var deS = s < 0.1 ? 0 : (s - 0.1) / 4;
|
|
24
|
+
var inS = (1 - s) / 4;
|
|
25
|
+
var deB = (1 - b) / 4;
|
|
26
|
+
var inB = b <= 0.4 ? 0 : (b - 0.4) / 4;
|
|
27
|
+
if (level < 0 && level >= -4) return Chroma.hsv(h + level, s + level * deS, b - level * deB).hex();else if (level > 0 && level <= 4) return Chroma.hsv(h + level, s + level * inS, b - level * inB).hex();else return color;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
_proto._changeColor = function _changeColor(e) {
|
|
31
|
+
var _context;
|
|
32
|
+
|
|
33
|
+
var target = e.target;
|
|
34
|
+
|
|
35
|
+
var value = _trimInstanceProperty(_context = target.value).call(_context);
|
|
36
|
+
|
|
37
|
+
if (/#[0-9A-Fa-f]{6}/i.test(value)) {
|
|
38
|
+
this.set('inputColor', target.value);
|
|
39
|
+
} else {
|
|
40
|
+
Message.error('请输入hex格式颜色值');
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
_proto._changeTheme = function _changeTheme(val) {
|
|
45
|
+
this.set('theme', val);
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
_proto._changeColorType = function _changeColorType(val) {
|
|
49
|
+
this.set('colorType', val);
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
_proto._changeContrastShow = function _changeContrastShow(val) {
|
|
53
|
+
this.set('contrastMenu', val);
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
_proto._switchColor = function _switchColor() {
|
|
57
|
+
var temp = this.get('preColor');
|
|
58
|
+
this.set('preColor', this.get('bacColor'));
|
|
59
|
+
this.set('bacColor', temp);
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
return Index;
|
|
63
|
+
}(Component);
|
|
64
|
+
|
|
65
|
+
Index.template = template;
|
|
66
|
+
|
|
67
|
+
Index.defaults = function () {
|
|
68
|
+
return {
|
|
69
|
+
inputColor: '#0091EA',
|
|
70
|
+
theme: 'light',
|
|
71
|
+
colorType: 'HEX',
|
|
72
|
+
pickerColor: '#0091EA',
|
|
73
|
+
contrastMenu: false,
|
|
74
|
+
preColor: '#fd0009',
|
|
75
|
+
bacColor: '#d1d1d1'
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
export { Index as default };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
2
|
+
|
|
3
|
+
import { css } from '@emotion/css';
|
|
4
|
+
export function makeStyles(theme) {
|
|
5
|
+
if (theme == 'light') return /*#__PURE__*/css(process.env.NODE_ENV === "production" ? {
|
|
6
|
+
name: "c6wrgo",
|
|
7
|
+
styles: "height:100%;.k-btn{font-size:16px;}.k-layout-wrapper{height:100%;}.k-layout-header{background:white;position:relative;display:flex;align-items:center;font-family:Roboto;font-weight:500;font-size:12px;justify-content:space-between;&>div{flex-grow:1;}&>div:last-child{display:flex;justify-content:flex-end;}.header-title{text-align:center;font-size:30px;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);color:black;}.header-logo{display:flex;padding-left:25px;img{width:50px;}}.header-options{line-height:70px;color:black;vertical-align:middle;&>div{margin-left:10px;}.contrast{cursor:pointer;text-align:center;}.theme,.color-type{&>button{background-color:white;}&>button:first-child{border-right:none;}&>button:last-child{border-left:none;}.checkout{background-color:blue;color:white;}}}}.cp-body{.card-title{font-size:40px;}.k-card{background:#ececec;}.input{margin-top:40px;margin-bottom:20px;}.Color-RGB{display:flex;align-items:center;&>div:last-child{margin-left:10px;}}.recomend{.recomend-item{margin-top:40px;.recomend-item-title{font-size:24px;margin-bottom:20px;}.color-pelette{display:flex;align-items:center;&>div:nth-child(n+5){color:white;}&>div:nth-child(5){margin-right:2px;height:50px!important;line-height:50px!important;}.color-pelette-item{flex-grow:1;width:100px;height:46px;text-align:center;line-height:46px;vertical-align:middle;}}}}.color-pelette{display:flex;align-items:center;&>div:nth-child(n+5){color:white;}&>div:nth-child(5){margin-right:2px;height:50px!important;line-height:50px!important;}.color-pelette-item{flex-grow:1;width:100px;height:46px;text-align:center;line-height:46px;vertical-align:middle;}}}"
|
|
8
|
+
} : {
|
|
9
|
+
name: "c6wrgo",
|
|
10
|
+
styles: "height:100%;.k-btn{font-size:16px;}.k-layout-wrapper{height:100%;}.k-layout-header{background:white;position:relative;display:flex;align-items:center;font-family:Roboto;font-weight:500;font-size:12px;justify-content:space-between;&>div{flex-grow:1;}&>div:last-child{display:flex;justify-content:flex-end;}.header-title{text-align:center;font-size:30px;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);color:black;}.header-logo{display:flex;padding-left:25px;img{width:50px;}}.header-options{line-height:70px;color:black;vertical-align:middle;&>div{margin-left:10px;}.contrast{cursor:pointer;text-align:center;}.theme,.color-type{&>button{background-color:white;}&>button:first-child{border-right:none;}&>button:last-child{border-left:none;}.checkout{background-color:blue;color:white;}}}}.cp-body{.card-title{font-size:40px;}.k-card{background:#ececec;}.input{margin-top:40px;margin-bottom:20px;}.Color-RGB{display:flex;align-items:center;&>div:last-child{margin-left:10px;}}.recomend{.recomend-item{margin-top:40px;.recomend-item-title{font-size:24px;margin-bottom:20px;}.color-pelette{display:flex;align-items:center;&>div:nth-child(n+5){color:white;}&>div:nth-child(5){margin-right:2px;height:50px!important;line-height:50px!important;}.color-pelette-item{flex-grow:1;width:100px;height:46px;text-align:center;line-height:46px;vertical-align:middle;}}}}.color-pelette{display:flex;align-items:center;&>div:nth-child(n+5){color:white;}&>div:nth-child(5){margin-right:2px;height:50px!important;line-height:50px!important;}.color-pelette-item{flex-grow:1;width:100px;height:46px;text-align:center;line-height:46px;vertical-align:middle;}}}",
|
|
11
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
12
|
+
});else {
|
|
13
|
+
return /*#__PURE__*/css(process.env.NODE_ENV === "production" ? {
|
|
14
|
+
name: "1h0d5ue",
|
|
15
|
+
styles: "height:100%;.k-btn{font-size:16px;}.k-layout-wrapper{height:100%;}.k-layout-header{background:black;position:relative;display:flex;align-items:center;font-family:Roboto;font-weight:500;font-size:12px;justify-content:space-between;&>div{flex-grow:1;}&>div:last-child{display:flex;justify-content:flex-end;}.header-title{text-align:center;font-size:30px;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);color:white;}.header-logo{display:flex;padding-left:25px;img{width:50px;}}.header-options{line-height:70px;color:white;vertical-align:middle;&>div{margin-left:10px;}.contrast{cursor:pointer;text-align:center;}.theme,.color-type{&>button{background-color:white;}&>button:first-child{border-right:none;}&>button:last-child{border-left:none;}.checkout{background-color:blue;color:white;}}}}.cp-body{background:#373737;.k-card{background:#373737;}.card-title{font-size:40px;color:white;}.input{margin-top:40px;margin-bottom:20px;color:white;}.Color-RGB{display:flex;align-items:center;&>div:last-child{margin-left:10px;}}.recomend{.recomend-item{margin-top:40px;.recomend-item-title{color:white;font-size:24px;margin-bottom:20px;}.color-pelette{display:flex;align-items:center;&>div:nth-child(n+5){color:white;}&>div:nth-child(5){margin-right:2px;height:50px!important;line-height:50px!important;}.color-pelette-item{flex-grow:1;width:100px;height:46px;text-align:center;line-height:46px;vertical-align:middle;}}}}.color-pelette{display:flex;align-items:center;&>div:nth-child(n+5){color:white;}&>div:nth-child(5){margin-right:2px;height:50px!important;line-height:50px!important;}.color-pelette-item{flex-grow:1;width:100px;height:46px;text-align:center;line-height:46px;vertical-align:middle;}}}"
|
|
16
|
+
} : {
|
|
17
|
+
name: "1h0d5ue",
|
|
18
|
+
styles: "height:100%;.k-btn{font-size:16px;}.k-layout-wrapper{height:100%;}.k-layout-header{background:black;position:relative;display:flex;align-items:center;font-family:Roboto;font-weight:500;font-size:12px;justify-content:space-between;&>div{flex-grow:1;}&>div:last-child{display:flex;justify-content:flex-end;}.header-title{text-align:center;font-size:30px;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);color:white;}.header-logo{display:flex;padding-left:25px;img{width:50px;}}.header-options{line-height:70px;color:white;vertical-align:middle;&>div{margin-left:10px;}.contrast{cursor:pointer;text-align:center;}.theme,.color-type{&>button{background-color:white;}&>button:first-child{border-right:none;}&>button:last-child{border-left:none;}.checkout{background-color:blue;color:white;}}}}.cp-body{background:#373737;.k-card{background:#373737;}.card-title{font-size:40px;color:white;}.input{margin-top:40px;margin-bottom:20px;color:white;}.Color-RGB{display:flex;align-items:center;&>div:last-child{margin-left:10px;}}.recomend{.recomend-item{margin-top:40px;.recomend-item-title{color:white;font-size:24px;margin-bottom:20px;}.color-pelette{display:flex;align-items:center;&>div:nth-child(n+5){color:white;}&>div:nth-child(5){margin-right:2px;height:50px!important;line-height:50px!important;}.color-pelette-item{flex-grow:1;width:100px;height:46px;text-align:center;line-height:46px;vertical-align:middle;}}}}.color-pelette{display:flex;align-items:center;&>div:nth-child(n+5){color:white;}&>div:nth-child(5){margin-right:2px;height:50px!important;line-height:50px!important;}.color-pelette-item{flex-grow:1;width:100px;height:46px;text-align:center;line-height:46px;vertical-align:middle;}}}",
|
|
19
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
export function changeTheme(theme) {
|
|
24
|
+
if (theme == 'light') {
|
|
25
|
+
return /*#__PURE__*/css(process.env.NODE_ENV === "production" ? {
|
|
26
|
+
name: "11g67yz",
|
|
27
|
+
styles: ".k-layout-header{background-color:white!important;.header-title{color:black;}}"
|
|
28
|
+
} : {
|
|
29
|
+
name: "11g67yz",
|
|
30
|
+
styles: ".k-layout-header{background-color:white!important;.header-title{color:black;}}",
|
|
31
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
return /*#__PURE__*/css(process.env.NODE_ENV === "production" ? {
|
|
36
|
+
name: "zxl79f",
|
|
37
|
+
styles: ".k-layout-header{background-color:white!important;.header-title{color:white;}}"
|
|
38
|
+
} : {
|
|
39
|
+
name: "zxl79f",
|
|
40
|
+
styles: ".k-layout-header{background-color:white!important;.header-title{color:white;}}",
|
|
41
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
export function DiaStyles() {
|
|
45
|
+
return /*#__PURE__*/css(process.env.NODE_ENV === "production" ? {
|
|
46
|
+
name: "1nikfdi",
|
|
47
|
+
styles: ".k-dialog-body{display:flex;&>div:first-child{width:50%;padding:10px 5px;&>div:last-child{font-size:18px;}}&>div:last-child{width:50%;.contrast-box>div{margin-left:50px;margin-top:20px;}.contrast-box{border:1px solid gray;width:100%;height:300px;&>div:nth-child(n+2){font-size:12px;display:flex;}}.title{font-size:20px;}.contrast-number{&>div:first-child{font-size:30px;}&>div:last-child{vertical-align:bottom;line-height:45px;margin-left:5px;}}.choose-box{display:flex;justify-content:space-between;align-items:center;}}}.k-dialog-cancel{display:none;}"
|
|
48
|
+
} : {
|
|
49
|
+
name: "1nikfdi",
|
|
50
|
+
styles: ".k-dialog-body{display:flex;&>div:first-child{width:50%;padding:10px 5px;&>div:last-child{font-size:18px;}}&>div:last-child{width:50%;.contrast-box>div{margin-left:50px;margin-top:20px;}.contrast-box{border:1px solid gray;width:100%;height:300px;&>div:nth-child(n+2){font-size:12px;display:flex;}}.title{font-size:20px;}.contrast-number{&>div:first-child{font-size:30px;}&>div:last-child{vertical-align:bottom;line-height:45px;margin-left:5px;}}.choose-box{display:flex;justify-content:space-between;align-items:center;}}}.k-dialog-cancel{display:none;}",
|
|
51
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
52
|
+
});
|
|
53
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import Layout from '../layout';
|
|
2
|
+
export default class Index extends Layout {
|
|
3
|
+
static template: string | import("vdt").Template<any>;
|
|
4
|
+
static defaults: () => {
|
|
5
|
+
version?: string | undefined;
|
|
6
|
+
themeColor?: string | undefined;
|
|
7
|
+
colorList?: string[] | undefined;
|
|
8
|
+
showThemeColor?: boolean | undefined;
|
|
9
|
+
curLang?: string | undefined;
|
|
10
|
+
videoLevel?: number | undefined;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import _extends from "@babel/runtime-corejs3/helpers/extends";
|
|
2
|
+
import _inheritsLoose from "@babel/runtime-corejs3/helpers/inheritsLoose";
|
|
3
|
+
import template from './index.vdt';
|
|
4
|
+
import Layout from '../layout';
|
|
5
|
+
|
|
6
|
+
var Index = /*#__PURE__*/function (_Layout) {
|
|
7
|
+
_inheritsLoose(Index, _Layout);
|
|
8
|
+
|
|
9
|
+
function Index() {
|
|
10
|
+
return _Layout.apply(this, arguments) || this;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
return Index;
|
|
14
|
+
}(Layout);
|
|
15
|
+
|
|
16
|
+
Index.template = template;
|
|
17
|
+
|
|
18
|
+
Index.defaults = function () {
|
|
19
|
+
return _extends({}, Layout.defaults());
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export { Index as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function makeStyles(): string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { css } from '@emotion/css';
|
|
2
|
+
import source_nav_web from '../../imgs/font/banner-web.jpg';
|
|
3
|
+
import source_nav_h5 from '../../imgs/font/banner-h5.jpg';
|
|
4
|
+
import title_web from "../../imgs/font/title-web.png";
|
|
5
|
+
import text_web from "../../imgs/font/text-web.png";
|
|
6
|
+
import text_h5 from "../../imgs/font/text-h5.png";
|
|
7
|
+
export function makeStyles() {
|
|
8
|
+
return /*#__PURE__*/css(".source-nav{display:flex;justify-content:center;position:relative;height:800px;width:100%;overflow:hidden;background-image:url(", source_nav_web, ");background-repeat:no-repeat;background-position:left;background-size:cover;@media (max-width: 768px){overflow:hidden;background-image:url(", source_nav_h5, ");width:100%;background-position:center;}@media (min-width: 1920px){width:100%;}.content-img{height:151px;width:440px;margin-top:26px;display:flex;justify-content:center;background-image:url(", title_web, ");background-repeat:no-repeat;background-position:right bottom;background-size:100%;position:absolute;left:21%;bottom:356px;@media (max-width: 768px){left:50%;transform:translate(-50%,0);bottom:75%;width:57%;}}.dowload{width:440px;height:80px;position:absolute;left:21%;bottom:254px;border:none;background:#006FFF;border-radius:14px;font-family:PingFangSC-Regular;font-size:30px;color:#FFFFFF;font-weight:400;cursor:pointer;&:hover{background-color:#3D91FF;}&:active{background-color:#3D91FF;}@media (max-width: 768px){left:50%;transform:translate(-50%,0);bottom:58%;width:57%;height:60px;}}}.source-intro{margin:100px auto;background-image:url(", text_web, ");width:800px;height:590px;background-repeat:no-repeat;background-position:right bottom;background-size:cover;@media (max-width:768px){margin:13% auto;width:64%;background-image:url(", text_h5, ");background-size:contain;background-position:center;}}.source-designer{background-color:#FAFAFA;padding-top:30px;padding-bottom:100px;position:relative;@media (max-width:768px){padding-top:4%;padding-bottom:13.4%;}.designer-title{position:relative;width:800px;height:120px;margin:30px auto 40px;img{width:100%;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);}@media (max-width:768px){width:72%;height:40px;margin:3.8% auto 4.8%;}}.designer-content{margin:0 15%;@media (max-width:768px){margin:0 5.8%;}.designer-show{display:grid;grid-template-columns:repeat(auto-fill, 200px);grid-template-rows:repeat(auto-fill, 290px);grid-gap:40px 50px;justify-content:center;@media (max-width:768px){grid-template-columns:repeat(3, 1fr);grid-template-rows:repeat(6, 1fr);grid-gap:5.3% 6.7%;}.designer-item{img{width:100%;}&>div{margin-top:20px;font-family:PingFangSC-Regular;font-size:20px;color:#000000;letter-spacing:0;text-align:center;line-height:30px;font-weight:400;}}}}}");
|
|
9
|
+
}
|