ydb-components-material 0.1.104 → 0.1.106

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.
Files changed (83) hide show
  1. package/build/docs/404.html +3 -3
  2. package/build/docs/_demos/:uuid +3 -3
  3. package/build/docs/colorful-button.html +3 -3
  4. package/build/docs/colorful-input.html +3 -3
  5. package/build/docs/index.html +3 -3
  6. package/build/docs/static/commonBg.4bd4470c.svg +1 -0
  7. package/build/docs/{umi.82ebabdb.css → umi.03d24726.css} +1 -1
  8. package/build/docs/{umi.967ad73e.js → umi.b82d1ee3.js} +1 -1
  9. package/build/docs/~demos/:uuid.html +3 -3
  10. package/build/docs/~demos/colorful-button-demo.html +3 -3
  11. package/build/docs/~demos/colorful-input-demo.html +3 -3
  12. package/build/lowcode/3.js +2 -2
  13. package/build/lowcode/4.js +1 -1
  14. package/build/lowcode/5.js +1 -1
  15. package/build/lowcode/assets-daily.json +11 -11
  16. package/build/lowcode/assets-dev.json +2 -2
  17. package/build/lowcode/assets-prod.json +11 -11
  18. package/build/lowcode/index.js +1 -1
  19. package/build/lowcode/meta.js +1 -1
  20. package/build/lowcode/preview.js +9 -9
  21. package/build/lowcode/render/default/1.js +2 -2
  22. package/build/lowcode/render/default/2.js +1 -1
  23. package/build/lowcode/render/default/3.js +1 -1
  24. package/build/lowcode/render/default/view.css +1 -1
  25. package/build/lowcode/render/default/view.js +18 -18
  26. package/build/lowcode/view.css +1 -1
  27. package/build/lowcode/view.js +18 -18
  28. package/dist/1.js +2 -2
  29. package/dist/2.js +1 -1
  30. package/dist/3.js +1 -1
  31. package/dist/BizComps.css +1 -1
  32. package/dist/BizComps.js +20 -20
  33. package/dist/BizComps.js.map +1 -1
  34. package/es/components/guide/compoents/eventInfo.d.ts +0 -1
  35. package/es/components/guide/compoents/eventInfo.js +1 -17
  36. package/es/components/guide/compoents/materials/materials.d.ts +0 -4
  37. package/es/components/guide/compoents/materials/materials.js +0 -8
  38. package/es/components/guide/compoents/materials/situation.d.ts +0 -4
  39. package/es/components/guide/compoents/materials/situation.js +1 -21
  40. package/es/components/guide/compoents/places.js +8 -22
  41. package/es/components/guide/compoents/result.js +1 -2
  42. package/es/components/guide/compoents/result.scss +2 -2
  43. package/es/components/guide/imgs/commonBg.svg +1 -0
  44. package/es/components/guide/index.d.ts +0 -12
  45. package/es/components/guide/index.js +6 -30
  46. package/es/components/guide/index.scss +6 -6
  47. package/es/style.js +1 -1
  48. package/lib/components/guide/compoents/eventInfo.d.ts +0 -1
  49. package/lib/components/guide/compoents/eventInfo.js +1 -17
  50. package/lib/components/guide/compoents/materials/materials.d.ts +0 -4
  51. package/lib/components/guide/compoents/materials/materials.js +0 -8
  52. package/lib/components/guide/compoents/materials/situation.d.ts +0 -4
  53. package/lib/components/guide/compoents/materials/situation.js +1 -21
  54. package/lib/components/guide/compoents/places.js +8 -22
  55. package/lib/components/guide/compoents/result.js +1 -2
  56. package/lib/components/guide/compoents/result.scss +2 -2
  57. package/lib/components/guide/imgs/commonBg.svg +1 -0
  58. package/lib/components/guide/index.d.ts +0 -12
  59. package/lib/components/guide/index.js +6 -30
  60. package/lib/components/guide/index.scss +6 -6
  61. package/lib/style.js +1 -1
  62. package/lowcode/guide/meta.ts +2 -147
  63. package/lowcode_es/guide/meta.js +0 -141
  64. package/lowcode_es/meta.js +1 -1
  65. package/lowcode_lib/guide/meta.js +0 -141
  66. package/lowcode_lib/meta.js +1 -1
  67. package/package.json +4 -3
  68. package/build/docs/static/bg2.a0dfd810.png +0 -0
  69. package/build/docs/static/commonBg.83239798.png +0 -0
  70. package/build/lowcode/assets/260814268e08d6e791032a27843cd215.png +0 -0
  71. package/build/lowcode/assets/3eb597ba730c5870765c2c09b7853d78.png +0 -0
  72. package/build/lowcode/render/default/assets/260814268e08d6e791032a27843cd215.png +0 -0
  73. package/build/lowcode/render/default/assets/3eb597ba730c5870765c2c09b7853d78.png +0 -0
  74. package/dist/assets/260814268e08d6e791032a27843cd215.png +0 -0
  75. package/dist/assets/3eb597ba730c5870765c2c09b7853d78.png +0 -0
  76. package/es/components/guide/imgs/bg2.png +0 -0
  77. package/es/components/guide/imgs/checkBg.png +0 -0
  78. package/es/components/guide/imgs/checkBgPc.png +0 -0
  79. package/es/components/guide/imgs/loading.gif +0 -0
  80. package/lib/components/guide/imgs/bg2.png +0 -0
  81. package/lib/components/guide/imgs/checkBg.png +0 -0
  82. package/lib/components/guide/imgs/checkBgPc.png +0 -0
  83. package/lib/components/guide/imgs/loading.gif +0 -0
