|
|
|
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["components/region-picker/region-picker"],{
|
|
|
|
|
|
|
|
/***/ 959:
|
|
|
|
/*!************************************************************************************!*\
|
|
|
|
!*** F:/zhaoshang/zhaoshangMiniApp_uni/components/region-picker/region-picker.vue ***!
|
|
|
|
\************************************************************************************/
|
|
|
|
/*! no static exports found */
|
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
|
|
/* harmony import */ var _region_picker_vue_vue_type_template_id_d612b0d8_name_regionPicker___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./region-picker.vue?vue&type=template&id=d612b0d8&name=regionPicker& */ 960);
|
|
|
|
/* harmony import */ var _region_picker_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./region-picker.vue?vue&type=script&lang=js& */ 962);
|
|
|
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _region_picker_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _region_picker_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
|
|
/* harmony import */ var _D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 13);
|
|
|
|
|
|
|
|
var renderjs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* normalize component */
|
|
|
|
|
|
|
|
var component = Object(_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
|
|
|
_region_picker_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
|
|
_region_picker_vue_vue_type_template_id_d612b0d8_name_regionPicker___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|
|
|
_region_picker_vue_vue_type_template_id_d612b0d8_name_regionPicker___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|
|
|
false,
|
|
|
|
null,
|
|
|
|
null,
|
|
|
|
null,
|
|
|
|
false,
|
|
|
|
_region_picker_vue_vue_type_template_id_d612b0d8_name_regionPicker___WEBPACK_IMPORTED_MODULE_0__["components"],
|
|
|
|
renderjs
|
|
|
|
)
|
|
|
|
|
|
|
|
component.options.__file = "components/region-picker/region-picker.vue"
|
|
|
|
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
/***/ 960:
|
|
|
|
/*!*************************************************************************************************************************************!*\
|
|
|
|
!*** F:/zhaoshang/zhaoshangMiniApp_uni/components/region-picker/region-picker.vue?vue&type=template&id=d612b0d8&name=regionPicker& ***!
|
|
|
|
\*************************************************************************************************************************************/
|
|
|
|
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
|
|
/* harmony import */ var _D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_region_picker_vue_vue_type_template_id_d612b0d8_name_regionPicker___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./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--16-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!./region-picker.vue?vue&type=template&id=d612b0d8&name=regionPicker& */ 961);
|
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_region_picker_vue_vue_type_template_id_d612b0d8_name_regionPicker___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
|
|
|
|
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_region_picker_vue_vue_type_template_id_d612b0d8_name_regionPicker___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
|
|
|
|
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_region_picker_vue_vue_type_template_id_d612b0d8_name_regionPicker___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
|
|
|
|
|
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_region_picker_vue_vue_type_template_id_d612b0d8_name_regionPicker___WEBPACK_IMPORTED_MODULE_0__["components"]; });
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
/***/ 961:
|
|
|
|
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
|
|
!*** ./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--16-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!F:/zhaoshang/zhaoshangMiniApp_uni/components/region-picker/region-picker.vue?vue&type=template&id=d612b0d8&name=regionPicker& ***!
|
|
|
|
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
|
|
/*! 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 recyclableRender = false
|
|
|
|
var staticRenderFns = []
|
|
|
|
render._withStripped = true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
/***/ 962:
|
|
|
|
/*!*************************************************************************************************************!*\
|
|
|
|
!*** F:/zhaoshang/zhaoshangMiniApp_uni/components/region-picker/region-picker.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 _D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_region_picker_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-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!./region-picker.vue?vue&type=script&lang=js& */ 963);
|
|
|
|
/* harmony import */ var _D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_region_picker_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_region_picker_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
|
|
|
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_region_picker_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_region_picker_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
|
|
/* harmony default export */ __webpack_exports__["default"] = (_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_D_Program_Files_HBuilderX_3_1_13_20210514_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_region_picker_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
/***/ 963:
|
|
|
|
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
|
|
!*** ./node_modules/babel-loader/lib!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--12-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!F:/zhaoshang/zhaoshangMiniApp_uni/components/region-picker/region-picker.vue?vue&type=script&lang=js& ***!
|
|
|
|
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
|
|
/*! no static exports found */
|
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var _regionPicker = _interopRequireDefault(__webpack_require__(/*! ./region-picker.js */ 964));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} //
|
|
|
|
//
|
|
|
|
//
|
|
|
|
//
|
|
|
|
//
|
|
|
|
//
|
|
|
|
//
|
|
|
|
var _default = { name: "regionPicker", props: { value: { type: [Array, String, Number], default: [0, 0, 0] }, disabled: { type: Boolean, default: false }, //like https://api.591tuangou.com/cache/region-picker.php
|
|
|
|
jsonPath: { type: String, default: null }, jsonData: { type: Array, default: null } },
|
|
|
|
|
|
|
|
data: function data() {
|
|
|
|
return {
|
|
|
|
dataValue: [],
|
|
|
|
dataDisabled: false,
|
|
|
|
range: [],
|
|
|
|
zones_tree: [] };
|
|
|
|
|
|
|
|
},
|
|
|
|
mounted: function mounted(e) {var _this = this;
|
|
|
|
if (this.jsonData) {
|
|
|
|
this.zones_tree = this.jsonData;
|
|
|
|
this.dataDisabled = this.disabled;
|
|
|
|
this.value_format();
|
|
|
|
this.range_set();
|
|
|
|
} else if (this.jsonPath) {
|
|
|
|
uni.request({
|
|
|
|
url: this.jsonPath,
|
|
|
|
success: function success(res) {
|
|
|
|
_this.zones_tree = res.data;
|
|
|
|
_this.dataDisabled = _this.disabled;
|
|
|
|
_this.value_format();
|
|
|
|
_this.range_set();
|
|
|
|
} });
|
|
|
|
|
|
|
|
} else {
|
|
|
|
this.zones_tree = _regionPicker.default.zones_tree,
|
|
|
|
this.dataDisabled = this.disabled;
|
|
|
|
this.value_format();
|
|
|
|
this.range_set();
|
|
|
|
}
|
|
|
|
},
|
|
|
|
watch: {
|
|
|
|
jsonData: function jsonData(nv, ov) {
|
|
|
|
this.zones_tree = nv;
|
|
|
|
this.dataDisabled = this.disabled;
|
|
|
|
this.value_format();
|
|
|
|
this.range_set();
|
|
|
|
},
|
|
|
|
value: function value(nv, ov) {
|
|
|
|
if (JSON.stringify(nv) != JSON.stringify(ov)) {
|
|
|
|
if (typeof nv != 'object' && typeof ov == 'object' && ov[2] + '' != nv + '') {
|
|
|
|
this.value = nv;
|
|
|
|
this.value_format();
|
|
|
|
this.range_set();
|
|
|
|
this.region_change({ detail: { value: this.dataValue } });
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} },
|
|
|
|
|
|
|
|
methods: {
|
|
|
|
value_format: function value_format() {
|
|
|
|
var value = this.value;
|
|
|
|
if (typeof value == 'number') {
|
|
|
|
value = value + '';
|
|
|
|
}
|
|
|
|
if (typeof value == 'string' && value.indexOf(',') > 0) {
|
|
|
|
value = value.split(',');
|
|
|
|
}
|
|
|
|
var sk = 0,ck = 0,zk = 0;
|
|
|
|
if (typeof value == 'string') {
|
|
|
|
this.zones_tree.forEach(function (sv, si) {
|
|
|
|
sv.children.forEach(function (cv, ci) {
|
|
|
|
cv.children.forEach(function (zv, zi) {
|
|
|
|
if (zv.code == value) {
|
|
|
|
sk = si;
|
|
|
|
ck = ci;
|
|
|
|
zk = zi;
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
this.dataValue = [sk, ck, zk];
|
|
|
|
} else if (typeof value[0] == 'string' || value[0] > 999) {
|
|
|
|
this.zones_tree.forEach(function (sv, si) {
|
|
|
|
if (sv.code == value[0]) {
|
|
|
|
sk = si;
|
|
|
|
sv.children.forEach(function (cv, ci) {
|
|
|
|
if (cv.code == value[1]) {
|
|
|
|
ck = ci;
|
|
|
|
cv.children.forEach(function (zv, zi) {
|
|
|
|
if (zv.code == value[2]) {
|
|
|
|
zk = zi;
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
});
|
|
|
|
this.dataValue = [sk, ck, zk];
|
|
|
|
} else {
|
|
|
|
this.dataValue = value;
|
|
|
|
}
|
|
|
|
},
|
|
|
|
range_set: function range_set() {var _this2 = this;
|
|
|
|
var zones_ary = [[], [], []];
|
|
|
|
this.zones_tree.forEach(function (sv, si) {
|
|
|
|
zones_ary[0].push(sv.name);
|
|
|
|
if (si == _this2.dataValue[0]) {
|
|
|
|
sv.children.forEach(function (cv, ci) {
|
|
|
|
zones_ary[1].push(cv.name);
|
|
|
|
if (ci == _this2.dataValue[1]) {
|
|
|
|
cv.children.forEach(function (zv, zi) {
|
|
|
|
zones_ary[2].push(zv.name);
|
|
|
|
});
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
});
|
|
|
|
this.range = zones_ary;
|
|
|
|
},
|
|
|
|
region_change: function region_change(e) {
|
|
|
|
var v = e.detail.value;
|
|
|
|
var value = [],code = [];
|
|
|
|
var sv = this.zones_tree[v[0]];
|
|
|
|
value.push(sv.name);
|
|
|
|
code.push(sv.code);
|
|
|
|
var cv = sv.children[v[1]];
|
|
|
|
value.push(cv.name);
|
|
|
|
code.push(cv.code);
|
|
|
|
var zv = cv.children[v[2]];
|
|
|
|
value.push(zv.name);
|
|
|
|
code.push(zv.code);
|
|
|
|
e.detail = { code: code, value: value, data: zv };
|
|
|
|
this.$emit('change', e);
|
|
|
|
},
|
|
|
|
region_change_col: function region_change_col(e) {
|
|
|
|
if (e.detail.column === 0) {
|
|
|
|
this.dataValue[1] = 0;
|
|
|
|
this.dataValue[2] = 0;
|
|
|
|
}
|
|
|
|
if (e.detail.column === 1) {
|
|
|
|
this.dataValue[2] = 0;
|
|
|
|
}
|
|
|
|
this.dataValue[e.detail.column] = e.detail.value;
|
|
|
|
this.range_set();
|
|
|
|
this.$emit('columnchange', e);
|
|
|
|
},
|
|
|
|
region_cancel: function region_cancel(e) {
|
|
|
|
this.$emit('cancel', e);
|
|
|
|
} } };exports.default = _default;
|
|
|
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
|
|
|
|
|
|
|
|
/***/ })
|
|
|
|
|
|
|
|
}]);
|
|
|
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/region-picker/region-picker.js.map
|
|
|
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
|
|
|
'components/region-picker/region-picker-create-component',
|
|
|
|
{
|
|
|
|
'components/region-picker/region-picker-create-component':(function(module, exports, __webpack_require__){
|
|
|
|
__webpack_require__('1')['createComponent'](__webpack_require__(959))
|
|
|
|
})
|
|
|
|
},
|
|
|
|
[['components/region-picker/region-picker-create-component']]
|
|
|
|
]);
|