ydb-components-material 0.1.124 → 0.1.126
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/build/docs/404.html +3 -3
- package/build/docs/_demos/:uuid +3 -3
- package/build/docs/colorful-button.html +3 -3
- package/build/docs/colorful-input.html +3 -3
- package/build/docs/index.html +3 -3
- package/build/docs/{umi.35f02979.css → umi.57dda8ea.css} +1 -1
- package/build/docs/{umi.91144d3b.js → umi.af7442ae.js} +1 -1
- package/build/docs/~demos/:uuid.html +3 -3
- package/build/docs/~demos/colorful-button-demo.html +3 -3
- package/build/docs/~demos/colorful-input-demo.html +3 -3
- package/build/lowcode/3.js +2 -2
- package/build/lowcode/4.js +1 -1
- package/build/lowcode/5.js +1 -1
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +9 -9
- package/build/lowcode/render/default/1.js +2 -2
- package/build/lowcode/render/default/2.js +1 -1
- package/build/lowcode/render/default/3.js +1 -1
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +10 -10
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +11 -11
- package/dist/1.js +2 -2
- package/dist/2.js +1 -1
- package/dist/3.js +1 -1
- package/dist/BizComps.css +1 -1
- package/dist/BizComps.js +15 -15
- package/dist/BizComps.js.map +1 -1
- package/es/components/file-list/item.js +3 -1
- package/es/components/guide-pc/comment.js +4 -4
- package/es/components/guide-pc/comment.scss +3 -3
- package/es/components/guide-pc/components/accept.js +3 -3
- package/es/components/guide-pc/components/accept.scss +3 -3
- package/es/components/guide-pc/components/basicInfo.js +31 -31
- package/es/components/guide-pc/components/basicInfo.scss +5 -5
- package/es/components/guide-pc/components/eventInfo.d.ts +7 -0
- package/es/components/guide-pc/components/eventInfo.js +45 -0
- package/es/components/guide-pc/components/eventInfo.scss +36 -0
- package/es/components/guide-pc/components/guideTabs.js +2 -2
- package/es/components/guide-pc/components/guideTabs.scss +3 -2
- package/es/components/guide-pc/components/guideTitle.js +4 -4
- package/es/components/guide-pc/components/guideTitle.scss +3 -3
- package/es/components/guide-pc/components/materialsList.js +46 -49
- package/es/components/guide-pc/components/materialsList.scss +22 -22
- package/es/components/guide-pc/components/places.js +21 -21
- package/es/components/guide-pc/components/places.scss +19 -19
- package/es/components/guide-pc/components/processImg.js +19 -19
- package/es/components/guide-pc/components/processImg.scss +16 -16
- package/es/components/guide-pc/components/result.js +36 -36
- package/es/components/guide-pc/components/result.scss +15 -15
- package/es/components/guide-pc/components/situation.d.ts +4 -0
- package/es/components/guide-pc/components/situation.js +35 -31
- package/es/components/guide-pc/components/situation.scss +9 -9
- package/es/components/guide-pc/imgs/icon1.png +0 -0
- package/es/components/guide-pc/imgs/icon2.png +0 -0
- package/es/components/guide-pc/index.d.ts +1 -3
- package/es/components/guide-pc/index.js +41 -88
- package/es/components/guide-pc/index.scss +43 -103
- package/lib/components/file-list/item.js +3 -1
- package/lib/components/guide-pc/comment.js +4 -4
- package/lib/components/guide-pc/comment.scss +3 -3
- package/lib/components/guide-pc/components/accept.js +3 -3
- package/lib/components/guide-pc/components/accept.scss +3 -3
- package/lib/components/guide-pc/components/basicInfo.js +31 -31
- package/lib/components/guide-pc/components/basicInfo.scss +5 -5
- package/lib/components/guide-pc/components/eventInfo.d.ts +7 -0
- package/lib/components/guide-pc/components/eventInfo.js +51 -0
- package/lib/components/guide-pc/components/eventInfo.scss +36 -0
- package/lib/components/guide-pc/components/guideTabs.js +2 -2
- package/lib/components/guide-pc/components/guideTabs.scss +3 -2
- package/lib/components/guide-pc/components/guideTitle.js +4 -4
- package/lib/components/guide-pc/components/guideTitle.scss +3 -3
- package/lib/components/guide-pc/components/materialsList.js +46 -49
- package/lib/components/guide-pc/components/materialsList.scss +22 -22
- package/lib/components/guide-pc/components/places.js +21 -21
- package/lib/components/guide-pc/components/places.scss +19 -19
- package/lib/components/guide-pc/components/processImg.js +19 -19
- package/lib/components/guide-pc/components/processImg.scss +16 -16
- package/lib/components/guide-pc/components/result.js +36 -36
- package/lib/components/guide-pc/components/result.scss +15 -15
- package/lib/components/guide-pc/components/situation.d.ts +4 -0
- package/lib/components/guide-pc/components/situation.js +35 -31
- package/lib/components/guide-pc/components/situation.scss +9 -9
- package/lib/components/guide-pc/imgs/icon1.png +0 -0
- package/lib/components/guide-pc/imgs/icon2.png +0 -0
- package/lib/components/guide-pc/index.d.ts +1 -3
- package/lib/components/guide-pc/index.js +41 -88
- package/lib/components/guide-pc/index.scss +43 -103
- package/lowcode/guide-pc/meta.ts +1 -32
- package/lowcode_es/guide-pc/meta.js +0 -30
- package/lowcode_es/meta.js +1 -1
- package/lowcode_lib/guide-pc/meta.js +0 -30
- package/lowcode_lib/meta.js +1 -1
- package/package.json +3 -3
- package/es/components/guide-pc/comment.vue +0 -117
- package/es/components/guide-pc/components/accept.vue +0 -50
- package/es/components/guide-pc/components/basicInfo.vue +0 -81
- package/es/components/guide-pc/components/guideTabs.vue +0 -48
- package/es/components/guide-pc/components/guideTitle.vue +0 -43
- package/es/components/guide-pc/components/materialsList.vue +0 -403
- package/es/components/guide-pc/components/places.vue +0 -198
- package/es/components/guide-pc/components/processImg.vue +0 -300
- package/es/components/guide-pc/components/result.vue +0 -191
- package/es/components/guide-pc/components/situation.vue +0 -430
- package/es/components/guide-pc/guide.vue +0 -179
- package/es/components/guide-pc/imgs/error.png +0 -0
- package/es/components/guide-pc/imgs/judge.png +0 -0
- package/es/components/guide-pc/imgs/pass.png +0 -0
- package/lib/components/guide-pc/comment.vue +0 -117
- package/lib/components/guide-pc/components/accept.vue +0 -50
- package/lib/components/guide-pc/components/basicInfo.vue +0 -81
- package/lib/components/guide-pc/components/guideTabs.vue +0 -48
- package/lib/components/guide-pc/components/guideTitle.vue +0 -43
- package/lib/components/guide-pc/components/materialsList.vue +0 -403
- package/lib/components/guide-pc/components/places.vue +0 -198
- package/lib/components/guide-pc/components/processImg.vue +0 -300
- package/lib/components/guide-pc/components/result.vue +0 -191
- package/lib/components/guide-pc/components/situation.vue +0 -430
- package/lib/components/guide-pc/guide.vue +0 -179
- package/lib/components/guide-pc/imgs/error.png +0 -0
- package/lib/components/guide-pc/imgs/judge.png +0 -0
- package/lib/components/guide-pc/imgs/pass.png +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
.processImg-content {
|
|
2
|
-
.sub-con {
|
|
1
|
+
.pc-processImg-content {
|
|
2
|
+
.pc-sub-con {
|
|
3
3
|
display: flex;
|
|
4
4
|
gap: 0;
|
|
5
5
|
margin: 20px 0;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
border-radius: 4px;
|
|
9
9
|
overflow: hidden;
|
|
10
10
|
|
|
11
|
-
.sub-item {
|
|
11
|
+
.pc-sub-item {
|
|
12
12
|
flex: 1;
|
|
13
13
|
padding: 8px 0;
|
|
14
14
|
text-align: center;
|
|
@@ -28,23 +28,23 @@
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
.card {
|
|
31
|
+
.pc-card {
|
|
32
32
|
width: 100%;
|
|
33
33
|
margin-bottom: 20px;
|
|
34
34
|
|
|
35
|
-
.list-con {
|
|
36
|
-
.item {
|
|
35
|
+
.pc-list-con {
|
|
36
|
+
.pc-item {
|
|
37
37
|
margin: 16px 0;
|
|
38
38
|
background: #f5f6f8;
|
|
39
39
|
padding: 20px;
|
|
40
40
|
border-radius: 8px;
|
|
41
41
|
|
|
42
|
-
.title-con {
|
|
42
|
+
.pc-title-con {
|
|
43
43
|
display: flex;
|
|
44
44
|
justify-content: flex-start;
|
|
45
45
|
align-items: center;
|
|
46
46
|
|
|
47
|
-
.num {
|
|
47
|
+
.pc-num {
|
|
48
48
|
background: linear-gradient(90deg, #73AEFF 0%, #1678FF 100%);
|
|
49
49
|
color: #ffffff;
|
|
50
50
|
font-size: 13px;
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
border-radius: 2px;
|
|
53
53
|
transform: skew(-10deg);
|
|
54
54
|
}
|
|
55
|
-
.item-title {
|
|
55
|
+
.pc-item-title {
|
|
56
56
|
font-size: 16px;
|
|
57
57
|
font-weight: 500;
|
|
58
58
|
color: #333333;
|
|
@@ -69,10 +69,10 @@
|
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
.desc-con {
|
|
72
|
+
.pc-desc-con {
|
|
73
73
|
margin-top: 10px;
|
|
74
74
|
|
|
75
|
-
.desc-info {
|
|
75
|
+
.pc-desc-info {
|
|
76
76
|
font-size: 14px;
|
|
77
77
|
line-height: 22px;
|
|
78
78
|
color: #333333;
|
|
@@ -82,10 +82,10 @@
|
|
|
82
82
|
align-items: flex-start;
|
|
83
83
|
gap: 50px;
|
|
84
84
|
|
|
85
|
-
.desc {
|
|
85
|
+
.pc-desc {
|
|
86
86
|
flex: 1;
|
|
87
87
|
}
|
|
88
|
-
.video-con {
|
|
88
|
+
.pc-video-con {
|
|
89
89
|
width: 262px;
|
|
90
90
|
height: 146px;
|
|
91
91
|
}
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
.imgView {
|
|
98
|
+
.pc-imgView {
|
|
99
99
|
cursor: pointer;
|
|
100
100
|
margin: 20px 0;
|
|
101
101
|
img {
|
|
@@ -103,12 +103,12 @@
|
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
.empty-content {
|
|
106
|
+
.pc-empty-content {
|
|
107
107
|
padding: 60px 0;
|
|
108
108
|
text-align: center;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
.empty-text {
|
|
111
|
+
.pc-empty-text {
|
|
112
112
|
text-align: center;
|
|
113
113
|
padding: 40px;
|
|
114
114
|
color: #999;
|
|
@@ -25,107 +25,107 @@ var Result = function Result(_ref) {
|
|
|
25
25
|
}, [eventInfoProp]);
|
|
26
26
|
if (!list.length) {
|
|
27
27
|
return /*#__PURE__*/React.createElement("div", {
|
|
28
|
-
className: "result-content"
|
|
28
|
+
className: "pc-result-content"
|
|
29
29
|
}, /*#__PURE__*/React.createElement(_guideTitle["default"], {
|
|
30
30
|
title: "\u6210\u6548\u5206\u6790"
|
|
31
31
|
}), /*#__PURE__*/React.createElement("div", {
|
|
32
|
-
className: "empty-text"
|
|
32
|
+
className: "pc-empty-text"
|
|
33
33
|
}, "\u6682\u65E0\u6210\u6548\u5206\u6790"));
|
|
34
34
|
}
|
|
35
35
|
return /*#__PURE__*/React.createElement("div", {
|
|
36
|
-
className: "result-content"
|
|
36
|
+
className: "pc-result-content"
|
|
37
37
|
}, /*#__PURE__*/React.createElement(_guideTitle["default"], {
|
|
38
38
|
title: "\u6210\u6548\u5206\u6790"
|
|
39
39
|
}), list.map(function (item, index) {
|
|
40
40
|
return /*#__PURE__*/React.createElement("div", {
|
|
41
|
-
className: "card",
|
|
41
|
+
className: "pc-card",
|
|
42
42
|
key: index
|
|
43
43
|
}, /*#__PURE__*/React.createElement("div", {
|
|
44
|
-
className: "title"
|
|
44
|
+
className: "pc-title"
|
|
45
45
|
}, "\u60C5\u5F62", index + 1), /*#__PURE__*/React.createElement("div", {
|
|
46
|
-
className: "desc"
|
|
46
|
+
className: "pc-desc"
|
|
47
47
|
}, item.scene), /*#__PURE__*/React.createElement("div", {
|
|
48
|
-
className: "bg-card",
|
|
48
|
+
className: "pc-bg-card",
|
|
49
49
|
style: {
|
|
50
|
-
backgroundImage: "url(https://zwfwpt.sxzwfw.gov.cn:11001/fis/18a78d3d488-true/master/18b4752f107/2026/
|
|
50
|
+
backgroundImage: "url(https://zwfwpt.sxzwfw.gov.cn:11001/fis/18a78d3d488-true/master/18b4752f107/2026/6/2064268159861460994/bg22.png)"
|
|
51
51
|
}
|
|
52
52
|
}, /*#__PURE__*/React.createElement("div", {
|
|
53
|
-
className: "info-title"
|
|
53
|
+
className: "pc-info-title"
|
|
54
54
|
}, /*#__PURE__*/React.createElement("div", {
|
|
55
|
-
className: "title-item"
|
|
55
|
+
className: "pc-title-item"
|
|
56
56
|
}, "\u73B0\u5728\u529E\u7406\u4E1A\u52A1"), /*#__PURE__*/React.createElement("div", {
|
|
57
|
-
className: "title-item past"
|
|
57
|
+
className: "pc-title-item past"
|
|
58
58
|
}, "\u8FC7\u5F80\u529E\u7406\u4E1A\u52A1")), /*#__PURE__*/React.createElement("div", {
|
|
59
|
-
className: "info-list"
|
|
59
|
+
className: "pc-info-list"
|
|
60
60
|
}, /*#__PURE__*/React.createElement("div", {
|
|
61
|
-
className: "info-item"
|
|
61
|
+
className: "pc-info-item"
|
|
62
62
|
}, /*#__PURE__*/React.createElement("div", {
|
|
63
|
-
className: "icon",
|
|
63
|
+
className: "pc-icon",
|
|
64
64
|
style: {
|
|
65
65
|
backgroundImage: "url(" + _icon["default"] + ")"
|
|
66
66
|
}
|
|
67
67
|
}), /*#__PURE__*/React.createElement("div", {
|
|
68
|
-
className: "right"
|
|
68
|
+
className: "pc-right"
|
|
69
69
|
}, /*#__PURE__*/React.createElement("span", {
|
|
70
|
-
className: "num"
|
|
70
|
+
className: "pc-num"
|
|
71
71
|
}, item.materialReduction), "\u4EFD", /*#__PURE__*/React.createElement("div", {
|
|
72
|
-
className: "info-label"
|
|
72
|
+
className: "pc-info-label"
|
|
73
73
|
}, "\u5E73\u5747\u63D0\u4EA4\u6750\u6599\u51CF\u5C11 ", /*#__PURE__*/React.createElement("span", {
|
|
74
|
-
className: "down-icon",
|
|
74
|
+
className: "pc-down-icon",
|
|
75
75
|
style: {
|
|
76
76
|
backgroundImage: "url(" + _down["default"] + ")"
|
|
77
77
|
}
|
|
78
78
|
})))), /*#__PURE__*/React.createElement("div", {
|
|
79
|
-
className: "info-item"
|
|
79
|
+
className: "pc-info-item"
|
|
80
80
|
}, /*#__PURE__*/React.createElement("div", {
|
|
81
|
-
className: "icon",
|
|
81
|
+
className: "pc-icon",
|
|
82
82
|
style: {
|
|
83
83
|
backgroundImage: "url(" + _icon2["default"] + ")"
|
|
84
84
|
}
|
|
85
85
|
}), /*#__PURE__*/React.createElement("div", {
|
|
86
|
-
className: "right"
|
|
86
|
+
className: "pc-right"
|
|
87
87
|
}, /*#__PURE__*/React.createElement("span", {
|
|
88
|
-
className: "num"
|
|
88
|
+
className: "pc-num"
|
|
89
89
|
}, item.timeReduction), "\u5929", /*#__PURE__*/React.createElement("div", {
|
|
90
|
-
className: "info-label"
|
|
90
|
+
className: "pc-info-label"
|
|
91
91
|
}, "\u5E73\u5747\u8017\u65F6\u51CF\u5C11 ", /*#__PURE__*/React.createElement("span", {
|
|
92
|
-
className: "down-icon",
|
|
92
|
+
className: "pc-down-icon",
|
|
93
93
|
style: {
|
|
94
94
|
backgroundImage: "url(" + _down["default"] + ")"
|
|
95
95
|
}
|
|
96
96
|
})))), /*#__PURE__*/React.createElement("div", {
|
|
97
|
-
className: "info-item"
|
|
97
|
+
className: "pc-info-item"
|
|
98
98
|
}, /*#__PURE__*/React.createElement("div", {
|
|
99
|
-
className: "icon",
|
|
99
|
+
className: "pc-icon",
|
|
100
100
|
style: {
|
|
101
101
|
backgroundImage: "url(" + _icon3["default"] + ")"
|
|
102
102
|
}
|
|
103
103
|
}), /*#__PURE__*/React.createElement("div", {
|
|
104
|
-
className: "right"
|
|
104
|
+
className: "pc-right"
|
|
105
105
|
}, /*#__PURE__*/React.createElement("span", {
|
|
106
|
-
className: "num"
|
|
106
|
+
className: "pc-num"
|
|
107
107
|
}, item.formReduction), "\u4E2A", /*#__PURE__*/React.createElement("div", {
|
|
108
|
-
className: "info-label"
|
|
108
|
+
className: "pc-info-label"
|
|
109
109
|
}, "\u5E73\u5747\u8868\u5355\u5B57\u6BB5\u51CF\u5C11 ", /*#__PURE__*/React.createElement("span", {
|
|
110
|
-
className: "down-icon",
|
|
110
|
+
className: "pc-down-icon",
|
|
111
111
|
style: {
|
|
112
112
|
backgroundImage: "url(" + _down["default"] + ")"
|
|
113
113
|
}
|
|
114
114
|
})))), /*#__PURE__*/React.createElement("div", {
|
|
115
|
-
className: "info-item"
|
|
115
|
+
className: "pc-info-item"
|
|
116
116
|
}, /*#__PURE__*/React.createElement("div", {
|
|
117
|
-
className: "icon",
|
|
117
|
+
className: "pc-icon",
|
|
118
118
|
style: {
|
|
119
119
|
backgroundImage: "url(" + _icon4["default"] + ")"
|
|
120
120
|
}
|
|
121
121
|
}), /*#__PURE__*/React.createElement("div", {
|
|
122
|
-
className: "right"
|
|
122
|
+
className: "pc-right"
|
|
123
123
|
}, /*#__PURE__*/React.createElement("span", {
|
|
124
|
-
className: "num"
|
|
124
|
+
className: "pc-num"
|
|
125
125
|
}, item.runReduction), "\u6B21", /*#__PURE__*/React.createElement("div", {
|
|
126
|
-
className: "info-label"
|
|
126
|
+
className: "pc-info-label"
|
|
127
127
|
}, "\u5E73\u5747\u8DD1\u817F\u6B21\u6570\u51CF\u5C11 ", /*#__PURE__*/React.createElement("span", {
|
|
128
|
-
className: "down-icon",
|
|
128
|
+
className: "pc-down-icon",
|
|
129
129
|
style: {
|
|
130
130
|
backgroundImage: "url(" + _down["default"] + ")"
|
|
131
131
|
}
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
.result-content {
|
|
2
|
-
.card {
|
|
1
|
+
.pc-result-content {
|
|
2
|
+
.pc-card {
|
|
3
3
|
background: #ffffff;
|
|
4
4
|
border-radius: 8px;
|
|
5
5
|
padding: 16px 0 0;
|
|
6
6
|
margin-bottom: 12px;
|
|
7
7
|
|
|
8
|
-
.title {
|
|
8
|
+
.pc-title {
|
|
9
9
|
font-size: 20px;
|
|
10
10
|
font-weight: 500;
|
|
11
11
|
color: #333333;
|
|
12
12
|
margin: 0 16px;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
.desc {
|
|
15
|
+
.pc-desc {
|
|
16
16
|
font-size: 16px;
|
|
17
17
|
line-height: 22px;
|
|
18
18
|
color: #222222;
|
|
19
19
|
margin: 8px 16px 12px;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
.bg-card {
|
|
22
|
+
.pc-bg-card {
|
|
23
23
|
width: 100%;
|
|
24
24
|
height: 242px;
|
|
25
25
|
background-size: 100% 100%;
|
|
26
26
|
background-repeat: no-repeat;
|
|
27
27
|
|
|
28
|
-
.info-title {
|
|
28
|
+
.pc-info-title {
|
|
29
29
|
height: 68px;
|
|
30
30
|
display: flex;
|
|
31
31
|
justify-content: space-around;
|
|
32
32
|
align-items: center;
|
|
33
33
|
|
|
34
|
-
.title-item {
|
|
34
|
+
.pc-title-item {
|
|
35
35
|
font-size: 20px;
|
|
36
36
|
font-weight: 500;
|
|
37
37
|
color: #FFFFFF;
|
|
@@ -43,21 +43,21 @@
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
.info-list {
|
|
46
|
+
.pc-info-list {
|
|
47
47
|
margin: 0 30px;
|
|
48
48
|
height: 150px;
|
|
49
49
|
display: flex;
|
|
50
50
|
justify-content: center;
|
|
51
51
|
align-items: center;
|
|
52
52
|
|
|
53
|
-
.info-item {
|
|
53
|
+
.pc-info-item {
|
|
54
54
|
display: flex;
|
|
55
55
|
justify-content: center;
|
|
56
56
|
align-items: center;
|
|
57
57
|
flex: 1;
|
|
58
58
|
gap: 16px;
|
|
59
59
|
|
|
60
|
-
.icon {
|
|
60
|
+
.pc-icon {
|
|
61
61
|
width: 60px;
|
|
62
62
|
height: 60px;
|
|
63
63
|
background-size: 100% 100%;
|
|
@@ -65,22 +65,22 @@
|
|
|
65
65
|
flex-shrink: 0;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
.right {
|
|
69
|
-
.num {
|
|
68
|
+
.pc-right {
|
|
69
|
+
.pc-num {
|
|
70
70
|
font-size: 26px;
|
|
71
71
|
font-weight: 500;
|
|
72
72
|
color: #1678FF;
|
|
73
73
|
margin: 0 5px;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
.info-label {
|
|
76
|
+
.pc-info-label {
|
|
77
77
|
font-size: 14px;
|
|
78
78
|
color: #333333;
|
|
79
79
|
display: flex;
|
|
80
80
|
align-items: center;
|
|
81
81
|
margin-top: 2px;
|
|
82
82
|
|
|
83
|
-
.down-icon {
|
|
83
|
+
.pc-down-icon {
|
|
84
84
|
display: inline-block;
|
|
85
85
|
width: 17px;
|
|
86
86
|
height: 17px;
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
.empty-text {
|
|
98
|
+
.pc-empty-text {
|
|
99
99
|
text-align: center;
|
|
100
100
|
padding: 40px;
|
|
101
101
|
color: #999;
|
|
@@ -5,8 +5,12 @@ export interface SituationProps {
|
|
|
5
5
|
applicationId?: string;
|
|
6
6
|
accessToken?: string;
|
|
7
7
|
acctType?: string;
|
|
8
|
+
finalMaterials?: any[];
|
|
8
9
|
declarationAppToken?: string;
|
|
10
|
+
situationPageUrl?: string;
|
|
9
11
|
taskHandleItem?: string;
|
|
12
|
+
situationResRechange?: (data: any) => void;
|
|
13
|
+
previousData?: any;
|
|
10
14
|
}
|
|
11
15
|
declare const Situation: React.FC<SituationProps>;
|
|
12
16
|
export default Situation;
|
|
@@ -17,11 +17,18 @@ var Situation = function Situation(_ref) {
|
|
|
17
17
|
applicationIdProp = _ref.applicationId,
|
|
18
18
|
accessTokenProp = _ref.accessToken,
|
|
19
19
|
acctTypeProp = _ref.acctType,
|
|
20
|
+
finalMaterialsProp = _ref.finalMaterials,
|
|
20
21
|
declarationAppTokenProp = _ref.declarationAppToken,
|
|
21
|
-
|
|
22
|
+
situationPageUrlProp = _ref.situationPageUrl,
|
|
23
|
+
taskHandleItemProp = _ref.taskHandleItem,
|
|
24
|
+
situationResRechangeProp = _ref.situationResRechange,
|
|
25
|
+
previousDataProp = _ref.previousData;
|
|
22
26
|
var _React$useState = React.useState(false),
|
|
23
27
|
isExpend = _React$useState[0],
|
|
24
28
|
setIsExpend = _React$useState[1];
|
|
29
|
+
var _React$useState2 = React.useState(''),
|
|
30
|
+
iframeSrc = _React$useState2[0],
|
|
31
|
+
setIframeSrc = _React$useState2[1];
|
|
25
32
|
var tip = '说明:因个人情况不同上交材料不同,可通过情形选择查看必须上传的材料!';
|
|
26
33
|
React.useEffect(function () {
|
|
27
34
|
initPage();
|
|
@@ -29,37 +36,32 @@ var Situation = function Situation(_ref) {
|
|
|
29
36
|
return function () {
|
|
30
37
|
window.removeEventListener('message', getMessage);
|
|
31
38
|
};
|
|
32
|
-
|
|
39
|
+
// NOTE: initPage and getMessage intentionally omitted from deps to match guide component pattern
|
|
40
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
41
|
+
}, [eventInfoProp, taskHandleItemProp, situationPageUrlProp, declarationAppTokenProp, finalMaterialsProp, applicationIdProp, accessTokenProp, acctTypeProp, previousDataProp]);
|
|
33
42
|
var initPage = function initPage() {
|
|
34
|
-
if (!
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
// const stepList = uni.getStorageSync('stepList');
|
|
38
|
-
// const situationPage = stepList.find((item) => item.name === '智能导办-pc');
|
|
39
|
-
// if (situationPage && situationPage.link) {
|
|
40
|
-
// const finalLink = `${declarePage}/preview.html?pageID=${situationPage.id}`;
|
|
41
|
-
// const url = `${finalLink}&isFirst=1&isReCheck=1&applicationId=${applicationIdProp}&access_token=${accessTokenProp}&acctType=${acctTypeProp}&isPc=1`;
|
|
42
|
-
// setTimeout(() => {
|
|
43
|
-
// const iframe = document.getElementById('situationIframe') as HTMLIFrameElement;
|
|
44
|
-
// if (iframe) iframe.src = url;
|
|
45
|
-
// }, 500);
|
|
46
|
-
// }
|
|
43
|
+
if (!situationPageUrlProp) return;
|
|
44
|
+
var url = situationPageUrlProp + "&isFirst=1&isReCheck=1&isZXBB=1&isPc=1";
|
|
45
|
+
setIframeSrc(url);
|
|
47
46
|
};
|
|
48
47
|
var getMessage = function getMessage(e) {
|
|
49
|
-
var typeArr = ['getAccessToken', 'getDeclaraToken', 'getApplicationId', 'getTaskHandleItem', 'getFormId', 'getMaterials', 'getFormData', 'getFormFieldNames', 'getItemSituationRowUid', 'getWorkNo'];
|
|
48
|
+
var typeArr = ['getAccessToken', 'getDeclaraToken', 'getApplicationId', 'getTaskHandleItem', 'getFormId', 'getMaterials', 'getFormData', 'getFormFieldNames', 'getItemSituationRowUid', 'getWorkNo', 'getPreviousData'];
|
|
50
49
|
var _ref2 = e.data || {},
|
|
51
50
|
type = _ref2.type,
|
|
52
51
|
data = _ref2.data;
|
|
53
52
|
if (typeArr.includes(type)) {
|
|
54
53
|
sendInfoHandle(type, data);
|
|
55
54
|
} else if (type === 'situationRes') {
|
|
55
|
+
situationResRechangeProp === null || situationResRechangeProp === void 0 ? void 0 : situationResRechangeProp(data);
|
|
56
56
|
// TODO: checkSituation2 not available
|
|
57
57
|
// uni.setStorageSync('situationRes', data);
|
|
58
58
|
// checkSituation2(true, 'pc');
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
61
|
var sendInfoHandle = function sendInfoHandle(type, _data) {
|
|
62
|
-
var
|
|
62
|
+
var _eventInfo$taskGenera, _eventInfo$taskGenera2;
|
|
63
|
+
var eventInfo = eventInfoProp;
|
|
64
|
+
var finalMaterials = finalMaterialsProp;
|
|
63
65
|
var sendData = {
|
|
64
66
|
type: type,
|
|
65
67
|
data: {}
|
|
@@ -79,16 +81,14 @@ var Situation = function Situation(_ref) {
|
|
|
79
81
|
sendData.data.taskHandleItem = taskHandleItemProp;
|
|
80
82
|
break;
|
|
81
83
|
case 'getFormId':
|
|
82
|
-
if (
|
|
83
|
-
sendData.data.formId =
|
|
84
|
+
if (eventInfo !== null && eventInfo !== void 0 && (_eventInfo$taskGenera = eventInfo.taskGeneralForms) !== null && _eventInfo$taskGenera !== void 0 && (_eventInfo$taskGenera2 = _eventInfo$taskGenera[0]) !== null && _eventInfo$taskGenera2 !== void 0 && _eventInfo$taskGenera2.formId) {
|
|
85
|
+
sendData.data.formId = eventInfo.taskGeneralForms[0].formId;
|
|
84
86
|
} else {
|
|
85
87
|
sendData.data.formId = '12023122617035840604349816';
|
|
86
88
|
}
|
|
87
89
|
break;
|
|
88
90
|
case 'getMaterials':
|
|
89
|
-
|
|
90
|
-
// const { taskGeneralMaterials } = uni.getStorageSync('eventInfo');
|
|
91
|
-
// sendData.data.materials = finalMaterials || taskGeneralMaterials;
|
|
91
|
+
sendData.data.materials = finalMaterials || (eventInfo === null || eventInfo === void 0 ? void 0 : eventInfo.taskGeneralMaterials);
|
|
92
92
|
break;
|
|
93
93
|
case 'getFormData':
|
|
94
94
|
// sendData.data.formData = uni.getStorageSync('formData');
|
|
@@ -102,6 +102,9 @@ var Situation = function Situation(_ref) {
|
|
|
102
102
|
case 'getWorkNo':
|
|
103
103
|
// sendData.data.workNo = uni.getStorageSync('workNo');
|
|
104
104
|
break;
|
|
105
|
+
case 'getPreviousData':
|
|
106
|
+
sendData.data.previousData = previousDataProp;
|
|
107
|
+
break;
|
|
105
108
|
}
|
|
106
109
|
var formIframe = document.getElementById('situationIframe');
|
|
107
110
|
if (formIframe !== null && formIframe !== void 0 && formIframe.contentWindow) {
|
|
@@ -112,31 +115,32 @@ var Situation = function Situation(_ref) {
|
|
|
112
115
|
setIsExpend(!isExpend);
|
|
113
116
|
};
|
|
114
117
|
return /*#__PURE__*/React.createElement("div", {
|
|
115
|
-
className: "situation-content"
|
|
118
|
+
className: "pc-situation-content"
|
|
116
119
|
}, /*#__PURE__*/React.createElement(_guideTitle["default"], {
|
|
117
120
|
title: "\u6750\u6599\u6E05\u5355"
|
|
118
121
|
}), /*#__PURE__*/React.createElement("div", {
|
|
119
|
-
className: "situation-tip " + (isExpend ? 'isActive' : '')
|
|
122
|
+
className: "pc-situation-tip " + (isExpend ? 'isActive' : '')
|
|
120
123
|
}, /*#__PURE__*/React.createElement("div", {
|
|
121
|
-
className: "inner-tip",
|
|
124
|
+
className: "pc-inner-tip",
|
|
122
125
|
style: {
|
|
123
126
|
backgroundImage: "url(" + _situation["default"] + ")"
|
|
124
127
|
}
|
|
125
128
|
}, /*#__PURE__*/React.createElement("div", {
|
|
126
|
-
className: "title-con"
|
|
129
|
+
className: "pc-title-con"
|
|
127
130
|
}, /*#__PURE__*/React.createElement("div", {
|
|
128
|
-
className: "title"
|
|
131
|
+
className: "pc-title"
|
|
129
132
|
}, "\u5BFC\u529E\u60C5\u5F62\u9009\u62E9"), /*#__PURE__*/React.createElement("div", {
|
|
130
|
-
className: "tip"
|
|
133
|
+
className: "pc-tip"
|
|
131
134
|
}, tip)), /*#__PURE__*/React.createElement("div", {
|
|
132
|
-
className: "btn-con",
|
|
135
|
+
className: "pc-btn-con",
|
|
133
136
|
onClick: expendChange
|
|
134
137
|
}, /*#__PURE__*/React.createElement("span", null, isExpend ? '收起' : '展开'), /*#__PURE__*/React.createElement("div", {
|
|
135
|
-
className: "icon"
|
|
138
|
+
className: "pc-icon"
|
|
136
139
|
}, isExpend ? '▲' : '▼')))), isExpend && /*#__PURE__*/React.createElement("div", {
|
|
137
|
-
className: "situation-inner"
|
|
140
|
+
className: "pc-situation-inner"
|
|
138
141
|
}, /*#__PURE__*/React.createElement("iframe", {
|
|
139
142
|
id: "situationIframe",
|
|
143
|
+
src: iframeSrc,
|
|
140
144
|
frameBorder: "0",
|
|
141
145
|
height: "100%",
|
|
142
146
|
width: "100%",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
.situation-content {
|
|
1
|
+
.pc-situation-content {
|
|
2
2
|
background: #ffffff;
|
|
3
3
|
|
|
4
|
-
.situation-tip {
|
|
4
|
+
.pc-situation-tip {
|
|
5
5
|
border: 1px solid #C3DCFF;
|
|
6
6
|
border-radius: 8px;
|
|
7
7
|
margin-top: 20px;
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
border-bottom: none;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
.inner-tip {
|
|
15
|
+
.pc-inner-tip {
|
|
16
16
|
padding: 24px;
|
|
17
17
|
background-repeat: no-repeat;
|
|
18
18
|
background-size: 104px 70px;
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
justify-content: space-between;
|
|
22
22
|
align-items: center;
|
|
23
23
|
|
|
24
|
-
.title-con {
|
|
24
|
+
.pc-title-con {
|
|
25
25
|
display: flex;
|
|
26
26
|
justify-content: flex-start;
|
|
27
27
|
align-items: center;
|
|
28
28
|
gap: 16px;
|
|
29
29
|
|
|
30
|
-
.title {
|
|
30
|
+
.pc-title {
|
|
31
31
|
background: linear-gradient(96deg, #0047A8 0%, #1678FF 98%);
|
|
32
32
|
-webkit-background-clip: text;
|
|
33
33
|
-webkit-text-fill-color: transparent;
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
font-weight: 500;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
.tip {
|
|
39
|
+
.pc-tip {
|
|
40
40
|
font-size: 14px;
|
|
41
41
|
color: #5C7292;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
.btn-con {
|
|
45
|
+
.pc-btn-con {
|
|
46
46
|
display: flex;
|
|
47
47
|
justify-content: center;
|
|
48
48
|
align-items: center;
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
cursor: pointer;
|
|
52
52
|
gap: 6px;
|
|
53
53
|
|
|
54
|
-
.icon {
|
|
54
|
+
.pc-icon {
|
|
55
55
|
width: 14px;
|
|
56
56
|
height: 14px;
|
|
57
57
|
border-radius: 50%;
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
.situation-inner {
|
|
70
|
+
.pc-situation-inner {
|
|
71
71
|
background: linear-gradient(180deg, #F7FAFF 1%, #F7FAFF 100%);
|
|
72
72
|
border-radius: 0 0 8px 8px;
|
|
73
73
|
border: 1px solid #C3DCFF;
|
|
Binary file
|
|
Binary file
|
|
@@ -3,9 +3,6 @@ import './index.scss';
|
|
|
3
3
|
export interface GuidePcProps {
|
|
4
4
|
/** Called when user clicks "立即办理" or "上一步" */
|
|
5
5
|
onNextStep?: (action: string) => void;
|
|
6
|
-
/** Whether to disable the prev/next buttons */
|
|
7
|
-
cantNext?: boolean;
|
|
8
|
-
hasPrevious?: boolean;
|
|
9
6
|
/** Task handle item code */
|
|
10
7
|
taskHandleItem?: string;
|
|
11
8
|
/** Access token */
|
|
@@ -32,6 +29,7 @@ export interface GuidePcProps {
|
|
|
32
29
|
situationResRechange?: (data: any) => void;
|
|
33
30
|
/** Previous form data from parent */
|
|
34
31
|
previousData?: object;
|
|
32
|
+
style?: object;
|
|
35
33
|
}
|
|
36
34
|
declare const GuidePc: React.FC<GuidePcProps>;
|
|
37
35
|
export default GuidePc;
|