@@ -2,7 +2,6 @@ import * as React from 'react';
2
2
  import './eventInfo.scss';
3
3
  export interface EventInfoProps {
4
4
  eventInfo?: any;
5
- filterMaterials?: any;
6
5
  }
7
6
  declare const EventInfo: React.FC<EventInfoProps>;
8
7
  export default EventInfo;
@@ -1,8 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import "./eventInfo.scss";
3
3
  var EventInfo = function EventInfo(_ref) {
4
- var eventInfoProp = _ref.eventInfo,
5
- filterMaterialsProp = _ref.filterMaterials;
4
+ var eventInfoProp = _ref.eventInfo;
6
5
  var _React$useState = React.useState({}),
7
6
  taskGeneralBasic = _React$useState[0],
8
7
  setTaskGeneralBasic = _React$useState[1];
@@ -12,16 +11,8 @@ var EventInfo = function EventInfo(_ref) {
12
11
  var _React$useState3 = React.useState([]),
13
12
  info = _React$useState3[0],
14
13
  setInfo = _React$useState3[1];
15
- var _React$useState4 = React.useState(false),
16
- hasSituation = _React$useState4[0],
17
- setHasSituation = _React$useState4[1];
18
- var _React$useState5 = React.useState(false),
19
- hasFilterMaterials = _React$useState5[0],
20
- setHasFilterMaterials = _React$useState5[1];
21
14
  React.useEffect(function () {
22
15
  initData();
23
- initHasSituation();
24
- getFilterMaterials();
25
16
  }, []);
26
17
  var initData = function initData() {
27
18
  var eventInfo = eventInfoProp;
@@ -44,13 +35,6 @@ var EventInfo = function EventInfo(_ref) {
44
35
  name: '承诺办结时限'
45
36
  }]);
46
37
  };
47
- var initHasSituation = function initHasSituation() {
48
- var eventInfo = eventInfoProp;
49
- setHasSituation(!!(eventInfo !== null && eventInfo !== void 0 && eventInfo.taskGeneralSituation));
50
- };
51
- var getFilterMaterials = function getFilterMaterials() {
52
- setHasFilterMaterials(!!filterMaterialsProp);
53
- };
54
38
 
55
39
  // TODO: selection() – uni.navigateTo not implemented
56
40
 
