@parallel-line/pro-mobile
Advanced tools
Comparing version 2.1.0-beta.16 to 2.1.0-beta.17
@@ -27,2 +27,8 @@ "use strict"; | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } | ||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; } | ||
@@ -64,5 +70,4 @@ | ||
onClose = _ref.onClose; | ||
return (0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: b('tooltip') | ||
}, { | ||
return (0, _jsxRuntime.jsxs)("div", { | ||
className: b('tooltip'), | ||
children: [(0, _jsxRuntime.jsx)("img", { | ||
@@ -72,11 +77,10 @@ src: src, | ||
}, void 0), (0, _jsxRuntime.jsx)("footer", { | ||
children: (0, _jsxRuntime.jsx)(_mobile.Button, Object.assign({ | ||
children: (0, _jsxRuntime.jsx)(_mobile.Button, { | ||
block: true, | ||
color: "primary", | ||
onClick: onClose | ||
}, { | ||
onClick: onClose, | ||
children: "\u77E5\u9053\u4E86" | ||
}), void 0) | ||
}, void 0) | ||
}, void 0)] | ||
}), void 0); | ||
}, void 0); | ||
} | ||
@@ -193,9 +197,8 @@ | ||
var notAutoFillType = ['50', '70', '90', '110']; | ||
return (0, _jsxRuntime.jsx)(_mobile.Spin, Object.assign({ | ||
return (0, _jsxRuntime.jsx)(_mobile.Spin, { | ||
full: true, | ||
spinning: loading | ||
}, { | ||
spinning: loading, | ||
children: loading ? (0, _jsxRuntime.jsx)("div", { | ||
className: b() | ||
}, void 0) : (0, _jsxRuntime.jsxs)(_mobile.Form, Object.assign({ | ||
}, void 0) : (0, _jsxRuntime.jsxs)(_mobile.Form, { | ||
className: b(), | ||
@@ -205,7 +208,5 @@ form: form, | ||
onValuesChange: props.onValuesChange, | ||
onFinish: handleFinish | ||
}, { | ||
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: b('content') | ||
}, { | ||
onFinish: handleFinish, | ||
children: [(0, _jsxRuntime.jsxs)("div", { | ||
className: b('content'), | ||
children: [tips, certificate.map(function (_ref3) { | ||
@@ -219,8 +220,6 @@ var title = _ref3.title, | ||
return (// formContent | ||
(0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: b('title-container') | ||
}, { | ||
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: b('title') | ||
}, { | ||
(0, _jsxRuntime.jsxs)("div", { | ||
className: b('title-container'), | ||
children: [(0, _jsxRuntime.jsxs)("div", { | ||
className: b('title'), | ||
children: [(0, _jsxRuntime.jsxs)("div", { | ||
@@ -232,10 +231,8 @@ children: [(0, _jsxRuntime.jsxs)("span", { | ||
}, void 0) : null] | ||
}, void 0), desc && (0, _jsxRuntime.jsx)("div", Object.assign({ | ||
className: b('desc') | ||
}, { | ||
}, void 0), desc && (0, _jsxRuntime.jsx)("div", { | ||
className: b('desc'), | ||
children: desc | ||
}), void 0)] | ||
}), void 0), (0, _jsxRuntime.jsx)("div", Object.assign({ | ||
className: b('upload-imgs') | ||
}, { | ||
}, void 0)] | ||
}, void 0), (0, _jsxRuntime.jsx)("div", { | ||
className: b('upload-imgs'), | ||
children: files.map(function (_ref4) { | ||
@@ -281,6 +278,6 @@ var fileType = _ref4.fileType, | ||
}), (0, _jsxRuntime.jsx)("div", { | ||
children: (0, _jsxRuntime.jsx)(_mobile.Form.Item, Object.assign({}, itemProps, { | ||
children: (0, _jsxRuntime.jsx)(_ocrUpload.OCRUpload, Object.assign({ | ||
children: (0, _jsxRuntime.jsx)(_mobile.Form.Item, _objectSpread(_objectSpread({}, itemProps), {}, { | ||
children: (0, _jsxRuntime.jsx)(_ocrUpload.OCRUpload, _objectSpread(_objectSpread({ | ||
fileType: fileType | ||
}, uploadProps, { | ||
}, uploadProps), {}, { | ||
onSuccess: function onSuccess(data) { | ||
@@ -297,30 +294,27 @@ var _props$onUploadSucces; | ||
}) | ||
}), void 0)] | ||
}), title) | ||
}, void 0)] | ||
}, title) | ||
); | ||
}), children && !notAutoFillType.includes(licenseType) && !hideTips && (0, _jsxRuntime.jsx)("div", Object.assign({ | ||
className: b('tips') | ||
}, { | ||
}), children && !notAutoFillType.includes(licenseType) && !hideTips && (0, _jsxRuntime.jsx)("div", { | ||
className: b('tips'), | ||
children: _global.default.PXX_ENV.isWorker && !children[0] ? '上传照片后系统会自动识别证件内容' : '以下信息为系统自动识别,如不正确请修改' | ||
}), void 0), children, hasUnbound && footer] | ||
}), void 0), isWorker && !disabled ? (0, _jsxRuntime.jsx)(_mobile.Button, Object.assign({ | ||
}, void 0), children, hasUnbound && footer] | ||
}, void 0), isWorker && !disabled ? (0, _jsxRuntime.jsx)(_mobile.Button, { | ||
type: "submit", | ||
className: b('work-btn'), | ||
color: "primary", | ||
loading: submitLoading | ||
}, { | ||
loading: submitLoading, | ||
children: "\u63D0\u4EA4" | ||
}), void 0) : (0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, { | ||
}, void 0) : (0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, { | ||
children: !disabled && (0, _jsxRuntime.jsx)(Footer, { | ||
children: (0, _jsxRuntime.jsx)(_mobile.Button, Object.assign({ | ||
children: (0, _jsxRuntime.jsx)(_mobile.Button, { | ||
loading: submitLoading, | ||
type: "submit", | ||
color: "primary" | ||
}, { | ||
color: "primary", | ||
children: "\u63D0\u4EA4" | ||
}), void 0) | ||
}, void 0) | ||
}, void 0) | ||
}, void 0)] | ||
}), void 0) | ||
}), void 0); | ||
}, void 0) | ||
}, void 0); | ||
} | ||
@@ -330,7 +324,6 @@ | ||
var children = _ref5.children; | ||
return (0, _jsxRuntime.jsx)("div", Object.assign({ | ||
className: b('footer') | ||
}, { | ||
return (0, _jsxRuntime.jsx)("div", { | ||
className: b('footer'), | ||
children: children | ||
}), void 0); | ||
}, void 0); | ||
} | ||
@@ -342,5 +335,4 @@ | ||
var children = _ref6.children; | ||
return (0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: b('error-tips') | ||
}, { | ||
return (0, _jsxRuntime.jsxs)("div", { | ||
className: b('error-tips'), | ||
children: [(0, _jsxRuntime.jsx)("span", { | ||
@@ -353,3 +345,3 @@ children: "\u8BA4\u8BC1\u5931\u8D25\u539F\u56E0\uFF1A" | ||
}, void 0)] | ||
}), void 0); | ||
}, void 0); | ||
} | ||
@@ -374,19 +366,16 @@ | ||
if (showTypeList.includes(fileType)) { | ||
return (0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: b('title-container') | ||
}, { | ||
children: [title && (0, _jsxRuntime.jsx)("div", Object.assign({ | ||
className: b('title') | ||
}, { | ||
return (0, _jsxRuntime.jsxs)("div", { | ||
className: b('title-container'), | ||
children: [title && (0, _jsxRuntime.jsx)("div", { | ||
className: b('title'), | ||
children: title | ||
}), void 0), _children] | ||
}), void 0); | ||
}, void 0), _children] | ||
}, void 0); | ||
} | ||
return (0, _jsxRuntime.jsx)(_mobile.Form.Item, Object.assign({ | ||
return (0, _jsxRuntime.jsx)(_mobile.Form.Item, { | ||
noStyle: true, | ||
shouldUpdate: function shouldUpdate(prevValues, currentValues) { | ||
return prevValues[fileType] !== currentValues[fileType]; | ||
} | ||
}, { | ||
}, | ||
children: function children(_ref9) { | ||
@@ -397,11 +386,9 @@ var getFieldValue = _ref9.getFieldValue; | ||
if (v === null || v === void 0 ? void 0 : v.success) { | ||
return (0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: b('title-container') | ||
}, { | ||
children: [title && (0, _jsxRuntime.jsx)("div", Object.assign({ | ||
className: b('title') | ||
}, { | ||
return (0, _jsxRuntime.jsxs)("div", { | ||
className: b('title-container'), | ||
children: [title && (0, _jsxRuntime.jsx)("div", { | ||
className: b('title'), | ||
children: title | ||
}), void 0), _children] | ||
}), void 0); | ||
}, void 0), _children] | ||
}, void 0); | ||
} | ||
@@ -411,3 +398,3 @@ | ||
} | ||
}), void 0); | ||
}, void 0); | ||
} | ||
@@ -414,0 +401,0 @@ |
@@ -126,7 +126,6 @@ "use strict"; | ||
if (hasAuditRemark) { | ||
return (0, _jsxRuntime.jsx)("div", Object.assign({ | ||
className: b('remark') | ||
}, { | ||
return (0, _jsxRuntime.jsx)("div", { | ||
className: b('remark'), | ||
children: "\u8BA4\u8BC1\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u4E0A\u4F20" | ||
}), void 0); | ||
}, void 0); | ||
} | ||
@@ -145,7 +144,6 @@ | ||
if (content) { | ||
return (0, _jsxRuntime.jsx)("div", Object.assign({ | ||
className: b('auth-status') | ||
}, { | ||
return (0, _jsxRuntime.jsx)("div", { | ||
className: b('auth-status'), | ||
children: content | ||
}), void 0); | ||
}, void 0); | ||
} | ||
@@ -156,5 +154,4 @@ | ||
return (0, _jsxRuntime.jsxs)("span", Object.assign({ | ||
className: b('wrap') | ||
}, { | ||
return (0, _jsxRuntime.jsxs)("span", { | ||
className: b('wrap'), | ||
children: [(0, _jsxRuntime.jsx)(_mobile.Upload, { | ||
@@ -166,5 +163,5 @@ className: b(), | ||
}, void 0), rendeRemark()] | ||
}), void 0); | ||
}, void 0); | ||
}); | ||
exports.OCRUpload = OCRUpload; |
@@ -76,3 +76,3 @@ "use strict"; | ||
return (0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, { | ||
children: [(0, _jsxRuntime.jsxs)(_mobile.Form, Object.assign({ | ||
children: [(0, _jsxRuntime.jsxs)(_mobile.Form, { | ||
form: form, | ||
@@ -83,5 +83,4 @@ onFinish: function onFinish(values) { | ||
})); | ||
} | ||
}, { | ||
children: [type == 2 && (0, _jsxRuntime.jsx)(_mobile.Form.Item, Object.assign({ | ||
}, | ||
children: [type == 2 && (0, _jsxRuntime.jsx)(_mobile.Form.Item, { | ||
name: 'feedbackName', | ||
@@ -92,4 +91,3 @@ label: '投诉对象', | ||
message: '请输入描述内容' | ||
}] | ||
}, { | ||
}], | ||
children: (0, _jsxRuntime.jsx)(_mobile.Input, { | ||
@@ -100,3 +98,3 @@ placeholder: '请输入', | ||
}, void 0) | ||
}), void 0), (0, _jsxRuntime.jsx)(_mobile.Form.Item, Object.assign({ | ||
}, void 0), (0, _jsxRuntime.jsx)(_mobile.Form.Item, { | ||
name: 'submitContent', | ||
@@ -107,4 +105,3 @@ label: '描述内容', | ||
message: '请输入描述内容' | ||
}] | ||
}, { | ||
}], | ||
children: (0, _jsxRuntime.jsx)(_mobile.TextArea, { | ||
@@ -121,5 +118,5 @@ className: (0, _index.bemConsultation)('textArea'), | ||
}, void 0) | ||
}), void 0)] | ||
}), void 0), (0, _jsxRuntime.jsx)(_mobile.Popup.Footer, { | ||
children: (0, _jsxRuntime.jsx)(_mobile.Button, Object.assign({ | ||
}, void 0)] | ||
}, void 0), (0, _jsxRuntime.jsx)(_mobile.Popup.Footer, { | ||
children: (0, _jsxRuntime.jsx)(_mobile.Button, { | ||
loading: loading, | ||
@@ -129,6 +126,5 @@ color: 'primary', | ||
return form.submit(); | ||
} | ||
}, { | ||
}, | ||
children: "\u786E\u5B9A" | ||
}), void 0) | ||
}, void 0) | ||
}, void 0)] | ||
@@ -135,0 +131,0 @@ }, void 0); |
@@ -25,7 +25,6 @@ "use strict"; | ||
text = _ref$text === void 0 ? '' : _ref$text; | ||
return (0, _jsxRuntime.jsx)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)('detailText') | ||
}, { | ||
return (0, _jsxRuntime.jsx)("div", { | ||
className: (0, _index.bemConsultation)('detailText'), | ||
children: text | ||
}), void 0); | ||
}, void 0); | ||
}; | ||
@@ -42,19 +41,15 @@ | ||
if (type == 1) { | ||
return (0, _jsxRuntime.jsxs)(_mobile.Card, Object.assign({ | ||
className: (0, _index.bemConsultation)('consultationItem') | ||
}, { | ||
return (0, _jsxRuntime.jsxs)(_mobile.Card, { | ||
className: (0, _index.bemConsultation)('consultationItem'), | ||
children: [(0, _jsxRuntime.jsx)(_mobile.State, { | ||
color: info.feedbackState == 0 ? 'warning' : 'success', | ||
text: info.feedbackState == 0 ? '待处理' : '已处理' | ||
}, void 0), (0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)('moduleItem') | ||
}, { | ||
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)('moduleItemContent') | ||
}, { | ||
children: [(0, _jsxRuntime.jsx)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)('moduleItemContentKey') | ||
}, { | ||
}, void 0), (0, _jsxRuntime.jsxs)("div", { | ||
className: (0, _index.bemConsultation)('moduleItem'), | ||
children: [(0, _jsxRuntime.jsxs)("div", { | ||
className: (0, _index.bemConsultation)('moduleItemContent'), | ||
children: [(0, _jsxRuntime.jsx)("div", { | ||
className: (0, _index.bemConsultation)('moduleItemContentKey'), | ||
children: "\u54A8\u8BE2\u5185\u5BB9" | ||
}), void 0), (0, _jsxRuntime.jsx)("div", Object.assign({ | ||
}, void 0), (0, _jsxRuntime.jsx)("div", { | ||
className: (0, _index.bemConsultation)('moduleItemContentValue'), | ||
@@ -75,37 +70,29 @@ onClick: function onClick() { | ||
}); | ||
} | ||
}, { | ||
}, | ||
children: info.submitContent | ||
}), void 0)] | ||
}), void 0), (0, _jsxRuntime.jsx)(_icons.MoreArrowOutlined, {}, void 0)] | ||
}), void 0), (0, _jsxRuntime.jsx)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)('moduleItem') | ||
}, { | ||
children: (0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)('moduleItemContent') | ||
}, { | ||
children: [(0, _jsxRuntime.jsx)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)('moduleItemContentKey') | ||
}, { | ||
}, void 0)] | ||
}, void 0), (0, _jsxRuntime.jsx)(_icons.MoreArrowOutlined, {}, void 0)] | ||
}, void 0), (0, _jsxRuntime.jsx)("div", { | ||
className: (0, _index.bemConsultation)('moduleItem'), | ||
children: (0, _jsxRuntime.jsxs)("div", { | ||
className: (0, _index.bemConsultation)('moduleItemContent'), | ||
children: [(0, _jsxRuntime.jsx)("div", { | ||
className: (0, _index.bemConsultation)('moduleItemContentKey'), | ||
children: "\u63D0\u4EA4\u65F6\u95F4" | ||
}), void 0), (0, _jsxRuntime.jsx)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)('moduleItemContentValue') | ||
}, { | ||
}, void 0), (0, _jsxRuntime.jsx)("div", { | ||
className: (0, _index.bemConsultation)('moduleItemContentValue'), | ||
children: (0, _utils.toTime)(createTime, { | ||
format: 'YYYY/MM/DD HH:mm' | ||
}) | ||
}), void 0)] | ||
}), void 0) | ||
}), void 0), info.feedbackState == 1 && (0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, { | ||
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)('moduleItem') | ||
}, { | ||
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)('moduleItemContent') | ||
}, { | ||
children: [(0, _jsxRuntime.jsx)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)('moduleItemContentKey') | ||
}, { | ||
}, void 0)] | ||
}, void 0) | ||
}, void 0), info.feedbackState == 1 && (0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, { | ||
children: [(0, _jsxRuntime.jsxs)("div", { | ||
className: (0, _index.bemConsultation)('moduleItem'), | ||
children: [(0, _jsxRuntime.jsxs)("div", { | ||
className: (0, _index.bemConsultation)('moduleItemContent'), | ||
children: [(0, _jsxRuntime.jsx)("div", { | ||
className: (0, _index.bemConsultation)('moduleItemContentKey'), | ||
children: "\u53CD\u9988\u5185\u5BB9" | ||
}), void 0), (0, _jsxRuntime.jsx)("div", Object.assign({ | ||
}, void 0), (0, _jsxRuntime.jsx)("div", { | ||
className: (0, _index.bemConsultation)('moduleItemContentValue'), | ||
@@ -126,63 +113,50 @@ onClick: function onClick() { | ||
}); | ||
} | ||
}, { | ||
}, | ||
children: info.feedbackContent | ||
}), void 0)] | ||
}), void 0), (0, _jsxRuntime.jsx)(_icons.MoreArrowOutlined, {}, void 0)] | ||
}), void 0), (0, _jsxRuntime.jsx)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)('moduleItem') | ||
}, { | ||
children: (0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)('moduleItemContent') | ||
}, { | ||
children: [(0, _jsxRuntime.jsx)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)('moduleItemContentKey') | ||
}, { | ||
}, void 0)] | ||
}, void 0), (0, _jsxRuntime.jsx)(_icons.MoreArrowOutlined, {}, void 0)] | ||
}, void 0), (0, _jsxRuntime.jsx)("div", { | ||
className: (0, _index.bemConsultation)('moduleItem'), | ||
children: (0, _jsxRuntime.jsxs)("div", { | ||
className: (0, _index.bemConsultation)('moduleItemContent'), | ||
children: [(0, _jsxRuntime.jsx)("div", { | ||
className: (0, _index.bemConsultation)('moduleItemContentKey'), | ||
children: "\u53CD\u9988\u65F6\u95F4" | ||
}), void 0), (0, _jsxRuntime.jsx)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)('moduleItemContentValue') | ||
}, { | ||
}, void 0), (0, _jsxRuntime.jsx)("div", { | ||
className: (0, _index.bemConsultation)('moduleItemContentValue'), | ||
children: (0, _utils.toTime)(feedBackTime, { | ||
format: 'YYYY/MM/DD HH:mm' | ||
}) | ||
}), void 0)] | ||
}), void 0) | ||
}), void 0)] | ||
}, void 0)] | ||
}, void 0) | ||
}, void 0)] | ||
}, void 0)] | ||
}), void 0); | ||
}, void 0); | ||
} | ||
return (0, _jsxRuntime.jsxs)(_mobile.Card, Object.assign({ | ||
className: (0, _index.bemConsultation)('consultationItem') | ||
}, { | ||
return (0, _jsxRuntime.jsxs)(_mobile.Card, { | ||
className: (0, _index.bemConsultation)('consultationItem'), | ||
children: [(0, _jsxRuntime.jsx)(_mobile.State, { | ||
color: info.feedbackState == 0 ? 'warning' : 'success', | ||
text: info.feedbackState == 0 ? '待处理' : '已处理' | ||
}, void 0), (0, _jsxRuntime.jsx)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)('moduleItem') | ||
}, { | ||
children: (0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)('moduleItemContent') | ||
}, { | ||
children: [(0, _jsxRuntime.jsx)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)('moduleItemContentKey') | ||
}, { | ||
}, void 0), (0, _jsxRuntime.jsx)("div", { | ||
className: (0, _index.bemConsultation)('moduleItem'), | ||
children: (0, _jsxRuntime.jsxs)("div", { | ||
className: (0, _index.bemConsultation)('moduleItemContent'), | ||
children: [(0, _jsxRuntime.jsx)("div", { | ||
className: (0, _index.bemConsultation)('moduleItemContentKey'), | ||
children: "\u6295\u8BC9\u5BF9\u8C61" | ||
}), void 0), (0, _jsxRuntime.jsx)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)('moduleItemContentValue') | ||
}, { | ||
}, void 0), (0, _jsxRuntime.jsx)("div", { | ||
className: (0, _index.bemConsultation)('moduleItemContentValue'), | ||
children: info.feedbackName | ||
}), void 0)] | ||
}), void 0) | ||
}), void 0), (0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)('moduleItem') | ||
}, { | ||
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)('moduleItemContent') | ||
}, { | ||
children: [(0, _jsxRuntime.jsx)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)('moduleItemContentKey') | ||
}, { | ||
}, void 0)] | ||
}, void 0) | ||
}, void 0), (0, _jsxRuntime.jsxs)("div", { | ||
className: (0, _index.bemConsultation)('moduleItem'), | ||
children: [(0, _jsxRuntime.jsxs)("div", { | ||
className: (0, _index.bemConsultation)('moduleItemContent'), | ||
children: [(0, _jsxRuntime.jsx)("div", { | ||
className: (0, _index.bemConsultation)('moduleItemContentKey'), | ||
children: "\u6295\u8BC9\u5185\u5BB9" | ||
}), void 0), (0, _jsxRuntime.jsx)("div", Object.assign({ | ||
}, void 0), (0, _jsxRuntime.jsx)("div", { | ||
className: (0, _index.bemConsultation)('moduleItemContentValue'), | ||
@@ -203,37 +177,29 @@ onClick: function onClick() { | ||
}); | ||
} | ||
}, { | ||
}, | ||
children: info.submitContent | ||
}), void 0)] | ||
}), void 0), (0, _jsxRuntime.jsx)(_icons.MoreArrowOutlined, {}, void 0)] | ||
}), void 0), (0, _jsxRuntime.jsx)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)('moduleItem') | ||
}, { | ||
children: (0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)('moduleItemContent') | ||
}, { | ||
children: [(0, _jsxRuntime.jsx)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)('moduleItemContentKey') | ||
}, { | ||
}, void 0)] | ||
}, void 0), (0, _jsxRuntime.jsx)(_icons.MoreArrowOutlined, {}, void 0)] | ||
}, void 0), (0, _jsxRuntime.jsx)("div", { | ||
className: (0, _index.bemConsultation)('moduleItem'), | ||
children: (0, _jsxRuntime.jsxs)("div", { | ||
className: (0, _index.bemConsultation)('moduleItemContent'), | ||
children: [(0, _jsxRuntime.jsx)("div", { | ||
className: (0, _index.bemConsultation)('moduleItemContentKey'), | ||
children: "\u63D0\u4EA4\u65F6\u95F4" | ||
}), void 0), (0, _jsxRuntime.jsx)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)('moduleItemContentValue') | ||
}, { | ||
}, void 0), (0, _jsxRuntime.jsx)("div", { | ||
className: (0, _index.bemConsultation)('moduleItemContentValue'), | ||
children: (0, _utils.toTime)(createTime, { | ||
format: 'YYYY/MM/DD HH:mm' | ||
}) | ||
}), void 0)] | ||
}), void 0) | ||
}), void 0), info.feedbackState == 1 && (0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, { | ||
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)('moduleItem') | ||
}, { | ||
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)('moduleItemContent') | ||
}, { | ||
children: [(0, _jsxRuntime.jsx)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)('moduleItemContentKey') | ||
}, { | ||
}, void 0)] | ||
}, void 0) | ||
}, void 0), info.feedbackState == 1 && (0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, { | ||
children: [(0, _jsxRuntime.jsxs)("div", { | ||
className: (0, _index.bemConsultation)('moduleItem'), | ||
children: [(0, _jsxRuntime.jsxs)("div", { | ||
className: (0, _index.bemConsultation)('moduleItemContent'), | ||
children: [(0, _jsxRuntime.jsx)("div", { | ||
className: (0, _index.bemConsultation)('moduleItemContentKey'), | ||
children: "\u53CD\u9988\u5185\u5BB9" | ||
}), void 0), (0, _jsxRuntime.jsx)("div", Object.assign({ | ||
}, void 0), (0, _jsxRuntime.jsx)("div", { | ||
className: (0, _index.bemConsultation)('moduleItemContentValue'), | ||
@@ -254,28 +220,23 @@ onClick: function onClick() { | ||
}); | ||
} | ||
}, { | ||
}, | ||
children: info.feedbackContent | ||
}), void 0)] | ||
}), void 0), (0, _jsxRuntime.jsx)(_icons.MoreArrowOutlined, {}, void 0)] | ||
}), void 0), (0, _jsxRuntime.jsx)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)('moduleItem') | ||
}, { | ||
children: (0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)('moduleItemContent') | ||
}, { | ||
children: [(0, _jsxRuntime.jsx)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)('moduleItemContentKey') | ||
}, { | ||
}, void 0)] | ||
}, void 0), (0, _jsxRuntime.jsx)(_icons.MoreArrowOutlined, {}, void 0)] | ||
}, void 0), (0, _jsxRuntime.jsx)("div", { | ||
className: (0, _index.bemConsultation)('moduleItem'), | ||
children: (0, _jsxRuntime.jsxs)("div", { | ||
className: (0, _index.bemConsultation)('moduleItemContent'), | ||
children: [(0, _jsxRuntime.jsx)("div", { | ||
className: (0, _index.bemConsultation)('moduleItemContentKey'), | ||
children: "\u53CD\u9988\u65F6\u95F4" | ||
}), void 0), (0, _jsxRuntime.jsx)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)('moduleItemContentValue') | ||
}, { | ||
}, void 0), (0, _jsxRuntime.jsx)("div", { | ||
className: (0, _index.bemConsultation)('moduleItemContentValue'), | ||
children: (0, _utils.toTime)(feedBackTime, { | ||
format: 'YYYY/MM/DD HH:mm' | ||
}) | ||
}), void 0)] | ||
}), void 0) | ||
}), void 0)] | ||
}, void 0)] | ||
}, void 0) | ||
}, void 0)] | ||
}, void 0)] | ||
}), void 0); | ||
}, void 0); | ||
}; | ||
@@ -282,0 +243,0 @@ |
@@ -52,5 +52,4 @@ "use strict"; | ||
var text = props.text; | ||
return (0, _jsxRuntime.jsx)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)('Empty') | ||
}, { | ||
return (0, _jsxRuntime.jsx)("div", { | ||
className: (0, _index.bemConsultation)('Empty'), | ||
children: (0, _jsxRuntime.jsx)("div", { | ||
@@ -61,3 +60,3 @@ children: (0, _jsxRuntime.jsx)("div", { | ||
}, void 0) | ||
}), void 0); | ||
}, void 0); | ||
}; | ||
@@ -162,6 +161,5 @@ | ||
return (0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)() | ||
}, { | ||
children: [(0, _jsxRuntime.jsxs)(_mobile.Tabs, Object.assign({ | ||
return (0, _jsxRuntime.jsxs)("div", { | ||
className: (0, _index.bemConsultation)(), | ||
children: [(0, _jsxRuntime.jsxs)(_mobile.Tabs, { | ||
defaultActiveKey: '1', | ||
@@ -181,4 +179,3 @@ onChange: function onChange(type) { | ||
}); | ||
} | ||
}, { | ||
}, | ||
children: [(0, _jsxRuntime.jsx)(_mobile.Tabs.Tab, { | ||
@@ -191,3 +188,3 @@ title: "\u95EE\u9898\u54A8\u8BE2", | ||
}, void 0)] | ||
}), void 0), (0, _jsxRuntime.jsx)(_mobile.ListView, Object.assign({ | ||
}, void 0), (0, _jsxRuntime.jsx)(_mobile.ListView, { | ||
className: (0, _index.bemConsultation)('list'), | ||
@@ -199,4 +196,3 @@ uniqueKey: 'DRIVER_CONSULTATION', | ||
empty: (0, _jsxRuntime.jsx)(Empty, {}, void 0) | ||
} | ||
}, { | ||
}, | ||
children: function children() { | ||
@@ -211,8 +207,6 @@ var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; | ||
} | ||
}), void 0), (0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)('footer') | ||
}, { | ||
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: (0, _index.bemConsultation)('info') | ||
}, { | ||
}, void 0), (0, _jsxRuntime.jsxs)("div", { | ||
className: (0, _index.bemConsultation)('footer'), | ||
children: [(0, _jsxRuntime.jsxs)("div", { | ||
className: (0, _index.bemConsultation)('info'), | ||
children: [(0, _jsxRuntime.jsx)("div", { | ||
@@ -223,3 +217,3 @@ children: "\u5982\u6709\u5176\u4ED6\u95EE\u9898\u53EF\u8054\u7CFB\u5BA2\u670D\u7535\u8BDD" | ||
}, void 0)] | ||
}), void 0), (0, _jsxRuntime.jsxs)(_mobile.Button, Object.assign({ | ||
}, void 0), (0, _jsxRuntime.jsxs)(_mobile.Button, { | ||
size: 'small', | ||
@@ -229,4 +223,3 @@ className: (0, _index.bemConsultation)('button'), | ||
return setVisible(true); | ||
} | ||
}, { | ||
}, | ||
children: [(0, _jsxRuntime.jsx)(_icons.VerifyLoginOutlined, { | ||
@@ -237,4 +230,4 @@ style: { | ||
}, void 0), listType == 1 ? '我要咨询' : '我要投诉'] | ||
}), void 0)] | ||
}), void 0), visible && (0, _jsxRuntime.jsx)(_mobile.Popup, { | ||
}, void 0)] | ||
}, void 0), visible && (0, _jsxRuntime.jsx)(_mobile.Popup, { | ||
title: listType == 1 ? '咨询内容' : '投诉内容', | ||
@@ -254,5 +247,5 @@ visible: visible, | ||
}, void 0)] | ||
}), void 0); | ||
}, void 0); | ||
}; | ||
exports.Consultation = Consultation; |
@@ -78,25 +78,20 @@ "use strict"; | ||
}, [currentIndex]); | ||
return (0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: bemHelperDetail() | ||
}, { | ||
children: [(0, _jsxRuntime.jsx)("audio", Object.assign({ | ||
return (0, _jsxRuntime.jsxs)("div", { | ||
className: bemHelperDetail(), | ||
children: [(0, _jsxRuntime.jsx)("audio", { | ||
ref: voiceRef, | ||
autoPlay: false | ||
}, { | ||
autoPlay: false, | ||
children: (0, _jsxRuntime.jsx)("source", { | ||
src: "https://prod-1302801272.cos.ap-guangzhou.myqcloud.com/assets/helper/".concat(keys[0], "/").concat(keys[1], "/").concat(currentIndex + 1, ".mp3") | ||
}, void 0) | ||
}), void 0), (0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: bemHelperDetail('content') | ||
}, { | ||
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: bemHelperDetail('control') | ||
}, { | ||
}, void 0), (0, _jsxRuntime.jsxs)("div", { | ||
className: bemHelperDetail('content'), | ||
children: [(0, _jsxRuntime.jsxs)("div", { | ||
className: bemHelperDetail('control'), | ||
children: [(0, _jsxRuntime.jsx)("div", { | ||
children: currentIndex != 0 && steps.length > 0 && (0, _jsxRuntime.jsx)("div", Object.assign({ | ||
children: currentIndex != 0 && steps.length > 0 && (0, _jsxRuntime.jsx)("div", { | ||
className: bemHelperDetail('controlImg'), | ||
onClick: function onClick() { | ||
setCurrentIndex(currentIndex - 1); | ||
} | ||
}, { | ||
}, | ||
children: (0, _jsxRuntime.jsx)(_icons.LeftArrowOutlined, { | ||
@@ -108,3 +103,3 @@ style: { | ||
}, void 0) | ||
}), void 0) | ||
}, void 0) | ||
}, void 0), (0, _jsxRuntime.jsx)("img", { | ||
@@ -115,8 +110,7 @@ className: bemHelperDetail('bgImg'), | ||
}, void 0), (0, _jsxRuntime.jsx)("div", { | ||
children: currentIndex != steps.length - 1 && steps.length > 0 && (0, _jsxRuntime.jsx)("div", Object.assign({ | ||
children: currentIndex != steps.length - 1 && steps.length > 0 && (0, _jsxRuntime.jsx)("div", { | ||
className: bemHelperDetail('controlImg'), | ||
onClick: function onClick() { | ||
setCurrentIndex(currentIndex + 1); | ||
} | ||
}, { | ||
}, | ||
children: (0, _jsxRuntime.jsx)(_icons.NextStepOutlined, { | ||
@@ -128,7 +122,6 @@ style: { | ||
}, void 0) | ||
}), void 0) | ||
}, void 0) | ||
}, void 0)] | ||
}), void 0), (0, _jsxRuntime.jsx)("div", Object.assign({ | ||
className: bemHelperDetail('radius') | ||
}, { | ||
}, void 0), (0, _jsxRuntime.jsx)("div", { | ||
className: bemHelperDetail('radius'), | ||
children: steps.map(function (item, index) { | ||
@@ -142,15 +135,12 @@ return (0, _jsxRuntime.jsx)("div", { | ||
}) | ||
}), void 0), (0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: bemHelperDetail('stepCount') | ||
}, { | ||
}, void 0), (0, _jsxRuntime.jsxs)("div", { | ||
className: bemHelperDetail('stepCount'), | ||
children: ["\u7B2C", currentIndex + 1, "\u6B65"] | ||
}), void 0), (0, _jsxRuntime.jsx)("div", Object.assign({ | ||
className: bemHelperDetail('description') | ||
}, { | ||
}, void 0), (0, _jsxRuntime.jsx)("div", { | ||
className: bemHelperDetail('description'), | ||
children: steps === null || steps === void 0 ? void 0 : (_steps$currentIndex = steps[currentIndex]) === null || _steps$currentIndex === void 0 ? void 0 : _steps$currentIndex.description | ||
}), void 0)] | ||
}), void 0), (0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: bemHelperDetail('btnWrap') | ||
}, { | ||
children: [(0, _jsxRuntime.jsx)(_mobile.Button, Object.assign({ | ||
}, void 0)] | ||
}, void 0), (0, _jsxRuntime.jsxs)("div", { | ||
className: bemHelperDetail('btnWrap'), | ||
children: [(0, _jsxRuntime.jsx)(_mobile.Button, { | ||
size: 'small', | ||
@@ -166,6 +156,5 @@ icon: (0, _jsxRuntime.jsx)(_icons.VolumeOutlined, {}, void 0), | ||
return play(); | ||
} | ||
}, { | ||
}, | ||
children: "\u8BB2\u89E3" | ||
}), void 0), (0, _jsxRuntime.jsx)(_mobile.Button, Object.assign({ | ||
}, void 0), (0, _jsxRuntime.jsx)(_mobile.Button, { | ||
color: currentIndex === steps.length - 1 ? 'success' : 'primary', | ||
@@ -182,10 +171,9 @@ size: 'small', | ||
} | ||
} | ||
}, { | ||
}, | ||
children: currentIndex === steps.length - 1 ? '我学会了' : '下一步' | ||
}), void 0)] | ||
}), void 0)] | ||
}), void 0); | ||
}, void 0)] | ||
}, void 0)] | ||
}, void 0); | ||
}; | ||
exports.HelperDetail = HelperDetail; |
@@ -81,5 +81,4 @@ "use strict"; | ||
return (0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: bemHelper() | ||
}, { | ||
return (0, _jsxRuntime.jsxs)("div", { | ||
className: bemHelper(), | ||
children: [(0, _jsxRuntime.jsx)("img", { | ||
@@ -89,10 +88,8 @@ className: bemHelper('bgImg'), | ||
alt: "" | ||
}, void 0), (0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
}, void 0), (0, _jsxRuntime.jsxs)("div", { | ||
style: { | ||
zIndex: 1 | ||
} | ||
}, { | ||
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: bemHelper('title') | ||
}, { | ||
}, | ||
children: [(0, _jsxRuntime.jsxs)("div", { | ||
className: bemHelper('title'), | ||
children: [(0, _jsxRuntime.jsx)("div", { | ||
@@ -103,27 +100,23 @@ children: "\u6307\u5F15\u5E38\u770B\u770B" | ||
}, void 0)] | ||
}), void 0), (0, _jsxRuntime.jsxs)(_mobile.Space, Object.assign({ | ||
className: bemHelper('tagWrap') | ||
}, { | ||
children: [(0, _jsxRuntime.jsx)("div", Object.assign({ | ||
}, void 0), (0, _jsxRuntime.jsxs)(_mobile.Space, { | ||
className: bemHelper('tagWrap'), | ||
children: [(0, _jsxRuntime.jsx)("div", { | ||
className: (0, _classnames3.default)(bemHelper('tag'), _defineProperty({}, bemHelper('currentTagType'), currentTagType == '')), | ||
onClick: function onClick() { | ||
return setCurrentTag(''); | ||
} | ||
}, { | ||
}, | ||
children: "\u5168\u90E8" | ||
}), void 0), (0, _map2.default)(data, function (value, key) { | ||
return (0, _jsxRuntime.jsx)("div", Object.assign({ | ||
}, void 0), (0, _map2.default)(data, function (value, key) { | ||
return (0, _jsxRuntime.jsx)("div", { | ||
className: (0, _classnames3.default)(bemHelper('tag'), _defineProperty({}, bemHelper('currentTagType'), currentTagType == key)), | ||
onClick: function onClick() { | ||
return setCurrentTag(key); | ||
} | ||
}, { | ||
}, | ||
children: value.name | ||
}), key); | ||
}, key); | ||
})] | ||
}), void 0)] | ||
}), void 0), (0, _jsxRuntime.jsx)(_mobile.Space, Object.assign({ | ||
}, void 0)] | ||
}, void 0), (0, _jsxRuntime.jsx)(_mobile.Space, { | ||
direction: 'vertical', | ||
className: bemHelper('cardWrap') | ||
}, { | ||
className: bemHelper('cardWrap'), | ||
children: pages === null || pages === void 0 ? void 0 : (_pages$filter = pages.filter(function (item) { | ||
@@ -134,31 +127,27 @@ return currentTagType == '' || item.key == currentTagType; | ||
style = _page.style; | ||
return (0, _jsxRuntime.jsxs)(_mobile.Card, Object.assign({ | ||
return (0, _jsxRuntime.jsxs)(_mobile.Card, { | ||
className: bemHelper('card'), | ||
onClick: function onClick() { | ||
_onClick === null || _onClick === void 0 ? void 0 : _onClick("".concat(_page.key, "__").concat(_page._key)); | ||
} | ||
}, { | ||
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: bemHelper('cardContent') | ||
}, { | ||
children: [(0, _jsxRuntime.jsx)("span", Object.assign({ | ||
}, | ||
children: [(0, _jsxRuntime.jsxs)("div", { | ||
className: bemHelper('cardContent'), | ||
children: [(0, _jsxRuntime.jsx)("span", { | ||
className: bemHelper('cardTag'), | ||
style: style | ||
}, { | ||
style: style, | ||
children: name | ||
}), void 0), (0, _jsxRuntime.jsx)("div", Object.assign({ | ||
className: bemHelper('cardSubject') | ||
}, { | ||
}, void 0), (0, _jsxRuntime.jsx)("div", { | ||
className: bemHelper('cardSubject'), | ||
children: _page.title | ||
}), void 0)] | ||
}), void 0), (0, _jsxRuntime.jsx)("img", { | ||
}, void 0)] | ||
}, void 0), (0, _jsxRuntime.jsx)("img", { | ||
alt: '', | ||
src: "".concat(_global.default.assetsUrl, "/helper/").concat(platform, "/").concat(_page.key, "/").concat(_page._key, "/0.png") | ||
}, void 0)] | ||
}), _page.key + _page._key); | ||
}, _page.key + _page._key); | ||
}) | ||
}), void 0)] | ||
}), void 0); | ||
}, void 0)] | ||
}, void 0); | ||
}; | ||
exports.Helper = Helper; |
@@ -51,15 +51,13 @@ "use strict"; | ||
if (!_global.default.loginAgreementOptions) return null; | ||
return (0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: bem() | ||
}, { | ||
return (0, _jsxRuntime.jsxs)("div", { | ||
className: bem(), | ||
children: [(0, _jsxRuntime.jsx)("span", { | ||
children: "\u767B\u5F55\u89C6\u4E3A\u5DF2\u9605\u8BFB\u5E76\u540C\u610F" | ||
}, void 0), (_global$loginAgreemen = _global.default.loginAgreementOptions) === null || _global$loginAgreemen === void 0 ? void 0 : _global$loginAgreemen.map(function (item) { | ||
return (0, _jsxRuntime.jsxs)("span", Object.assign({ | ||
className: bem('link') | ||
}, { | ||
return (0, _jsxRuntime.jsxs)("span", { | ||
className: bem('link'), | ||
children: ["\u300A", item.title, "\u300B"] | ||
}), item.key); | ||
}, item.key); | ||
})] | ||
}), void 0); | ||
}, void 0); | ||
}; | ||
@@ -66,0 +64,0 @@ |
@@ -59,23 +59,18 @@ "use strict"; | ||
return (0, _utils.withNativeProps)(props, (0, _jsxRuntime.jsxs)(_mobile.Whiteboard, Object.assign({ | ||
className: (0, _index.bemLogin)() | ||
}, { | ||
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: (0, _index.bemLogin)('container') | ||
}, { | ||
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: (0, _index.bemLogin)('tip') | ||
}, { | ||
return (0, _utils.withNativeProps)(props, (0, _jsxRuntime.jsxs)(_mobile.Whiteboard, { | ||
className: (0, _index.bemLogin)(), | ||
children: [(0, _jsxRuntime.jsxs)("div", { | ||
className: (0, _index.bemLogin)('container'), | ||
children: [(0, _jsxRuntime.jsxs)("div", { | ||
className: (0, _index.bemLogin)('tip'), | ||
children: [(0, _jsxRuntime.jsx)("div", { | ||
children: "\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801" | ||
}, void 0), (0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: (0, _index.bemLogin)('phoneNumber') | ||
}, { | ||
}, void 0), (0, _jsxRuntime.jsxs)("div", { | ||
className: (0, _index.bemLogin)('phoneNumber'), | ||
children: ["\u9A8C\u8BC1\u7801\u5DF2\u53D1\u9001\u81F3\u624B\u673A\uFF1A", params === null || params === void 0 ? void 0 : params.phoneNumber] | ||
}), void 0)] | ||
}), void 0), (0, _jsxRuntime.jsx)(_mobile.Form, Object.assign({ | ||
}, void 0)] | ||
}, void 0), (0, _jsxRuntime.jsx)(_mobile.Form, { | ||
form: form, | ||
onFinish: handleFinish | ||
}, { | ||
children: (0, _jsxRuntime.jsx)(_mobile.Form.Item, Object.assign({ | ||
onFinish: handleFinish, | ||
children: (0, _jsxRuntime.jsx)(_mobile.Form.Item, { | ||
name: "code", | ||
@@ -85,4 +80,3 @@ rules: [{ | ||
message: '请输入验证码' | ||
}, _global.default.regular.phoneNumber.rule] | ||
}, { | ||
}, _global.default.regular.phoneNumber.rule], | ||
children: (0, _jsxRuntime.jsx)(_mobile.Input //@ts-ignore | ||
@@ -95,5 +89,5 @@ , { | ||
}, void 0) | ||
}), void 0) | ||
}), void 0)] | ||
}), void 0), (0, _jsxRuntime.jsx)(_mobile.Button, Object.assign({ | ||
}, void 0) | ||
}, void 0)] | ||
}, void 0), (0, _jsxRuntime.jsx)(_mobile.Button, { | ||
block: true, | ||
@@ -103,29 +97,24 @@ size: "large", | ||
loading: loading, | ||
onClick: form.submit | ||
}, { | ||
onClick: form.submit, | ||
children: "\u767B\u5F55 / \u6CE8\u518C" | ||
}), void 0), (0, _jsxRuntime.jsx)(_agreement.default, {}, void 0), (0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: (0, _index.bemLogin)('round-btn-wrapper') | ||
}, { | ||
children: [(0, _jsxRuntime.jsxs)(_mobile.Space, Object.assign({ | ||
}, void 0), (0, _jsxRuntime.jsx)(_agreement.default, {}, void 0), (0, _jsxRuntime.jsxs)("div", { | ||
className: (0, _index.bemLogin)('round-btn-wrapper'), | ||
children: [(0, _jsxRuntime.jsxs)(_mobile.Space, { | ||
style: { | ||
'--gap': '40px', | ||
display: 'inline-flex' | ||
} | ||
}, { | ||
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
}, | ||
children: [(0, _jsxRuntime.jsxs)("div", { | ||
onClick: onWeChatLogin, | ||
className: (0, _index.bemLogin)('round-btn') | ||
}, { | ||
children: [(0, _jsxRuntime.jsx)("button", Object.assign({ | ||
className: (0, _index.bemLogin)('round-btn'), | ||
children: [(0, _jsxRuntime.jsx)("button", { | ||
className: (0, _index.bemLogin)('btn'), | ||
style: { | ||
backgroundColor: '#00b86b' | ||
} | ||
}, { | ||
}, | ||
children: (0, _jsxRuntime.jsx)(_icons.WechatOutlined, {}, void 0) | ||
}), void 0), (0, _jsxRuntime.jsx)("div", { | ||
}, void 0), (0, _jsxRuntime.jsx)("div", { | ||
children: "\u5FAE\u4FE1\u767B\u5F55" | ||
}, void 0)] | ||
}), void 0), (0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
}, void 0), (0, _jsxRuntime.jsxs)("div", { | ||
className: (0, _index.bemLogin)('round-btn'), | ||
@@ -136,22 +125,20 @@ onClick: function onClick() { | ||
}); | ||
} | ||
}, { | ||
children: [(0, _jsxRuntime.jsx)("button", Object.assign({ | ||
}, | ||
children: [(0, _jsxRuntime.jsx)("button", { | ||
className: (0, _index.bemLogin)('btn'), | ||
style: { | ||
backgroundColor: '#1552eb' | ||
} | ||
}, { | ||
}, | ||
children: (0, _jsxRuntime.jsx)(_icons.PasswordOutlined, {}, void 0) | ||
}), void 0), (0, _jsxRuntime.jsx)("div", { | ||
}, void 0), (0, _jsxRuntime.jsx)("div", { | ||
children: "\u5BC6\u7801\u767B\u5F55" | ||
}, void 0)] | ||
}), void 0)] | ||
}), void 0), (0, _jsxRuntime.jsx)("div", { | ||
}, void 0)] | ||
}, void 0), (0, _jsxRuntime.jsx)("div", { | ||
className: "pxx-safe-area-bottom" | ||
}, void 0)] | ||
}), void 0)] | ||
}), void 0)); | ||
}, void 0)] | ||
}, void 0)); | ||
}; | ||
exports.Code = Code; |
@@ -31,11 +31,8 @@ "use strict"; | ||
return (0, _jsxRuntime.jsxs)(_mobile.Whiteboard, Object.assign({ | ||
className: (0, _index.bemLogin)() | ||
}, { | ||
children: [(0, _jsxRuntime.jsx)("div", Object.assign({ | ||
className: (0, _index.bemLogin)('container') | ||
}, { | ||
children: (0, _jsxRuntime.jsx)("div", Object.assign({ | ||
className: (0, _index.bemLogin)('logo-wrapper') | ||
}, { | ||
return (0, _jsxRuntime.jsxs)(_mobile.Whiteboard, { | ||
className: (0, _index.bemLogin)(), | ||
children: [(0, _jsxRuntime.jsx)("div", { | ||
className: (0, _index.bemLogin)('container'), | ||
children: (0, _jsxRuntime.jsx)("div", { | ||
className: (0, _index.bemLogin)('logo-wrapper'), | ||
children: (0, _jsxRuntime.jsx)("img", { | ||
@@ -46,7 +43,6 @@ alt: "", | ||
}, void 0) | ||
}), void 0) | ||
}), void 0), (0, _jsxRuntime.jsxs)(_mobile.Space, Object.assign({ | ||
direction: "vertical" | ||
}, { | ||
children: [props.onSwitchEnv && (0, _jsxRuntime.jsx)(_mobile.Button, Object.assign({ | ||
}, void 0) | ||
}, void 0), (0, _jsxRuntime.jsxs)(_mobile.Space, { | ||
direction: "vertical", | ||
children: [props.onSwitchEnv && (0, _jsxRuntime.jsx)(_mobile.Button, { | ||
block: true, | ||
@@ -56,6 +52,5 @@ size: "large", | ||
onClick: props.onSwitchEnv, | ||
className: (0, _index.bemLogin)('switch-btn') | ||
}, { | ||
className: (0, _index.bemLogin)('switch-btn'), | ||
children: "\u73AF\u5883\u5207\u6362" | ||
}), void 0), (0, _jsxRuntime.jsx)(_mobile.Button, Object.assign({ | ||
}, void 0), (0, _jsxRuntime.jsx)(_mobile.Button, { | ||
block: true, | ||
@@ -67,16 +62,13 @@ size: "large", | ||
openType: "getPhoneNumber", | ||
onGetPhoneNumber: onWeChatLogin | ||
}, { | ||
onGetPhoneNumber: onWeChatLogin, | ||
children: "\u5FAE\u4FE1\u5E10\u53F7\u4E00\u952E\u767B\u5F55" | ||
}), void 0)] | ||
}), void 0), (0, _jsxRuntime.jsx)(_agreement.default, {}, void 0), (0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: (0, _index.bemLogin)('round-btn-wrapper') | ||
}, { | ||
children: [(0, _jsxRuntime.jsxs)(_mobile.Space, Object.assign({ | ||
}, void 0)] | ||
}, void 0), (0, _jsxRuntime.jsx)(_agreement.default, {}, void 0), (0, _jsxRuntime.jsxs)("div", { | ||
className: (0, _index.bemLogin)('round-btn-wrapper'), | ||
children: [(0, _jsxRuntime.jsxs)(_mobile.Space, { | ||
style: { | ||
'--gap': '40px', | ||
display: 'inline-flex' | ||
} | ||
}, { | ||
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
}, | ||
children: [(0, _jsxRuntime.jsxs)("div", { | ||
className: (0, _index.bemLogin)('round-btn'), | ||
@@ -87,15 +79,13 @@ onClick: function onClick() { | ||
}); | ||
} | ||
}, { | ||
children: [(0, _jsxRuntime.jsx)("button", Object.assign({ | ||
}, | ||
children: [(0, _jsxRuntime.jsx)("button", { | ||
className: (0, _index.bemLogin)('btn'), | ||
style: { | ||
backgroundColor: '#1552eb' | ||
} | ||
}, { | ||
}, | ||
children: (0, _jsxRuntime.jsx)(_icons.PasswordOutlined, {}, void 0) | ||
}), void 0), (0, _jsxRuntime.jsx)("div", { | ||
}, void 0), (0, _jsxRuntime.jsx)("div", { | ||
children: "\u5BC6\u7801\u767B\u5F55" | ||
}, void 0)] | ||
}), void 0), (0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
}, void 0), (0, _jsxRuntime.jsxs)("div", { | ||
className: (0, _index.bemLogin)('round-btn'), | ||
@@ -106,22 +96,20 @@ onClick: function onClick() { | ||
}); | ||
} | ||
}, { | ||
children: [(0, _jsxRuntime.jsx)("button", Object.assign({ | ||
}, | ||
children: [(0, _jsxRuntime.jsx)("button", { | ||
className: (0, _index.bemLogin)('btn'), | ||
style: { | ||
backgroundColor: '#18a6fd' | ||
} | ||
}, { | ||
}, | ||
children: (0, _jsxRuntime.jsx)(_icons.PhoneOutlined, {}, void 0) | ||
}), void 0), (0, _jsxRuntime.jsx)("div", { | ||
}, void 0), (0, _jsxRuntime.jsx)("div", { | ||
children: "\u9A8C\u8BC1\u7801\u767B\u5F55" | ||
}, void 0)] | ||
}), void 0)] | ||
}), void 0), (0, _jsxRuntime.jsx)("div", { | ||
}, void 0)] | ||
}, void 0), (0, _jsxRuntime.jsx)("div", { | ||
className: "pxx-safe-area-bottom" | ||
}, void 0)] | ||
}), void 0)] | ||
}), void 0); | ||
}, void 0)] | ||
}, void 0); | ||
}; | ||
exports.Login = Login; |
@@ -49,11 +49,8 @@ "use strict"; | ||
return (0, _jsxRuntime.jsxs)(_mobile.Whiteboard, Object.assign({ | ||
className: (0, _index.bemLogin)() | ||
}, { | ||
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: (0, _index.bemLogin)('container') | ||
}, { | ||
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: (0, _index.bemLogin)('tip') | ||
}, { | ||
return (0, _jsxRuntime.jsxs)(_mobile.Whiteboard, { | ||
className: (0, _index.bemLogin)(), | ||
children: [(0, _jsxRuntime.jsxs)("div", { | ||
className: (0, _index.bemLogin)('container'), | ||
children: [(0, _jsxRuntime.jsxs)("div", { | ||
className: (0, _index.bemLogin)('tip'), | ||
children: [(0, _jsxRuntime.jsx)("div", { | ||
@@ -64,3 +61,3 @@ children: "Hi~" | ||
}, void 0)] | ||
}), void 0), (0, _jsxRuntime.jsx)(_mobile.Form, Object.assign({ | ||
}, void 0), (0, _jsxRuntime.jsx)(_mobile.Form, { | ||
form: form, | ||
@@ -72,5 +69,4 @@ onFinish: function onFinish(_ref) { | ||
}); | ||
} | ||
}, { | ||
children: (0, _jsxRuntime.jsx)(_mobile.Form.Item, Object.assign({ | ||
}, | ||
children: (0, _jsxRuntime.jsx)(_mobile.Form.Item, { | ||
name: "phone", | ||
@@ -80,4 +76,3 @@ rules: [{ | ||
message: '请输入手机号' | ||
}, phoneNumber.rule] | ||
}, { | ||
}, phoneNumber.rule], | ||
children: (0, _jsxRuntime.jsx)(_mobile.Input //@ts-ignore | ||
@@ -90,35 +85,30 @@ , { | ||
}, void 0) | ||
}), void 0) | ||
}), void 0)] | ||
}), void 0), (0, _jsxRuntime.jsx)(_mobile.Button, Object.assign({ | ||
}, void 0) | ||
}, void 0)] | ||
}, void 0), (0, _jsxRuntime.jsx)(_mobile.Button, { | ||
block: true, | ||
size: "large", | ||
color: "primary", | ||
onClick: form.submit | ||
}, { | ||
onClick: form.submit, | ||
children: "\u4E0B\u4E00\u6B65" | ||
}), void 0), (0, _jsxRuntime.jsx)(_agreement.default, {}, void 0), (0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: (0, _index.bemLogin)('round-btn-wrapper') | ||
}, { | ||
children: [(0, _jsxRuntime.jsxs)(_mobile.Space, Object.assign({ | ||
}, void 0), (0, _jsxRuntime.jsx)(_agreement.default, {}, void 0), (0, _jsxRuntime.jsxs)("div", { | ||
className: (0, _index.bemLogin)('round-btn-wrapper'), | ||
children: [(0, _jsxRuntime.jsxs)(_mobile.Space, { | ||
style: { | ||
'--gap': '40px', | ||
display: 'inline-flex' | ||
} | ||
}, { | ||
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
}, | ||
children: [(0, _jsxRuntime.jsxs)("div", { | ||
onClick: onWeChatLogin, | ||
className: (0, _index.bemLogin)('round-btn') | ||
}, { | ||
children: [(0, _jsxRuntime.jsx)("button", Object.assign({ | ||
className: (0, _index.bemLogin)('round-btn'), | ||
children: [(0, _jsxRuntime.jsx)("button", { | ||
className: (0, _index.bemLogin)('btn'), | ||
style: { | ||
backgroundColor: '#00b86b' | ||
} | ||
}, { | ||
}, | ||
children: (0, _jsxRuntime.jsx)(_icons.WechatOutlined, {}, void 0) | ||
}), void 0), (0, _jsxRuntime.jsx)("div", { | ||
}, void 0), (0, _jsxRuntime.jsx)("div", { | ||
children: "\u5FAE\u4FE1\u767B\u5F55" | ||
}, void 0)] | ||
}), void 0), (0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
}, void 0), (0, _jsxRuntime.jsxs)("div", { | ||
className: (0, _index.bemLogin)('round-btn'), | ||
@@ -129,22 +119,20 @@ onClick: function onClick() { | ||
}); | ||
} | ||
}, { | ||
children: [(0, _jsxRuntime.jsx)("button", Object.assign({ | ||
}, | ||
children: [(0, _jsxRuntime.jsx)("button", { | ||
className: (0, _index.bemLogin)('btn'), | ||
style: { | ||
backgroundColor: '#1552eb' | ||
} | ||
}, { | ||
}, | ||
children: (0, _jsxRuntime.jsx)(_icons.PasswordOutlined, {}, void 0) | ||
}), void 0), (0, _jsxRuntime.jsx)("div", { | ||
}, void 0), (0, _jsxRuntime.jsx)("div", { | ||
children: "\u5BC6\u7801\u767B\u5F55" | ||
}, void 0)] | ||
}), void 0)] | ||
}), void 0), (0, _jsxRuntime.jsx)("div", { | ||
}, void 0)] | ||
}, void 0), (0, _jsxRuntime.jsx)("div", { | ||
className: "pxx-safe-area-bottom" | ||
}, void 0)] | ||
}), void 0)] | ||
}), void 0); | ||
}, void 0)] | ||
}, void 0); | ||
}; | ||
exports.Phone = Phone; |
@@ -36,10 +36,8 @@ "use strict"; | ||
return (0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: b() | ||
}, { | ||
children: [(0, _jsxRuntime.jsx)("span", Object.assign({ | ||
className: b('title') | ||
}, { | ||
return (0, _jsxRuntime.jsxs)("div", { | ||
className: b(), | ||
children: [(0, _jsxRuntime.jsx)("span", { | ||
className: b('title'), | ||
children: "\u8BF7\u9009\u62E9\u8BC1\u4EF6\u6709\u6548\u671F\u7C7B\u578B" | ||
}), void 0), (0, _jsxRuntime.jsx)(_mobile.Button, Object.assign({ | ||
}, void 0), (0, _jsxRuntime.jsx)(_mobile.Button, { | ||
className: b('button'), | ||
@@ -49,6 +47,5 @@ color: "gray", | ||
return selectDate(); | ||
} | ||
}, { | ||
}, | ||
children: "\u6709\u660E\u786E\u6709\u6548\u671F" | ||
}), void 0), (0, _jsxRuntime.jsx)(_mobile.Button, Object.assign({ | ||
}, void 0), (0, _jsxRuntime.jsx)(_mobile.Button, { | ||
className: b('button'), | ||
@@ -58,7 +55,6 @@ color: "gray", | ||
return selectDate(true); | ||
} | ||
}, { | ||
}, | ||
children: "\u65E0\u660E\u786E\u6709\u6548\u65E5\u671F\uFF0C\u957F\u671F\u6709\u6548" | ||
}), void 0)] | ||
}), void 0); | ||
}, void 0)] | ||
}, void 0); | ||
}; | ||
@@ -65,0 +61,0 @@ |
@@ -22,8 +22,13 @@ "use strict"; | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } | ||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
var b = (0, _utils.bem)("".concat(_constant.prefixCls, "-authcode")); | ||
var Authcode = function Authcode(props) { | ||
return (0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: b() | ||
}, { | ||
return (0, _jsxRuntime.jsxs)("div", { | ||
className: b(), | ||
children: [(0, _jsxRuntime.jsx)(_mobile.Input, { | ||
@@ -34,4 +39,4 @@ onChange: props === null || props === void 0 ? void 0 : props.onChange, | ||
disabled: props === null || props === void 0 ? void 0 : props.disabled | ||
}, void 0), (0, _jsxRuntime.jsx)(_queryCode.default, Object.assign({}, props), void 0)] | ||
}), void 0); | ||
}, void 0), (0, _jsxRuntime.jsx)(_queryCode.default, _objectSpread({}, props), void 0)] | ||
}, void 0); | ||
}; | ||
@@ -38,0 +43,0 @@ |
@@ -100,5 +100,4 @@ "use strict"; | ||
var Check = function Check(childProps) { | ||
return (0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: b('binding-bank') | ||
}, { | ||
return (0, _jsxRuntime.jsxs)("div", { | ||
className: b('binding-bank'), | ||
children: [(0, _jsxRuntime.jsx)(_mobile.Checkbox, { | ||
@@ -118,3 +117,3 @@ disabled: disabled, | ||
}, void 0)] | ||
}), void 0); | ||
}, void 0); | ||
}; | ||
@@ -150,6 +149,5 @@ | ||
return (0, _jsxRuntime.jsx)("div", Object.assign({ | ||
className: b() | ||
}, { | ||
children: (0, _jsxRuntime.jsxs)(_mobile.Form, Object.assign({ | ||
return (0, _jsxRuntime.jsx)("div", { | ||
className: b(), | ||
children: (0, _jsxRuntime.jsxs)(_mobile.Form, { | ||
form: form, | ||
@@ -161,11 +159,8 @@ onFinish: onFinish, | ||
bindingBank: 1 | ||
} | ||
}, { | ||
children: [(0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: b('form__content') | ||
}, { | ||
children: [(0, _jsxRuntime.jsx)(_mobile.Form.Item, Object.assign({ | ||
}, | ||
children: [(0, _jsxRuntime.jsxs)("div", { | ||
className: b('form__content'), | ||
children: [(0, _jsxRuntime.jsx)(_mobile.Form.Item, { | ||
label: '认证方式', | ||
name: 'verifyType' | ||
}, { | ||
name: 'verifyType', | ||
children: (0, _jsxRuntime.jsx)(_mobile.Select, { | ||
@@ -175,18 +170,16 @@ label: '银行卡', | ||
}, void 0) | ||
}), void 0), (0, _jsxRuntime.jsx)(_mobile.Form.Item, Object.assign({ | ||
}, void 0), (0, _jsxRuntime.jsx)(_mobile.Form.Item, { | ||
label: '姓名', | ||
name: 'userName', | ||
required: true | ||
}, { | ||
required: true, | ||
children: (0, _jsxRuntime.jsx)(_mobile.Input, { | ||
disabled: true | ||
}, void 0) | ||
}), void 0), (0, _jsxRuntime.jsx)(_mobile.Form.Item, Object.assign({ | ||
}, void 0), (0, _jsxRuntime.jsx)(_mobile.Form.Item, { | ||
label: '身份证号', | ||
name: 'idCardNo' | ||
}, { | ||
name: 'idCardNo', | ||
children: (0, _jsxRuntime.jsx)(_mobile.Input, { | ||
disabled: true | ||
}, void 0) | ||
}), void 0), (0, _jsxRuntime.jsx)(_mobile.Form.Item, Object.assign({ | ||
}, void 0), (0, _jsxRuntime.jsx)(_mobile.Form.Item, { | ||
label: '银行卡号', | ||
@@ -200,6 +193,5 @@ name: 'bankCardNo', | ||
message: '银行卡号格式不正确' | ||
}] | ||
}, { | ||
}], | ||
children: (0, _jsxRuntime.jsx)(_mobile.Input, {}, void 0) | ||
}), void 0), (0, _jsxRuntime.jsx)(_mobile.Form.Item, Object.assign({ | ||
}, void 0), (0, _jsxRuntime.jsx)(_mobile.Form.Item, { | ||
label: '银行卡预留手机号码', | ||
@@ -210,4 +202,3 @@ name: 'phone', | ||
message: '请输入预留手机号码' | ||
}, _utils.verification.phoneNumber.rule] | ||
}, { | ||
}, _utils.verification.phoneNumber.rule], | ||
children: (0, _jsxRuntime.jsx)(_mobile.Input, { | ||
@@ -217,10 +208,9 @@ disabled: disabled, | ||
}, void 0) | ||
}), void 0), !disabled ? (0, _jsxRuntime.jsx)(_mobile.Form.Item, Object.assign({ | ||
}, void 0), !disabled ? (0, _jsxRuntime.jsx)(_mobile.Form.Item, { | ||
noStyle: true, | ||
shouldUpdate: true | ||
}, { | ||
shouldUpdate: true, | ||
children: function children(_ref) { | ||
var getFieldsValue = _ref.getFieldsValue; | ||
var params = getFieldsValue(); | ||
return (0, _jsxRuntime.jsx)(_mobile.Form.Item, Object.assign({ | ||
return (0, _jsxRuntime.jsx)(_mobile.Form.Item, { | ||
label: '验证码', | ||
@@ -242,28 +232,24 @@ name: 'authcode', | ||
} | ||
}] | ||
}, { | ||
children: (0, _jsxRuntime.jsx)(_authcode.default, Object.assign({}, params, { | ||
}], | ||
children: (0, _jsxRuntime.jsx)(_authcode.default, _objectSpread(_objectSpread({}, params), {}, { | ||
disabled: disabled, | ||
queryDisabled: disabled || !(params === null || params === void 0 ? void 0 : params.bankCardNo) || !(params === null || params === void 0 ? void 0 : params.phone) | ||
}), void 0) | ||
}), void 0); | ||
}, void 0); | ||
} | ||
}), void 0) : null, (0, _jsxRuntime.jsx)(_mobile.Form.Item, Object.assign({ | ||
name: 'bindingBank' | ||
}, { | ||
}, void 0) : null, (0, _jsxRuntime.jsx)(_mobile.Form.Item, { | ||
name: 'bindingBank', | ||
children: (0, _jsxRuntime.jsx)(Check, {}, void 0) | ||
}), void 0)] | ||
}), void 0), !disabled ? (0, _jsxRuntime.jsx)(_mobile.Form.Item, Object.assign({ | ||
className: b('footer') | ||
}, { | ||
children: (0, _jsxRuntime.jsx)(_mobile.Button, Object.assign({ | ||
}, void 0)] | ||
}, void 0), !disabled ? (0, _jsxRuntime.jsx)(_mobile.Form.Item, { | ||
className: b('footer'), | ||
children: (0, _jsxRuntime.jsx)(_mobile.Button, { | ||
type: "submit", | ||
color: "primary", | ||
loading: actionSubmit.loading | ||
}, { | ||
loading: actionSubmit.loading, | ||
children: "\u63D0\u4EA4" | ||
}), void 0) | ||
}), void 0) : null] | ||
}), void 0) | ||
}), void 0); | ||
}, void 0) | ||
}, void 0) : null] | ||
}, void 0) | ||
}, void 0); | ||
}; | ||
@@ -270,0 +256,0 @@ |
@@ -46,3 +46,3 @@ "use strict"; | ||
}); | ||
return (0, _jsxRuntime.jsx)("span", Object.assign({ | ||
return (0, _jsxRuntime.jsx)("span", { | ||
onClick: function onClick() { | ||
@@ -61,6 +61,5 @@ if (countdown !== 0 || (props === null || props === void 0 ? void 0 : props.queryDisabled)) { | ||
}); | ||
} | ||
}, { | ||
}, | ||
children: countdown === 0 ? '获取验证码' : "\u7B49\u5F85".concat(Math.round(countdown / 1000), "s") | ||
}), void 0); | ||
}, void 0); | ||
}; | ||
@@ -67,0 +66,0 @@ |
@@ -88,7 +88,6 @@ "use strict"; | ||
content: function content(disabled, validDisabled) { | ||
return (0, _jsxRuntime.jsxs)(_components.OCRForm.Group, Object.assign({ | ||
return (0, _jsxRuntime.jsxs)(_components.OCRForm.Group, { | ||
title: "\u9A7E\u9A76\u8BC1\u4FE1\u606F", | ||
fileType: "1011" | ||
}, { | ||
children: [(0, _jsxRuntime.jsx)(_components.OCRForm.Item, Object.assign({ | ||
fileType: "1011", | ||
children: [(0, _jsxRuntime.jsx)(_components.OCRForm.Item, { | ||
label: "\u9A7E\u9A76\u8BC1\u53F7", | ||
@@ -102,8 +101,7 @@ name: "licenseNumber", | ||
onClick: (0, _components.tooltipClick)(_licenseNumber.default) | ||
} | ||
}, { | ||
}, | ||
children: (0, _jsxRuntime.jsx)(_mobile.Input, { | ||
disabled: disabled | ||
}, void 0) | ||
}), void 0), (0, _jsxRuntime.jsx)(_components.OCRForm.Item, Object.assign({ | ||
}, void 0), (0, _jsxRuntime.jsx)(_components.OCRForm.Item, { | ||
label: "\u9A7E\u9A76\u8BC1\u521D\u6B21\u9886\u8BC1\u65E5\u671F", | ||
@@ -125,8 +123,6 @@ name: "licenseFirstDate", | ||
onClick: (0, _components.tooltipClick)(_licenseFirstDate.default) | ||
} | ||
}, { | ||
children: (0, _jsxRuntime.jsx)(_mobile.DatePicker, Object.assign({ | ||
}, | ||
children: (0, _jsxRuntime.jsx)(_mobile.DatePicker, { | ||
title: '驾驶证初次领证日期', | ||
disabled: disabled | ||
}, { | ||
disabled: disabled, | ||
children: function children(val) { | ||
@@ -137,4 +133,4 @@ return (0, _jsxRuntime.jsx)(_mobile.Select, { | ||
} | ||
}), void 0) | ||
}), void 0), (0, _jsxRuntime.jsx)(_components.OCRForm.Item, Object.assign({ | ||
}, void 0) | ||
}, void 0), (0, _jsxRuntime.jsx)(_components.OCRForm.Item, { | ||
label: "\u9A7E\u9A76\u8BC1\u6709\u6548\u671F", | ||
@@ -151,4 +147,3 @@ name: "validPeriodTo", | ||
onClick: (0, _components.tooltipClick)(_validPeriodTo.default) | ||
} | ||
}, { | ||
}, | ||
children: (0, _jsxRuntime.jsx)(_components2.DateTypeSelect, { | ||
@@ -158,3 +153,3 @@ title: '驾驶证有效期', | ||
}, void 0) | ||
}), void 0), (0, _jsxRuntime.jsx)(_components.OCRForm.Item, Object.assign({ | ||
}, void 0), (0, _jsxRuntime.jsx)(_components.OCRForm.Item, { | ||
label: "\u51C6\u9A7E\u8F66\u578B", | ||
@@ -168,9 +163,7 @@ name: "vehicleClass", | ||
onClick: (0, _components.tooltipClick)(_vehicleClass.default) | ||
} | ||
}, { | ||
children: (0, _jsxRuntime.jsx)(_mobile.Picker, Object.assign({ | ||
}, | ||
children: (0, _jsxRuntime.jsx)(_mobile.Picker, { | ||
columns: [['A1', 'A2', 'A3', 'B1', 'B2']], | ||
title: "\u51C6\u63A5\u8F66\u578B", | ||
disabled: disabled | ||
}, { | ||
disabled: disabled, | ||
children: function children(val) { | ||
@@ -181,4 +174,4 @@ return (0, _jsxRuntime.jsx)(_mobile.Select, { | ||
} | ||
}), void 0) | ||
}), void 0), (0, _jsxRuntime.jsx)(_components.OCRForm.Item, Object.assign({ | ||
}, void 0) | ||
}, void 0), (0, _jsxRuntime.jsx)(_components.OCRForm.Item, { | ||
label: "\u9A7E\u9A76\u8BC1\u53D1\u5E03\u673A\u5173\u7701\u5E02", | ||
@@ -192,7 +185,5 @@ name: "issuingOrganizations", | ||
onClick: (0, _components.tooltipClick)(_issuingOrganizations.default) | ||
} | ||
}, { | ||
children: (0, _jsxRuntime.jsx)(_mobile.DistrictPicker, Object.assign({ | ||
disabled: disabled | ||
}, { | ||
}, | ||
children: (0, _jsxRuntime.jsx)(_mobile.DistrictPicker, { | ||
disabled: disabled, | ||
children: function children(val) { | ||
@@ -203,5 +194,5 @@ return (0, _jsxRuntime.jsx)(_mobile.Select, { | ||
} | ||
}), void 0) | ||
}), void 0)] | ||
}), void 0); | ||
}, void 0) | ||
}, void 0)] | ||
}, void 0); | ||
} | ||
@@ -226,7 +217,6 @@ }; | ||
content: function content(disabled, validDisabled) { | ||
return (0, _jsxRuntime.jsx)(_components.OCRForm.Group, Object.assign({ | ||
return (0, _jsxRuntime.jsx)(_components.OCRForm.Group, { | ||
title: "\u4ECE\u4E1A\u8D44\u683C\u8BC1\u4FE1\u606F", | ||
fileType: "1010" | ||
}, { | ||
children: (0, _jsxRuntime.jsx)(_components.OCRForm.Item, Object.assign({ | ||
fileType: "1010", | ||
children: (0, _jsxRuntime.jsx)(_components.OCRForm.Item, { | ||
label: "\u6709\u6548\u671F", | ||
@@ -243,8 +233,6 @@ name: "validPeriodTo", | ||
onClick: (0, _components.tooltipClick)(_businessPeriodTo.default) | ||
} | ||
}, { | ||
children: (0, _jsxRuntime.jsx)(_mobile.DatePicker, Object.assign({ | ||
}, | ||
children: (0, _jsxRuntime.jsx)(_mobile.DatePicker, { | ||
title: '从业资格证有效期', | ||
disabled: validDisabled | ||
}, { | ||
disabled: validDisabled, | ||
children: function children(val) { | ||
@@ -255,5 +243,5 @@ return (0, _jsxRuntime.jsx)(_mobile.Select, { | ||
} | ||
}), void 0) | ||
}), void 0) | ||
}), void 0); | ||
}, void 0) | ||
}, void 0) | ||
}, void 0); | ||
} | ||
@@ -296,7 +284,6 @@ }; | ||
content: function content(disabled) { | ||
return (0, _jsxRuntime.jsxs)(_components.OCRForm.Group, Object.assign({ | ||
return (0, _jsxRuntime.jsxs)(_components.OCRForm.Group, { | ||
title: "\u8EAB\u4EFD\u8BC1\u4FE1\u606F", | ||
fileType: "1001" | ||
}, { | ||
children: [(0, _jsxRuntime.jsx)(_components.OCRForm.Item, Object.assign({ | ||
fileType: "1001", | ||
children: [(0, _jsxRuntime.jsx)(_components.OCRForm.Item, { | ||
label: "\u59D3\u540D", | ||
@@ -307,8 +294,7 @@ name: "name", | ||
message: '请输入姓名' | ||
}] | ||
}, { | ||
}], | ||
children: (0, _jsxRuntime.jsx)(_mobile.Input, { | ||
disabled: disabled | ||
}, void 0) | ||
}), void 0), (0, _jsxRuntime.jsx)(_components.OCRForm.Item, Object.assign({ | ||
}, void 0), (0, _jsxRuntime.jsx)(_components.OCRForm.Item, { | ||
label: "\u8EAB\u4EFD\u8BC1\u53F7", | ||
@@ -319,9 +305,8 @@ name: "idNum", | ||
message: '请输入身份证号' | ||
}, _utils.verification.userName.rule] | ||
}, { | ||
}, _utils.verification.userName.rule], | ||
children: (0, _jsxRuntime.jsx)(_mobile.Input, { | ||
disabled: disabled | ||
}, void 0) | ||
}), void 0)] | ||
}), void 0); | ||
}, void 0)] | ||
}, void 0); | ||
} | ||
@@ -328,0 +313,0 @@ }; |
@@ -34,2 +34,8 @@ "use strict"; | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } | ||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } | ||
@@ -383,13 +389,11 @@ | ||
return (0, _jsxRuntime.jsxs)("div", Object.assign({ | ||
className: b() | ||
}, { | ||
children: [isWorker && (resData === null || resData === void 0 ? void 0 : (_resData$data6 = resData.data) === null || _resData$data6 === void 0 ? void 0 : _resData$data6.verifiedStatus) !== 10 ? (0, _jsxRuntime.jsx)(_components2.Steps, Object.assign({}, idInfos, { | ||
return (0, _jsxRuntime.jsxs)("div", { | ||
className: b(), | ||
children: [isWorker && (resData === null || resData === void 0 ? void 0 : (_resData$data6 = resData.data) === null || _resData$data6 === void 0 ? void 0 : _resData$data6.verifiedStatus) !== 10 ? (0, _jsxRuntime.jsx)(_components2.Steps, _objectSpread(_objectSpread({}, idInfos), {}, { | ||
verifiedStatus: resData === null || resData === void 0 ? void 0 : (_resData$data7 = resData.data) === null || _resData$data7 === void 0 ? void 0 : _resData$data7.verifiedStatus | ||
}), void 0) : null, isWorker && (idInfos === null || idInfos === void 0 ? void 0 : idInfos.auditStatus) === 1 && (resData === null || resData === void 0 ? void 0 : (_resData$data8 = resData.data) === null || _resData$data8 === void 0 ? void 0 : _resData$data8.verifiedStatus) !== 10 ? (0, _jsxRuntime.jsx)(_components2.RealNameForm, Object.assign({}, idInfos, { | ||
}), void 0) : null, isWorker && (idInfos === null || idInfos === void 0 ? void 0 : idInfos.auditStatus) === 1 && (resData === null || resData === void 0 ? void 0 : (_resData$data8 = resData.data) === null || _resData$data8 === void 0 ? void 0 : _resData$data8.verifiedStatus) !== 10 ? (0, _jsxRuntime.jsx)(_components2.RealNameForm, _objectSpread(_objectSpread({}, idInfos), {}, { | ||
verifiedStatus: resData === null || resData === void 0 ? void 0 : (_resData$data9 = resData.data) === null || _resData$data9 === void 0 ? void 0 : _resData$data9.verifiedStatus | ||
}), void 0) : (0, _jsxRuntime.jsx)("div", Object.assign({ | ||
className: b('form') | ||
}, { | ||
children: (0, _jsxRuntime.jsxs)(_components.OCRForm, Object.assign({ | ||
}), void 0) : (0, _jsxRuntime.jsx)("div", { | ||
className: b('form'), | ||
children: (0, _jsxRuntime.jsxs)(_components.OCRForm, { | ||
hideTips: isWorker && (idInfos === null || idInfos === void 0 ? void 0 : idInfos.auditStatus) === 1, | ||
@@ -404,4 +408,3 @@ loading: loading, | ||
onFinish: onFinish, | ||
onUploadSuccess: onUploadSuccess | ||
}, { | ||
onUploadSuccess: onUploadSuccess, | ||
children: [!!(errorTips === null || errorTips === void 0 ? void 0 : errorTips.length) && (0, _jsxRuntime.jsx)(_components.OCRForm.ErrorTips, { | ||
@@ -414,7 +417,7 @@ children: errorTips.map(function (tip, inx) { | ||
}, void 0), (_queryConfig2 = (0, _photos.default)(type)) === null || _queryConfig2 === void 0 ? void 0 : (_queryConfig2$content = _queryConfig2.content) === null || _queryConfig2$content === void 0 ? void 0 : _queryConfig2$content.call(_queryConfig2, infosDisabled, formDisabled)] | ||
}), void 0) | ||
}), void 0)] | ||
}), void 0); | ||
}, void 0) | ||
}, void 0)] | ||
}, void 0); | ||
}; | ||
exports.Photos = Photos; |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "2.1.0-beta.16", | ||
"version": "2.1.0-beta.17", | ||
"scripts": { | ||
@@ -24,3 +24,3 @@ "build": "father-build" | ||
], | ||
"gitHead": "c7cb3d7050e81620e7dab02aeb36973f48371bb1" | ||
"gitHead": "d64b3ba592d90a70e6fc7fc5c77f0bc0ec640c1a" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
12042471
6090