ydb-components-material 0.1.125 → 0.1.127
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.814d7acd.js +1 -0
- 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 +10 -1
- package/build/lowcode/preview.js +145 -145
- 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 +32 -23
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +32 -23
- package/dist/1.js +2 -2
- package/dist/1.js.map +1 -1
- package/dist/2.js +1 -1
- package/dist/3.js +1 -1
- package/dist/BizComps.css +1 -1
- package/dist/BizComps.js +38 -29
- package/dist/BizComps.js.map +1 -1
- package/es/api.js +29 -28
- 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/api.js +29 -28
- 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 +4 -3
- package/build/docs/umi.5327dbca.js +0 -1
- 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
package/es/api.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
2
2
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
3
|
+
import axios from 'axios';
|
|
3
4
|
export var post = /*#__PURE__*/function () {
|
|
4
5
|
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(url, data, config, noJson) {
|
|
5
|
-
var
|
|
6
|
+
var response, _t;
|
|
6
7
|
return _regeneratorRuntime.wrap(function (_context) {
|
|
7
8
|
while (1) switch (_context.prev = _context.next) {
|
|
8
9
|
case 0:
|
|
@@ -14,32 +15,31 @@ export var post = /*#__PURE__*/function () {
|
|
|
14
15
|
// if (config.env === 'release' && url.indexOf('zwfwpt.sxzwfw.gov.cn') > -1) {
|
|
15
16
|
// url = url.replace('zwfwpt.sxzwfw.gov.cn', 'zwfwpt.sxzwfw.gov.cn:10010')
|
|
16
17
|
// }
|
|
17
|
-
_context.
|
|
18
|
-
|
|
18
|
+
_context.prev = 1;
|
|
19
|
+
_context.next = 2;
|
|
20
|
+
return axios({
|
|
19
21
|
method: 'POST',
|
|
22
|
+
url: url,
|
|
23
|
+
data: data,
|
|
20
24
|
headers: {
|
|
21
25
|
'Content-Type': config && config['Content-Type'] ? config['Content-Type'] : 'application/json',
|
|
22
|
-
// 声明发送的数据格式
|
|
23
|
-
// url.indexOf('zwfwpt.sxzwfw.gov.cn') > -1 ? config.token : config.tokenTY
|
|
24
26
|
'Authorization': config && config.tokenTY ? config.tokenTY : ''
|
|
25
27
|
},
|
|
26
|
-
|
|
27
|
-
}).then(function (response) {
|
|
28
|
-
console.log('response', response, response.body);
|
|
29
|
-
return noJson ? response.text() : response.json();
|
|
30
|
-
}).then(function (res) {
|
|
31
|
-
return res;
|
|
32
|
-
})["catch"](function (err) {
|
|
33
|
-
return err;
|
|
28
|
+
responseType: noJson ? 'text' : 'json'
|
|
34
29
|
});
|
|
35
|
-
case 1:
|
|
36
|
-
res = _context.sent;
|
|
37
|
-
return _context.abrupt("return", res);
|
|
38
30
|
case 2:
|
|
31
|
+
response = _context.sent;
|
|
32
|
+
console.log('response', response);
|
|
33
|
+
return _context.abrupt("return", response.data);
|
|
34
|
+
case 3:
|
|
35
|
+
_context.prev = 3;
|
|
36
|
+
_t = _context["catch"](1);
|
|
37
|
+
return _context.abrupt("return", _t);
|
|
38
|
+
case 4:
|
|
39
39
|
case "end":
|
|
40
40
|
return _context.stop();
|
|
41
41
|
}
|
|
42
|
-
}, _callee);
|
|
42
|
+
}, _callee, null, [[1, 3]]);
|
|
43
43
|
}));
|
|
44
44
|
return function post(_x, _x2, _x3, _x4) {
|
|
45
45
|
return _ref.apply(this, arguments);
|
|
@@ -47,32 +47,33 @@ export var post = /*#__PURE__*/function () {
|
|
|
47
47
|
}();
|
|
48
48
|
export var get = /*#__PURE__*/function () {
|
|
49
49
|
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2(url, data, config) {
|
|
50
|
-
var
|
|
50
|
+
var response, _t2;
|
|
51
51
|
return _regeneratorRuntime.wrap(function (_context2) {
|
|
52
52
|
while (1) switch (_context2.prev = _context2.next) {
|
|
53
53
|
case 0:
|
|
54
|
+
_context2.prev = 0;
|
|
54
55
|
_context2.next = 1;
|
|
55
|
-
return
|
|
56
|
+
return axios({
|
|
56
57
|
method: 'GET',
|
|
58
|
+
url: url,
|
|
59
|
+
params: data,
|
|
57
60
|
headers: {
|
|
58
61
|
'Content-Type': config && config['Content-Type'] ? config['Content-Type'] : 'application/json',
|
|
59
62
|
'Authorization': config && config.tokenTY ? config.tokenTY : ''
|
|
60
63
|
}
|
|
61
|
-
}).then(function (response) {
|
|
62
|
-
return response.json();
|
|
63
|
-
}).then(function (res) {
|
|
64
|
-
return res;
|
|
65
|
-
})["catch"](function (err) {
|
|
66
|
-
return err;
|
|
67
64
|
});
|
|
68
65
|
case 1:
|
|
69
|
-
|
|
70
|
-
return _context2.abrupt("return",
|
|
66
|
+
response = _context2.sent;
|
|
67
|
+
return _context2.abrupt("return", response.data);
|
|
71
68
|
case 2:
|
|
69
|
+
_context2.prev = 2;
|
|
70
|
+
_t2 = _context2["catch"](0);
|
|
71
|
+
return _context2.abrupt("return", _t2);
|
|
72
|
+
case 3:
|
|
72
73
|
case "end":
|
|
73
74
|
return _context2.stop();
|
|
74
75
|
}
|
|
75
|
-
}, _callee2);
|
|
76
|
+
}, _callee2, null, [[0, 2]]);
|
|
76
77
|
}));
|
|
77
78
|
return function get(_x5, _x6, _x7) {
|
|
78
79
|
return _ref2.apply(this, arguments);
|
|
@@ -463,6 +463,7 @@ var FileItem = function FileItem(_ref) {
|
|
|
463
463
|
break;
|
|
464
464
|
}
|
|
465
465
|
_Message.error('该单位下暂无印章,请前往"山西政务服务网"或"三晋通"小程序申领印章');
|
|
466
|
+
closeLoading();
|
|
466
467
|
return _context3.abrupt("return");
|
|
467
468
|
case 4:
|
|
468
469
|
setIsShowSealPage(true);
|
|
@@ -774,7 +775,7 @@ var FileItem = function FileItem(_ref) {
|
|
|
774
775
|
return extractImageUrls(res.url);
|
|
775
776
|
case 5:
|
|
776
777
|
list = _context7.sent;
|
|
777
|
-
console.log('list---', list);
|
|
778
|
+
console.log('list---111111', list);
|
|
778
779
|
return _context7.abrupt("return", list[0]);
|
|
779
780
|
case 6:
|
|
780
781
|
case "end":
|
|
@@ -788,6 +789,7 @@ var FileItem = function FileItem(_ref) {
|
|
|
788
789
|
}();
|
|
789
790
|
useEffect(function () {
|
|
790
791
|
if (fileId) {
|
|
792
|
+
console.log('fileId---', fileId);
|
|
791
793
|
getViewUrl(fileId).then(function (url) {
|
|
792
794
|
setThumbnail(url);
|
|
793
795
|
});
|
|
@@ -61,12 +61,12 @@ var Comment = function Comment(_ref) {
|
|
|
61
61
|
window.history.back();
|
|
62
62
|
};
|
|
63
63
|
return /*#__PURE__*/React.createElement("div", {
|
|
64
|
-
className: "comment-content"
|
|
64
|
+
className: "pc-comment-content"
|
|
65
65
|
}, pageLoading && /*#__PURE__*/React.createElement(_Loading, {
|
|
66
66
|
visible: pageLoading,
|
|
67
67
|
tip: "\u52A0\u8F7D\u4E2D..."
|
|
68
68
|
}), webViewShow && /*#__PURE__*/React.createElement("div", {
|
|
69
|
-
className: "webView-content"
|
|
69
|
+
className: "pc-webView-content"
|
|
70
70
|
}, /*#__PURE__*/React.createElement("iframe", {
|
|
71
71
|
id: "commentIframe",
|
|
72
72
|
src: commentSrc,
|
|
@@ -75,11 +75,11 @@ var Comment = function Comment(_ref) {
|
|
|
75
75
|
width: "100%",
|
|
76
76
|
title: "\u8BC4\u4EF7"
|
|
77
77
|
}), /*#__PURE__*/React.createElement("div", {
|
|
78
|
-
className: "btn-con"
|
|
78
|
+
className: "pc-btn-con"
|
|
79
79
|
}, /*#__PURE__*/React.createElement(_Button, {
|
|
80
80
|
onClick: closeComment
|
|
81
81
|
}, "\u5173\u95ED\u8BC4\u4EF7"))), !pageLoading && !webViewShow && /*#__PURE__*/React.createElement("div", {
|
|
82
|
-
className: "webView-content",
|
|
82
|
+
className: "pc-webView-content",
|
|
83
83
|
style: {
|
|
84
84
|
display: 'flex',
|
|
85
85
|
justifyContent: 'center',
|
|
@@ -14,16 +14,16 @@ var Accept = function Accept(_ref) {
|
|
|
14
14
|
}
|
|
15
15
|
}, [eventInfoProp]);
|
|
16
16
|
return /*#__PURE__*/React.createElement("div", {
|
|
17
|
-
className: "accept-content"
|
|
17
|
+
className: "pc-accept-content"
|
|
18
18
|
}, /*#__PURE__*/React.createElement(GuideTitle, {
|
|
19
19
|
title: "\u53D7\u7406\u6761\u4EF6"
|
|
20
20
|
}), acceptCondition ? /*#__PURE__*/React.createElement("div", {
|
|
21
|
-
className: "card-content",
|
|
21
|
+
className: "pc-card-content",
|
|
22
22
|
dangerouslySetInnerHTML: {
|
|
23
23
|
__html: acceptCondition
|
|
24
24
|
}
|
|
25
25
|
}) : /*#__PURE__*/React.createElement("div", {
|
|
26
|
-
className: "empty-text"
|
|
26
|
+
className: "pc-empty-text"
|
|
27
27
|
}, "\u6682\u65E0\u53D7\u7406\u6761\u4EF6"));
|
|
28
28
|
};
|
|
29
29
|
Accept.displayName = 'Accept';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
.accept-content {
|
|
2
|
-
.card-content {
|
|
1
|
+
.pc-accept-content {
|
|
2
|
+
.pc-card-content {
|
|
3
3
|
line-height: 25px;
|
|
4
4
|
font-size: 14px;
|
|
5
5
|
color: #222222;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
border-radius: 8px;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
.empty-text {
|
|
12
|
+
.pc-empty-text {
|
|
13
13
|
text-align: center;
|
|
14
14
|
padding: 40px;
|
|
15
15
|
color: #999;
|
|
@@ -20,69 +20,69 @@ var BasicInfo = function BasicInfo(_ref) {
|
|
|
20
20
|
setItemBasic(eventInfo.itemBasic || {});
|
|
21
21
|
}, [eventInfoProp]);
|
|
22
22
|
return /*#__PURE__*/React.createElement("div", {
|
|
23
|
-
className: "basicInfo-content"
|
|
23
|
+
className: "pc-basicInfo-content"
|
|
24
24
|
}, /*#__PURE__*/React.createElement(GuideTitle, {
|
|
25
25
|
title: "\u57FA\u672C\u4FE1\u606F"
|
|
26
26
|
}), /*#__PURE__*/React.createElement("div", {
|
|
27
|
-
className: "inner"
|
|
27
|
+
className: "pc-inner"
|
|
28
28
|
}, /*#__PURE__*/React.createElement("table", {
|
|
29
|
-
className: "info-table"
|
|
29
|
+
className: "pc-info-table"
|
|
30
30
|
}, /*#__PURE__*/React.createElement("tbody", null, /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", {
|
|
31
|
-
className: "label"
|
|
31
|
+
className: "pc-label"
|
|
32
32
|
}, "\u4E8B\u9879\u7F16\u7801"), /*#__PURE__*/React.createElement("td", {
|
|
33
|
-
className: "value"
|
|
33
|
+
className: "pc-value"
|
|
34
34
|
}, taskGeneralBasic.leadingCatalogCode || '-'), /*#__PURE__*/React.createElement("td", {
|
|
35
|
-
className: "label"
|
|
35
|
+
className: "pc-label"
|
|
36
36
|
}, "\u5B9E\u65BD\u7F16\u7801/\u4E1A\u52A1\u529E\u7406\u9879\u7F16\u7801"), /*#__PURE__*/React.createElement("td", {
|
|
37
|
-
className: "value"
|
|
37
|
+
className: "pc-value"
|
|
38
38
|
}, itemBasic.taskHandleItem || '-')), /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", {
|
|
39
|
-
className: "label"
|
|
39
|
+
className: "pc-label"
|
|
40
40
|
}, "\u662F\u5426\u627F\u8BFA"), /*#__PURE__*/React.createElement("td", {
|
|
41
|
-
className: "value"
|
|
41
|
+
className: "pc-value"
|
|
42
42
|
}, taskGeneralBasic.projectTypeText || '-'), /*#__PURE__*/React.createElement("td", {
|
|
43
|
-
className: "label"
|
|
43
|
+
className: "pc-label"
|
|
44
44
|
}, "\u662F\u5426\u6536\u8D39"), /*#__PURE__*/React.createElement("td", {
|
|
45
|
-
className: "value"
|
|
45
|
+
className: "pc-value"
|
|
46
46
|
}, taskGeneralExtend.isFeeText ? taskGeneralExtend.isFeeText === '是' ? '收费' : '不收费' : '不收费')), /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", {
|
|
47
|
-
className: "label"
|
|
47
|
+
className: "pc-label"
|
|
48
48
|
}, "\u627F\u8BFA\u529E\u7ED3\u65F6\u9650"), /*#__PURE__*/React.createElement("td", {
|
|
49
|
-
className: "value"
|
|
49
|
+
className: "pc-value"
|
|
50
50
|
}, taskGeneralExtend.promiseDay || '-', "\u5DE5\u4F5C\u65E5"), /*#__PURE__*/React.createElement("td", {
|
|
51
|
-
className: "label"
|
|
51
|
+
className: "pc-label"
|
|
52
52
|
}, "\u6CD5\u5B9A\u529E\u7ED3\u65F6\u9650"), /*#__PURE__*/React.createElement("td", {
|
|
53
|
-
className: "value"
|
|
53
|
+
className: "pc-value"
|
|
54
54
|
}, taskGeneralExtend.anticipateDay || '-', "\u5DE5\u4F5C\u65E5")), /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", {
|
|
55
|
-
className: "label"
|
|
55
|
+
className: "pc-label"
|
|
56
56
|
}, "\u5230\u73B0\u573A\u6B21\u6570"), /*#__PURE__*/React.createElement("td", {
|
|
57
|
-
className: "value"
|
|
57
|
+
className: "pc-value"
|
|
58
58
|
}, taskGeneralExtend.workSceneNumber || '-', "\u6B21"), /*#__PURE__*/React.createElement("td", {
|
|
59
|
-
className: "label"
|
|
59
|
+
className: "pc-label"
|
|
60
60
|
}, "\u5B9E\u65BD\u4E3B\u4F53"), /*#__PURE__*/React.createElement("td", {
|
|
61
|
-
className: "value"
|
|
61
|
+
className: "pc-value"
|
|
62
62
|
}, itemBasic.deptName || '-')), /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", {
|
|
63
|
-
className: "label"
|
|
63
|
+
className: "pc-label"
|
|
64
64
|
}, "\u670D\u52A1\u5BF9\u8C61"), /*#__PURE__*/React.createElement("td", {
|
|
65
|
-
className: "value"
|
|
65
|
+
className: "pc-value"
|
|
66
66
|
}, taskGeneralExtend.serviceObjectTypeText || '-'), /*#__PURE__*/React.createElement("td", {
|
|
67
|
-
className: "label"
|
|
67
|
+
className: "pc-label"
|
|
68
68
|
}, "\u529E\u4E8B\u5730\u5740"), /*#__PURE__*/React.createElement("td", {
|
|
69
|
-
className: "value"
|
|
69
|
+
className: "pc-value"
|
|
70
70
|
}, taskGeneralExtend.transactAddr || '-')), /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", {
|
|
71
|
-
className: "label"
|
|
71
|
+
className: "pc-label"
|
|
72
72
|
}, "\u529E\u7406\u65F6\u95F4"), /*#__PURE__*/React.createElement("td", {
|
|
73
|
-
className: "value"
|
|
73
|
+
className: "pc-value"
|
|
74
74
|
}, taskGeneralExtend.transactTime || '-'), /*#__PURE__*/React.createElement("td", {
|
|
75
|
-
className: "label"
|
|
75
|
+
className: "pc-label"
|
|
76
76
|
}, "\u54A8\u8BE2\u5730\u5740"), /*#__PURE__*/React.createElement("td", {
|
|
77
|
-
className: "value"
|
|
77
|
+
className: "pc-value"
|
|
78
78
|
}, taskGeneralExtend.seekWebsite || '-')), /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", {
|
|
79
|
-
className: "label"
|
|
79
|
+
className: "pc-label"
|
|
80
80
|
}, "\u54A8\u8BE2\u7535\u8BDD"), /*#__PURE__*/React.createElement("td", {
|
|
81
|
-
className: "value"
|
|
81
|
+
className: "pc-value"
|
|
82
82
|
}, taskGeneralExtend.seekPhone || '-'), /*#__PURE__*/React.createElement("td", {
|
|
83
|
-
className: "label"
|
|
83
|
+
className: "pc-label"
|
|
84
84
|
}), /*#__PURE__*/React.createElement("td", {
|
|
85
|
-
className: "value"
|
|
85
|
+
className: "pc-value"
|
|
86
86
|
}))))));
|
|
87
87
|
};
|
|
88
88
|
BasicInfo.displayName = 'BasicInfo';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
.basicInfo-content {
|
|
2
|
-
.inner {
|
|
1
|
+
.pc-basicInfo-content {
|
|
2
|
+
.pc-inner {
|
|
3
3
|
margin-top: 20px;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
.info-table {
|
|
6
|
+
.pc-info-table {
|
|
7
7
|
width: 100%;
|
|
8
8
|
border-collapse: collapse;
|
|
9
9
|
border: 1px solid #e8e8e8;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
border: 1px solid #e8e8e8;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.label {
|
|
18
|
+
.pc-label {
|
|
19
19
|
background: #f7f8fa;
|
|
20
20
|
font-weight: 500;
|
|
21
21
|
color: #666666;
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
white-space: nowrap;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
.value {
|
|
26
|
+
.pc-value {
|
|
27
27
|
color: #222222;
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import "./eventInfo.scss";
|
|
3
|
+
import icon1 from "../imgs/icon1.png";
|
|
4
|
+
import icon2 from "../imgs/icon2.png";
|
|
5
|
+
var EventInfo = function EventInfo(_ref) {
|
|
6
|
+
var eventInfoProp = _ref.eventInfo;
|
|
7
|
+
var _React$useState = React.useState({}),
|
|
8
|
+
taskGeneralBasic = _React$useState[0],
|
|
9
|
+
setTaskGeneralBasic = _React$useState[1];
|
|
10
|
+
var _React$useState2 = React.useState({}),
|
|
11
|
+
taskGeneralExtend = _React$useState2[0],
|
|
12
|
+
setTaskGeneralExtend = _React$useState2[1];
|
|
13
|
+
React.useEffect(function () {
|
|
14
|
+
initData();
|
|
15
|
+
}, []);
|
|
16
|
+
var initData = function initData() {
|
|
17
|
+
var eventInfo = eventInfoProp;
|
|
18
|
+
if (!eventInfo) return;
|
|
19
|
+
var basic = eventInfo.taskGeneralBasic || {};
|
|
20
|
+
var extend = eventInfo.taskGeneralExtend || {};
|
|
21
|
+
setTaskGeneralBasic(basic);
|
|
22
|
+
setTaskGeneralExtend(extend);
|
|
23
|
+
};
|
|
24
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
25
|
+
className: "pc-eventInfo-content"
|
|
26
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
27
|
+
className: "title"
|
|
28
|
+
}, taskGeneralBasic.taskHandleItemName), /*#__PURE__*/React.createElement("div", {
|
|
29
|
+
className: "info-con"
|
|
30
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
31
|
+
className: "info-item"
|
|
32
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
33
|
+
className: "icon",
|
|
34
|
+
src: icon1,
|
|
35
|
+
alt: ""
|
|
36
|
+
}), "\u5B9E\u65BD\u4E3B\u4F53\uFF1A", eventInfoProp.itemBasic.deptName), /*#__PURE__*/React.createElement("div", {
|
|
37
|
+
className: "info-item"
|
|
38
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
39
|
+
className: "icon",
|
|
40
|
+
src: icon2,
|
|
41
|
+
alt: ""
|
|
42
|
+
}), "\u627F\u8BFA\u529E\u7ED3\u65F6\u9650\uFF1A", taskGeneralExtend.promiseDay)));
|
|
43
|
+
};
|
|
44
|
+
EventInfo.displayName = 'EventInfo';
|
|
45
|
+
export default EventInfo;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
.pc-eventInfo-content {
|
|
2
|
+
padding: 20px 24px;
|
|
3
|
+
margin-bottom: 16px;
|
|
4
|
+
border-radius: 8px;
|
|
5
|
+
opacity: 1;
|
|
6
|
+
|
|
7
|
+
background: #EEF5FF;
|
|
8
|
+
|
|
9
|
+
.title {
|
|
10
|
+
font-size: 16px;
|
|
11
|
+
line-height: 21px;
|
|
12
|
+
font-weight: 500;
|
|
13
|
+
color: #333333;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.info-con {
|
|
17
|
+
display: flex;
|
|
18
|
+
color: #666666;
|
|
19
|
+
font-size: 14px;
|
|
20
|
+
margin-top: 12px;
|
|
21
|
+
gap: 40px;
|
|
22
|
+
|
|
23
|
+
.info-item {
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.icon {
|
|
29
|
+
width: 16px;
|
|
30
|
+
height: 16px;
|
|
31
|
+
margin-right: 8px;
|
|
32
|
+
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
}
|
|
@@ -17,10 +17,10 @@ var GuideTabs = function GuideTabs(_ref) {
|
|
|
17
17
|
var curTab = _ref.curTab,
|
|
18
18
|
onTabsChange = _ref.onTabsChange;
|
|
19
19
|
return /*#__PURE__*/React.createElement("div", {
|
|
20
|
-
className: "guideTabs-con"
|
|
20
|
+
className: "pc-guideTabs-con"
|
|
21
21
|
}, tabList.map(function (item, index) {
|
|
22
22
|
return /*#__PURE__*/React.createElement("div", {
|
|
23
|
-
className: "tab-item " + (curTab === index ? 'active' : ''),
|
|
23
|
+
className: "pc-tab-item " + (curTab === index ? 'active' : ''),
|
|
24
24
|
key: index,
|
|
25
25
|
onClick: function onClick() {
|
|
26
26
|
return onTabsChange(index);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
.guideTabs-con {
|
|
1
|
+
.pc-guideTabs-con {
|
|
2
2
|
display: flex;
|
|
3
3
|
border-bottom: 1px solid #e8e8e8;
|
|
4
4
|
|
|
5
|
-
.tab-item {
|
|
5
|
+
.pc-tab-item {
|
|
6
6
|
flex: 1;
|
|
7
7
|
padding: 14px 0;
|
|
8
8
|
text-align: center;
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
&.active {
|
|
20
20
|
color: #1678FF;
|
|
21
21
|
font-weight: 500;
|
|
22
|
+
background: #e2efff;
|
|
22
23
|
|
|
23
24
|
&::after {
|
|
24
25
|
content: '';
|
|
@@ -5,15 +5,15 @@ import "./guideTitle.scss";
|
|
|
5
5
|
var GuideTitle = function GuideTitle(_ref) {
|
|
6
6
|
var title = _ref.title;
|
|
7
7
|
return /*#__PURE__*/React.createElement("div", {
|
|
8
|
-
className: "guideTitle-con"
|
|
8
|
+
className: "pc-guideTitle-con"
|
|
9
9
|
}, /*#__PURE__*/React.createElement("img", {
|
|
10
|
-
className: "titleImg",
|
|
10
|
+
className: "pc-titleImg",
|
|
11
11
|
src: titleL,
|
|
12
12
|
alt: ""
|
|
13
13
|
}), /*#__PURE__*/React.createElement("div", {
|
|
14
|
-
className: "titleText"
|
|
14
|
+
className: "pc-titleText"
|
|
15
15
|
}, title), /*#__PURE__*/React.createElement("img", {
|
|
16
|
-
className: "titleImg",
|
|
16
|
+
className: "pc-titleImg",
|
|
17
17
|
src: titleR,
|
|
18
18
|
alt: ""
|
|
19
19
|
}));
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
.guideTitle-con {
|
|
1
|
+
.pc-guideTitle-con {
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: center;
|
|
4
4
|
align-items: center;
|
|
5
5
|
|
|
6
|
-
.titleText {
|
|
6
|
+
.pc-titleText {
|
|
7
7
|
font-size: 24px;
|
|
8
8
|
font-weight: 500;
|
|
9
9
|
margin: 0 10px;
|
|
10
10
|
}
|
|
11
|
-
.titleImg {
|
|
11
|
+
.pc-titleImg {
|
|
12
12
|
width: 20px;
|
|
13
13
|
height: 21px;
|
|
14
14
|
}
|