@scu-xiaochuan/scu-pe-ans 0.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.
@@ -0,0 +1,66 @@
1
+ /**
2
+ * @license React
3
+ * react-dom.production.min.js
4
+ *
5
+ * Copyright (c) Facebook, Inc. and its affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */
10
+
11
+ /**
12
+ * @license React
13
+ * react-is.production.js
14
+ *
15
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
16
+ *
17
+ * This source code is licensed under the MIT license found in the
18
+ * LICENSE file in the root directory of this source tree.
19
+ */
20
+
21
+ /**
22
+ * @license React
23
+ * react-jsx-runtime.production.min.js
24
+ *
25
+ * Copyright (c) Facebook, Inc. and its affiliates.
26
+ *
27
+ * This source code is licensed under the MIT license found in the
28
+ * LICENSE file in the root directory of this source tree.
29
+ */
30
+
31
+ /**
32
+ * @license React
33
+ * react.production.min.js
34
+ *
35
+ * Copyright (c) Facebook, Inc. and its affiliates.
36
+ *
37
+ * This source code is licensed under the MIT license found in the
38
+ * LICENSE file in the root directory of this source tree.
39
+ */
40
+
41
+ /**
42
+ * @license React
43
+ * scheduler.production.min.js
44
+ *
45
+ * Copyright (c) Facebook, Inc. and its affiliates.
46
+ *
47
+ * This source code is licensed under the MIT license found in the
48
+ * LICENSE file in the root directory of this source tree.
49
+ */
50
+
51
+ /**
52
+ * @mui/styled-engine v6.4.3
53
+ *
54
+ * @license MIT
55
+ * This source code is licensed under the MIT license found in the
56
+ * LICENSE file in the root directory of this source tree.
57
+ */
58
+
59
+ /** @license React v16.13.1
60
+ * react-is.production.min.js
61
+ *
62
+ * Copyright (c) Facebook, Inc. and its affiliates.
63
+ *
64
+ * This source code is licensed under the MIT license found in the
65
+ * LICENSE file in the root directory of this source tree.
66
+ */
@@ -0,0 +1,68 @@
1
+ .search {
2
+ margin: 0 auto;
3
+ display: flex;
4
+ flex-direction: column;
5
+ justify-content: center;
6
+ align-items: center;
7
+ max-width: 500px;
8
+ }
9
+ .search-input {
10
+ margin-top: 250px;
11
+ }
12
+ .search-list {
13
+ margin-top: 20px;
14
+ padding: 0 50px;
15
+ width: 100%;
16
+ height: 400px;
17
+ box-sizing: border-box;
18
+ overflow-y: auto;
19
+ }
20
+ .search-list-tip {
21
+ text-align: center;
22
+ }
23
+ .search-list-item {
24
+ padding: 10px 0;
25
+ }
26
+ .search-list-item-title {
27
+ color: #48466d;
28
+ }
29
+ .search-list-item-type {
30
+ color: #46cdcf;
31
+ }
32
+ .search-list-item-options {
33
+ color: #3d84a8;
34
+ }
35
+ .search-list-item-options-val {
36
+ white-space: break-spaces;
37
+ }
38
+ .search-list-item-ans {
39
+ color: #e23e57;
40
+ }
41
+
42
+ * {
43
+ margin: 0;
44
+ padding: 0;
45
+ }
46
+ #app {
47
+ min-height: 100vh;
48
+ }
49
+ header {
50
+ padding: 12px 16px 0 16px;
51
+ height: 50px;
52
+ display: flex;
53
+ }
54
+ header h1 {
55
+ text-align: center;
56
+ flex: 1;
57
+ color: #253547;
58
+ }
59
+ header nav {
60
+ display: flex;
61
+ justify-content: center;
62
+ align-items: center;
63
+ }
64
+ header svg {
65
+ width: 24px;
66
+ height: 24px;
67
+ }
68
+
package/package.json ADDED
@@ -0,0 +1,43 @@
1
+ {
2
+ "name": "@scu-xiaochuan/scu-pe-ans",
3
+ "version": "0.0.4",
4
+ "license": "GPL-3.0",
5
+ "files": [
6
+ "dist"
7
+ ],
8
+ "devDependencies": {
9
+ "@types/react": "^18.2.14",
10
+ "@types/react-dom": "^18.2.6",
11
+ "cross-env": "^7.0.3",
12
+ "css-loader": "^6.8.1",
13
+ "html-webpack-plugin": "^5.5.3",
14
+ "less": "^4.2.2",
15
+ "less-loader": "^12.2.0",
16
+ "mini-css-extract-plugin": "^2.7.6",
17
+ "prettier": "^3.0.0",
18
+ "serve": "^14.2.1",
19
+ "ts-loader": "^9.4.4",
20
+ "typescript": "^5.1.6",
21
+ "webpack": "^5.88.1",
22
+ "webpack-cli": "^5.1.4",
23
+ "webpack-dev-server": "^4.15.1"
24
+ },
25
+ "dependencies": {
26
+ "@emotion/react": "^11.14.0",
27
+ "@emotion/styled": "^11.14.0",
28
+ "@mui/icons-material": "^6.4.4",
29
+ "@mui/material": "^6.4.4",
30
+ "react": "^18.2.0",
31
+ "react-dom": "^18.2.0"
32
+ },
33
+ "publishConfig": {
34
+ "access": "public",
35
+ "registry": "https://registry.npmjs.org/"
36
+ },
37
+ "scripts": {
38
+ "build": "pnpm build:app && cross-env NODE_ENV=production webpack",
39
+ "build:app": "webpack --config ./webpack.app.config.js",
40
+ "dev": "cross-env NODE_ENV=development webpack serve",
41
+ "s": "serve dist"
42
+ }
43
+ }