mrr.sj.front/unpackage/dist/dev/mp-weixin/pages/ruzhu/syr-info.js

2453 lines
120 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/ruzhu/syr-info"],{
/***/ 1480:
/*!******************************************************************************!*\
!*** /Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/pages/ruzhu/syr-info.vue ***!
\******************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _syr_info_vue_vue_type_template_id_53526e93_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./syr-info.vue?vue&type=template&id=53526e93&scoped=true& */ 1481);
/* harmony import */ var _syr_info_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./syr-info.vue?vue&type=script&lang=js& */ 1483);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _syr_info_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _syr_info_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony import */ var _syr_info_vue_vue_type_style_index_0_id_53526e93_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./syr-info.vue?vue&type=style&index=0&id=53526e93&scoped=true&lang=css& */ 1487);
/* harmony import */ var _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 42);
var renderjs
/* normalize component */
var component = Object(_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
_syr_info_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
_syr_info_vue_vue_type_template_id_53526e93_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
_syr_info_vue_vue_type_template_id_53526e93_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
false,
null,
"53526e93",
null,
false,
_syr_info_vue_vue_type_template_id_53526e93_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"],
renderjs
)
component.options.__file = "pages/ruzhu/syr-info.vue"
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
/***/ }),
/***/ 1481:
/*!*************************************************************************************************************************!*\
!*** /Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/pages/ruzhu/syr-info.vue?vue&type=template&id=53526e93&scoped=true& ***!
\*************************************************************************************************************************/
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_syr_info_vue_vue_type_template_id_53526e93_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-0!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./syr-info.vue?vue&type=template&id=53526e93&scoped=true& */ 1482);
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_syr_info_vue_vue_type_template_id_53526e93_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_syr_info_vue_vue_type_template_id_53526e93_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_syr_info_vue_vue_type_template_id_53526e93_scoped_true___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_17_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_syr_info_vue_vue_type_template_id_53526e93_scoped_true___WEBPACK_IMPORTED_MODULE_0__["components"]; });
/***/ }),
/***/ 1482:
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--17-0!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!/Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/pages/ruzhu/syr-info.vue?vue&type=template&id=53526e93&scoped=true& ***!
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns, recyclableRender, components */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return recyclableRender; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "components", function() { return components; });
var components
var render = function () {
var _vm = this
var _h = _vm.$createElement
var _c = _vm._self._c || _h
var m0 =
_vm.formatDateForDisplay(_vm.formData.id_card_start_date) || "选择日期"
var m1 = _vm.formatDateForDisplay(_vm.formData.id_card_end_date) || "选择日期"
var g0 = _vm.formData.service_skills.length
var m2 = _vm.formatTime(_vm.startTime)
var m3 = _vm.formatTime(_vm.endTime)
if (!_vm._isMounted) {
_vm.e0 = function ($event) {
_vm.formData.id_card_valid_type !== "permanent" &&
_vm.openDatePicker("id_card_end_date")
}
}
_vm.$mp.data = Object.assign(
{},
{
$root: {
m0: m0,
m1: m1,
g0: g0,
m2: m2,
m3: m3,
},
}
)
}
var recyclableRender = false
var staticRenderFns = []
render._withStripped = true
/***/ }),
/***/ 1483:
/*!*******************************************************************************************************!*\
!*** /Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/pages/ruzhu/syr-info.vue?vue&type=script&lang=js& ***!
\*******************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_syr_info_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-1!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./syr-info.vue?vue&type=script&lang=js& */ 1484);
/* harmony import */ var _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_syr_info_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_syr_info_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_syr_info_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_syr_info_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony default export */ __webpack_exports__["default"] = (_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_13_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_syr_info_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
/***/ 1484:
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--13-1!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!/Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/pages/ruzhu/syr-info.vue?vue&type=script&lang=js& ***!
\**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(uni) {
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 5));
var _objectWithoutProperties2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ 1485));
var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 34));
var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 36));
var _request = _interopRequireDefault(__webpack_require__(/*! ../../utils/request */ 37));
var _uploadImage = _interopRequireDefault(__webpack_require__(/*! ../../utils/uploadImage */ 278));
var _per = _interopRequireDefault(__webpack_require__(/*! ../../utils/per */ 191));
var _ChinaCitys = _interopRequireDefault(__webpack_require__(/*! ../../static/data/ChinaCitys.json */ 277));
var _debounce = __webpack_require__(/*! @/utils/debounce.js */ 190);
var _orc = __webpack_require__(/*! ../../utils/orc */ 335);
var _excluded = ["invite_code"];
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); 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 = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
var _default = {
data: function data() {
var _initialChinaCitys$, _initialLocatinCitys$;
var currentDate = new Date();
var currentYear = new Date().getFullYear();
var years = Array.from({
length: 130
}, function (_, i) {
return 1970 + i;
});
var months = Array.from({
length: 12
}, function (_, i) {
return i + 1;
});
var days = Array.from({
length: 31
}, function (_, i) {
return i + 1;
});
// 预先获取初始的区数据
var initialChinaCitys = _ChinaCitys.default || [];
var initialLocatinCitys = ((_initialChinaCitys$ = initialChinaCitys[0]) === null || _initialChinaCitys$ === void 0 ? void 0 : _initialChinaCitys$.citys) || [];
var initialLocationAreas = ((_initialLocatinCitys$ = initialLocatinCitys[0]) === null || _initialLocatinCitys$ === void 0 ? void 0 : _initialLocatinCitys$.areas) || [];
// 从本地存储加载数据
var loadedFormData = null;
var loadedInviteState = null;
try {
loadedFormData = uni.getStorageSync('personal_info_form_data');
loadedInviteState = uni.getStorageSync('personal_invite_state');
} catch (e) {
console.log('读取本地存储失败:', e);
}
// 确保 service_area 是数组格式
if (loadedFormData && loadedFormData.service_area && !Array.isArray(loadedFormData.service_area)) {
loadedFormData.service_area = [loadedFormData.service_area];
}
// 初始化邀请码状态
var initialInviteState = loadedInviteState || {};
return {
userId: null,
identity: null,
formData: loadedFormData || {
head_photo: '',
real_name: '',
phone: '',
backup_phone: '',
id_card: '',
id_card_valid_type: '',
id_card_start_date: '',
id_card_end_date: '',
id_card_front: '',
id_card_back: '',
id_card_handheld: '',
detail_address: '',
introduction: '',
region: '',
dependency_code: '',
dependency_province: '',
dependency_city: '',
longitude: '',
latitude: '',
service_skills: [],
service_area: [],
service_time: '',
get_message_method: '',
invite_code: '',
professional_experience: '',
work_status: ''
},
currentDateField: '',
years: years,
months: months,
days: days,
dateValue: [currentYear - 1970, currentDate.getMonth(), currentDate.getDate() - 1],
indicatorStyle: 'height: 68rpx;',
// 地区选择相关
ChinaCitys: initialChinaCitys,
locatinCitys: initialLocatinCitys,
locationAreas: initialLocationAreas,
locationValue: [0, 0, 0],
showLocationPopupFlag: false,
// 服务技能相关
showServicePopupFlag: false,
serviceList: [],
selectedServicesText: '',
// 服务时间相关
showTimePicker: false,
showDatePickerFlag: false,
pickerValue: [8, 0, 0, 18, 0],
hours: Array.from({
length: 24
}, function (_, i) {
return i < 10 ? "0".concat(i) : "".concat(i);
}),
minutes: Array.from({
length: 60
}, function (_, i) {
return i < 10 ? "0".concat(i) : "".concat(i);
}),
timeType: 'start',
// 其他选择器文本
messageMethodText: '',
experienceText: '',
workStatusText: '',
// 提示弹窗
showTipPopupFlag: false,
tipTitle: '',
tipImage: '',
currentTipType: '',
// 图片预加载
tipImagesPreloaded: false,
// 服务区域选择器相关数据
showRegionPopupFlag: false,
currentTab: 0,
regionTabs: ['省', '市', '区'],
cityList: [],
districtList: [],
selectedProvince: null,
selectedCity: null,
currentSelectedCity: '',
// 邀请码相关字段 直接从本地存储初始化
inviteCodeValidating: false,
inviteCodeError: initialInviteState.inviteCodeError || false,
inviterInfo: initialInviteState.inviterInfo || null,
currentValidatingCode: initialInviteState.currentValidatingCode || '',
shakeInviteError: false,
// 服务区域显示文本
serviceAreaDisplayText: '',
// 识别状态
isRecognizing: false,
recognizeType: '',
// 'id_card_front', 'id_card_back'
inviteValidationTimer: null // 邀请码验证定时器
};
},
computed: {
startTime: function startTime() {
return {
hour: this.hours[this.pickerValue[0]],
minute: this.minutes[this.pickerValue[1]]
};
},
endTime: function endTime() {
return {
hour: this.hours[this.pickerValue[3]],
minute: this.minutes[this.pickerValue[4]]
};
}
},
watch: {
'formData.real_name': function formDataReal_name(newVal) {
this.saveFormDataToLocalDebounce();
},
'formData.phone': function formDataPhone(newVal) {
this.saveFormDataToLocalDebounce();
},
'formData.backup_phone': function formDataBackup_phone(newVal) {
this.saveFormDataToLocalDebounce();
},
'formData.id_card': function formDataId_card(newVal) {
this.saveFormDataToLocalDebounce();
},
'formData.detail_address': function formDataDetail_address(newVal) {
this.saveFormDataToLocalDebounce();
},
'formData.introduction': function formDataIntroduction(newVal) {
this.saveFormDataToLocalDebounce();
},
// 移除对 invite_code 的 watch改用输入事件处理
'formData.head_photo': function formDataHead_photo(newVal) {
this.saveFormDataToLocalDebounce();
},
'formData.id_card_front': function formDataId_card_front(newVal) {
this.saveFormDataToLocalDebounce();
},
'formData.id_card_back': function formDataId_card_back(newVal) {
this.saveFormDataToLocalDebounce();
},
'formData.id_card_handheld': function formDataId_card_handheld(newVal) {
this.saveFormDataToLocalDebounce();
},
'formData.service_area': {
handler: function handler(newVal) {
this.saveFormDataToLocalDebounce();
},
deep: true
}
},
onLoad: function onLoad() {
var _this = this;
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
var userInfo;
return _regenerator.default.wrap(function _callee$(_context) {
while (1) {
switch (_context.prev = _context.next) {
case 0:
console.log('页面开始加载...');
_this.identity = getApp().globalData.artisanType;
console.log('身份类型:', _this.identity);
// 预加载提示弹窗图片
_this.preloadTipImages();
_context.next = 6;
return _this.getUserInfo();
case 6:
console.log('用户信息获取完成');
_this.setupAddressListener();
console.log('地区数据加载完成:', _this.ChinaCitys.length);
// 确保正确监听手艺人地址选择事件
uni.$on('address-selected-for-syr', function (addressData) {
console.log('收到手艺人地址选择事件:', addressData);
_this.handleAddressSelected(addressData);
});
// 预加载服务技能数据
_context.next = 12;
return _this.loadServiceSkills();
case 12:
console.log('服务技能数据加载完成:', _this.serviceList.length);
// 预填用户手机号
userInfo = getApp().globalData.userInfo || uni.getStorageSync('userInfo');
if (userInfo && userInfo.account) {
_this.formData.phone = userInfo.account;
console.log('预填手机号:', _this.formData.phone);
}
// 获取定位
_context.next = 17;
return _this.getLocation();
case 17:
console.log('定位获取完成');
// 检查全局状态数据
_this.checkGlobalData();
// 加载本地数据后更新显示文本
_this.updateDisplayTextsImmediately();
console.log('页面加载完成');
case 21:
case "end":
return _context.stop();
}
}
}, _callee);
}))();
},
onShow: function onShow() {
var _this2 = this;
// 检查地址数据
this.checkAddressData();
// 从本地存储重新加载表单数据
var localData = this.loadFormDataFromLocal();
if (localData) {
// 先保存原有的服务技能列表选中状态,防止被覆盖
var serviceSkillsBefore = this.formData.service_skills;
// 合并数据 不覆盖邀请码相关字段版
var invite_code = localData.invite_code,
otherFormData = (0, _objectWithoutProperties2.default)(localData, _excluded);
// 只更新非邀请码的表单字段
Object.keys(otherFormData).forEach(function (key) {
if (_this2.formData[key] !== undefined) {
_this2.formData[key] = otherFormData[key];
}
});
// 如果本地存储中有邀请码,更新表单的邀请码字段
if (invite_code !== undefined) {
this.formData.invite_code = invite_code;
}
// 立即更新显示文本
this.updateDisplayTextsImmediately();
// 恢复服务技能的选中状态(如果 serviceList 已加载)
if (this.serviceList.length > 0) {
this.restoreServiceSkillsSelection();
} else {
// 如果还没加载,先记录下来
this.formData.service_skills = serviceSkillsBefore || localData.service_skills;
}
}
// 重新从本地存储加载邀请码验证状态
this.loadInviteStateFromLocal();
// 检查全局状态数据
this.checkGlobalData();
},
onHide: function onHide() {
// 页面隐藏时保存数据
this.saveFormDataToLocal();
},
onUnload: function onUnload() {
uni.$off('address-selected-for-syr');
// 页面卸载时保存数据
this.saveFormDataToLocal();
},
mounted: function mounted() {
// 确保有 editAddress 方法
if (!this.editAddress) {
console.log('添加 editAddress 方法');
this.editAddress = this.handleAddressSelected.bind(this);
}
// 初始化显示文本
this.updateDisplayTextsImmediately();
},
methods: {
// 从本地存储加载邀请码验证状态
loadInviteStateFromLocal: function loadInviteStateFromLocal() {
try {
var inviteState = uni.getStorageSync('personal_invite_state');
if (inviteState) {
console.log('加载邀请码验证状态:', inviteState);
// 恢复邀请码验证状态
this.inviterInfo = inviteState.inviterInfo || null;
this.inviteCodeError = inviteState.inviteCodeError || false;
this.currentValidatingCode = inviteState.currentValidatingCode || '';
// 特殊处理如果当前邀请码是13131313确保状态正确
if (this.formData.invite_code === '13131313') {
console.log('检测到特殊邀请码13131313重置验证状态');
this.inviteCodeError = false;
this.inviterInfo = null;
this.currentValidatingCode = '13131313';
}
// 如果正在验证的邀请码与当前表单中的一致,保持验证状态
if (this.currentValidatingCode === this.formData.invite_code) {
// 状态已恢复,无需额外操作
} else {
// 如果不一致,重新验证
if (this.formData.invite_code && this.formData.invite_code.trim() !== '') {
console.log('邀请码不一致,重新验证:', this.formData.invite_code);
this.handleInviteCodeInput({
detail: {
value: this.formData.invite_code
}
});
}
}
} else {
// 如果没有保存的状态,重置为初始状态
this.resetInviteCodeState();
}
} catch (e) {
console.log('加载邀请码验证状态失败:', e);
this.resetInviteCodeState();
}
},
// 恢复服务技能选择状态
restoreServiceSkillsSelection: function restoreServiceSkillsSelection() {
var _this3 = this;
if (this.serviceList.length > 0 && this.formData.service_skills) {
this.serviceList.forEach(function (item) {
item.checked = _this3.formData.service_skills.includes(item.id);
});
// 更新显示文本
this.updateSelectedServicesText();
}
},
//邀请码相关方法
// 新增方法:重置邀请码状态
resetInviteCodeState: function resetInviteCodeState() {
this.inviteCodeValidating = false;
this.inviteCodeError = false;
this.inviterInfo = null;
this.currentValidatingCode = '';
this.shakeInviteError = false;
},
// 触发邀请码错误抖动效果
triggerInviteErrorShake: function triggerInviteErrorShake() {
var _this4 = this;
// 触发抖动效果
this.shakeInviteError = true;
// 滚动到邀请码容器位置
this.$nextTick(function () {
// 使用uni.createSelectorQuery获取邀请码容器的位置
var query = uni.createSelectorQuery().in(_this4);
query.select('.invite-code-container').boundingClientRect(function (rect) {
if (rect) {
// 获取当前窗口高度
var windowHeight = uni.getSystemInfoSync().windowHeight;
// 判断邀请码容器是否已经在可视区域内
// 计算容器在屏幕中的位置比例0-1之间
var containerTopRatio = rect.top / windowHeight;
var containerBottomRatio = (rect.top + rect.height) / windowHeight;
// 如果容器已经在屏幕中上部(顶部在屏幕中间以上),就不需要滚动
// 或者容器整体都在屏幕内,也不需要滚动
if (containerTopRatio >= 0 && containerTopRatio < 0.7 && containerBottomRatio <= 1) {
console.log('邀请码容器已在可视区域内,不需要滚动');
return;
}
// 滚动到邀请码容器位置,减去一些偏移量让用户体验更好
uni.pageScrollTo({
scrollTop: rect.top - 50,
duration: 300
});
}
}).exec();
});
// 0.5秒后重置抖动状态
setTimeout(function () {
_this4.shakeInviteError = false;
}, 500);
},
// 处理邀请码输入
handleInviteCodeInput: function handleInviteCodeInput(e) {
var _this5 = this;
var code = e.detail ? e.detail.value : this.formData.invite_code;
console.log('邀请码输入:', code);
// 立即重置状态
this.inviteCodeValidating = false;
this.inviteCodeError = false;
this.inviterInfo = null;
// 如果邀请码为空,不进行验证
if (!code || code.trim() === '') {
this.formData.invite_code = '';
this.saveFormDataToLocalDebounce();
// 保存空状态
this.saveInviteStateToLocal();
return;
}
this.formData.invite_code = code;
this.saveFormDataToLocalDebounce();
// 【关键修复】如果是13131313立即通过验证并取消任何正在进行的验证
if (code === '13131313') {
console.log('检测到特殊邀请码13131313立即通过');
// 清除任何可能的定时器
if (this.inviteValidationTimer) {
clearTimeout(this.inviteValidationTimer);
this.inviteValidationTimer = null;
}
// 立即更新状态
this.inviteCodeValidating = false;
this.inviteCodeError = false;
this.inviterInfo = null;
this.currentValidatingCode = code;
// 特殊邀请码也需要保存状态
var inviteState = {
inviterInfo: null,
inviteCodeError: false,
currentValidatingCode: code
};
uni.setStorageSync('personal_invite_state', inviteState);
// 强制更新视图
this.$forceUpdate();
return;
}
// 记录当前正在验证的邀请码
this.currentValidatingCode = code;
// 立即保存状态(验证中)
this.saveInviteStateToLocal();
// 【关键修复】使用更明确的防抖机制
// 清除之前的定时器
if (this.inviteValidationTimer) {
clearTimeout(this.inviteValidationTimer);
this.inviteValidationTimer = null;
}
// 设置新的定时器
this.inviteValidationTimer = setTimeout(function () {
// 检查邀请码是否变化
if (_this5.formData.invite_code !== _this5.currentValidatingCode) {
console.log('邀请码已变化,取消验证');
return;
}
// 再次检查是否是13131313双重检查
if (_this5.formData.invite_code === '13131313') {
console.log('双重检查检测到特殊邀请码13131313');
_this5.inviteCodeValidating = false;
_this5.inviteCodeError = false;
_this5.inviterInfo = null;
_this5.currentValidatingCode = '13131313';
var _inviteState = {
inviterInfo: null,
inviteCodeError: false,
currentValidatingCode: '13131313'
};
uni.setStorageSync('personal_invite_state', _inviteState);
return;
}
console.log('开始验证邀请码:', _this5.formData.invite_code);
_this5.validateInviteCode(_this5.formData.invite_code);
// 清理定时器
_this5.inviteValidationTimer = null;
}, 600); // 适当增加延迟时间
},
// 验证邀请码
validateInviteCode: function validateInviteCode(code) {
var _this6 = this;
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
var inviteState, _inviteState2, response, userData, _inviteState3;
return _regenerator.default.wrap(function _callee2$(_context2) {
while (1) {
switch (_context2.prev = _context2.next) {
case 0:
console.log('开始验证邀请码:', code);
// 特殊邀请码13131313直接通过
if (!(code === '13131313')) {
_context2.next = 11;
break;
}
console.log('特殊邀请码13131313直接通过');
_this6.inviteCodeValidating = false;
_this6.inviteCodeError = false;
_this6.inviterInfo = null;
_this6.currentValidatingCode = code;
// 特殊邀请码也需要保存状态
inviteState = {
inviterInfo: null,
inviteCodeError: false,
currentValidatingCode: code
};
uni.setStorageSync('personal_invite_state', inviteState);
// 强制更新视图
_this6.$forceUpdate();
return _context2.abrupt("return");
case 11:
if (!(!code || code.trim() === '')) {
_context2.next = 19;
break;
}
_this6.inviteCodeValidating = false;
_this6.inviteCodeError = false;
_this6.inviterInfo = null;
_this6.currentValidatingCode = '';
_inviteState2 = {
inviterInfo: null,
inviteCodeError: false,
currentValidatingCode: ''
};
uni.setStorageSync('personal_invite_state', _inviteState2);
return _context2.abrupt("return");
case 19:
// 设置验证中状态
_this6.inviteCodeValidating = true;
_this6.inviteCodeError = false;
_this6.inviterInfo = null;
_this6.currentValidatingCode = code;
_context2.prev = 23;
_context2.next = 26;
return _request.default.post('/user/user/getInvite', {
invite_code: code
});
case 26:
response = _context2.sent;
console.log('邀请码验证响应:', response);
// 验证完成
_this6.inviteCodeValidating = false;
if (response && response.code === 200 && response.data) {
userData = response.data; //检查返回的数据是否有效
if (userData.account) {
// 邀请码有效,保存邀请人信息
_this6.inviterInfo = userData;
_this6.inviteCodeError = false;
console.log('邀请码验证通过,邀请人:', userData);
} else {
// 接口返回数据但没有account字段说明不是有效邀请人
console.log('接口返回数据无效没有account字段:', userData);
_this6.inviterInfo = null;
_this6.inviteCodeError = true;
}
} else {
// 接口返回错误或数据为空
console.log('接口返回错误:', (response === null || response === void 0 ? void 0 : response.msg) || '未知错误');
_this6.inviterInfo = null;
_this6.inviteCodeError = true;
}
_context2.next = 38;
break;
case 32:
_context2.prev = 32;
_context2.t0 = _context2["catch"](23);
console.error('验证邀请码失败:', _context2.t0);
_this6.inviteCodeValidating = false;
_this6.inviteCodeError = true;
_this6.inviterInfo = null;
case 38:
_context2.prev = 38;
// 无论成功失败都保存状态
_inviteState3 = {
inviterInfo: _this6.inviterInfo,
inviteCodeError: _this6.inviteCodeError,
currentValidatingCode: _this6.currentValidatingCode
};
uni.setStorageSync('personal_invite_state', _inviteState3);
return _context2.finish(38);
case 42:
case "end":
return _context2.stop();
}
}
}, _callee2, null, [[23, 32, 38, 42]]);
}))();
},
// 新增方法:专门保存邀请码验证状态
saveInviteStateToLocal: function saveInviteStateToLocal() {
try {
var inviteState = {
inviterInfo: this.inviterInfo,
inviteCodeError: this.inviteCodeError,
currentValidatingCode: this.currentValidatingCode || this.formData.invite_code || ''
};
uni.setStorageSync('personal_invite_state', inviteState);
console.log('邀请码验证状态已保存:', {
hasInviterInfo: !!this.inviterInfo,
inviteCodeError: this.inviteCodeError,
currentValidatingCode: this.currentValidatingCode
});
} catch (e) {
console.log('保存邀请码验证状态失败:', e);
}
},
// 立即更新所有显示文本
updateDisplayTextsImmediately: function updateDisplayTextsImmediately() {
// 恢复服务技能显示文本
this.updateSelectedServicesText();
// 恢复获取消息方式的显示文本
if (this.formData.get_message_method) {
var methods = ['朋友圈', '抖音', '地推', '朋友介绍', '微博'];
this.messageMethodText = methods[this.formData.get_message_method - 1] || '';
}
// 恢复专业经验的显示文本
if (this.formData.professional_experience) {
var experiences = ['实习', '1-3年', '3-5年', '5-10年', '10年以上'];
this.experienceText = experiences[this.formData.professional_experience - 1] || '';
}
// 恢复工作状态的显示文本
if (this.formData.work_status) {
var statusList = ['在职', '离职', '自由职业', '在校学生', '其他'];
this.workStatusText = statusList[this.formData.work_status - 1] || '';
}
// 恢复服务区域显示文本
this.updateServiceAreaDisplayText();
},
// 更新服务区域显示文本
updateServiceAreaDisplayText: function updateServiceAreaDisplayText() {
if (this.formData.service_area && this.formData.service_area.length > 0) {
// 直接使用保存的区域字符串
this.serviceAreaDisplayText = this.formData.service_area.join('、');
} else {
this.serviceAreaDisplayText = '';
}
},
// 地址选择相关方法
// 添加 editAddress 方法
editAddress: function editAddress(item) {
console.log('接收到的地址数据:', item);
this.handleAddressSelected(item);
},
// 处理地址选择结果
handleAddressSelected: function handleAddressSelected(addressData) {
var _this7 = this;
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
var address, _addressData$location, _addressData$location2, longitude, latitude, res, addressComponent, locationParts;
return _regenerator.default.wrap(function _callee3$(_context3) {
while (1) {
switch (_context3.prev = _context3.next) {
case 0:
console.log('接收到的地址数据:', addressData);
if (addressData) {
_context3.next = 4;
break;
}
console.log('地址数据为空');
return _context3.abrupt("return");
case 4:
// 提取地址
address = '';
if (addressData.name) {
address = addressData.name;
} else if (addressData.address) {
address = addressData.address;
}
if (address) {
_context3.next = 9;
break;
}
console.log('无法提取地址');
return _context3.abrupt("return");
case 9:
console.log('设置地址:', address);
// 直接设置表单数据
_this7.formData.detail_address = address;
// 提取经纬度
if (addressData.location) {
_addressData$location = addressData.location.split(','), _addressData$location2 = (0, _slicedToArray2.default)(_addressData$location, 2), longitude = _addressData$location2[0], latitude = _addressData$location2[1];
_this7.formData.longitude = longitude || '';
_this7.formData.latitude = latitude || '';
}
// 如果地址数据中没有省市区信息,尝试通过逆地理编码获取
if (!((!addressData.pname || !addressData.cityname || !addressData.adname) && _this7.formData.longitude && _this7.formData.latitude)) {
_context3.next = 25;
break;
}
_context3.prev = 13;
console.log('开始逆地理编码,经纬度:', _this7.formData.longitude, _this7.formData.latitude);
// 使用高德地图逆地理编码API
_context3.next = 17;
return uni.request({
url: 'https://restapi.amap.com/v3/geocode/regeo',
method: 'GET',
data: {
key: '30b7eb1a1b2f88edc085b9b3ee9a2188',
location: "".concat(_this7.formData.longitude, ",").concat(_this7.formData.latitude)
}
});
case 17:
res = _context3.sent;
console.log('逆地理编码结果:', res);
if (res.data && res.data.regeocode) {
addressComponent = res.data.regeocode.addressComponent;
addressData.pname = addressComponent.province;
addressData.cityname = addressComponent.city || addressComponent.province; // 直辖市city为空用province代替
addressData.adname = addressComponent.district;
}
_context3.next = 25;
break;
case 22:
_context3.prev = 22;
_context3.t0 = _context3["catch"](13);
console.error('逆地理编码失败:', _context3.t0);
case 25:
// 更新所在地
if (addressData.pname || addressData.cityname || addressData.adname) {
locationParts = [];
if (addressData.pname) locationParts.push(addressData.pname);
if (addressData.cityname) locationParts.push(addressData.cityname);
if (addressData.adname) locationParts.push(addressData.adname);
_this7.formData.region = locationParts.join('-');
console.log('更新所在地为:', _this7.formData.region);
}
console.log('表单已更新:', {
detail_address: _this7.formData.detail_address,
region: _this7.formData.region,
longitude: _this7.formData.longitude,
latitude: _this7.formData.latitude
});
// 保存到本地存储
_this7.saveFormDataToLocal();
// 更新视图
_this7.$forceUpdate();
// uni.showToast({
// title: '地址已选择',
// icon: 'none'
// });
case 29:
case "end":
return _context3.stop();
}
}
}, _callee3, null, [[13, 22]]);
}))();
},
// 获取详细地址
getAddressInfo: function getAddressInfo() {
// 保存当前数据
this.saveFormDataToLocalDebounce();
// 清除旧数据
this.clearOldAddressData();
// 构建URL参数
var params = 'source=syr_info'; // 手艺人来源标识
// 如果有所在地添加dependency参数
if (this.formData.region) {
// 将所在地作为dependency参数传递格式为"省-市-区"
var locationStr = encodeURIComponent(this.formData.region);
params += "&dependency=".concat(locationStr);
// 如果有地区编码,也传递过去
if (this.formData.dependency_code) {
params += "&dependency_code=".concat(this.formData.dependency_code);
}
}
// 如果有已选择的地址坐标,也传递过去作为初始位置
if (this.formData.longitude && this.formData.latitude) {
params += "&longitude=".concat(this.formData.longitude, "&latitude=").concat(this.formData.latitude);
}
console.log('跳转URL参数:', params);
uni.navigateTo({
url: "/pages/address/search?".concat(params)
});
},
// 清理地址存储
clearOldAddressData: function clearOldAddressData() {
try {
// 只清理存储,不清空当前表单数据
uni.removeStorageSync('syr_selected_address');
console.log('已清理手艺人地址存储数据');
} catch (e) {
console.error('清理地址数据失败:', e);
}
},
// 处理地址选择结果 - 修改为从事件监听获取
setupAddressListener: function setupAddressListener() {
var _this8 = this;
// 监听地址选择事件
uni.$on('address-selected-for-syr', function (addressData) {
_this8.handleAddressSelected(addressData);
});
},
// 检查地址数据
checkAddressData: function checkAddressData() {
try {
// 先检查手艺人专用存储
var syrAddress = uni.getStorageSync('syr_selected_address');
if (syrAddress) {
console.log('从手艺人专用存储获取地址:', syrAddress);
this.handleAddressSelected(syrAddress);
uni.removeStorageSync('syr_selected_address');
return;
}
} catch (e) {
console.error('检查手艺人专用存储失败:', e);
}
// 检查全局数据
if (getApp().globalData && getApp().globalData.selectedAddress) {
console.log('从globalData获取地址:', getApp().globalData.selectedAddress);
this.handleAddressSelected(getApp().globalData.selectedAddress);
delete getApp().globalData.selectedAddress;
}
},
// 从本地存储加载数据
loadFormDataFromLocal: function loadFormDataFromLocal() {
try {
var stored = uni.getStorageSync('personal_info_form_data');
if (stored) {
console.log('从本地存储加载个人信息数据:', stored);
// 确保 service_area 是数组格式
if (stored.service_area && !Array.isArray(stored.service_area)) {
stored.service_area = [stored.service_area];
}
return stored;
}
} catch (e) {
console.log('读取个人信息数据失败:', e);
}
return null;
},
// 保存数据到本地存储(带防抖)
saveFormDataToLocalDebounce: (0, _debounce.debounce)(function () {
this.saveFormDataToLocal();
}, 500),
// 保存数据到本地存储
saveFormDataToLocal: function saveFormDataToLocal() {
try {
// 首先保存表单数据
uni.setStorageSync('personal_info_form_data', this.formData);
console.log('个人信息表单数据已保存');
} catch (e) {
console.log('保存个人信息数据失败:', e);
}
},
// 清空本地存储(在表单提交成功后调用)
clearFormDataLocal: function clearFormDataLocal() {
try {
uni.removeStorageSync('personal_info_form_data');
console.log('已清空个人信息数据');
} catch (e) {
console.log('清空个人信息数据失败:', e);
}
},
// 检查全局数据
checkGlobalData: function checkGlobalData() {
if (getApp().globalData.personalInfoData) {
// 如果全局有数据,合并到当前表单
this.formData = _objectSpread(_objectSpread({}, this.formData), getApp().globalData.personalInfoData);
// 保存到本地存储
this.saveFormDataToLocal();
// 清空全局数据,避免重复使用
// delete getApp().globalData.personalInfoData;
getApp().globalData.qualificationData = null;
}
},
// 更新已选择服务技能的显示文本
updateSelectedServicesText: function updateSelectedServicesText() {
var _this9 = this;
if (this.formData.service_skills && this.formData.service_skills.length > 0 && this.serviceList.length > 0) {
// 将保存的ID与serviceList匹配
var selectedServices = this.serviceList.filter(function (item) {
return _this9.formData.service_skills.includes(item.id);
}).map(function (item) {
// 设置选中状态
item.checked = true;
return item.title;
});
this.selectedServicesText = selectedServices.join('、');
}
},
// 获取用户信息
getUserInfo: function getUserInfo() {
var _this10 = this;
return new Promise(function (resolve, reject) {
_request.default.post('/user/getuser', {
type: 1
}).then(function (result) {
if (result.state === 1) {
_this10.userId = result.data.id;
console.log('用户ID获取成功:', _this10.userId);
resolve(_this10.userId);
} else {
console.error('获取用户信息失败:', result.msg);
reject(result.msg);
}
}).catch(function (error) {
console.error('获取用户信息接口错误:', error);
reject(error);
});
});
},
getFormData: function getFormData() {
var idcard_expiry_type = 0;
if (this.formData.id_card_valid_type === 'permanent') {
idcard_expiry_type = 1;
} else if (this.formData.id_card_valid_type === 'date') {
idcard_expiry_type = 2;
}
var idcard_expiry = '';
if (this.formData.id_card_start_date) {
var startDate = this.formatDateForBackend(this.formData.id_card_start_date);
if (this.formData.id_card_valid_type === 'permanent') {
idcard_expiry = "".concat(startDate, " \u2014\u2014 ");
} else if (this.formData.id_card_end_date) {
var endDate = this.formatDateForBackend(this.formData.id_card_end_date);
idcard_expiry = "".concat(startDate, " \u2014\u2014 ").concat(endDate);
}
}
// 服务区域直接传递数组格式
var serversRegionArray = this.formData.service_area || [];
return {
head_photo: this.formData.head_photo,
name: this.formData.real_name,
account: this.formData.phone,
second_phone: this.formData.backup_phone,
idcard_num: this.formData.id_card,
idcard_expiry_type: idcard_expiry_type,
idcard_expiry: idcard_expiry,
idcard_positive: this.formData.id_card_front,
idcard_negative: this.formData.id_card_back,
idcard_hands: this.formData.id_card_handheld,
dependency: this.formData.region,
dependency_code: this.formData.dependency_code,
dependency_province: this.formData.dependency_province,
dependency_city: this.formData.dependency_city,
address: this.formData.detail_address,
longitude: this.formData.longitude,
latitude: this.formData.latitude,
servers_kill: this.formData.service_skills,
service_area: this.serviceAreaDisplayText,
// 显示文本
servers_region: serversRegionArray,
// 数组格式
service_time: this.formData.service_time,
detail: this.formData.introduction,
get_msg_method: this.formData.get_message_method,
invite_code_other: this.formData.invite_code,
major: this.formData.professional_experience,
work_state: this.formData.work_status
};
},
// 预加载提示弹窗图片
preloadTipImages: function preloadTipImages() {
var _this11 = this;
var images = ['https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/ab410a5d-5819-47f2-a0fc-3fd6b90d6770',
// 弹窗背景
'https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/2af00609-f9f5-4fa7-8013-ef92f15bbea3' // 工装头像提示
];
console.log('开始预加载提示弹窗图片...');
// 使用 Promise.all 确保所有图片都加载完成
var loadPromises = images.map(function (src) {
return _this11.loadImage(src);
});
Promise.all(loadPromises).then(function () {
console.log('所有提示弹窗图片预加载完成');
_this11.tipImagesPreloaded = true;
}).catch(function (error) {
console.warn('部分图片预加载失败:', error);
_this11.tipImagesPreloaded = true;
});
},
// 加载单个图片
loadImage: function loadImage(src) {
return new Promise(function (resolve) {
var img = new Image();
img.onload = function () {
console.log('图片加载成功:', src);
resolve();
};
img.onerror = function () {
console.warn('图片加载失败:', src);
resolve();
};
img.src = src;
});
},
// 显示提示弹窗
showTipPopup: function showTipPopup(field) {
var _this12 = this;
var tipConfig = {
'head_photo': {
title: '如何查看工装头像',
image: 'https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/2af00609-f9f5-4fa7-8013-ef92f15bbea3'
}
};
if (tipConfig[field]) {
this.currentTipType = field;
this.tipTitle = tipConfig[field].title;
this.tipImage = tipConfig[field].image;
if (this.tipImagesPreloaded) {
this.showTipPopupFlag = true;
} else {
this.loadImage(this.tipImage).then(function () {
_this12.showTipPopupFlag = true;
}).catch(function () {
_this12.showTipPopupFlag = true;
});
}
}
},
// 隐藏提示弹窗
hideTipPopup: function hideTipPopup() {
this.showTipPopupFlag = false;
},
// 设置身份证有效期类型
setIdCardValidType: function setIdCardValidType(type) {
this.formData.id_card_valid_type = type;
if (type === 'permanent') {
this.formData.id_card_end_date = '长久有效';
} else {
if (this.formData.id_card_end_date === '长久有效') {
this.formData.id_card_end_date = '';
}
// 如果已有开始日期,可以自动计算一个结束日期(可选)
if (this.formData.id_card_start_date && !this.formData.id_card_end_date) {
var match = this.formData.id_card_start_date.match(/(\d+)年(\d+)月(\d+)日/);
if (match) {
var year = parseInt(match[1]) + 20;
var month = match[2];
var day = match[3];
this.formData.id_card_end_date = "".concat(year, "\u5E74").concat(month, "\u6708").concat(day, "\u65E5");
}
}
}
this.saveFormDataToLocal();
},
// 日期格式化方法
formatDateForDisplay: function formatDateForDisplay(dateStr) {
if (!dateStr) return '';
if (dateStr === '长久有效') return '长久有效';
if (dateStr.includes('-')) {
var _dateStr$split = dateStr.split('-'),
_dateStr$split2 = (0, _slicedToArray2.default)(_dateStr$split, 3),
year = _dateStr$split2[0],
month = _dateStr$split2[1],
day = _dateStr$split2[2];
return "".concat(year, "\u5E74").concat(parseInt(month), "\u6708").concat(parseInt(day), "\u65E5");
}
return dateStr;
},
formatDateForBackend: function formatDateForBackend(dateStr) {
if (!dateStr) return '';
if (dateStr === '长久有效') return 'permanent';
var match = dateStr.match(/(\d+)年(\d+)月(\d+)日/);
if (match) {
var year = match[1];
var month = match[2].padStart(2, '0');
var day = match[3].padStart(2, '0');
return "".concat(year, "-").concat(month, "-").concat(day);
}
return dateStr;
},
// 日期选择器方法
openDatePicker: function openDatePicker(field) {
this.currentDateField = field;
var currentDate = new Date();
var initialDate = currentDate;
if (this.formData[field]) {
var dateStr = this.formData[field];
var match = dateStr.match(/(\d+)年(\d+)月(\d+)日/);
if (match) {
initialDate = new Date(parseInt(match[1]), parseInt(match[2]) - 1, parseInt(match[3]));
}
}
var yearIndex = this.years.indexOf(initialDate.getFullYear());
var monthIndex = initialDate.getMonth();
var dayIndex = initialDate.getDate() - 1;
this.dateValue = [yearIndex >= 0 ? yearIndex : 0, monthIndex, dayIndex];
this.showDatePickerFlag = true;
},
hideDatePicker: function hideDatePicker() {
this.showDatePickerFlag = false;
},
bindDateChange: function bindDateChange(e) {
this.dateValue = e.detail.value;
},
confirmDate: function confirmDate() {
var _this$dateValue = (0, _slicedToArray2.default)(this.dateValue, 3),
yearIndex = _this$dateValue[0],
monthIndex = _this$dateValue[1],
dayIndex = _this$dateValue[2];
var year = this.years[yearIndex];
var month = this.months[monthIndex];
var day = this.days[dayIndex];
var dateStr = "".concat(year, "\u5E74").concat(month, "\u6708").concat(day, "\u65E5");
var selectedDate = new Date(year, month - 1, day);
var today = new Date();
today.setHours(0, 0, 0, 0);
if (this.currentDateField.endsWith('_start_date')) {
if (selectedDate > today) {
uni.showToast({
title: '开始日期不能晚于今天',
icon: 'none'
});
return;
}
var relatedEndField = this.currentDateField.replace('_start_date', '_end_date');
if (this.formData[relatedEndField] && this.formData[relatedEndField] !== '长久有效') {
var endDateStr = this.formData[relatedEndField];
var match = endDateStr.match(/(\d+)年(\d+)月(\d+)日/);
if (match) {
var endDate = new Date(parseInt(match[1]), parseInt(match[2]) - 1, parseInt(match[3]));
if (selectedDate > endDate) {
uni.showToast({
title: '开始日期不能晚于结束日期',
icon: 'none'
});
return;
}
}
}
if (this.currentDateField === 'id_card_start_date') {
// 如果是"长久有效"类型,不自动设置结束日期
if (this.formData.id_card_valid_type === 'date') {
var endYear = year + 20;
var _endDateStr = "".concat(endYear, "\u5E74").concat(month, "\u6708").concat(day, "\u65E5");
this.formData.id_card_end_date = _endDateStr;
} else if (this.formData.id_card_valid_type === 'permanent') {
// 如果是"长久有效"类型,保持结束日期为"长久有效"
this.formData.id_card_end_date = '长久有效';
}
}
} else if (this.currentDateField.endsWith('_end_date')) {
var relatedStartField = this.currentDateField.replace('_end_date', '_start_date');
if (this.formData[relatedStartField]) {
var startDateStr = this.formData[relatedStartField];
var _match = startDateStr.match(/(\d+)年(\d+)月(\d+)日/);
if (_match) {
var startDate = new Date(parseInt(_match[1]), parseInt(_match[2]) - 1, parseInt(_match[3]));
if (selectedDate <= startDate) {
uni.showToast({
title: '结束日期必须晚于开始日期',
icon: 'none'
});
return;
}
}
} else {
if (selectedDate < today) {
uni.showToast({
title: '结束日期不能早于今天',
icon: 'none'
});
return;
}
}
}
this.formData[this.currentDateField] = dateStr;
this.saveFormDataToLocal();
this.hideDatePicker();
},
// 所在地选择方法
showLocationPopup: function showLocationPopup() {
if (this.ChinaCitys && this.ChinaCitys.length > 0) {
this.locatinCitys = this.ChinaCitys[0].citys;
if (this.locatinCitys && this.locatinCitys.length > 0) {
this.locationAreas = this.locatinCitys[0].areas;
} else {
this.locationAreas = [];
}
this.locationValue = [0, 0, 0];
}
this.showLocationPopupFlag = true;
},
hideLocationPopup: function hideLocationPopup() {
this.showLocationPopupFlag = false;
},
bindChangeLocation: function bindChangeLocation(e) {
this.locationValue = e.detail.value;
var index1 = e.detail.value[0] || 0;
var index2 = e.detail.value[1] || 0;
this.locatinCitys = this.ChinaCitys[index1].citys;
this.locationAreas = this.locatinCitys[index2].areas;
},
confirmLocationSelect: function confirmLocationSelect() {
var valueArr = this.locationValue;
var index1 = valueArr[0] || 0;
var index2 = valueArr[1] || 0;
var index3 = valueArr[2] || 0;
var province = this.ChinaCitys[index1].province;
var city = this.locatinCitys[index2].city;
var area = this.locationAreas[index3].area;
this.formData.region = province + '-' + city + '-' + area;
// 清空详细地址,因为所在地已经改变
this.formData.detail_address = '';
this.formData.longitude = '';
this.formData.latitude = '';
if (this.ChinaCitys[index1] && this.ChinaCitys[index1].code) {
var provinceCode = this.ChinaCitys[index1].code.toString();
this.formData.dependency_province = provinceCode.substring(0, 6);
}
if (this.locatinCitys[index2] && this.locatinCitys[index2].code) {
var cityCode = this.locatinCitys[index2].code.toString();
this.formData.dependency_city = cityCode.substring(0, 6);
}
if (this.locationAreas[index3] && this.locationAreas[index3].code) {
var areaCode = this.locationAreas[index3].code.toString();
this.formData.dependency_code = areaCode.substring(0, 6);
}
console.log('地址编码:', {
province: this.formData.dependency_province,
city: this.formData.dependency_city,
area: this.formData.dependency_code
});
this.saveFormDataToLocal();
this.hideLocationPopup();
},
// 定位方法
getLocation: function getLocation() {
var _this13 = this;
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
var location;
return _regenerator.default.wrap(function _callee4$(_context4) {
while (1) {
switch (_context4.prev = _context4.next) {
case 0:
_context4.prev = 0;
_context4.next = 3;
return new Promise(function (resolve, reject) {
uni.getLocation({
type: 'wgs84',
success: resolve,
fail: reject
});
});
case 3:
location = _context4.sent;
_this13.formData.longitude = location.longitude.toString();
_this13.formData.latitude = location.latitude.toString();
console.log('获取定位成功:', _this13.formData.longitude, _this13.formData.latitude);
_this13.saveFormDataToLocal();
_context4.next = 16;
break;
case 10:
_context4.prev = 10;
_context4.t0 = _context4["catch"](0);
console.log('获取定位失败,使用默认值');
_this13.formData.longitude = '116.397428';
_this13.formData.latitude = '39.90923';
_this13.saveFormDataToLocal();
case 16:
case "end":
return _context4.stop();
}
}
}, _callee4, null, [[0, 10]]);
}))();
},
// 服务技能相关方法
loadServiceSkills: function loadServiceSkills() {
var _this14 = this;
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5() {
var res;
return _regenerator.default.wrap(function _callee5$(_context5) {
while (1) {
switch (_context5.prev = _context5.next) {
case 0:
_context5.prev = 0;
console.log('开始加载服务技能...');
_context5.next = 4;
return _request.default.post('/user/firstclass');
case 4:
res = _context5.sent;
console.log('服务技能接口响应:', res);
if (res.data && res.data.length > 0) {
_this14.serviceList = res.data.map(function (item) {
return _objectSpread(_objectSpread({}, item), {}, {
checked: _this14.formData.service_skills.includes(item.id)
});
});
console.log('服务技能加载成功:', _this14.serviceList.length, '个技能');
_this14.updateSelectedServicesText();
} else {
console.warn('服务技能数据为空');
_this14.serviceList = [];
}
_context5.next = 13;
break;
case 9:
_context5.prev = 9;
_context5.t0 = _context5["catch"](0);
console.error('加载服务技能失败:', _context5.t0);
_this14.serviceList = [];
case 13:
case "end":
return _context5.stop();
}
}
}, _callee5, null, [[0, 9]]);
}))();
},
showServicePopup: function showServicePopup() {
var _this15 = this;
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6() {
return _regenerator.default.wrap(function _callee6$(_context6) {
while (1) {
switch (_context6.prev = _context6.next) {
case 0:
_context6.next = 2;
return _this15.loadServiceSkills();
case 2:
_this15.showServicePopupFlag = true;
case 3:
case "end":
return _context6.stop();
}
}
}, _callee6);
}))();
},
hideServicePopup: function hideServicePopup() {
this.showServicePopupFlag = false;
},
toggleServiceSelect: function toggleServiceSelect(index) {
this.$set(this.serviceList[index], 'checked', !this.serviceList[index].checked);
},
confirmServiceSelect: function confirmServiceSelect() {
var selectedServices = this.serviceList.filter(function (item) {
return item.checked;
}).map(function (item) {
return item.title;
});
var selectedServicesId = this.serviceList.filter(function (item) {
return item.checked;
}).map(function (item) {
return item.id;
});
if (selectedServices.length === 0) {
uni.showToast({
title: '请至少选择一个服务技能',
icon: 'none'
});
return;
}
this.formData.service_skills = selectedServicesId;
this.selectedServicesText = selectedServices.join('、');
console.log('保存的服务技能ID:', this.formData.service_skills);
console.log('显示的服务技能文本:', this.selectedServicesText);
this.saveFormDataToLocal();
this.hideServicePopup();
},
// 服务时间选择器方法
openTimePicker: function openTimePicker() {
this.showTimePicker = true;
},
hideTimePopup: function hideTimePopup() {
this.showTimePicker = false;
},
switchTimeType: function switchTimeType(type) {
this.timeType = type;
},
handleTimeChange: function handleTimeChange(e) {
var values = e.detail.value;
this.pickerValue = values;
},
// 格式化时间显示
formatTime: function formatTime(time) {
return "".concat(time.hour, ":").concat(time.minute);
},
confirmTime: function confirmTime() {
this.formData.service_time = "".concat(this.formatTime(this.startTime), "-").concat(this.formatTime(this.endTime));
this.saveFormDataToLocal();
this.hideTimePopup();
},
// 其他选择器方法
openMessageMethodPicker: function openMessageMethodPicker() {
var _this16 = this;
uni.showActionSheet({
itemList: ['朋友圈', '抖音', '地推', '朋友介绍', '微博'],
success: function success(res) {
var methods = ['朋友圈', '抖音', '地推', '朋友介绍', '微博'];
_this16.formData.get_message_method = res.tapIndex + 1;
_this16.messageMethodText = methods[res.tapIndex];
_this16.saveFormDataToLocal();
}
});
},
openExperiencePicker: function openExperiencePicker() {
var _this17 = this;
uni.showActionSheet({
itemList: ['实习', '1-3年', '3-5年', '5-10年', '10年以上'],
success: function success(res) {
var experiences = ['实习', '1-3年', '3-5年', '5-10年', '10年以上'];
_this17.formData.professional_experience = res.tapIndex + 1;
_this17.experienceText = experiences[res.tapIndex];
_this17.saveFormDataToLocal();
}
});
},
openWorkStatusPicker: function openWorkStatusPicker() {
var _this18 = this;
uni.showActionSheet({
itemList: ['在职', '离职', '自由职业', '在校学生', '其他'],
success: function success(res) {
var statusList = ['在职', '离职', '自由职业', '在校学生', '其他'];
_this18.formData.work_status = res.tapIndex + 1;
_this18.workStatusText = statusList[res.tapIndex];
_this18.saveFormDataToLocal();
}
});
},
// 图片上传方法
chooseImage: function chooseImage(type) {
var _this19 = this;
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee7() {
var systemInfo, xc, xj, result1, result2;
return _regenerator.default.wrap(function _callee7$(_context7) {
while (1) {
switch (_context7.prev = _context7.next) {
case 0:
_context7.prev = 0;
systemInfo = uni.getSystemInfoSync();
if (!(systemInfo.platform === 'ios')) {
_context7.next = 6;
break;
}
_this19.openCamera(type);
_context7.next = 22;
break;
case 6:
_context7.next = 8;
return _per.default.checkPermission('photo_library', '需要相册权限用于上传照片');
case 8:
xc = _context7.sent;
_context7.next = 11;
return _per.default.checkPermission('camera', '需要相机权限用于拍摄照片');
case 11:
xj = _context7.sent;
if (!(xc.granted && xj.granted)) {
_context7.next = 15;
break;
}
_this19.openCamera(type);
return _context7.abrupt("return");
case 15:
_context7.next = 17;
return _per.default.requestPermission('photo_library', '我们需要访问您的相册以上传图片/视频');
case 17:
result1 = _context7.sent;
_context7.next = 20;
return _per.default.requestPermission('camera', '我们需要访问您的相机以上传图片/视频');
case 20:
result2 = _context7.sent;
if (result1 && result2) {
_this19.openCamera(type);
}
case 22:
_context7.next = 28;
break;
case 24:
_context7.prev = 24;
_context7.t0 = _context7["catch"](0);
console.log('选择图片出错:', _context7.t0);
_this19.openCamera(type);
case 28:
case "end":
return _context7.stop();
}
}
}, _callee7, null, [[0, 24]]);
}))();
},
openCamera: function openCamera(type) {
var _this20 = this;
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee8() {
var chooseResult, tempFilePath, file, result;
return _regenerator.default.wrap(function _callee8$(_context8) {
while (1) {
switch (_context8.prev = _context8.next) {
case 0:
_context8.prev = 0;
if (_this20.userId) {
_context8.next = 4;
break;
}
_context8.next = 4;
return _this20.getUserInfo();
case 4:
if (!_this20.identity) {
_this20.identity = getApp().globalData.artisanType;
}
_context8.next = 7;
return new Promise(function (resolve, reject) {
uni.chooseImage({
count: 1,
sizeType: ['compressed'],
sourceType: ['album', 'camera'],
success: resolve,
fail: reject
});
});
case 7:
chooseResult = _context8.sent;
if (!(!chooseResult.tempFilePaths || chooseResult.tempFilePaths.length === 0)) {
_context8.next = 11;
break;
}
uni.hideLoading();
return _context8.abrupt("return");
case 11:
tempFilePath = chooseResult.tempFilePaths[0];
file = {
path: tempFilePath,
size: 0
};
_context8.next = 15;
return _this20.directUpload(file, _this20.userId, _this20.identity + 1);
case 15:
result = _context8.sent;
uni.hideLoading();
if (!result) {
_context8.next = 28;
break;
}
_this20.formData[type] = result;
// 上传成功后自动识别身份证
if (!(type === 'id_card_front')) {
_context8.next = 24;
break;
}
_context8.next = 22;
return _this20.recognizeIdCardFront(result);
case 22:
_context8.next = 27;
break;
case 24:
if (!(type === 'id_card_back')) {
_context8.next = 27;
break;
}
_context8.next = 27;
return _this20.recognizeIdCardBack(result);
case 27:
_this20.saveFormDataToLocal();
case 28:
_context8.next = 34;
break;
case 30:
_context8.prev = 30;
_context8.t0 = _context8["catch"](0);
uni.hideLoading();
console.log('上传图片错误:', _context8.t0);
case 34:
case "end":
return _context8.stop();
}
}
}, _callee8, null, [[0, 30]]);
}))();
},
// 直接上传方法
directUpload: function directUpload(file, userId, type) {
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee9() {
var date, artisan, fileExtension, parts, ext, name, ossConfig;
return _regenerator.default.wrap(function _callee9$(_context9) {
while (1) {
switch (_context9.prev = _context9.next) {
case 0:
_context9.prev = 0;
date = new Date().getTime();
artisan = type == 1 ? 'yh' : type == 2 ? 'syr' : type == 3 ? 'sj' : '';
fileExtension = 'jpg';
if (file.path.includes('.')) {
parts = file.path.split('.');
ext = parts[parts.length - 1].toLowerCase();
if (ext && ext.length <= 4) {
fileExtension = ext;
}
}
name = "".concat(userId, "_").concat(artisan, "_").concat(date, ".").concat(fileExtension);
_context9.next = 8;
return _request.default.post('/user/getalioss', {
type: type,
kind: 1
});
case 8:
ossConfig = _context9.sent;
_context9.next = 11;
return new Promise(function (resolve, reject) {
uni.uploadFile({
url: ossConfig.host,
filePath: file.path,
name: 'file',
formData: {
key: ossConfig.dir + name,
policy: ossConfig.policy,
OSSAccessKeyId: ossConfig.ossAccessKeyId,
success_action_status: '200',
signature: ossConfig.signature
},
success: function success(res) {
if (res.statusCode === 200) {
var fileUrl = "".concat(ossConfig.host, "/").concat(ossConfig.dir).concat(name);
resolve(fileUrl);
} else {
reject(new Error('上传失败'));
}
},
fail: reject
});
});
case 11:
return _context9.abrupt("return", _context9.sent);
case 14:
_context9.prev = 14;
_context9.t0 = _context9["catch"](0);
console.error('直接上传失败:', _context9.t0);
throw _context9.t0;
case 18:
case "end":
return _context9.stop();
}
}
}, _callee9, null, [[0, 14]]);
}))();
},
// 识别身份证正面
recognizeIdCardFront: function recognizeIdCardFront(imageUrl) {
var _this21 = this;
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee10() {
var result, hasRecognizedData;
return _regenerator.default.wrap(function _callee10$(_context10) {
while (1) {
switch (_context10.prev = _context10.next) {
case 0:
_context10.prev = 0;
_this21.isRecognizing = true;
_this21.recognizeType = 'id_card_front';
uni.showLoading({
title: '正在识别身份证正面...',
mask: true
});
// 调用OCR接口
_context10.next = 6;
return (0, _orc.recognizeIdCard)(imageUrl, 1);
case 6:
result = _context10.sent;
// 验证是否真的识别到了数据
hasRecognizedData = _this21.checkIdCardFrontRecognition(result);
if (hasRecognizedData) {
_context10.next = 13;
break;
}
uni.hideLoading();
uni.showToast({
title: '未识别到身份证信息,请手动填写或重新拍摄',
icon: 'none',
duration: 3000
});
_this21.isRecognizing = false;
return _context10.abrupt("return");
case 13:
// 填充身份证正面信息
if (result.name) {
_this21.formData.real_name = result.name;
}
if (result.id_number) {
_this21.formData.id_card = result.id_number;
}
uni.showToast({
title: '身份证正面识别成功',
icon: 'none'
});
_context10.next = 22;
break;
case 18:
_context10.prev = 18;
_context10.t0 = _context10["catch"](0);
console.error('身份证正面识别失败:', _context10.t0);
uni.showToast({
title: _context10.t0.message || '识别失败,请手动填写',
icon: 'none',
duration: 3000
});
case 22:
_context10.prev = 22;
_this21.isRecognizing = false;
uni.hideLoading();
return _context10.finish(22);
case 26:
case "end":
return _context10.stop();
}
}
}, _callee10, null, [[0, 18, 22, 26]]);
}))();
},
// 检查身份证正面识别结果是否有效
checkIdCardFrontRecognition: function checkIdCardFrontRecognition(result) {
return result.name && result.name.trim() || result.id_number && result.id_number.trim();
},
// 新增:识别身份证反面(复用商家代码逻辑)
recognizeIdCardBack: function recognizeIdCardBack(imageUrl) {
var _this22 = this;
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee11() {
var result, hasRecognizedData, validPeriod;
return _regenerator.default.wrap(function _callee11$(_context11) {
while (1) {
switch (_context11.prev = _context11.next) {
case 0:
_context11.prev = 0;
_this22.isRecognizing = true;
_this22.recognizeType = 'id_card_back';
uni.showLoading({
title: '正在识别身份证反面...',
mask: true
});
// 调用OCR接口
_context11.next = 6;
return (0, _orc.recognizeIdCard)(imageUrl, 2);
case 6:
result = _context11.sent;
// 验证是否真的识别到了数据
hasRecognizedData = _this22.checkIdCardBackRecognition(result);
if (hasRecognizedData) {
_context11.next = 13;
break;
}
uni.hideLoading();
uni.showToast({
title: '未识别到身份证有效期信息,请手动填写或重新拍摄',
icon: 'none',
duration: 3000
});
_this22.isRecognizing = false;
return _context11.abrupt("return");
case 13:
// 解析有效期
validPeriod = (0, _orc.parseValidPeriod)(result.start_date, result.end_date); // 填充有效期数据
if (validPeriod.startDate) {
_this22.formData.id_card_start_date = validPeriod.startDate;
}
if (validPeriod.isPermanent) {
_this22.formData.id_card_valid_type = 'permanent';
_this22.formData.id_card_end_date = '长久有效';
} else if (validPeriod.endDate) {
_this22.formData.id_card_valid_type = 'date';
_this22.formData.id_card_end_date = validPeriod.endDate;
}
// 如果是长期有效,自动选择对应的选项
if (validPeriod.isPermanent) {
_this22.setIdCardValidType('permanent');
} else {
_this22.setIdCardValidType('date');
}
uni.showToast({
title: '身份证反面识别成功',
icon: 'none'
});
_context11.next = 24;
break;
case 20:
_context11.prev = 20;
_context11.t0 = _context11["catch"](0);
console.error('身份证反面识别失败:', _context11.t0);
uni.showToast({
title: _context11.t0.message || '识别失败,请手动填写',
icon: 'none',
duration: 3000
});
case 24:
_context11.prev = 24;
_this22.isRecognizing = false;
uni.hideLoading();
return _context11.finish(24);
case 28:
case "end":
return _context11.stop();
}
}
}, _callee11, null, [[0, 20, 24, 28]]);
}))();
},
// 检查身份证反面识别结果是否有效
checkIdCardBackRecognition: function checkIdCardBackRecognition(result) {
return result.start_date && result.start_date.trim() || result.end_date && result.end_date.trim();
},
// 验证表单
validateForm: function validateForm() {
var _this23 = this;
var validationRules = [{
field: 'head_photo',
message: '请上传头像'
}, {
field: 'id_card_front',
message: '请上传身份证正面照片'
}, {
field: 'id_card_back',
message: '请上传身份证反面照片'
}, {
field: 'real_name',
message: '请输入真实姓名'
}, {
field: 'phone',
message: '请输入联系方式'
}, {
field: 'backup_phone',
message: '请输入备用联系方式'
}, {
field: 'id_card',
message: '请输入身份证号'
}, {
condition: function condition() {
return !_this23.formData.id_card_valid_type;
},
message: '请选择身份证有效期类型'
},
// 开始日期始终必填
{
condition: function condition() {
return !_this23.formData.id_card_start_date;
},
message: '请选择身份证开始日期'
},
// 根据有效期类型验证结束日期
{
condition: function condition() {
// 如果选择"指定日期有效",则结束日期必填
if (_this23.formData.id_card_valid_type === 'date' && !_this23.formData.id_card_end_date) {
return true; // 触发验证失败
}
// 如果选择"长久有效",则不需要验证结束日期
return false;
},
message: '请选择身份证结束日期'
}, {
field: 'introduction',
message: '请输入个人介绍'
}, {
field: 'region',
message: '请选择所在地'
},
// { field: 'detail_address', message: '请选择详细地址' },
{
condition: function condition() {
return _this23.formData.service_skills.length === 0;
},
message: '请选择服务技能'
}, {
condition: function condition() {
return !_this23.formData.service_area || _this23.formData.service_area.length === 0;
},
message: '请选择服务区域'
}, {
field: 'service_time',
message: '请选择服务时间'
}, {
field: 'get_message_method',
message: '请选择获取消息方式'
}, {
field: 'invite_code',
message: '请输入邀请码'
}, {
field: 'professional_experience',
message: '请选择专业经验'
}, {
field: 'work_status',
message: '请选择目前工作状态'
}];
for (var _i = 0, _validationRules = validationRules; _i < _validationRules.length; _i++) {
var rule = _validationRules[_i];
var isValid = true;
if (rule.field) {
if (!this.formData[rule.field]) {
isValid = false;
}
} else if (rule.condition) {
if (rule.condition()) {
isValid = false;
}
}
if (!isValid) {
uni.showToast({
title: rule.message,
icon: 'none'
});
return false;
}
}
// 手机号格式验证
if (this.formData.phone && !/^1[3-9]\d{9}$/.test(this.formData.phone)) {
uni.showToast({
title: '请输入正确的手机号码',
icon: 'none'
});
return false;
}
if (this.formData.backup_phone && !/^1[3-9]\d{9}$/.test(this.formData.backup_phone)) {
uni.showToast({
title: '请输入正确的备用手机号码',
icon: 'none'
});
return false;
}
// 身份证格式验证
if (!/(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/.test(this.formData.id_card)) {
uni.showToast({
title: '请输入正确的身份证号码',
icon: 'none'
});
return false;
}
// 验证备用手机号不能和联系方式一样
if (this.formData.phone === this.formData.backup_phone) {
uni.showToast({
title: '备用手机号不能和联系方式一样',
icon: 'none'
});
return false;
}
// 邀请码有效性验证
if (this.inviteCodeValidating) {
uni.showToast({
title: '邀请码验证中,请稍候',
icon: 'none'
});
return false;
}
// 特殊邀请码13131313直接通过
if (this.formData.invite_code === '13131313') {
// 直接通过
} else if (this.inviteCodeError || !this.inviterInfo) {
// 邀请码无效,触发抖动效果
this.triggerInviteErrorShake();
return false;
}
return true;
},
// 保存表单数据(在进入下一步时调用)
saveFormData: function saveFormData() {
var _this24 = this;
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee12() {
var isValid;
return _regenerator.default.wrap(function _callee12$(_context12) {
while (1) {
switch (_context12.prev = _context12.next) {
case 0:
console.log('手艺人个人信息页面:开始验证表单');
// 1. 先进行常规表单验证(同步)
if (_this24.validateForm()) {
_context12.next = 4;
break;
}
console.log('常规表单验证失败');
return _context12.abrupt("return", false);
case 4:
console.log('常规表单验证通过,开始身份证验证');
// 2. 验证姓名与身份证是否匹配(异步)
_context12.next = 7;
return _this24.validateIdcardAndName();
case 7:
isValid = _context12.sent;
if (isValid) {
_context12.next = 11;
break;
}
console.log('身份证验证失败');
return _context12.abrupt("return", false);
case 11:
console.log('身份证验证通过');
// 3. 验证通过,保存数据到全局
getApp().globalData.personalInfoData = _this24.formData;
console.log('数据已保存到全局');
return _context12.abrupt("return", true);
case 15:
case "end":
return _context12.stop();
}
}
}, _callee12);
}))();
},
// 验证姓名与身份证匹配度
validateIdcardAndName: function validateIdcardAndName() {
var _this25 = this;
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee13() {
var cleanedName, cleanedIdCard, checkRes;
return _regenerator.default.wrap(function _callee13$(_context13) {
while (1) {
switch (_context13.prev = _context13.next) {
case 0:
console.log('开始身份证姓名匹配验证');
console.log('姓名:', _this25.formData.real_name);
console.log('身份证号:', _this25.formData.id_card);
// 清理姓名:去除两端空格
cleanedName = _this25.formData.real_name ? _this25.formData.real_name.trim() : '';
cleanedIdCard = _this25.formData.id_card ? _this25.formData.id_card.trim() : '';
if (!(!cleanedName || !cleanedIdCard)) {
_context13.next = 9;
break;
}
console.log('姓名或身份证号为空');
uni.showToast({
title: '请填写姓名和身份证号',
icon: 'none'
});
return _context13.abrupt("return", false);
case 9:
_context13.prev = 9;
uni.showLoading({
title: '验证身份信息...'
});
console.log('调用身份验证接口');
_context13.next = 14;
return _request.default.post('/user/check', {
name: _this25.formData.real_name,
idcard: _this25.formData.id_card
});
case 14:
checkRes = _context13.sent;
uni.hideLoading();
console.log('身份验证接口返回');
console.log('完整响应:', checkRes);
console.log('Code:', checkRes.Code);
console.log('ResultObject:', checkRes.ResultObject);
// 根据参考代码的验证逻辑
if (!(checkRes.Code == '401')) {
_context13.next = 24;
break;
}
console.log('Code 401 验证失败');
uni.showToast({
title: '您的身份证号与姓名不匹配',
icon: 'none',
duration: 3000
});
return _context13.abrupt("return", false);
case 24:
if (!(checkRes.ResultObject && checkRes.ResultObject.BizCode != '1')) {
_context13.next = 28;
break;
}
console.log('BizCode 验证失败 ');
uni.showToast({
title: '您的身份证号与姓名不匹配',
icon: 'none',
duration: 3000
});
return _context13.abrupt("return", false);
case 28:
console.log('身份证验证通过');
return _context13.abrupt("return", true);
case 32:
_context13.prev = 32;
_context13.t0 = _context13["catch"](9);
uni.hideLoading();
console.error('身份证验证接口调用失败');
console.error('错误信息:', _context13.t0);
uni.showToast({
title: '身份验证失败,请稍后重试',
icon: 'none',
duration: 3000
});
return _context13.abrupt("return", false);
case 39:
case "end":
return _context13.stop();
}
}
}, _callee13, null, [[9, 32]]);
}))();
},
// 服务区域选择相关方法
// 显示服务区域选择弹出框
showRegionPopup: function showRegionPopup() {
// 重置选择器状态
this.currentTab = 0;
this.cityList = [];
this.districtList = [];
this.selectedProvince = null;
this.selectedCity = null;
this.currentSelectedCity = '';
this.showRegionPopupFlag = true;
},
// 隐藏服务区域选择弹出框
hideRegionPopup: function hideRegionPopup() {
this.showRegionPopupFlag = false;
},
// 切换标签页
switchTab: function switchTab(index) {
if (index < this.currentTab) {
this.currentTab = index;
}
},
// 选择省份
selectProvince: function selectProvince(province, index) {
this.selectedProvince = province.province;
this.currentTab = 1;
// 获取城市列表
this.cityList = this.ChinaCitys[index].citys || [];
// 重置当前选择的城市
this.currentSelectedCity = '';
},
// 选择城市
selectCity: function selectCity(city, index) {
var _this26 = this;
// 检查是否已经有选中的城市
if (this.currentSelectedCity && city.city !== this.currentSelectedCity) {
// 如果切换城市,需要清空已选区域
uni.showModal({
title: '提示',
content: '切换城市将清空已选区域,是否继续?',
success: function success(res) {
if (res.confirm) {
// 清空已选区域
_this26.formData.service_area = [];
_this26.currentSelectedCity = city.city;
_this26.selectedCity = city.city;
_this26.currentTab = 2;
// 获取区县列表并初始化选中状态
_this26.districtList = (city.areas || []).map(function (item) {
return _objectSpread(_objectSpread({}, item), {}, {
checked: false
});
});
}
}
});
} else {
// 第一次选择城市或选择同一城市
this.currentSelectedCity = city.city;
this.selectedCity = city.city;
this.currentTab = 2;
// 获取区县列表并初始化选中状态
this.districtList = (city.areas || []).map(function (item) {
return _objectSpread(_objectSpread({}, item), {}, {
checked: _this26.formData.service_area.includes("".concat(_this26.selectedProvince, "-").concat(_this26.selectedCity, "-").concat(item.area))
});
});
}
},
// 切换区县选择状态
toggleDistrictSelect: function toggleDistrictSelect(index) {
this.$set(this.districtList[index], 'checked', !this.districtList[index].checked);
},
// 确认地区选择
confirmRegionSelect: function confirmRegionSelect() {
var _this27 = this;
var selectedDistricts = this.districtList.filter(function (item) {
return item.checked;
}).map(function (item) {
return "".concat(_this27.selectedProvince, "-").concat(_this27.selectedCity, "-").concat(item.area);
});
if (selectedDistricts.length === 0) {
uni.showToast({
title: '请至少选择一个区县',
icon: 'none'
});
return;
}
// 更新选中的区域
this.formData.service_area = selectedDistricts;
// 更新显示文本
this.updateServiceAreaDisplayText();
this.saveFormDataToLocal();
this.hideRegionPopup();
console.log('选中的区域:', this.formData.service_area);
}
}
};
exports.default = _default;
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
/***/ }),
/***/ 1487:
/*!***************************************************************************************************************************************!*\
!*** /Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/pages/ruzhu/syr-info.vue?vue&type=style&index=0&id=53526e93&scoped=true&lang=css& ***!
\***************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_syr_info_vue_vue_type_style_index_0_id_53526e93_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--6-oneOf-1-3!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../../Applications/HBuilderX-Alpha.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./syr-info.vue?vue&type=style&index=0&id=53526e93&scoped=true&lang=css& */ 1488);
/* harmony import */ var _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_syr_info_vue_vue_type_style_index_0_id_53526e93_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_syr_info_vue_vue_type_style_index_0_id_53526e93_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_syr_info_vue_vue_type_style_index_0_id_53526e93_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_syr_info_vue_vue_type_style_index_0_id_53526e93_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
/* harmony default export */ __webpack_exports__["default"] = (_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_Applications_HBuilderX_Alpha_app_Contents_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_syr_info_vue_vue_type_style_index_0_id_53526e93_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
/***/ 1488:
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--6-oneOf-1-2!./node_modules/postcss-loader/src??ref--6-oneOf-1-3!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!/Users/danji/Desktop/mrr/mrr-sj/mrr.app.front/pages/ruzhu/syr-info.vue?vue&type=style&index=0&id=53526e93&scoped=true&lang=css& ***!
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
if(false) { var cssReload; }
/***/ })
}]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/ruzhu/syr-info.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'pages/ruzhu/syr-info-create-component',
{
'pages/ruzhu/syr-info-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('2')['createComponent'](__webpack_require__(1480))
})
},
[['pages/ruzhu/syr-info-create-component']]
]);