@@ -6,11 +6,7 @@ export interface MaterialsProps {
6
6
  applicationId?: string;
7
7
  accessToken?: string;
8
8
  acctType?: string;
9
- formData?: any;
10
9
  finalMaterials?: any[];
11
- formFieldNames?: any;
12
- itemSituationRowUid?: any;
13
- workNo?: any;
14
10
  declarationAppToken?: string;
15
11
  declarePage?: string;
16
12
  baseUrl?: string;
@@ -8,11 +8,7 @@ var Materials = function Materials(_ref) {
8
8
  applicationIdProp = _ref.applicationId,
9
9
  accessTokenProp = _ref.accessToken,
10
10
  acctTypeProp = _ref.acctType,
11
- formDataProp = _ref.formData,
12
11
  finalMaterialsProp = _ref.finalMaterials,
13
- formFieldNamesProp = _ref.formFieldNames,
14
- itemSituationRowUidProp = _ref.itemSituationRowUid,
15
- workNoProp = _ref.workNo,
16
12
  declarationAppTokenProp = _ref.declarationAppToken,
17
13
  declarePageProp = _ref.declarePage,
18
14
  baseUrlProp = _ref.baseUrl,
@@ -39,11 +35,7 @@ var Materials = function Materials(_ref) {
39
35
  applicationId: applicationIdProp,
40
36
  accessToken: accessTokenProp,
41
37
  acctType: acctTypeProp,
42
- formData: formDataProp,
43
38
  finalMaterials: finalMaterialsProp,
44
- formFieldNames: formFieldNamesProp,
45
- itemSituationRowUid: itemSituationRowUidProp,
46
- workNo: workNoProp,
47
39
  declarationAppToken: declarationAppTokenProp,
48
40
  declarePage: declarePageProp,
49
41
  situationResRechange: situationResRechangeProp,
@@ -6,11 +6,7 @@ export interface SituationProps {
6
6
  applicationId?: string;
7
7
  accessToken?: string;
8
8
  acctType?: string;
9
- formData?: any;
10
9
  finalMaterials?: any[];
11
- formFieldNames?: any;
12
- itemSituationRowUid?: any;
13
- workNo?: any;
14
10
  declarationAppToken?: string;
15
11
  declarePage?: string;
16
12
  taskHandleItem?: string;
@@ -11,11 +11,7 @@ var Situation = function Situation(_ref) {
11
11
  applicationIdProp = _ref.applicationId,
12
12
  accessTokenProp = _ref.accessToken,
13
13
  acctTypeProp = _ref.acctType,
14
- formDataProp = _ref.formData,
15
14
  finalMaterialsProp = _ref.finalMaterials,
16
- formFieldNamesProp = _ref.formFieldNames,
17
- itemSituationRowUidProp = _ref.itemSituationRowUid,
18
- workNoProp = _ref.workNo,
19
15
  declarationAppTokenProp = _ref.declarationAppToken,
20
16
  declarePageProp = _ref.declarePage,
21
17
  taskHandleItemProp = _ref.taskHandleItem,
@@ -51,7 +47,7 @@ var Situation = function Situation(_ref) {
51
47
  }
52
48
  };
53
49
  var getMessage = function getMessage(e) {
54
- var typeArr = ['getAccessToken', 'getDeclaraToken', 'getApplicationId', 'getTaskHandleItem', 'getFormId', 'getMaterials', 'getFormData', 'getFormFieldNames', 'getItemSituationRowUid', 'getWorkNo'];
50
+ var typeArr = ['getAccessToken', 'getDeclaraToken', 'getApplicationId', 'getTaskHandleItem', 'getFormId', 'getMaterials', 'getFormData'];
55
51
  var _ref2 = e.data || {},
56
52
  type = _ref2.type,
57
53
  data = _ref2.data;
@@ -67,11 +63,7 @@ var Situation = function Situation(_ref) {
67
63
  var applicationId = applicationIdProp;
68
64
  // const taskHandleItem = taskHandleItemProp;
69
65
  var eventInfo = eventInfoProp;
70
- var formData = formDataProp;
71
66
  var finalMaterials = finalMaterialsProp;
72
- var formFieldNames = formFieldNamesProp;
73
- var itemSituationRowUid = itemSituationRowUidProp;
74
- var workNo = workNoProp;
75
67
  var sendData = {
76
68
  type: type,
77
69
  data: {}
@@ -101,18 +93,6 @@ var Situation = function Situation(_ref) {
101
93
  case 'getMaterials':
102
94
  sendData.data.materials = finalMaterials || (eventInfo === null || eventInfo === void 0 ? void 0 : eventInfo.taskGeneralMaterials);
103
95
  break;
104
- case 'getFormData':
105
- sendData.data.formData = formData;
106
- break;
107
- case 'getFormFieldNames':
108
- sendData.data.formFieldNames = formFieldNames;
109
- break;
110
- case 'getItemSituationRowUid':
111
- sendData.data.itemSituationRowUid = itemSituationRowUid;
112
- break;
113
- case 'getWorkNo':
114
- sendData.data.workNo = workNo;
115
- break;
116
96
  }
117
97
  var formIframe = document.getElementById('situationIframe');
118
98
  if (formIframe !== null && formIframe !== void 0 && formIframe.contentWindow) {
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import "./places.scss";
3
3
  import emptyImg from "../imgs/empty.png";
4
+ import { Map, Marker } from 'react-amap';
4
5
  var Places = function Places(_ref) {
5
6
  var eventInfoProp = _ref.eventInfo;
6
7
  var _React$useState = React.useState({
@@ -42,27 +43,6 @@ var Places = function Places(_ref) {
42
43
  setCenter(37.81, 112.52);
43
44
  }
44
45
  };
45
-
46
- // TODO: commonMap component not available in React. Map display not implemented.
47
- // The original used a <commonMap> uni-app component with mapbox/amap integration.
48
- React.useEffect(function () {
49
- var hallList = (eventInfoProp === null || eventInfoProp === void 0 ? void 0 : eventInfoProp.hallList) || [];
50
- window.onload = function () {
51
- // 2. 初始化地图
52
- if (!AMap) return;
53
- var map = new AMap.Map('mapContainer', {
54
- zoom: 14,
55
- // 缩放级别
56
- // 注意:经纬度格式为 [经度, 纬度]
57
- center: [hallList[0].longitude, hallList[0].latitude]
58
- });
59
- // 3. 添加一个标记点
60
- new AMap.Marker({
61
- position: [hallList[0].longitude, hallList[0].latitude],
62
- map: map
63
- });
64
- };
65
- }, []);
66
46
  return /*#__PURE__*/React.createElement("div", {
67
47
  className: "places-content"
68
48
  }, list.length > 0 ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
@@ -78,7 +58,13 @@ var Places = function Places(_ref) {
78
58
  color: '#999',
79
59
  fontSize: 14
80
60
  }
81
- })), /*#__PURE__*/React.createElement("div", {
61
+ }, /*#__PURE__*/React.createElement(Map, {
62
+ amapkey: "fced30d9f04276a2a2071081f960170d",
63
+ center: [list[0].longitude, list[0].latitude],
64
+ zoom: 16
65
+ }, /*#__PURE__*/React.createElement(Marker, {
66
+ position: [list[0].longitude, list[0].latitude]
67
+ })))), /*#__PURE__*/React.createElement("div", {
82
68
  className: "list-con"
83
69
  }, list.map(function (item, index) {
84
70
  return /*#__PURE__*/React.createElement("div", {
@@ -1,6 +1,5 @@
1
1
  import * as React from 'react';
2
2
  import "./result.scss";
3
- import commonBg from "../imgs/bg2.png";
4
3
  import icon1 from "../imgs/icon1.png";
5
4
  import icon2 from "../imgs/icon2.png";
6
5
  import icon3 from "../imgs/icon3.png";
@@ -40,7 +39,7 @@ var Result = function Result(_ref) {
40
39
  }, item.scene), /*#__PURE__*/React.createElement("div", {
41
40
  className: "info-con",
42
41
  style: {
43
- backgroundImage: "url(" + commonBg + ")"
42
+ backgroundImage: "url(https://zwfwpt.sxzwfw.gov.cn:11001/fis/18a78d3d488-true/master/18b4752f107/2026/5/2059443890220503042/bg2.png)"
44
43
  }
45
44
  }, /*#__PURE__*/React.createElement("div", {
46
45
  className: "info-title"
@@ -23,7 +23,7 @@
23
23
 
24
24
  .info-con {
25
25
  width: 100%;
26
- height: 254px;
26
+ height: 300px;
27
27
  background-size: 100% 100%;
28
28
 
29
29
  .info-title {
@@ -46,7 +46,7 @@
46
46
  }
47
47
 
48
48
  .info-list {
49
- margin: 15px 30px 0;
49
+ margin: 35px 30px 0;
50
50
 
51
51
  .info-item {
52
52
  display: flex;
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="375" height="270" viewBox="0 0 375 270"><defs><linearGradient x1="0.9229974150657654" y1="0.5690524578094482" x2="-0.17019593931065616" y2="0.18000713980631639" id="master_svg0_8_01317"><stop offset="0%" stop-color="#7BB2FF" stop-opacity="1"/><stop offset="46.25856578350067%" stop-color="#3385F7" stop-opacity="0.800000011920929"/><stop offset="100%" stop-color="#03D1F1" stop-opacity="1"/></linearGradient><linearGradient x1="1" y1="0.6824562549591064" x2="-0.12613178203182815" y2="0.08365561903770147" id="master_svg1_8_01331"><stop offset="0%" stop-color="#FFFFFF" stop-opacity="1"/><stop offset="97.99996614456177%" stop-color="#FFFFFF" stop-opacity="1"/></linearGradient><mask id="master_svg2_498_43654" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="-63" y="-70" width="623" height="528"><rect x="0" y="0" width="375" height="270" rx="0" fill="url(#master_svg1_8_01331)" fill-opacity="1" style="mix-blend-mode:passthrough"/></mask><linearGradient x1="0" y1="0.4827450215816498" x2="0.6412902474403382" y2="0.4399974048137665" id="master_svg3_28_01460"><stop offset="0%" stop-color="#78B0FF" stop-opacity="1"/><stop offset="100%" stop-color="#78B0FF" stop-opacity="0"/></linearGradient><linearGradient x1="0" y1="0.4827450215816498" x2="1.0357004404067993" y2="0.5265340805053711" id="master_svg4_8_01328"><stop offset="0%" stop-color="#78B0FF" stop-opacity="1"/><stop offset="100%" stop-color="#78B0FF" stop-opacity="0"/></linearGradient></defs><rect x="0" y="0" width="375" height="270" rx="0" fill="url(#master_svg0_8_01317)" fill-opacity="1" style="mix-blend-mode:passthrough"/><g mask="url(#master_svg2_498_43654)"><ellipse cx="0.5" cy="132.5" rx="63.5" ry="63.5" fill="#FFFFFF" fill-opacity="1" style="opacity:0.20000000298023224;"/><ellipse cx="579" cy="39" rx="109" ry="109" fill="url(#master_svg3_28_01460)" fill-opacity="1" transform="matrix(0,1,-1,0,400,-540)"/><ellipse cx="697.5" cy="320.5" rx="137.5" ry="137.5" fill="url(#master_svg4_8_01328)" fill-opacity="1" transform="matrix(0,1,-1,0,743,-377)"/></g></svg>
@@ -5,8 +5,6 @@ export interface GuideProps {
5
5
  onNextStep?: (action: string) => void;
6
6
  /** Whether to disable the prev/next buttons (coming from authorization page) */
7
7
  cantNext?: boolean;
8
- /** Standard item ID for fetching event details */
9
- standardItemId?: string;
10
8
  /** Task handle item code */
11
9
  taskHandleItem?: string;
12
10
  /** Access token */
@@ -19,18 +17,8 @@ export interface GuideProps {
19
17
  agentInfo?: object;
20
18
  /** Application ID */
21
19
  applicationId?: string;
22
- /** Form data */
23
- formData?: object;
24
- /** Form field names */
25
- formFieldNames?: object;
26
- /** Item situation row uid */
27
- itemSituationRowUid?: object;
28
- /** Work number */
29
- workNo?: object;
30
20
  /** Final materials after intelligent guidance */
31
21
  finalMaterials?: object[];
32
- /** Filter materials */
33
- filterMaterials?: object;
34
22
  /** Step list */
35
23
  stepList?: object[];
36
24
  /** Declaration app token */
@@ -1,10 +1,8 @@
1
- import _Button from "@alifd/next/es/button";
2
1
  import _Dialog from "@alifd/next/es/dialog";
3
2
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
4
3
  import _Message from "@alifd/next/es/message";
5
4
  import _regeneratorRuntime from "@babel/runtime/regenerator";
6
5
  import * as React from 'react';
7
- import { setStorageItem } from "./_utils";
8
6
  import GuideTabs from "./compoents/guideTabs";
9
7
  import EventInfo from "./compoents/eventInfo";
10
8
  import Materials from "./compoents/materials/materials";
@@ -13,7 +11,7 @@ import ProcessImg from "./compoents/processImg";
13
11
  import Accept from "./compoents/accept";
14
12
  import Places from "./compoents/places";
15
13
  import Result from "./compoents/result";
16
- import topBg from "./imgs/commonBg.png";
14
+ import topBg from "./imgs/commonBg.svg";
17
15
  import commentIcon from "./imgs/comment.png";
18
16
  import shareIcon from "./imgs/share.png";
19
17
  import downloadIcon from "./imgs/download.png";
@@ -31,19 +29,13 @@ var Guide = function Guide(_ref) {
31
29
  var onNextStep = _ref.onNextStep,
32
30
  _ref$cantNext = _ref.cantNext,
33
31
  cantNext = _ref$cantNext === void 0 ? false : _ref$cantNext,
34
- standardItemId = _ref.standardItemId,
35
32
  taskHandleItem = _ref.taskHandleItem,
36
33
  accessToken = _ref.accessToken,
37
34
  eventInfoProp = _ref.eventInfo,
38
35
  acctType = _ref.acctType,
39
36
  agentInfo = _ref.agentInfo,
40
37
  applicationId = _ref.applicationId,
41
- formData = _ref.formData,
42
- formFieldNames = _ref.formFieldNames,
43
- itemSituationRowUid = _ref.itemSituationRowUid,
44
- workNo = _ref.workNo,
45
38
  finalMaterials = _ref.finalMaterials,
46
- filterMaterials = _ref.filterMaterials,
47
39
  stepList = _ref.stepList,
48
40
  declarationAppToken = _ref.declarationAppToken,
49
41
  declarePage = _ref.declarePage,
@@ -91,18 +83,9 @@ var Guide = function Guide(_ref) {
91
83
  React.useEffect(function () {
92
84
  initUserNotice();
93
85
 
94
- // TODO: getFormValueApi call – API not available
95
- // this.getFormValueFun()
96
-
97
86
  // Set page title
98
87
  document.title = '办事指南';
99
88
 
100
- // Auto fetch event info if params provided
101
- if (standardItemId && taskHandleItem && accessToken) {
102
- setStorageItem('declarationAppTokenTY', accessToken);
103
- // TODO: getTyEventDetailApi(standardItemId, taskHandleItem)
104
- }
105
-
106
89
  // TODO: if (opt.isAfterFace) this.$initNextStep('立即办理')
107
90
  }, []);
108
91
 
@@ -279,16 +262,13 @@ var Guide = function Guide(_ref) {
279
262
  className: "loading-text"
280
263
  }, "\u52A0\u8F7D\u4E2D...")), !canHandle && !pageLoading && /*#__PURE__*/React.createElement("div", {
281
264
  className: "guide-empty"
282
- }, "\u6682\u672A\u67E5\u8BE2\u5230\u76F8\u5173\u4E8B\u9879"), !pageLoading && canHandle && /*#__PURE__*/React.createElement("div", {
265
+ }, "\u6682\u672A\u67E5\u8BE2\u5230\u76F8\u5173\u4E8B\u9879"), !pageLoading && canHandle && /*#__PURE__*/React.createElement("img", {
283
266
  className: "topBg",
284
- style: {
285
- backgroundImage: "url(" + topBg + ")"
286
- }
267
+ src: topBg
287
268
  }), !pageLoading && canHandle && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
288
269
  className: "container"
289
270
  }, /*#__PURE__*/React.createElement(EventInfo, {
290
- eventInfo: eventInfoProp,
291
- filterMaterials: filterMaterials
271
+ eventInfo: eventInfoProp
292
272
  }), /*#__PURE__*/React.createElement(GuideTabs, {
293
273
  tabsList: tabList,
294
274
  isSticky: false,
@@ -300,11 +280,7 @@ var Guide = function Guide(_ref) {
300
280
  applicationId: applicationId,
301
281
  accessToken: accessToken,
302
282
  acctType: acctType,
303
- formData: formData,
304
283
  finalMaterials: finalMaterials,
305
- formFieldNames: formFieldNames,
306
- itemSituationRowUid: itemSituationRowUid,
307
- workNo: workNo,
308
284
  declarationAppToken: declarationAppToken,
309
285
  declarePage: declarePage,
310
286
  baseUrl: baseUrl,
@@ -382,11 +358,11 @@ var Guide = function Guide(_ref) {
382
358
  className: "name"
383
359
  }, "\u4E0B\u8F7D"))), /*#__PURE__*/React.createElement("div", {
384
360
  className: "right"
385
- }, /*#__PURE__*/React.createElement(_Button, {
361
+ }, /*#__PURE__*/React.createElement("div", {
386
362
  className: "right-btn",
387
363
  onClick: prepStep,
388
364
  disabled: cantNext
389
- }, "\u4E0A\u4E00\u6B65"), /*#__PURE__*/React.createElement(_Button, {
365
+ }, "\u4E0A\u4E00\u6B65"), /*#__PURE__*/React.createElement("div", {
390
366
  type: "primary",
391
367
  className: "right-btn",
392
368
  disabled: !canHandle,
@@ -1,6 +1,7 @@
1
1
  .guide-wrapper {
2
2
  background-color: #f7f7f7;
3
3
  min-height: 100vh;
4
+ overflow: hidden;
4
5
 
5
6
  .guide-loading {
6
7
  display: flex;
@@ -21,15 +22,12 @@
21
22
  }
22
23
 
23
24
  .topBg {
24
- width: 100%;
25
- height: 270px;
26
- background-size: 100% 100%;
27
- background-repeat: no-repeat;
28
- background-position-y: -80px;
25
+ transform: scaleX(5.5);
26
+ height: 180px;
29
27
  }
30
28
 
31
29
  .container {
32
- margin-top: -270px;
30
+ margin-top: -170px;
33
31
  width: 100%;
34
32
  padding: 16px 14px;
35
33
  box-sizing: border-box;
@@ -173,6 +171,8 @@
173
171
  flex: 1;
174
172
  border-radius: 100px;
175
173
  height: 40px;
174
+ text-align: center;
175
+ line-height: 40px;
176
176
  }
177
177
 
178
178
  }
package/es/style.js CHANGED
@@ -4,7 +4,7 @@ import '@alifd/next/es/radio/style';
4
4
  import '@alifd/next/es/checkbox/style';
5
5
  import '@alifd/next/es/balloon/style';
6
6
  import 'antd/es/cascader/style';
7
- import '@alifd/next/es/button/style';
8
7
  import '@alifd/next/es/dialog/style';
9
8
  import '@alifd/next/es/loading/style';
9
+ import '@alifd/next/es/button/style';
10
10
  import './index.scss';
@@ -2,7 +2,6 @@ import * as React from 'react';
2
2
  import './eventInfo.scss';
3
3
  export interface EventInfoProps {
4
4
  eventInfo?: any;
5
- filterMaterials?: any;
6
5
  }
7
6
  declare const EventInfo: React.FC<EventInfoProps>;
8
7
  export default EventInfo;
@@ -6,8 +6,7 @@ var React = _interopRequireWildcard(require("react"));
6
6
  require("./eventInfo.scss");
7
7
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
8
8
  var EventInfo = function EventInfo(_ref) {
9
- var eventInfoProp = _ref.eventInfo,
10
- filterMaterialsProp = _ref.filterMaterials;
9
+ var eventInfoProp = _ref.eventInfo;
11
10
  var _React$useState = React.useState({}),
12
11
  taskGeneralBasic = _React$useState[0],
13
12
  setTaskGeneralBasic = _React$useState[1];
@@ -17,16 +16,8 @@ var EventInfo = function EventInfo(_ref) {
17
16
  var _React$useState3 = React.useState([]),
18
17
  info = _React$useState3[0],
19
18
  setInfo = _React$useState3[1];
20
- var _React$useState4 = React.useState(false),
21
- hasSituation = _React$useState4[0],
22
- setHasSituation = _React$useState4[1];
23
- var _React$useState5 = React.useState(false),
24
- hasFilterMaterials = _React$useState5[0],
25
- setHasFilterMaterials = _React$useState5[1];
26
19
  React.useEffect(function () {
27
20
  initData();
28
- initHasSituation();
29
- getFilterMaterials();
30
21
  }, []);
31
22
  var initData = function initData() {
32
23
  var eventInfo = eventInfoProp;
@@ -49,13 +40,6 @@ var EventInfo = function EventInfo(_ref) {
49
40
  name: '承诺办结时限'
50
41
  }]);
51
42
  };
52
- var initHasSituation = function initHasSituation() {
53
- var eventInfo = eventInfoProp;
54
- setHasSituation(!!(eventInfo !== null && eventInfo !== void 0 && eventInfo.taskGeneralSituation));
55
- };
56
- var getFilterMaterials = function getFilterMaterials() {
57
- setHasFilterMaterials(!!filterMaterialsProp);
58
- };
59
43
 
60
44
  // TODO: selection() – uni.navigateTo not implemented
61
45
 
@@ -6,11 +6,7 @@ export interface MaterialsProps {
6
6
  applicationId?: string;
7
7
  accessToken?: string;
8
8
  acctType?: string;
9
- formData?: any;
10
9
  finalMaterials?: any[];
11
- formFieldNames?: any;
12
- itemSituationRowUid?: any;
13
- workNo?: any;
14
10
  declarationAppToken?: string;
15
11
  declarePage?: string;
16
12
  baseUrl?: string;
@@ -14,11 +14,7 @@ var Materials = function Materials(_ref) {
14
14
  applicationIdProp = _ref.applicationId,
15
15
  accessTokenProp = _ref.accessToken,
16
16
  acctTypeProp = _ref.acctType,
17
- formDataProp = _ref.formData,
18
17
  finalMaterialsProp = _ref.finalMaterials,
19
- formFieldNamesProp = _ref.formFieldNames,
20
- itemSituationRowUidProp = _ref.itemSituationRowUid,
21
- workNoProp = _ref.workNo,
22
18
  declarationAppTokenProp = _ref.declarationAppToken,
23
19
  declarePageProp = _ref.declarePage,
24
20
  baseUrlProp = _ref.baseUrl,
@@ -45,11 +41,7 @@ var Materials = function Materials(_ref) {
45
41
  applicationId: applicationIdProp,
46
42
  accessToken: accessTokenProp,
47
43
  acctType: acctTypeProp,
48
- formData: formDataProp,
49
44
  finalMaterials: finalMaterialsProp,
50
- formFieldNames: formFieldNamesProp,
51
- itemSituationRowUid: itemSituationRowUidProp,
52
- workNo: workNoProp,
53
45
  declarationAppToken: declarationAppTokenProp,
54
46
  declarePage: declarePageProp,
55
47
  situationResRechange: situationResRechangeProp,
@@ -6,11 +6,7 @@ export interface SituationProps {
6
6
  applicationId?: string;
7
7
  accessToken?: string;
8
8
  acctType?: string;
9
- formData?: any;
10
9
  finalMaterials?: any[];
11
- formFieldNames?: any;
12
- itemSituationRowUid?: any;
13
- workNo?: any;
14
10
  declarationAppToken?: string;
15
11
  declarePage?: string;
16
12
  taskHandleItem?: string;
@@ -15,11 +15,7 @@ var Situation = function Situation(_ref) {
15
15
  applicationIdProp = _ref.applicationId,
16
16
  accessTokenProp = _ref.accessToken,
17
17
  acctTypeProp = _ref.acctType,
18
- formDataProp = _ref.formData,
19
18
  finalMaterialsProp = _ref.finalMaterials,
20
- formFieldNamesProp = _ref.formFieldNames,
21
- itemSituationRowUidProp = _ref.itemSituationRowUid,
22
- workNoProp = _ref.workNo,
23
19
  declarationAppTokenProp = _ref.declarationAppToken,
24
20
  declarePageProp = _ref.declarePage,
25
21
  taskHandleItemProp = _ref.taskHandleItem,
@@ -55,7 +51,7 @@ var Situation = function Situation(_ref) {
55
51
  }
56
52
  };
57
53
  var getMessage = function getMessage(e) {
58
- var typeArr = ['getAccessToken', 'getDeclaraToken', 'getApplicationId', 'getTaskHandleItem', 'getFormId', 'getMaterials', 'getFormData', 'getFormFieldNames', 'getItemSituationRowUid', 'getWorkNo'];
54
+ var typeArr = ['getAccessToken', 'getDeclaraToken', 'getApplicationId', 'getTaskHandleItem', 'getFormId', 'getMaterials', 'getFormData'];
59
55
  var _ref2 = e.data || {},
60
56
  type = _ref2.type,
61
57
  data = _ref2.data;
@@ -71,11 +67,7 @@ var Situation = function Situation(_ref) {
71
67
  var applicationId = applicationIdProp;
72
68
  // const taskHandleItem = taskHandleItemProp;
73
69
  var eventInfo = eventInfoProp;
74
- var formData = formDataProp;
75
70
  var finalMaterials = finalMaterialsProp;
76
- var formFieldNames = formFieldNamesProp;
77
- var itemSituationRowUid = itemSituationRowUidProp;
78
- var workNo = workNoProp;
79
71
  var sendData = {
80
72
  type: type,
81
73
  data: {}
@@ -105,18 +97,6 @@ var Situation = function Situation(_ref) {
105
97
  case 'getMaterials':
106
98
  sendData.data.materials = finalMaterials || (eventInfo === null || eventInfo === void 0 ? void 0 : eventInfo.taskGeneralMaterials);
107
99
  break;
108
- case 'getFormData':
109
- sendData.data.formData = formData;
110
- break;
111
- case 'getFormFieldNames':
112
- sendData.data.formFieldNames = formFieldNames;
113
- break;
114
- case 'getItemSituationRowUid':
115
- sendData.data.itemSituationRowUid = itemSituationRowUid;
116
- break;
117
- case 'getWorkNo':
118
- sendData.data.workNo = workNo;
119
- break;
120
100
  }
121
101
  var formIframe = document.getElementById('situationIframe');
122
102
  if (formIframe !== null && formIframe !== void 0 && formIframe.contentWindow) {
@@ -6,6 +6,7 @@ exports["default"] = void 0;
6
6
  var React = _interopRequireWildcard(require("react"));
7
7
  require("./places.scss");
8
8
  var _empty = _interopRequireDefault(require("../imgs/empty.png"));
9
+ var _reactAmap = require("react-amap");
9
10
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
10
11
  var Places = function Places(_ref) {
11
12
  var eventInfoProp = _ref.eventInfo;
@@ -48,27 +49,6 @@ var Places = function Places(_ref) {
48
49
  setCenter(37.81, 112.52);
49
50
  }
50
51
  };
51
-
52
- // TODO: commonMap component not available in React. Map display not implemented.
53
- // The original used a <commonMap> uni-app component with mapbox/amap integration.
54
- React.useEffect(function () {
55
- var hallList = (eventInfoProp === null || eventInfoProp === void 0 ? void 0 : eventInfoProp.hallList) || [];
56
- window.onload = function () {
57
- // 2. 初始化地图
58
- if (!AMap) return;
59
- var map = new AMap.Map('mapContainer', {
60
- zoom: 14,
61
- // 缩放级别
62
- // 注意:经纬度格式为 [经度, 纬度]
63
- center: [hallList[0].longitude, hallList[0].latitude]
64
- });
65
- // 3. 添加一个标记点
66
- new AMap.Marker({
67
- position: [hallList[0].longitude, hallList[0].latitude],
68
- map: map
69
- });
70
- };
71
- }, []);
72
52
  return /*#__PURE__*/React.createElement("div", {
73
53
  className: "places-content"
74
54
  }, list.length > 0 ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
@@ -84,7 +64,13 @@ var Places = function Places(_ref) {
84
64
  color: '#999',
85
65
  fontSize: 14
86
66
  }
87
- })), /*#__PURE__*/React.createElement("div", {
67
+ }, /*#__PURE__*/React.createElement(_reactAmap.Map, {
68
+ amapkey: "fced30d9f04276a2a2071081f960170d",
69
+ center: [list[0].longitude, list[0].latitude],
70
+ zoom: 16
71
+ }, /*#__PURE__*/React.createElement(_reactAmap.Marker, {
72
+ position: [list[0].longitude, list[0].latitude]
73
+ })))), /*#__PURE__*/React.createElement("div", {
88
74
  className: "list-con"
89
75
  }, list.map(function (item, index) {
90
76
  return /*#__PURE__*/React.createElement("div", {
@@ -5,7 +5,6 @@ exports.__esModule = true;
5
5
  exports["default"] = void 0;
6
6
  var React = _interopRequireWildcard(require("react"));
7
7
  require("./result.scss");
8
- var _bg = _interopRequireDefault(require("../imgs/bg2.png"));
9
8
  var _icon = _interopRequireDefault(require("../imgs/icon1.png"));
10
9
  var _icon2 = _interopRequireDefault(require("../imgs/icon2.png"));
11
10
  var _icon3 = _interopRequireDefault(require("../imgs/icon3.png"));
@@ -46,7 +45,7 @@ var Result = function Result(_ref) {
46
45
  }, item.scene), /*#__PURE__*/React.createElement("div", {
47
46
  className: "info-con",
48
47
  style: {
49
- backgroundImage: "url(" + _bg["default"] + ")"
48
+ backgroundImage: "url(https://zwfwpt.sxzwfw.gov.cn:11001/fis/18a78d3d488-true/master/18b4752f107/2026/5/2059443890220503042/bg2.png)"
50
49
  }
51
50
  }, /*#__PURE__*/React.createElement("div", {
52
51
  className: "info-title"
@@ -23,7 +23,7 @@
23
23
 
24
24
  .info-con {
25
25
  width: 100%;
26
- height: 254px;
26
+ height: 300px;
27
27
  background-size: 100% 100%;
28
28
 
29
29
  .info-title {
@@ -46,7 +46,7 @@
46
46
  }
47
47
 
48
48
  .info-list {
49
- margin: 15px 30px 0;
49
+ margin: 35px 30px 0;
50
50
 
51
51
  .info-item {
52
52
  display: flex;