You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
295 lines
32 KiB
295 lines
32 KiB
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["components/mpvue-citypicker/mpvueCityPicker"],{
|
|
|
|
/***/ 279:
|
|
/*!******************************************************************************!*\
|
|
!*** D:/Documents/high-mini/components/mpvue-citypicker/mpvueCityPicker.vue ***!
|
|
\******************************************************************************/
|
|
/*! no static exports found */
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
"use strict";
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony import */ var _mpvueCityPicker_vue_vue_type_template_id_3715812b___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./mpvueCityPicker.vue?vue&type=template&id=3715812b& */ 280);
|
|
/* harmony import */ var _mpvueCityPicker_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./mpvueCityPicker.vue?vue&type=script&lang=js& */ 282);
|
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _mpvueCityPicker_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 _mpvueCityPicker_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
/* harmony import */ var _mpvueCityPicker_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./mpvueCityPicker.vue?vue&type=style&index=0&lang=css& */ 287);
|
|
/* harmony import */ var _E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 10);
|
|
|
|
var renderjs
|
|
|
|
|
|
|
|
|
|
|
|
/* normalize component */
|
|
|
|
var component = Object(_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
|
|
_mpvueCityPicker_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
_mpvueCityPicker_vue_vue_type_template_id_3715812b___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|
_mpvueCityPicker_vue_vue_type_template_id_3715812b___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|
false,
|
|
null,
|
|
null,
|
|
null,
|
|
false,
|
|
_mpvueCityPicker_vue_vue_type_template_id_3715812b___WEBPACK_IMPORTED_MODULE_0__["components"],
|
|
renderjs
|
|
)
|
|
|
|
component.options.__file = "components/mpvue-citypicker/mpvueCityPicker.vue"
|
|
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
|
|
/***/ }),
|
|
|
|
/***/ 280:
|
|
/*!*************************************************************************************************************!*\
|
|
!*** D:/Documents/high-mini/components/mpvue-citypicker/mpvueCityPicker.vue?vue&type=template&id=3715812b& ***!
|
|
\*************************************************************************************************************/
|
|
/*! exports provided: render, staticRenderFns, recyclableRender, components */
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
"use strict";
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony import */ var _E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mpvueCityPicker_vue_vue_type_template_id_3715812b___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!./mpvueCityPicker.vue?vue&type=template&id=3715812b& */ 281);
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mpvueCityPicker_vue_vue_type_template_id_3715812b___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mpvueCityPicker_vue_vue_type_template_id_3715812b___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "recyclableRender", function() { return _E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mpvueCityPicker_vue_vue_type_template_id_3715812b___WEBPACK_IMPORTED_MODULE_0__["recyclableRender"]; });
|
|
|
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "components", function() { return _E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_16_0_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_template_js_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_uni_app_loader_page_meta_js_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mpvueCityPicker_vue_vue_type_template_id_3715812b___WEBPACK_IMPORTED_MODULE_0__["components"]; });
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
/***/ 281:
|
|
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
!*** ./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!D:/Documents/high-mini/components/mpvue-citypicker/mpvueCityPicker.vue?vue&type=template&id=3715812b& ***!
|
|
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
/*! 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
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
/***/ 282:
|
|
/*!*******************************************************************************************************!*\
|
|
!*** D:/Documents/high-mini/components/mpvue-citypicker/mpvueCityPicker.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 _E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mpvueCityPicker_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!./mpvueCityPicker.vue?vue&type=script&lang=js& */ 283);
|
|
/* harmony import */ var _E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mpvueCityPicker_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mpvueCityPicker_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
|
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mpvueCityPicker_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 _E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mpvueCityPicker_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
/* harmony default export */ __webpack_exports__["default"] = (_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_babel_loader_lib_index_js_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_12_1_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_script_js_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mpvueCityPicker_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
|
|
/***/ }),
|
|
|
|
/***/ 283:
|
|
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
!*** ./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!D:/Documents/high-mini/components/mpvue-citypicker/mpvueCityPicker.vue?vue&type=script&lang=js& ***!
|
|
\**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var _province = _interopRequireDefault(__webpack_require__(/*! ./city-data/province.js */ 284));
|
|
var _city = _interopRequireDefault(__webpack_require__(/*! ./city-data/city.js */ 285));
|
|
var _area = _interopRequireDefault(__webpack_require__(/*! ./city-data/area.js */ 286));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} //
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
var _default2 = { data: function data() {return { pickerValue: [0, 0, 0], provinceDataList: [], cityDataList: [], areaDataList: [], /* 是否显示控件 */showPicker: false };}, created: function created() {this.init();}, props: { /* 默认值 */pickerValueDefault: { type: Array, default: function _default() {return [0, 0, 0];} }, /* 主题色 */themeColor: String },
|
|
watch: {
|
|
pickerValueDefault: function pickerValueDefault() {
|
|
this.init();
|
|
} },
|
|
|
|
methods: {
|
|
init: function init() {
|
|
this.handPickValueDefault(); // 对 pickerValueDefault 做兼容处理
|
|
this.provinceDataList = _province.default;
|
|
this.cityDataList = _city.default[this.pickerValueDefault[0]];
|
|
this.areaDataList = _area.default[this.pickerValueDefault[0]][this.pickerValueDefault[1]];
|
|
this.pickerValue = this.pickerValueDefault;
|
|
},
|
|
show: function show() {var _this = this;
|
|
setTimeout(function () {
|
|
_this.showPicker = true;
|
|
}, 0);
|
|
},
|
|
maskClick: function maskClick() {
|
|
this.pickerCancel();
|
|
},
|
|
pickerCancel: function pickerCancel() {
|
|
this.showPicker = false;
|
|
this._$emit('onCancel');
|
|
},
|
|
pickerConfirm: function pickerConfirm(e) {
|
|
this.showPicker = false;
|
|
this._$emit('onConfirm');
|
|
},
|
|
showPickerView: function showPickerView() {
|
|
this.showPicker = true;
|
|
},
|
|
handPickValueDefault: function handPickValueDefault() {
|
|
if (this.pickerValueDefault !== [0, 0, 0]) {
|
|
if (this.pickerValueDefault[0] > _province.default.length - 1) {
|
|
this.pickerValueDefault[0] = _province.default.length - 1;
|
|
}
|
|
if (this.pickerValueDefault[1] > _city.default[this.pickerValueDefault[0]].length - 1) {
|
|
this.pickerValueDefault[1] = _city.default[this.pickerValueDefault[0]].length - 1;
|
|
}
|
|
if (this.pickerValueDefault[2] > _area.default[this.pickerValueDefault[0]][this.pickerValueDefault[1]].length - 1) {
|
|
this.pickerValueDefault[2] = _area.default[this.pickerValueDefault[0]][this.pickerValueDefault[1]].length - 1;
|
|
}
|
|
}
|
|
},
|
|
pickerChange: function pickerChange(e) {
|
|
var changePickerValue = e.mp.detail.value;
|
|
if (this.pickerValue[0] !== changePickerValue[0]) {
|
|
// 第一级发生滚动
|
|
this.cityDataList = _city.default[changePickerValue[0]];
|
|
this.areaDataList = _area.default[changePickerValue[0]][0];
|
|
changePickerValue[1] = 0;
|
|
changePickerValue[2] = 0;
|
|
} else if (this.pickerValue[1] !== changePickerValue[1]) {
|
|
// 第二级滚动
|
|
this.areaDataList =
|
|
_area.default[changePickerValue[0]][changePickerValue[1]];
|
|
changePickerValue[2] = 0;
|
|
}
|
|
this.pickerValue = changePickerValue;
|
|
this._$emit('onChange');
|
|
},
|
|
_$emit: function _$emit(emitName) {
|
|
var pickObj = {
|
|
label: this._getLabel(),
|
|
value: this.pickerValue,
|
|
cityCode: this._getCityCode() };
|
|
|
|
this.$emit(emitName, pickObj);
|
|
},
|
|
_getLabel: function _getLabel() {
|
|
var pcikerLabel =
|
|
this.provinceDataList[this.pickerValue[0]].label +
|
|
'-' +
|
|
this.cityDataList[this.pickerValue[1]].label +
|
|
'-' +
|
|
this.areaDataList[this.pickerValue[2]].label;
|
|
return pcikerLabel;
|
|
},
|
|
_getCityCode: function _getCityCode() {
|
|
return this.areaDataList[this.pickerValue[2]].value;
|
|
} } };exports.default = _default2;
|
|
|
|
/***/ }),
|
|
|
|
/***/ 287:
|
|
/*!***************************************************************************************************************!*\
|
|
!*** D:/Documents/high-mini/components/mpvue-citypicker/mpvueCityPicker.vue?vue&type=style&index=0&lang=css& ***!
|
|
\***************************************************************************************************************/
|
|
/*! no static exports found */
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
"use strict";
|
|
__webpack_require__.r(__webpack_exports__);
|
|
/* harmony import */ var _E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mpvueCityPicker_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!./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!./mpvueCityPicker.vue?vue&type=style&index=0&lang=css& */ 288);
|
|
/* harmony import */ var _E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mpvueCityPicker_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mpvueCityPicker_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mpvueCityPicker_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mpvueCityPicker_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
/* harmony default export */ __webpack_exports__["default"] = (_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_6_oneOf_1_2_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_3_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_E_hBuilderX_HBuilderXv3_0_5_20210107_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_mpvueCityPicker_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
|
|
/***/ }),
|
|
|
|
/***/ 288:
|
|
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
!*** ./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!D:/Documents/high-mini/components/mpvue-citypicker/mpvueCityPicker.vue?vue&type=style&index=0&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/components/mpvue-citypicker/mpvueCityPicker.js.map
|
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
|
'components/mpvue-citypicker/mpvueCityPicker-create-component',
|
|
{
|
|
'components/mpvue-citypicker/mpvueCityPicker-create-component':(function(module, exports, __webpack_require__){
|
|
__webpack_require__('1')['createComponent'](__webpack_require__(279))
|
|
})
|
|
},
|
|
[['components/mpvue-citypicker/mpvueCityPicker-create-component']]
|
|
]);
|
|
|